Home
last modified time | relevance | path

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

1234

/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/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/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/libartbase/base/unix_file/
Dfd_file_test.cc28 FILE* tmp = tmpfile(); in MakeTestFile() local
29 int fd = art::DupCloexec(fileno(tmp)); in MakeTestFile()
30 fclose(tmp); in MakeTestFile()
76 art::ScratchFile tmp; in TEST_F() local
77 FdFile file(tmp.GetFilename(), O_RDONLY, false); in TEST_F()
92 art::ScratchFile tmp; in TEST_F() local
93 FdFile file(tmp.GetFilename(), O_RDWR, false); in TEST_F()
121 art::ScratchFile tmp; in TEST_F() local
122 FdFile file(tmp.GetFilename(), O_RDWR, false); in TEST_F()
177 art::ScratchFile tmp; in TEST_F() local
[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/909-attach-agent/src-art/
DMain.java60 File tmp = null; in attachWithClassLoader() local
62 tmp = File.createTempFile("lib", ".so"); in attachWithClassLoader()
63 prepare(agentName, tmp); in attachWithClassLoader()
65 String newAgentName = tmp.getName(); in attachWithClassLoader()
68 ClassLoader cl = new PathClassLoader("", tmp.getParentFile().getAbsolutePath(), in attachWithClassLoader()
78 if (tmp != null) { in attachWithClassLoader()
79 tmp.delete(); in attachWithClassLoader()
86 private static void prepare(String in, File tmp) throws Exception { in prepare() argument
95 BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream(tmp)); in prepare()
/art/test/569-checker-pattern-replacement/src/
DMain.java489 double tmp = b.intField + b.doubleField; in constructBase() local
490 return (b.objectField != null) ? tmp : -tmp; in constructBase()
517 double tmp = b.intField + b.doubleField; in constructBaseWith0DoubleNull() local
518 return (b.objectField != null) ? tmp : -tmp; in constructBaseWith0DoubleNull()
541 double tmp = b.intField + b.doubleField; in constructBase() local
542 tmp = (b.objectField != null) ? tmp : -tmp; in constructBase()
543 return (b.stringField != null) ? 2.0 * tmp : 0.5 * tmp; in constructBase()
605 double tmp = b.intField + b.doubleField; in constructBase() local
606 return (b.objectField != null) ? tmp + 1.0 : tmp - 1.0; in constructBase()
778 double tmp = d.intField + d.doubleField; in constructDerived() local
[all …]
/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, /*unquicken=*/ 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/runtime/interpreter/
Dunstarted_runtime_test.cc140 ShadowFrame* tmp, in RunArrayCopy() argument
149 tmp->SetVRegReference(0, src); in RunArrayCopy()
150 tmp->SetVReg(1, src_pos); in RunArrayCopy()
151 tmp->SetVRegReference(2, dst); in RunArrayCopy()
152 tmp->SetVReg(3, dst_pos); in RunArrayCopy()
153 tmp->SetVReg(4, length); in RunArrayCopy()
154 UnstartedSystemArraycopy(self, tmp, &result, 0); in RunArrayCopy()
163 ShadowFrame* tmp, in RunArrayCopy() argument
184 tmp, in RunArrayCopy()
196 ShadowFrame* tmp, in TestCeilFloor() argument
[all …]
/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()
Dzip_archive.cc156 std::string tmp; in MapDirectlyFromFile() local
162 tmp += StringPrintf("%3d ", (unsigned int)buf); in MapDirectlyFromFile()
167 LOG(INFO) << "" << tmp; in MapDirectlyFromFile()
172 tmp = ""; in MapDirectlyFromFile()
178 tmp += StringPrintf("%3d ", (unsigned int)begin[i]); in MapDirectlyFromFile()
183 LOG(INFO) << tmp; in MapDirectlyFromFile()
/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/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/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.cc61 uint64_t tmp = exp + sign_bit; in CalculateMagicAndShiftForDivRem() local
62 uint64_t abs_nc = tmp - 1 - (tmp % abs_d); in CalculateMagicAndShiftForDivRem()
Dcode_generator_vector_mips64.cc184 VectorRegister tmp = static_cast<VectorRegister>(FTMP); in VisitVecReduce() local
190 __ Hadd_sD(tmp, src, src); in VisitVecReduce()
191 __ IlvlD(dst, tmp, tmp); in VisitVecReduce()
192 __ AddvW(dst, dst, tmp); in VisitVecReduce()
195 __ IlvodW(tmp, src, src); in VisitVecReduce()
196 __ Min_sW(tmp, src, tmp); in VisitVecReduce()
197 __ IlvlW(dst, tmp, tmp); in VisitVecReduce()
198 __ Min_sW(dst, dst, tmp); in VisitVecReduce()
201 __ IlvodW(tmp, src, src); in VisitVecReduce()
202 __ Max_sW(tmp, src, tmp); in VisitVecReduce()
[all …]
Dcode_generator_vector_mips.cc186 VectorRegister tmp = static_cast<VectorRegister>(FTMP); in VisitVecReduce() local
192 __ Hadd_sD(tmp, src, src); in VisitVecReduce()
193 __ IlvlD(dst, tmp, tmp); in VisitVecReduce()
194 __ AddvW(dst, dst, tmp); in VisitVecReduce()
197 __ IlvodW(tmp, src, src); in VisitVecReduce()
198 __ Min_sW(tmp, src, tmp); in VisitVecReduce()
199 __ IlvlW(dst, tmp, tmp); in VisitVecReduce()
200 __ Min_sW(dst, dst, tmp); in VisitVecReduce()
203 __ IlvodW(tmp, src, src); in VisitVecReduce()
204 __ Max_sW(tmp, src, tmp); in VisitVecReduce()
[all …]
/art/tools/
Dsymbolize.sh41 adb pull $1/$2 /tmp || exit 1
43 oatdump --symbolize=/tmp/$2 --output=$OUT/symbols/$1/$2
/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()
447 char* tmp = new char[len + 10]; in native_bridge_loadLibrary() local
448 strncpy(tmp, libpath, len); in native_bridge_loadLibrary()
449 tmp[len - 3] = '2'; in native_bridge_loadLibrary()
450 tmp[len - 2] = '.'; in native_bridge_loadLibrary()
[all …]
/art/tools/amm/AmmTest/src/com/android/amm/test/
DTextureViewUse.java60 int tmp = mRed; in updateTextureView() local
64 mBlue = tmp; in updateTextureView()
DSurfaceViewUse.java62 int tmp = mRed; in updateSurfaceView() local
66 mBlue = tmp; in updateSurfaceView()
/art/tools/jvmti-agents/dump-jvmti-state/
DREADME.md15 > `art -Xplugin:$ANDROID_HOST_OUT/lib64/libopenjdkjvmti.so '-agentpath:libdumpjvmti.so' -cp tmp/…
23 > `adb push $ANDROID_PRODUCT_OUT/system/lib64/libdumpjvmti.so /data/local/tmp/`
25 > `adb shell am start-activity --attach-agent /data/local/tmp/libdumpjvmti.so some.debuggable.ap…

1234