Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 25 of 112) sorted by relevance

12345

/art/test/003-omnibus-opcodes/src/
DFloatMath.java139 float tmp; in floatOperTest() local
149 tmp = x; in floatOperTest()
150 tmp += y; in floatOperTest()
151 results[5] = tmp; in floatOperTest()
152 tmp = x; in floatOperTest()
153 tmp -= y; in floatOperTest()
154 results[6] = tmp; in floatOperTest()
155 tmp = x; in floatOperTest()
156 tmp *= y; in floatOperTest()
157 results[7] = tmp; in floatOperTest()
[all …]
/art/test/
DAndroid.run-test.bp14 name: "art-run-test-host-data-shard00-tmp",
27 src: ":art-run-test-host-data-shard00-tmp",
33 name: "art-run-test-host-data-shard01-tmp",
46 src: ":art-run-test-host-data-shard01-tmp",
52 name: "art-run-test-host-data-shard02-tmp",
65 src: ":art-run-test-host-data-shard02-tmp",
71 name: "art-run-test-host-data-shard03-tmp",
84 src: ":art-run-test-host-data-shard03-tmp",
90 name: "art-run-test-host-data-shard04-tmp",
103 src: ":art-run-test-host-data-shard04-tmp",
[all …]
/art/libdexfile/dex/
Dbase64_test_util.h57 std::vector<uint8_t> tmp; in DecodeBase64() local
78 tmp.push_back((t >> 16) & 255); in DecodeBase64()
80 tmp.push_back((t >> 8) & 255); in DecodeBase64()
83 tmp.push_back(t & 255); in DecodeBase64()
92 std::unique_ptr<uint8_t[]> dst(new uint8_t[tmp.size()]); in DecodeBase64()
93 *dst_size = tmp.size(); in DecodeBase64()
94 std::copy(tmp.begin(), tmp.end(), dst.get()); in DecodeBase64()
/art/tools/jvmti-agents/simple-force-redefine/
DREADME.md18 > `adb push $ANDROID_PRODUCT_OUT/system/lib64/libforceredefine.so /data/local/tmp/`
20 > `echo java/util/ArrayList > /tmp/classlist`
21 > `echo java/util/Arrays >> /tmp/classlist`
22 > `adb push /tmp/classlist /data/local/tmp/`
24 …agent $(adb shell pidof some.deubggable.app) /data/local/tmp/libforceredefine.so=/data/local/tmp/c…
28 …agent $(adb shell pidof some.deubggable.app) /data/local/tmp/libforceredefine.so=/data/local/tmp/c…
29 …agent $(adb shell pidof some.deubggable.app) /data/local/tmp/libforceredefine.so=/data/local/tmp/c…
30 …agent $(adb shell pidof some.deubggable.app) /data/local/tmp/libforceredefine.so=/data/local/tmp/c…
/art/test/704-multiply-accumulate/src/
DMain.java43 int tmp = 0; in test_int() local
46 tmp = i*c; in test_int()
48 result = i - tmp; in test_int()
70 tmp++; in test_int()
91 tmp = obj.ia; in test_int()
92 result = result + tmp; in test_int()
104 long tmp = 0; in test_long() local
107 tmp = i*c; in test_long()
109 result = i - tmp; in test_long()
131 tmp++; in test_long()
[all …]
/art/runtime/interpreter/
Dunstarted_runtime_test.cc88 ShadowFrame* tmp, in RunArrayCopy() argument
97 tmp->SetVRegReference(0, src); in RunArrayCopy()
98 tmp->SetVReg(1, src_pos); in RunArrayCopy()
99 tmp->SetVRegReference(2, dst); in RunArrayCopy()
100 tmp->SetVReg(3, dst_pos); in RunArrayCopy()
101 tmp->SetVReg(4, length); in RunArrayCopy()
102 UnstartedSystemArraycopy(self, tmp, &result, 0); in RunArrayCopy()
111 ShadowFrame* tmp, in RunArrayCopy() argument
132 tmp, in RunArrayCopy()
144 ShadowFrame* tmp, in TestCeilFloor() argument
[all …]
Dunstarted_runtime_transaction_test.cc46 UniqueDeoptShadowFramePtr tmp = CreateShadowFrame(10, nullptr, 0); in TEST_F() local
53 tmp->SetVReg(0, static_cast<int32_t>(i)); in TEST_F()
55 UnstartedCharacterToLowerCase(self, tmp.get(), &result, 0); in TEST_F()
62 tmp->SetVReg(0, static_cast<int32_t>(i)); in TEST_F()
64 UnstartedCharacterToUpperCase(self, tmp.get(), &result, 0); in TEST_F()
73 tmp->SetVReg(0, static_cast<int32_t>(i)); in TEST_F()
75 UnstartedCharacterToLowerCase(self, tmp.get(), &result, 0); in TEST_F()
82 tmp->SetVReg(0, static_cast<int32_t>(i)); in TEST_F()
84 UnstartedCharacterToUpperCase(self, tmp.get(), &result, 0); in TEST_F()
/art/test/569-checker-pattern-replacement/src/
DMain.java530 double tmp = b.intField + b.doubleField; in constructBase() local
531 return (b.objectField != null) ? tmp : -tmp; in constructBase()
558 double tmp = b.intField + b.doubleField; in constructBaseWith0DoubleNull() local
559 return (b.objectField != null) ? tmp : -tmp; in constructBaseWith0DoubleNull()
582 double tmp = b.intField + b.doubleField; in constructBase() local
583 tmp = (b.objectField != null) ? tmp : -tmp; in constructBase()
584 return (b.stringField != null) ? 2.0 * tmp : 0.5 * tmp; in constructBase()
646 double tmp = b.intField + b.doubleField; in constructBase() local
647 return (b.objectField != null) ? tmp + 1.0 : tmp - 1.0; in constructBase()
819 double tmp = d.intField + d.doubleField; in constructDerived() local
[all …]
/art/runtime/
Dvdex_file_test.cc31 ScratchFile tmp; in TEST_F() local
33 std::unique_ptr<VdexFile> vdex = VdexFile::Open(tmp.GetFd(), in TEST_F()
35 tmp.GetFilename(), in TEST_F()
42 tmp.GetFilename(), /*writable=*/false, /*low_4gb=*/false, &error_msg); in TEST_F()
Dimtable-inl.h60 uint32_t tmp = ComputeModifiedUtf8Hash( in GetImtHashComponents() local
70 tmp = 31 * tmp + ComputeModifiedUtf8Hash( in GetImtHashComponents()
75 *signature_hash = tmp; in GetImtHashComponents()
/art/libartbase/base/
Dzip_archive_test.cc43 ScratchFile tmp; in TEST_F() local
44 ASSERT_NE(-1, tmp.GetFd()); in TEST_F()
45 std::unique_ptr<File> file(new File(DupCloexec(tmp.GetFd()), tmp.GetFilename(), false)); in TEST_F()
53 int fd = open(tmp.GetFilename().c_str(), O_RDONLY | O_CLOEXEC); in TEST_F()
/art/openjdkjvmti/
Dobject_tagging.h74 jlong tmp = 0; in GetTagOrZero() local
75 GetTag(obj, &tmp); in GetTagOrZero()
76 return tmp; in GetTagOrZero()
81 jlong tmp = 0; in GetTagOrZeroLocked() local
82 GetTagLocked(obj, &tmp); in GetTagOrZeroLocked()
83 return tmp; in GetTagOrZeroLocked()
Dobject_tagging.cc76 jlong tmp; in Set() local
77 return Remove(obj, &tmp); in Set()
84 jlong tmp; in SetLocked() local
85 return RemoveLocked(obj, &tmp); in SetLocked()
/art/runtime/interpreter/mterp/x86_64ng/
Darithmetic.S1 %def bindiv(result="", second="", tmp="", wide="", suffix="", rem="0", ext="cdq"):
39 mov${suffix} $tmp, $result
45 add${suffix} $tmp, $result
47 sub${suffix} $result, $tmp
48 mov${suffix} $tmp, $result
50 mov${suffix} $result, $tmp
52 shr${suffix} $$63, $tmp
54 shr${suffix} $$31, $tmp
56 add${suffix} $tmp, $result
61 %def bindiv2addr(result="", second="", tmp="", wide="", suffix="", rem="0", ext="cdq"):
[all …]
/art/runtime/arch/x86/
Dasm_support_x86.S409 MACRO4(LOCK_OBJECT_FAST_PATH, obj, tmp, saved_eax, slow_lock)
412 movl %fs:THREAD_ID_OFFSET, REG_VAR(tmp) // tmp: thread id.
413 xorl %eax, REG_VAR(tmp) // tmp: thread id with count 0 + read barrier bits.
418 lock cmpxchg REG_VAR(tmp), MIRROR_OBJECT_LOCK_WORD_OFFSET(REG_VAR(obj))
427 REG_VAR(tmp)
430 leal LOCK_WORD_THIN_LOCK_COUNT_ONE(%eax), REG_VAR(tmp)
431 testl LITERAL(LOCK_WORD_THIN_LOCK_COUNT_MASK_SHIFTED), REG_VAR(tmp)
435 lock cmpxchg REG_VAR(tmp), MIRROR_OBJECT_LOCK_WORD_OFFSET(REG_VAR(obj))
444 MACRO4(UNLOCK_OBJECT_FAST_PATH, obj, tmp, saved_eax, slow_unlock)
447 movl %fs:THREAD_ID_OFFSET, REG_VAR(tmp) // tmp := thread id
[all …]
/art/libartbase/base/unix_file/
Dfd_file_test.cc31 FILE* tmp = tmpfile(); in MakeTestFile() local
32 int fd = art::DupCloexec(fileno(tmp)); in MakeTestFile()
33 fclose(tmp); in MakeTestFile()
108 art::ScratchFile tmp; in TEST_F() local
109 FdFile file(tmp.GetFilename(), O_RDONLY, false); in TEST_F()
124 art::ScratchFile tmp; in TEST_F() local
125 FdFile file(tmp.GetFilename(), O_RDWR, false); in TEST_F()
153 art::ScratchFile tmp; in TEST_F() local
154 FdFile file(tmp.GetFilename(), O_RDWR, false); in TEST_F()
539 art::ScratchFile tmp; in TEST_F() local
[all …]
/art/runtime/arch/x86_64/
Dasm_support_x86_64.S492 MACRO3(LOCK_OBJECT_FAST_PATH, obj, tmp, slow_lock)
495 movl %gs:THREAD_ID_OFFSET, REG_VAR(tmp) // tmp: thread id.
496 xorl %eax, REG_VAR(tmp) // tmp: thread id with count 0 + read barrier bits.
500 lock cmpxchg REG_VAR(tmp), MIRROR_OBJECT_LOCK_WORD_OFFSET(REG_VAR(obj))
506 REG_VAR(tmp)
509 leal LOCK_WORD_THIN_LOCK_COUNT_ONE(%eax), REG_VAR(tmp)
510 testl LITERAL(LOCK_WORD_THIN_LOCK_COUNT_MASK_SHIFTED), REG_VAR(tmp)
514 lock cmpxchg REG_VAR(tmp), MIRROR_OBJECT_LOCK_WORD_OFFSET(REG_VAR(obj))
520 MACRO4(UNLOCK_OBJECT_FAST_PATH, obj, tmp, saved_rax, slow_unlock)
523 movl %gs:THREAD_ID_OFFSET, REG_VAR(tmp) // tmp := thread id
[all …]
/art/tools/fuzzer/
DAndroid.bp93 ":art-run-test-host-data-shard00-tmp",
94 ":art-run-test-host-data-shard01-tmp",
95 ":art-run-test-host-data-shard02-tmp",
96 ":art-run-test-host-data-shard03-tmp",
97 ":art-run-test-host-data-shard04-tmp",
98 ":art-run-test-host-data-shard05-tmp",
99 ":art-run-test-host-data-shard06-tmp",
100 ":art-run-test-host-data-shard07-tmp",
101 ":art-run-test-host-data-shard08-tmp",
102 ":art-run-test-host-data-shard09-tmp",
[all …]
/art/tools/
Dsymbolize.sh41 adb pull $1/$2 /tmp || exit 1
44 adb pull $1/$vdex /tmp/ 2>/dev/null
46 oatdump --symbolize=/tmp/$2 --output=$OUT/symbols/$1/$2
/art/compiler/linker/
Doutput_stream_test.cc68 ScratchFile tmp; in TEST_F() local
69 FileOutputStream output_stream(tmp.GetFile()); in TEST_F()
72 std::unique_ptr<File> in(OS::OpenFileForReading(tmp.GetFilename().c_str())); in TEST_F()
81 ScratchFile tmp; in TEST_F() local
83 BufferedOutputStream buffered_output_stream(std::make_unique<FileOutputStream>(tmp.GetFile())); in TEST_F()
87 std::unique_ptr<File> in(OS::OpenFileForReading(tmp.GetFilename().c_str())); in TEST_F()
/art/benchmark/micro-native/
Dmicro_native.cc105 char* tmp; in jniRegisterNativeMethods() local
107 if (asprintf(&tmp, in jniRegisterNativeMethods()
113 msg = tmp; in jniRegisterNativeMethods()
119 char* tmp; in jniRegisterNativeMethods() local
121 if (asprintf(&tmp, "RegisterNatives failed for '%s'; aborting...", className) == -1) { in jniRegisterNativeMethods()
125 msg = tmp; in jniRegisterNativeMethods()
/art/compiler/utils/riscv64/
Djni_macro_assembler_riscv64.cc195 XRegister tmp = srs.AllocateXRegister(); in StoreStackPointerToThread() local
196 __ Ori(tmp, SP, 0x2); in StoreStackPointerToThread()
197 src = tmp; in StoreStackPointerToThread()
440 XRegister tmp = srs.AllocateXRegister(); in Jump() local
441 __ Loadd(tmp, base.AsXRegister(), offs.Int32Value()); in Jump()
442 __ Jr(tmp); in Jump()
531 XRegister tmp = srs.AllocateXRegister(); in SuspendCheck() local
532 __ Loadw(tmp, TR, Thread::ThreadFlagsOffset<kRiscv64PointerSize>().Int32Value()); in SuspendCheck()
534 __ Andi(tmp, tmp, dchecked_integral_cast<int32_t>(Thread::SuspendOrCheckpointRequestFlags())); in SuspendCheck()
535 __ Bnez(tmp, Riscv64JNIMacroLabel::Cast(label)->AsRiscv64()); in SuspendCheck()
[all …]
/art/test/564-checker-negbitwise/src/
DMain.java363 int tmp = ~mask; in $opt$noinline$notAndMultipleUses() local
364 return (tmp & 0x1) + (base & tmp); in $opt$noinline$notAndMultipleUses()
/art/test/115-native-bridge/
Dnativebridge.cc216 struct sigaction tmp; in trampoline_Java_Main_testSignal() local
217 sigemptyset(&tmp.sa_mask); in trampoline_Java_Main_testSignal()
218 tmp.sa_sigaction = test_sigaction_handler; in trampoline_Java_Main_testSignal()
220 tmp.sa_restorer = nullptr; in trampoline_Java_Main_testSignal()
224 sigaction(SIGSEGV, &tmp, nullptr); in trampoline_Java_Main_testSignal()
228 sigaction(SIGILL, &tmp, nullptr); in trampoline_Java_Main_testSignal()
454 char* tmp = new char[len + 10]; in native_bridge_loadLibrary() local
455 strncpy(tmp, libpath, len); in native_bridge_loadLibrary()
456 tmp[len - 3] = '2'; in native_bridge_loadLibrary()
457 tmp[len - 2] = '.'; in native_bridge_loadLibrary()
[all …]
/art/test/706-checker-scheduler/src/
DMain.java515 int tmp = arg; in intDiv() local
517 tmp -= i; in intDiv()
521 res += tmp; in intDiv()
691 int tmp = a[i]; in testNonPreventingSchedulingCrossItersDeps() local
693 a[i + 1] = tmp; in testNonPreventingSchedulingCrossItersDeps()

12345