Home
last modified time | relevance | path

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

1234

/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/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/test/569-checker-pattern-replacement/src/
DMain.java482 double tmp = b.intField + b.doubleField; in constructBase() local
483 return (b.objectField != null) ? tmp : -tmp; in constructBase()
509 double tmp = b.intField + b.doubleField; in constructBaseWith0DoubleNull() local
510 return (b.objectField != null) ? tmp : -tmp; in constructBaseWith0DoubleNull()
533 double tmp = b.intField + b.doubleField; in constructBase() local
534 tmp = (b.objectField != null) ? tmp : -tmp; in constructBase()
535 return (b.stringField != null) ? 2.0 * tmp : 0.5 * tmp; in constructBase()
595 double tmp = b.intField + b.doubleField; in constructBase() local
596 return (b.objectField != null) ? tmp + 1.0 : tmp - 1.0; in constructBase()
760 double tmp = d.intField + d.doubleField; in constructDerived() local
[all …]
/art/runtime/interpreter/
Dunstarted_runtime_test.cc114 ShadowFrame* tmp, in RunArrayCopy() argument
123 tmp->SetVRegReference(0, src); in RunArrayCopy()
124 tmp->SetVReg(1, src_pos); in RunArrayCopy()
125 tmp->SetVRegReference(2, dst); in RunArrayCopy()
126 tmp->SetVReg(3, dst_pos); in RunArrayCopy()
127 tmp->SetVReg(4, length); in RunArrayCopy()
128 UnstartedSystemArraycopy(self, tmp, &result, 0); in RunArrayCopy()
137 ShadowFrame* tmp, in RunArrayCopy() argument
158 tmp, in RunArrayCopy()
170 ShadowFrame* tmp, in TestCeilFloor() argument
[all …]
/art/runtime/openjdkjvmti/
Dobject_tagging.h63 jlong tmp = 0; in GetTagOrZero() local
64 GetTag(obj, &tmp); in GetTagOrZero()
65 return tmp; in GetTagOrZero()
70 jlong tmp = 0; in GetTagOrZeroLocked() local
71 GetTagLocked(obj, &tmp); in GetTagOrZeroLocked()
72 return tmp; in GetTagOrZeroLocked()
Dobject_tagging.cc47 jlong tmp; in Set() local
48 return Remove(obj, &tmp); in Set()
54 jlong tmp; in SetLocked() local
55 return RemoveLocked(obj, &tmp); in SetLocked()
Dart_jvmti.h148 unsigned char* tmp; in AllocJvmtiUniquePtr() local
149 *error = env->Allocate(sizeof(T), &tmp); in AllocJvmtiUniquePtr()
153 return JvmtiUniquePtr<T>(tmp, JvmtiDeleter<T>(env)); in AllocJvmtiUniquePtr()
161 unsigned char* tmp; in AllocJvmtiUniquePtr() local
162 *error = env->Allocate(sizeof(typename std::remove_extent<T>::type) * count, &tmp); in AllocJvmtiUniquePtr()
166 return JvmtiUniquePtr<T>(reinterpret_cast<typename std::remove_extent<T>::type*>(tmp), in AllocJvmtiUniquePtr()
/art/runtime/
Dvdex_file_test.cc32 ScratchFile tmp; in TEST_F() local
34 std::unique_ptr<VdexFile> vdex = VdexFile::Open(tmp.GetFd(), in TEST_F()
36 tmp.GetFilename(), in TEST_F()
44 tmp.GetFilename(), /*writable*/false, /*low_4gb*/false, /*quicken*/ false, &error_msg); in TEST_F()
Dzip_archive_test.cc42 ScratchFile tmp; in TEST_F() local
43 ASSERT_NE(-1, tmp.GetFd()); in TEST_F()
44 std::unique_ptr<File> file(new File(tmp.GetFd(), tmp.GetFilename(), false)); in TEST_F()
52 int fd = open(tmp.GetFilename().c_str(), O_RDONLY); in TEST_F()
Ddex_file_test.cc211 std::vector<std::unique_ptr<const DexFile>> tmp; in OpenDexFilesBase64() local
212 bool success = DexFile::Open(location, location, kVerifyChecksum, error_msg, &tmp); in OpenDexFilesBase64()
214 for (std::unique_ptr<const DexFile>& dex_file : tmp) { in OpenDexFilesBase64()
218 *dex_files = std::move(tmp); in OpenDexFilesBase64()
303 ScratchFile tmp; in TEST_F() local
304 std::unique_ptr<const DexFile> raw(OpenDexFileBase64(kRawDex, tmp.GetFilename().c_str())); in TEST_F()
309 ScratchFile tmp; in TEST_F() local
311 OpenDexFileInMemoryBase64(kRawDex, tmp.GetFilename().c_str(), 0x00d87910U, true); in TEST_F()
316 ScratchFile tmp; in TEST_F() local
317 std::unique_ptr<const DexFile> raw(OpenDexFileBase64(kRawDex38, tmp.GetFilename().c_str())); in TEST_F()
[all …]
Dimtable-inl.h60 uint32_t tmp = ComputeModifiedUtf8Hash( in GetImtHashComponents() local
70 tmp = 31 * tmp + ComputeModifiedUtf8Hash( in GetImtHashComponents()
75 *signature_hash = tmp; in GetImtHashComponents()
Dzip_archive.cc154 std::string tmp; in MapDirectlyFromFile() local
160 tmp += StringPrintf("%3d ", (unsigned int)buf); in MapDirectlyFromFile()
165 LOG(INFO) << "" << tmp; in MapDirectlyFromFile()
170 tmp = ""; in MapDirectlyFromFile()
176 tmp += StringPrintf("%3d ", (unsigned int)begin[i]); in MapDirectlyFromFile()
181 LOG(INFO) << tmp; in MapDirectlyFromFile()
Dnative_stack_dump.cc184 char* tmp = buffer; in Drain() local
185 while (*tmp != 0) { in Drain()
190 char* new_line = strchr(tmp, '\n'); in Drain()
192 os << tmp; in Drain()
198 os << tmp; in Drain()
201 tmp = new_line + 1; in Drain()
/art/runtime/base/unix_file/
Dfd_file_test.cc72 art::ScratchFile tmp; in TEST_F() local
73 FdFile file(tmp.GetFilename(), O_RDONLY, false); in TEST_F()
88 art::ScratchFile tmp; in TEST_F() local
89 FdFile file(tmp.GetFilename(), O_RDWR, false); in TEST_F()
117 art::ScratchFile tmp; in TEST_F() local
118 FdFile file(tmp.GetFilename(), O_RDWR, false); in TEST_F()
173 art::ScratchFile tmp; in TEST_F() local
174 FdFile file(tmp.GetFilename(), O_RDWR, false); in TEST_F()
191 art::ScratchFile tmp; in TEST_F() local
192 std::string filename = tmp.GetFilename(); in TEST_F()
[all …]
/art/test/706-checker-scheduler/src/
DMain.java67 int tmp = arg; in intDiv() local
69 tmp -= i; in intDiv()
73 res += tmp; in intDiv()
/art/runtime/interpreter/mterp/arm/
Dheader.S132 .macro EXPORT_DEX_PC tmp argument
133 ldr \tmp, [rFP, #OFF_FP_CODE_ITEM]
135 add \tmp, #CODEITEM_INSNS_OFFSET
136 sub \tmp, rPC, \tmp
137 asr \tmp, #1
138 str \tmp, [rFP, #OFF_FP_DEX_PC]
/art/compiler/linker/
Doutput_stream_test.cc67 ScratchFile tmp; in TEST_F() local
68 FileOutputStream output_stream(tmp.GetFile()); in TEST_F()
71 std::unique_ptr<File> in(OS::OpenFileForReading(tmp.GetFilename().c_str())); in TEST_F()
80 ScratchFile tmp; in TEST_F() local
82 BufferedOutputStream buffered_output_stream(MakeUnique<FileOutputStream>(tmp.GetFile())); in TEST_F()
86 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/test/564-checker-negbitwise/src/
DMain.java270 int tmp = ~mask; in $opt$noinline$notAndMultipleUses() local
271 return (tmp & 0x1) + (base & tmp); in $opt$noinline$notAndMultipleUses()
/art/compiler/optimizing/
Dcode_generator_utils.cc60 uint64_t tmp = exp + sign_bit; in CalculateMagicAndShiftForDivRem() local
61 uint64_t abs_nc = tmp - 1 - (tmp % abs_d); in CalculateMagicAndShiftForDivRem()
/art/test/115-native-bridge/
Dnativebridge.cc211 struct sigaction tmp; in trampoline_Java_Main_testSignal() local
212 sigemptyset(&tmp.sa_mask); in trampoline_Java_Main_testSignal()
213 tmp.sa_sigaction = test_sigaction_handler; in trampoline_Java_Main_testSignal()
215 tmp.sa_restorer = nullptr; in trampoline_Java_Main_testSignal()
219 sigaction(SIGSEGV, &tmp, nullptr); in trampoline_Java_Main_testSignal()
223 sigaction(SIGILL, &tmp, nullptr); in trampoline_Java_Main_testSignal()
429 char* tmp = new char[len + 10]; in native_bridge_loadLibrary() local
430 strncpy(tmp, libpath, len); in native_bridge_loadLibrary()
431 tmp[len - 3] = '2'; in native_bridge_loadLibrary()
432 tmp[len - 2] = '.'; in native_bridge_loadLibrary()
[all …]
/art/test/565-checker-doublenegbitwise/src/
DMain.java301 int tmp = ~b; in $opt$noinline$notMultipleUses() local
302 return (tmp & 0x1) + (~a & tmp); in $opt$noinline$notMultipleUses()
/art/tools/
Dsymbolize.sh41 adb pull $1/$2 /tmp || exit 1
43 oatdump --symbolize=/tmp/$2 --output=$OUT/symbols/$1/$2
/art/test/903-hello-tagging/src/art/
DTest903.java123 Pair[] tmp = new Pair[l]; in printArraysSorted() local
125 tmp[i] = new Pair(objects == null ? null : objects[i], tags == null ? 0 : tags[i]); in printArraysSorted()
128 Arrays.sort(tmp); in printArraysSorted()
130 System.out.println(Arrays.toString(tmp)); in printArraysSorted()
/art/runtime/base/
Dtransform_iterator.h75 TransformIterator tmp(*this);
77 return tmp;
90 TransformIterator tmp(*this);
92 return tmp;

1234