/art/compiler/optimizing/ |
D | nodes_shared.h | 83 auto Compute(T x, U y) const -> decltype(x & ~y) { 84 static_assert(std::is_same<decltype(x & ~y), decltype(x | ~y)>::value && 85 std::is_same<decltype(x & ~y), decltype(x ^ ~y)>::value, 89 return x & ~y; 91 return x | ~y; 93 return x ^ ~y; 100 HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const override { in Evaluate() argument 102 Compute(x->GetValue(), y->GetValue()), GetDexPc()); in Evaluate() 104 HConstant* Evaluate(HLongConstant* x, HLongConstant* y) const override { in Evaluate() argument 106 Compute(x->GetValue(), y->GetValue()), GetDexPc()); in Evaluate() [all …]
|
D | nodes_x86.h | 142 template <typename T> static T Compute(T x, T y) { return ~x & y; } in Compute() argument 144 HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const override { in Evaluate() argument 146 Compute(x->GetValue(), y->GetValue()), GetDexPc()); in Evaluate() 148 HConstant* Evaluate(HLongConstant* x, HLongConstant* y) const override { in Evaluate() argument 150 Compute(x->GetValue(), y->GetValue()), GetDexPc()); in Evaluate() 153 HFloatConstant* y ATTRIBUTE_UNUSED) const override { in Evaluate() 158 HDoubleConstant* y ATTRIBUTE_UNUSED) const override { in Evaluate()
|
D | nodes.h | 3644 HNullConstant* y ATTRIBUTE_UNUSED) const { in Evaluate() 3648 virtual HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const = 0; 3649 virtual HConstant* Evaluate(HLongConstant* x, HLongConstant* y) const = 0; 3651 HIntConstant* y ATTRIBUTE_UNUSED) const { in Evaluate() 3655 virtual HConstant* Evaluate(HFloatConstant* x, HFloatConstant* y) const = 0; 3656 virtual HConstant* Evaluate(HDoubleConstant* x, HDoubleConstant* y) const = 0; 3752 int32_t Compare(T x, T y) const { return x > y ? 1 : (x < y ? -1 : 0); } in Compare() argument 3755 int32_t CompareFP(T x, T y) const { in CompareFP() argument 3759 return std::isunordered(x, y) ? (IsGtBias() ? 1 : -1) : Compare(x, y); in CompareFP() 3780 HNullConstant* y ATTRIBUTE_UNUSED) const override { in Evaluate() [all …]
|
/art/test/2029-contended-monitors/src/ |
D | Main.java | 51 int y = -1; in holdFor() local 53 counter += y; in holdFor() 54 y = nextInt(y); in holdFor() 62 int y = -1; in spinFor() local 65 local_counter += y; in spinFor() 66 y = nextInt(y); in spinFor() 134 int y = -1; in run() local 137 atomicCounter.addAndGet(y); in run() 138 y = nextInt(y); in run()
|
/art/test/101-fibonacci/src/ |
D | Main.java | 49 int y = fibonacci(x); in main() local 50 System.out.printf("fibonacci(%d)=%d\n", x, y); in main() 51 y = fibonacci(x + 1); in main() 52 System.out.printf("fibonacci(%d)=%d\n", x + 1, y); in main()
|
/art/runtime/gc/ |
D | racing_check.h | 28 #define RACING_DCHECK_LE(x, y) \ argument 29 if (::android::base::kEnableDChecks && ((x) > (y))) { usleep(1000); CHECK_LE(x, y); }
|
/art/test/557-checker-instruct-simplifier-ror/src/ |
D | Main.java | 206 public static int ror_int_subv_csubv(int value, int x, int y) { in ror_int_subv_csubv() argument 207 int distance = x - y; in ror_int_subv_csubv() 238 public static int ror_int_subv_csubv_env(int value, int x, int y) { in ror_int_subv_csubv_env() argument 239 int distance = x - y; in ror_int_subv_csubv_env() 278 public static long ror_long_subv_csubv_0(long value, int x, int y) { in ror_long_subv_csubv_0() argument 279 int distance = x - y; in ror_long_subv_csubv_0() 342 public static int rol_int_csubv_subv(int value, int x, int y) { in rol_int_csubv_subv() argument 343 int distance = x - y; in rol_int_csubv_subv()
|
/art/test/476-checker-ctor-memory-barrier/src/ |
D | Main.java | 129 final int y; field in HaveFinalsAndInheritFromClassWithFinals 141 y = 0; in HaveFinalsAndInheritFromClassWithFinals() 152 y = 0; in HaveFinalsAndInheritFromClassWithFinals() 173 y = 0; in HaveFinalsAndInheritFromClassWithFinals()
|
/art/test/107-int-math2/src/ |
D | Main.java | 337 static int intOperTest(int x, int y) { in intOperTest() argument 341 results[0] = x + y; in intOperTest() 342 results[1] = x - y; in intOperTest() 343 results[2] = x * y; in intOperTest() 345 results[4] = x / y; in intOperTest() 346 results[5] = x % -y; in intOperTest() 347 results[6] = x & y; in intOperTest() 348 results[7] = x | y; in intOperTest() 349 results[8] = x ^ y; in intOperTest() 352 results[9] = x + ((((((((x + y) - y) * y) / y) % y) & y) | y) ^ y); in intOperTest() [all …]
|
/art/libdexfile/dex/ |
D | base64_test_util.h | 58 uint32_t t = 0, y = 0; in DecodeBase64() local 77 if (++y == 4) { in DecodeBase64() 85 y = t = 0; in DecodeBase64() 88 if (y != 0) { in DecodeBase64()
|
/art/test/567-checker-builder-intrinsics/src/ |
D | TestCompare.java | 52 private static int compareBooleans(boolean x, boolean y) { in compareBooleans() argument 53 return Integer.compare((x ? 1 : 0), (y ? 1 : 0)); in compareBooleans() 89 private static int compareBooleans2(boolean x, boolean y) { in compareBooleans2() argument 99 if (y) { in compareBooleans2() 114 private static int compareBytes(byte x, byte y) { in compareBytes() argument 115 return Integer.compare(x, y); in compareBytes() 125 private static int compareShorts(short x, short y) { in compareShorts() argument 126 return Integer.compare(x, y); in compareShorts() 136 private static int compareChars(char x, char y) { in compareChars() argument 137 return Integer.compare(x, y); in compareChars() [all …]
|
/art/test/003-omnibus-opcodes/src/ |
D | Classes.java | 79 static void yTests(Object y) { in yTests() argument 80 Main.assertTrue( y instanceof Classes); in yTests() 81 Main.assertTrue( y instanceof MoreClasses); in yTests() 136 MoreClasses y = new MoreClasses(); in arrayInstance() local 145 yTests(y); in arrayInstance() 156 yararar[0][0][0] = y; in arrayInstance() 157 yararar[0][0][1] = y; in arrayInstance() 158 yararar[0][0][2] = y; in arrayInstance() 159 yararar[0][1][0] = y; in arrayInstance() 160 yararar[0][1][1] = y; in arrayInstance() [all …]
|
/art/tools/ |
D | bootjars.sh | 37 core_jars_only=y 40 print_file_path=y 56 if [[ $core_jars_only == y ]]; then 71 if [[ $core_jars_only == y ]]; then
|
/art/test/674-hiddenapi/src/ |
D | NullaryConstructorLightGreylist.java | 19 public NullaryConstructorLightGreylist(int y) { x = y; } in NullaryConstructorLightGreylist() argument
|
D | NullaryConstructorBlacklist.java | 19 public NullaryConstructorBlacklist(int y) { x = y; } in NullaryConstructorBlacklist() argument
|
D | NullaryConstructorDarkGreylist.java | 19 public NullaryConstructorDarkGreylist(int y) { x = y; } in NullaryConstructorDarkGreylist() argument
|
D | NullaryConstructorWhitelist.java | 19 public NullaryConstructorWhitelist(int y) { x = y; } in NullaryConstructorWhitelist() argument
|
D | NullaryConstructorBlacklistAndCorePlatformApi.java | 19 public NullaryConstructorBlacklistAndCorePlatformApi(int y) { x = y; } in NullaryConstructorBlacklistAndCorePlatformApi() argument
|
/art/test/952-invoke-custom/src/ |
D | TestLinkerMethodWithRange.java | 108 public static void test(int u, int v, int w, int x, int y, int z) throws Throwable { in test() argument 109 assertEquals(u + v + w + x + y + z, add(u, v, w, x, y, z)); in test() 110 System.out.println(u + v + w + x + y + z); in test() 157 public static void test(Double u, Double v, Double w, Double x, Double y, Double z) in test() argument 164 if (y != null) product *= y; in test() 166 assertEquals(product, multiply(u, v, w, x, y, z)); in test()
|
D | TestLinkerMethodMinimalArguments.java | 77 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()
|
D | TestLinkerMethodMultipleArgumentTypes.java | 113 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/807-method-handle-and-mr/src/ |
D | Main.java | 25 public Long binaryFunction(int x, double y) { in binaryFunction() argument 37 this.y = new Double(-1.39e-31); in Test() 68 long result = (long) handle.invoke(a, x, y); in run() 80 private Double y; field in Test
|
/art/test/463-checker-boolean-simplifier/smali/ |
D | Main2.smali | 122 # return (x <= y) == (y <= z); 127 .param p1, "y" # I 241 # int y = 1; 242 # while (y++ < 10) { 243 # if (y > 1) { 262 .local v1, "y":I 266 .end local v1 # "y":I 267 .local v2, "y":I 271 .end local v2 # "y":I 272 .restart local v1 # "y":I [all …]
|
/art/test/044-proxy/src/ |
D | BasicTest.java | 127 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/test/455-checker-gvn/src/ |
D | Main.java | 43 public static int $noinline$foo(int x, int y) { in $noinline$foo() argument 44 int sum1 = $inline$add(x, y); in $noinline$foo() 45 int sum2 = $inline$add(y, x); in $noinline$foo()
|