/art/compiler/optimizing/ |
D | codegen_test_utils.h | 199 inline static Expected SimulatorExecute(CodeSimulator* simulator, Expected (*f)()); 202 inline bool SimulatorExecute<bool>(CodeSimulator* simulator, bool (*f)()) { 203 simulator->RunFrom(reinterpret_cast<intptr_t>(f)); 208 inline int32_t SimulatorExecute<int32_t>(CodeSimulator* simulator, int32_t (*f)()) { 209 simulator->RunFrom(reinterpret_cast<intptr_t>(f)); 214 inline int64_t SimulatorExecute<int64_t>(CodeSimulator* simulator, int64_t (*f)()) { 215 simulator->RunFrom(reinterpret_cast<intptr_t>(f)); 221 Expected (*f)(), in VerifyGeneratedCode() argument 229 Expected result = SimulatorExecute<Expected>(simulator.Get(), f); in VerifyGeneratedCode() 237 Expected result = f(); in VerifyGeneratedCode() [all …]
|
/art/test/014-math3/src/ |
D | Main.java | 25 float f = 0.0f; in math_014() local 42 try { f = 10.0f / f; } in math_014()
|
/art/test/542-unresolved-access-check/src/ |
D | Main.java | 32 Field f = baseDexClassLoader.getDeclaredField("pathList"); in MyClassLoader() local 33 f.setAccessible(true); in MyClassLoader() 34 Object pathList = f.get(loader); in MyClassLoader() 37 f = pathList.getClass().getDeclaredField("dexElements"); in MyClassLoader() 38 f.setAccessible(true); in MyClassLoader() 39 dexElements = (Object[]) f.get(pathList); in MyClassLoader()
|
/art/test/530-checker-lse3/src/ |
D | Main.java | 37 Field f = c.getDeclaredField("byteField"); in main() local 38 byte b = f.getByte(null); in main() 42 f = c.getDeclaredField("byteField2"); in main() 43 b = f.getByte(null); in main()
|
/art/runtime/interpreter/mterp/arm64ng/ |
D | main.S | 305 tbnz wINST, #31, 2f 368 cbz ip, 2f 387 cbz w2, 2f 390 b.ne 3f 512 cbz ip2, 6f 515 b.lt 1f 516 b.eq 2f 518 b.lt 3f 519 b.eq 4f 601 cbz x2, 2f [all …]
|
/art/tools/ |
D | test_presubmit.py | 55 def is_interesting(f, tool_dict): argument 59 path = pathlib.Path(f) 110 for f in files: 111 if is_interesting(f, tool_dict): 113 reference_file = get_reference_file(f, tool_dict) 122 if run_diff(f, tool_dict, tmp_file):
|
D | generate_cmake_lists.py | 89 f = open(os.path.join(out_art_cmakelists_dir, 'CMakeLists.txt'), 'w') 90 f.write('cmake_minimum_required(VERSION 3.6)\n') 91 f.write('project(%s)\n' % (project_name)) 94 f.write('add_subdirectory(%s)\n' % (dr))
|
/art/test/454-get-vreg/src/ |
D | Main.java | 21 int testSimpleVReg(int a, float f, short s, boolean z, byte b, char c) { in testSimpleVReg() argument 28 long f = doCall(); in testPairVReg() local 30 return f + g; in testPairVReg()
|
/art/runtime/arch/arm/ |
D | memcmp16_arm.S | 52 bpl 0f 75 beq 0f 93 bne 5f 103 bmi 1f 132 bne 2f 138 bmi 4f 144 bne 2f 150 bne 8f 177 bne 9f 219 bne 7f
|
/art/runtime/interpreter/mterp/x86_64ng/ |
D | main.S | 250 js 3f 311 je 2f 338 je 2f 340 je 3f 358 je 5f 363 jmp 6f 372 jmp 4f 375 je 7f 380 jmp 8f 399 je 2f [all …]
|
/art/test/534-checker-bce-deoptimization/ |
D | expected.txt | 1 array[0]=2.5f 2 array[1]=2.625f
|
/art/libartbase/base/ |
D | macros.h | 54 #define OFFSETOF_MEMBER(t, f) offsetof(t, f) argument 56 #define OFFSETOF_MEMBERPTR(t, f) \ argument 57 …(reinterpret_cast<uintptr_t>(&(reinterpret_cast<t*>(16)->*f)) - static_cast<uintptr_t>(16)) // NO…
|
/art/test/580-checker-round/src/ |
D | Main.java | 22 private static int round32(float f) { in round32() argument 23 return Math.round(f); in round32() 69 for (float f = -1.5f; f <= -1.499f; f = Math.nextAfter(f, Float.POSITIVE_INFINITY)) { in main() 70 expectEquals32(-1, round32(f)); in main()
|
/art/test/utils/python/ |
D | generate_java_main.py | 77 def add_func(self, f): argument 81 self.global_funcs.add(f) 103 for f in self.global_funcs: 104 funcs += str(f) 147 def add_func(self, f): argument 151 self.main.add_func(f) 152 self.funcs.add(f) 159 for f in sorted(self.funcs, key=lambda a: (a.func, a.farg)): 160 func_invokes += self.TEST_INVOKE_TEMPLATE.format(fname=f.get_name(), 161 farg=f.farg)
|
/art/test/450-checker-types/src/ |
D | Main.java | 25 void $noinline$f(); in $noinline$f() 30 public void $noinline$f() { in $noinline$f() 41 public void $noinline$f() { in $noinline$f() 58 public void $noinline$f() { in $noinline$f() 96 ((SubclassA)s).$noinline$f(); in testSimpleKeep() 394 ((Super)o).$noinline$f(); in testInstanceOfWithPhiTop() 424 ((Super)o).$noinline$f(); in testInstanceOfTopInFor() 560 Final f = getFinal(); in inlineGenericsFinal() local 561 return f; in inlineGenericsFinal() 586 Final f = o.get(); in boundOnlyOnceCheckCast() local [all …]
|
/art/test/1985-structural-redefine-stack-scope/src/ |
D | Main.java | 66 Field f = Transform.class.getDeclaredField("foo"); in main() local 68 assertEquals(f.get(null), Transform.foo); in main() 71 f, in main()
|
/art/test/555-UnsafeGetLong-regression/src/ |
D | Main.java | 29 Field f = unsafeClass.getDeclaredField("theUnsafe"); in getUnsafe() local 30 f.setAccessible(true); in getUnsafe() 31 return (Unsafe) f.get(null); in getUnsafe()
|
/art/test/064-field-access/src/ |
D | Main.java | 570 for (Field f : fields) { in doReflectionTests() 573 if (f.getName().contains(fieldNameForTypeChar[i])) { in doReflectionTests() 580 if ((f.getName().contains("Private") || in doReflectionTests() 581 (!same_package && f.getName().contains("Package")) || in doReflectionTests() 582 (!same_package && f.getName().contains("Protected"))) && in doReflectionTests() 583 !(protected_class && f.getName().contains("Public"))) { in doReflectionTests() 587 if ((f.getName().contains("Private") || in doReflectionTests() 588 (!same_package && f.getName().contains("Package")) || in doReflectionTests() 589 (!same_package && f.getName().contains("Protected"))) && in doReflectionTests() 590 !(protected_class && f.getName().contains("Public"))) { in doReflectionTests() [all …]
|
/art/test/530-regression-lse/src/ |
D | Main.java | 38 File f = File.createTempFile("mapped", "tmp"); in allocateMapped() local 39 f.deleteOnExit(); in allocateMapped() 40 RandomAccessFile raf = new RandomAccessFile(f, "rw"); in allocateMapped()
|
/art/test/619-checker-current-method/src/ |
D | Main.java | 24 public static int foo(int a, int b, int c, int d, int e, int f) { in foo() argument 25 return a + b + c + d + e + f; in foo()
|
/art/test/959-invoke-polymorphic-accessors/src/ |
D | Main.java | 643 for (float f : floats) { in main() 644 Float boxed = Float.valueOf(f); in main() 649 assertTrue(valueHolder.m_f == f); in main() 654 assertTrue(ValueHolder.s_f == f); in main() 948 Field f = ValueHolder.class.getDeclaredField("m_c"); in main() local 949 MethodHandles.lookup().unreflectSetter(f).invokeExact(v, 'z'); in main() 950 assertEquals('z', (char) MethodHandles.lookup().unreflectGetter(f).invokeExact(v)); in main() 951 MethodHandles.lookup().unreflectSetter(f).invokeExact(v, 'A'); in main() 952 assertEquals('A', (char) MethodHandles.lookup().unreflectGetter(f).invokeExact(v)); in main() 956 Field f = ValueHolder.class.getDeclaredField("s_fi"); in main() local [all …]
|
/art/runtime/entrypoints/ |
D | math_entrypoints.h | 26 extern "C" int64_t art_f2l(float f); 27 extern "C" int32_t art_f2i(float f);
|
/art/test/121-modifiers/src2/ |
D | Main.java | 101 for (java.lang.reflect.Field f : clazz.getDeclaredFields()) { in check() 102 String name = f.getName(); in check() 104 if ((f.getModifiers() & undefinedBits) != 0) { in check() 105 System.out.println("f.getModifiers(): " + Integer.toBinaryString(f.getModifiers())); in check() 114 if ((bitmask & f.getModifiers()) == 0) { in check()
|
/art/runtime/ |
D | string_builder_append.cc | 212 for (uint32_t f = format_; f != 0u; f >>= kBitsPerArg) { in CalculateLengthWithFlag() local 213 DCHECK_LE(f & kArgMask, static_cast<uint32_t>(Argument::kLast)); in CalculateLengthWithFlag() 214 switch (static_cast<Argument>(f & kArgMask)) { in CalculateLengthWithFlag() 253 << (f & kArgMask) << " full format: 0x" << std::hex << format_; in CalculateLengthWithFlag() 257 << (f & kArgMask) << " full format: 0x" << std::hex << format_; in CalculateLengthWithFlag() 280 for (uint32_t f = format_; f != 0u; f >>= kBitsPerArg) { in StoreData() local 281 DCHECK_LE(f & kArgMask, static_cast<uint32_t>(Argument::kLast)); in StoreData() 282 switch (static_cast<Argument>(f & kArgMask)) { in StoreData() 324 << (f & kArgMask) << " full format: 0x" << std::hex << format_; in StoreData() 328 << (f & kArgMask) << " full format: 0x" << std::hex << format_; in StoreData()
|
/art/test/581-rtp/src/ |
D | Main.java | 25 Main f = a[0]; in main() local 35 o = f; in main()
|