Home
last modified time | relevance | path

Searched refs:x (Results 101 – 125 of 267) sorted by relevance

1234567891011

/art/test/530-checker-peel-unroll/src/
DMain.java316 private static final void unrollingInTheNest(int[] a, int[] b, int x) { in unrollingInTheNest() argument
320 b[x]++; in unrollingInTheNest()
389 private static final void unrollingTwoLoopsInTheNest(int[] a, int[] b, int x) { in unrollingTwoLoopsInTheNest() argument
391 if (x > 100) { in unrollingTwoLoopsInTheNest()
393 a[x]++; in unrollingTwoLoopsInTheNest()
397 b[x]++; in unrollingTwoLoopsInTheNest()
892 private static final int peelingHoistOneControl(int x) { in peelingHoistOneControl() argument
895 if (x == 0) in peelingHoistOneControl()
910 private static final int peelingHoistOneControl(int x, int y) { in peelingHoistOneControl() argument
912 if (x == 0) in peelingHoistOneControl()
[all …]
/art/test/807-method-handle-and-mr/src/
DMain.java25 public Long binaryFunction(int x, double y) { in binaryFunction() argument
36 this.x = new Integer(72); in Test()
68 long result = (long) handle.invoke(a, x, y); in run()
79 private Integer x; field in Test
/art/test/952-invoke-custom/src/
DTestLinkerMethodMinimalArguments.java77 public static void test(int failureType, int x, int y) throws Throwable { in test() argument
81 assertEquals(x + y, add(x, y)); in test()
82 System.out.println("Failure Type + " + failureType + " (" + x + y + ")"); in test()
DTestLinkerMethodMultipleArgumentTypes.java113 public static void test(int x, int y) throws Throwable { in test() argument
114 assertEquals(x + y, add(x, y)); in test()
115 System.out.println(x + y); in test()
/art/test/624-checker-stringops/src/
DMain.java250 String x = "x"; in bufferDeadLoop() local
252 int d = b.toString().indexOf(x, 1); in bufferDeadLoop()
271 String x = "x"; in builderDeadLoop() local
273 int d = b.toString().indexOf(x, 1); in builderDeadLoop()
287 StringBuffer x = new StringBuffer(); in doesNothing() local
288 String y = new String(x); in doesNothing()
289 x.toString(); in doesNothing()
/art/libdexfile/dex/
Dprimitive.cc47 #define COUNT_OF(x) (sizeof(x) / sizeof((x)[0])) argument
/art/test/1339-dead-reference-safe/src/
DDeadReferenceUnsafeTest.java26 DeadReferenceUnsafeTest x; in $noinline$loop() local
30 x = new DeadReferenceUnsafeTest(); in $noinline$loop()
31 count += x.n; in $noinline$loop()
DDeadReferenceSafeTest.java29 DeadReferenceSafeTest x; in $noinline$loop() local
33 x = new DeadReferenceSafeTest(); in $noinline$loop()
34 count += x.n; in $noinline$loop()
DReachabilitySensitiveTest.java32 ReachabilitySensitiveTest x; in $noinline$loop() local
36 x = new ReachabilitySensitiveTest(); in $noinline$loop()
38 count += x.n; in $noinline$loop()
DReachabilitySensitiveFunTest.java35 ReachabilitySensitiveFunTest x; in $noinline$loop() local
39 x = new ReachabilitySensitiveFunTest(); in $noinline$loop()
41 count += x.getN(); in $noinline$loop()
/art/test/106-exceptions2/src/
DMain.java133 static int nullCheckTestNoThrow(int x) { in nullCheckTestNoThrow() argument
138 base.ifoo = x; in nullCheckTestNoThrow()
142 static int nullCheckTestThrow(int x) { in nullCheckTestThrow() argument
150 base.ifoo = x; in nullCheckTestThrow()
181 static int throwImplicitDivZero(int x, int y) { in throwImplicitDivZero() argument
182 return x / y; in throwImplicitDivZero()
/art/compiler/optimizing/
Dnodes.h141 static inline typename std::make_unsigned<T>::type MakeUnsigned(T x) { in MakeUnsigned() argument
142 return static_cast<typename std::make_unsigned<T>::type>(x); in MakeUnsigned()
3567 virtual HConstant* Evaluate(HIntConstant* x) const = 0;
3568 virtual HConstant* Evaluate(HLongConstant* x) const = 0;
3569 virtual HConstant* Evaluate(HFloatConstant* x) const = 0;
3570 virtual HConstant* Evaluate(HDoubleConstant* x) const = 0;
3643 virtual HConstant* Evaluate(HNullConstant* x ATTRIBUTE_UNUSED, in Evaluate()
3648 virtual HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const = 0;
3649 virtual HConstant* Evaluate(HLongConstant* x, HLongConstant* y) const = 0;
3650 virtual HConstant* Evaluate(HLongConstant* x ATTRIBUTE_UNUSED, in Evaluate()
[all …]
/art/tools/class2greylist/test/src/com/android/class2greylist/
DUnsupportedAppUsageAnnotationHandlerTest.java95 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistMethod()
116 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistConstructor()
137 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistField()
158 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistImplicit()
179 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistImplicit_Invalid_MissingOnClass()
201 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistImplicit_Invalid_PresentOnMember()
222 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistMethodExpectedSignature()
243 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistMethodExpectedSignatureWrong()
263 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistInnerClassMethod()
282 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testMethodNotGreylisted()
[all …]
/art/test/044-proxy/src/
DClash3.java45 class R3base implements I3 { int mBlah; public void x() {} } in x() method in R3base
48 class R3b implements I3 { int mBlah_b; public void x() {} } in x() method in R3b
51 void x(); in x() method
DBasicTest.java127 public int rectangle(int x, int y); in rectangle() argument
137 public int rectangle(int x, int y); in rectangle() argument
138 public int square(int x, int y); in square() argument
139 public int trapezoid(int x, double off, int y); in trapezoid() argument
177 public int rectangle(int x, int y) { in rectangle() argument
178 System.out.println("--- rectangle " + x + "," + y); in rectangle()
181 public int square(int x, int y) { in square() argument
182 System.out.println("--- square " + x + "," + y); in square()
185 public int trapezoid(int x, double off, int y) { in trapezoid() argument
186 System.out.println("--- trap " + x + "," + y + "," + off); in trapezoid()
/art/runtime/entrypoints/jni/
Djni_entrypoints.h25 #define JNI_ENTRYPOINT_OFFSET(ptr_size, x) \ argument
26 Thread::JniEntryPointOffset<ptr_size>(OFFSETOF_MEMBER(JniEntryPoints, x))
/art/test/988-method-trace/src/art/
DTest988.java249 public int applyAsInt(int x) {
250 return iter_fibonacci(x);
259 int x = 1;
262 int z = x + y;
263 x = y;
271 public int applyAsInt(int x) {
272 return fibonacci(x);
286 public int applyAsInt(int x) {
287 return nativeFibonacci(x);
386 public static void doFibTest(int x, IntUnaryOperator op) {
[all …]
/art/test/476-checker-ctor-fence-redun-elim/src/
DMain.java50 final int x; field in OneFinal
51 OneFinal(int x) { in OneFinal() argument
52 this.x = x; in OneFinal()
57 return String.format("%s, x: %d", super.baseString(), x); in baseString()
123 TwoFinal(int x, int y) { in TwoFinal() argument
124 super(x); in TwoFinal()
141 ThreeFinal(int x, int y, int z) { in ThreeFinal() argument
142 super(x, y); in ThreeFinal()
742 int x; field in TestDontOptimizeAcrossEscape.MakeBoundTypeTest.MakeBoundType
753 x = 1; in MakeBoundType()
[all …]
/art/libelffile/elf/
Delf_utils.h60 #define ELF_ST_BIND(x) ((x) >> 4) argument
61 #define ELF_ST_TYPE(x) ((x) & 0xf) argument
/art/test/595-error-class/src/
DMain.java24 Object x = m.invoke(null, true); in main() local
25 if (x == null) { in main()
/art/test/567-checker-builder-intrinsics/src/
DTestIsNan.java25 private static boolean isNaN32(float x) { in isNaN32() argument
26 return Float.isNaN(x); in isNaN32()
35 private static boolean isNaN64(double x) { in isNaN64() argument
36 return Double.isNaN(x); in isNaN64()
/art/test/445-checker-licm/src/
DMain.java165 public static int invariantBoundIntrinsic(int x) { in invariantBoundIntrinsic() argument
169 for (int i = 0; i < Math.abs(x); i++) { in invariantBoundIntrinsic()
184 public static int invariantBodyIntrinsic(int x, int y) { in invariantBodyIntrinsic() argument
189 result += Math.max(x, y); in invariantBodyIntrinsic()
/art/tools/ahat/src/main/com/android/ahat/
DObjectsHandler.java52 Predicate<AhatInstance> predicate = (x) -> { in getObjects()
53 return (heapName == null || x.getHeap().getName().equals(heapName)) in getObjects()
54 && (subclass ? x.isInstanceOfClass(className) : className.equals(x.getClassName())); in getObjects()
58 site.getObjects(predicate, x -> insts.add(x)); in getObjects()
/art/test/MyClassNatives/
DMyClassNatives.java37 native int fooI(int x); in fooI() argument
39 native int fooII(int x, int y); in fooII() argument
41 native long fooJJ(long x, long y); in fooJJ() argument
43 native Object fooO(Object x); in fooO() argument
45 native double fooDD(double x, double y); in fooDD() argument
47 synchronized native long fooJJ_synchronized(long x, long y); in fooJJ_synchronized() argument
49 native Object fooIOO(int x, Object y, Object z); in fooIOO() argument
51 static native Object fooSIOO(int x, Object y, Object z); in fooSIOO() argument
53 static native int fooSII(int x, int y); in fooSII() argument
55 static native double fooSDD(double x, double y); in fooSDD() argument
[all …]
/art/test/088-monitor-verification/src/
DTwoPath.java33 public static void twoPath(Object obj1, Object obj2, int x) { in twoPath() argument
40 if (x == 0) { in twoPath()

1234567891011