/art/test/HiddenApi/ |
D | Main.java | 21 void imethod(long x) {} in imethod() argument 22 public static void smethod(Object x) {} in smethod() argument 24 public native void inmethod(char x); in inmethod() argument 25 protected native static void snmethod(Integer x); in snmethod() argument
|
/art/test/656-checker-simd-opt/src/ |
D | Main.java | 45 private static void unroll(float[] x, float[] y) { in unroll() argument 47 x[i] = y[i] * 2.5f; in unroll() 165 long x = 1; in longInductionReduction() local 167 x += y[0]; in longInductionReduction() 169 return x; in longInductionReduction() 191 static void intVectorLongInvariant(int[] x, long[] y) { in intVectorLongInvariant() argument 193 x[i] = (int) y[0]; in intVectorLongInvariant() 220 static void longCanBeDoneWithInt(int[] x, int[] y) { in longCanBeDoneWithInt() argument 222 x[i] = (int) (y[i] + 1L); in longCanBeDoneWithInt() 227 float[] x = new float[100]; in testUnroll() local [all …]
|
/art/test/StaticLeafMethods/ |
D | StaticLeafMethods.java | 20 static byte identity(byte x) { in identity() argument 21 return x; in identity() 23 static int identity(int x) { in identity() argument 24 return x; in identity() 38 static double identity(double x) { in identity() argument 39 return x; in identity()
|
/art/test/101-fibonacci/src/ |
D | Main.java | 48 int x = Integer.parseInt(arg); in main() local 49 int y = fibonacci(x); in main() 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/test/NonStaticLeafMethods/ |
D | NonStaticLeafMethods.java | 22 byte identity(byte x) { in identity() argument 23 return x; in identity() 25 int identity(int x) { in identity() argument 26 return x; in identity() 40 double identity(double x) { in identity() argument 41 return x; in identity()
|
/art/test/568-checker-onebit/src/ |
D | Main.java | 22 private static int hi32(int x) { in hi32() argument 23 return Integer.highestOneBit(x); in hi32() 29 private static int lo32(int x) { in lo32() argument 30 return Integer.lowestOneBit(x); in lo32() 36 private static long hi64(long x) { in hi64() argument 37 return Long.highestOneBit(x); in hi64() 43 private static long lo64(long x) { in lo64() argument 44 return Long.lowestOneBit(x); in lo64()
|
/art/test/660-checker-simd-sad/src/ |
D | SimdSadByte.java | 50 int x = s - p; in sadByte2ByteAlt2() local 51 if (x < 0) x = -x; in sadByte2ByteAlt2() 52 sad += x; in sadByte2ByteAlt2() 83 int x = s - p; in sadByte2ShortAlt2() local 84 if (x < 0) x = -x; in sadByte2ShortAlt2() 85 sad += x; in sadByte2ShortAlt2() 182 int x = s - p; in sadByte2IntAlt2() local 183 if (x < 0) x = -x; in sadByte2IntAlt2() 184 sad += x; in sadByte2IntAlt2() 219 long x = b1[i]; in sadByte2Long() local [all …]
|
D | SimdSadChar.java | 52 int x = s - p; in sadChar2CharAlt2() local 53 if (x < 0) x = -x; in sadChar2CharAlt2() 54 sad += x; in sadChar2CharAlt2() 127 int x = s - p; in sadChar2IntAlt2() local 128 if (x < 0) x = -x; in sadChar2IntAlt2() 129 sad += x; in sadChar2IntAlt2() 155 long x = s1[i]; in sadChar2Long() local 157 sad += Math.abs(x - y); in sadChar2Long() 183 long x = s1[i]; in sadChar2LongAt1() local 185 sad += Math.abs(x - y); in sadChar2LongAt1()
|
D | SimdSadShort2.java | 52 int x = s - p; in sadCastedChar2ShortAlt2() local 53 if (x < 0) x = -x; in sadCastedChar2ShortAlt2() 54 sad += x; in sadCastedChar2ShortAlt2() 201 int x = s - p; in sadCastedChar2IntAlt2() local 202 if (x < 0) x = -x; in sadCastedChar2IntAlt2() 203 sad += x; in sadCastedChar2IntAlt2() 257 long x = (short) s1[i]; in sadCastedChar2Long() local 259 sad += Math.abs(x - y); in sadCastedChar2Long() 313 long x = (short) s1[i]; in sadCastedChar2LongAt1() local 315 sad += Math.abs(x - y); in sadCastedChar2LongAt1()
|
/art/test/450-checker-types/src/ |
D | Main.java | 124 public void testIfRemove(int x) { in testIfRemove() argument 126 if (x % 2 == 0) { in testIfRemove() 139 public void testIfKeep(int x) { in testIfKeep() argument 141 if (x % 2 == 0) { in testIfKeep() 154 public void testForRemove(int x) { in testForRemove() argument 156 for (int i = 0 ; i < x; i++) { in testForRemove() 157 if (x % 2 == 0) { in testForRemove() 169 public void testForKeep(int x) { in testForKeep() argument 171 for (int i = 0 ; i < x; i++) { in testForKeep() 172 if (x % 2 == 0) { in testForKeep() [all …]
|
/art/test/003-omnibus-opcodes/src/ |
D | FloatMath.java | 135 static float[] floatOperTest(float x, float y) { in floatOperTest() argument 142 results[0] = x + y; in floatOperTest() 143 results[1] = x - y; in floatOperTest() 144 results[2] = x * y; in floatOperTest() 145 results[3] = x / y; in floatOperTest() 146 results[4] = x % -y; in floatOperTest() 149 tmp = x; in floatOperTest() 152 tmp = x; in floatOperTest() 155 tmp = x; in floatOperTest() 158 tmp = x; in floatOperTest() [all …]
|
/art/test/530-checker-loops5/src/ |
D | Main.java | 108 int[] x = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, in polyBCE1() local 114 r += x[a]; in polyBCE1() 128 int[] x = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, in polyBCE2() local 135 r -= x[a]; in polyBCE2() 149 int[] x = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, in polyBCE3() local 158 r -= x[t]; in polyBCE3()
|
/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() 88 public static int $noinline$directIntrinsic(int x) { in $noinline$directIntrinsic() argument 90 int abs1 = Math.abs(x); in $noinline$directIntrinsic() 91 int abs2 = Math.abs(x); in $noinline$directIntrinsic()
|
/art/test/640-checker-simd/src/ |
D | SimdFloat.java | 37 static void add(float x) { in add() argument 39 a[i] += x; in add() 50 static void sub(float x) { in sub() argument 52 a[i] -= x; in sub() 63 static void mul(float x) { in mul() argument 65 a[i] *= x; in mul() 76 static void div(float x) { in div() argument 78 a[i] /= x; in div()
|
D | SimdDouble.java | 37 static void add(double x) { in add() argument 39 a[i] += x; in add() 50 static void sub(double x) { in sub() argument 52 a[i] -= x; in sub() 63 static void mul(double x) { in mul() argument 65 a[i] *= x; in mul() 76 static void div(double x) { in div() argument 78 a[i] /= x; in div()
|
/art/tools/ |
D | build_linux_bionic_tests.sh | 61 x = json.load(open(sys.argv[1])) 62 x['Allow_missing_dependencies'] = True 63 x['HostArch'] = 'x86_64' 64 x['CrossHost'] = 'linux_bionic' 65 x['CrossHostArch'] = 'x86_64' 66 if 'CrossHostSecondaryArch' in x: 67 del x['CrossHostSecondaryArch'] 68 json.dump(x, open(sys.argv[2], mode='w'))
|
D | findbuildbotwarnings.py | 58 libcore_steps = [x for x in builder['steps'] 59 if x['name'] == BUILDBOT_STEP] 61 stdio_logs = [x for x in ls['logs'] if x[0] == 'stdio']
|
/art/test/640-checker-boolean-simd/src/ |
D | Main.java | 36 static void and(boolean x) { in and() argument 38 a[i] &= x; // NOTE: bitwise and, not the common && in and() 49 static void or(boolean x) { in or() argument 51 a[i] |= x; // NOTE: bitwise or, not the common || in or() 62 static void xor(boolean x) { in xor() argument 64 a[i] ^= x; // NOTE: bitwise xor in xor()
|
/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 …]
|
/art/test/674-hiddenapi/src/ |
D | NullaryConstructorLightGreylist.java | 18 public NullaryConstructorLightGreylist() { x = 22; } in NullaryConstructorLightGreylist() 19 public NullaryConstructorLightGreylist(int y) { x = y; } in NullaryConstructorLightGreylist() 20 protected int x; field in NullaryConstructorLightGreylist
|
D | NullaryConstructorBlacklist.java | 18 public NullaryConstructorBlacklist() { x = 22; } in NullaryConstructorBlacklist() 19 public NullaryConstructorBlacklist(int y) { x = y; } in NullaryConstructorBlacklist() 20 protected int x; field in NullaryConstructorBlacklist
|
D | NullaryConstructorDarkGreylist.java | 18 public NullaryConstructorDarkGreylist() { x = 22; } in NullaryConstructorDarkGreylist() 19 public NullaryConstructorDarkGreylist(int y) { x = y; } in NullaryConstructorDarkGreylist() 20 protected int x; field in NullaryConstructorDarkGreylist
|
D | NullaryConstructorWhitelist.java | 18 public NullaryConstructorWhitelist() { x = 22; } in NullaryConstructorWhitelist() 19 public NullaryConstructorWhitelist(int y) { x = y; } in NullaryConstructorWhitelist() 20 protected int x; field in NullaryConstructorWhitelist
|
D | NullaryConstructorBlacklistAndCorePlatformApi.java | 18 public NullaryConstructorBlacklistAndCorePlatformApi() { x = 22; } in NullaryConstructorBlacklistAndCorePlatformApi() 19 public NullaryConstructorBlacklistAndCorePlatformApi(int y) { x = y; } in NullaryConstructorBlacklistAndCorePlatformApi() 20 protected int x; field in NullaryConstructorBlacklistAndCorePlatformApi
|
/art/test/564-checker-bitcount/src/ |
D | Main.java | 27 private static int $noinline$BitCountBoolean(boolean x) { in $noinline$BitCountBoolean() argument 29 return Integer.bitCount(x ? 1 : 0); in $noinline$BitCountBoolean() 35 private static int $noinline$BitCountByte(byte x) { in $noinline$BitCountByte() argument 37 return Integer.bitCount(x); in $noinline$BitCountByte() 43 private static int $noinline$BitCountShort(short x) { in $noinline$BitCountShort() argument 45 return Integer.bitCount(x); in $noinline$BitCountShort() 51 private static int $noinline$BitCountChar(char x) { in $noinline$BitCountChar() argument 53 return Integer.bitCount(x); in $noinline$BitCountChar() 59 private static int $noinline$BitCountInt(int x) { in $noinline$BitCountInt() argument 61 return Integer.bitCount(x); in $noinline$BitCountInt() [all …]
|