Home
last modified time | relevance | path

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

/art/runtime/
Ddex_file_verifier_test.cc59 std::vector<byte> tmp; in DecodeBase64() local
80 tmp.push_back((t >> 16) & 255); in DecodeBase64()
82 tmp.push_back((t >> 8) & 255); in DecodeBase64()
85 tmp.push_back(t & 255); in DecodeBase64()
94 std::unique_ptr<byte[]> dst(new byte[tmp.size()]); in DecodeBase64()
96 *dst_size = tmp.size(); in DecodeBase64()
100 std::copy(tmp.begin(), tmp.end(), dst.get()); in DecodeBase64()
122 std::vector<const DexFile*> tmp; in OpenDexFileBase64() local
123 bool success = DexFile::Open(location, location, error_msg, &tmp); in OpenDexFileBase64()
125 EXPECT_EQ(1U, tmp.size()); in OpenDexFileBase64()
[all …]
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())); in TEST_F()
52 int fd = open(tmp.GetFilename().c_str(), O_RDONLY); in TEST_F()
Ddex_file_test.cc64 std::vector<byte> tmp; in DecodeBase64() local
85 tmp.push_back((t >> 16) & 255); in DecodeBase64()
87 tmp.push_back((t >> 8) & 255); in DecodeBase64()
90 tmp.push_back(t & 255); in DecodeBase64()
99 std::unique_ptr<byte[]> dst(new byte[tmp.size()]); in DecodeBase64()
101 *dst_size = tmp.size(); in DecodeBase64()
105 std::copy(tmp.begin(), tmp.end(), dst.get()); in DecodeBase64()
154 std::vector<const DexFile*> tmp; in OpenDexFileBase64() local
155 bool success = DexFile::Open(location, location, &error_msg, &tmp); in OpenDexFileBase64()
157 EXPECT_EQ(1U, tmp.size()); in OpenDexFileBase64()
[all …]
Dutils.h257 } tmp;
258 tmp.u = in;
259 return tmp.v;
/art/compiler/
Doutput_stream_test.cc64 ScratchFile tmp; in TEST_F() local
65 FileOutputStream output_stream(tmp.GetFile()); in TEST_F()
68 std::unique_ptr<File> in(OS::OpenFileForReading(tmp.GetFilename().c_str())); in TEST_F()
77 ScratchFile tmp; in TEST_F() local
78 std::unique_ptr<FileOutputStream> file_output_stream(new FileOutputStream(tmp.GetFile())); in TEST_F()
83 std::unique_ptr<File> in(OS::OpenFileForReading(tmp.GetFilename().c_str())); in TEST_F()
Doat_test.cc117 ScratchFile tmp; in TEST_F() local
131 tmp.GetFile()); in TEST_F()
138 std::unique_ptr<OatFile> oat_file(OatFile::Open(tmp.GetFilename(), tmp.GetFilename(), NULL, false, in TEST_F()
/art/test/115-native-bridge/
Dnativebridge.cc221 char* tmp = new char[len + 10]; in native_bridge_loadLibrary() local
222 strncpy(tmp, libpath, len); in native_bridge_loadLibrary()
223 tmp[len - 3] = '2'; in native_bridge_loadLibrary()
224 tmp[len - 2] = '.'; in native_bridge_loadLibrary()
225 tmp[len - 1] = 's'; in native_bridge_loadLibrary()
226 tmp[len] = 'o'; in native_bridge_loadLibrary()
227 tmp[len + 1] = 0; in native_bridge_loadLibrary()
228 void* handle = dlopen(tmp, flag); in native_bridge_loadLibrary()
229 delete[] tmp; in native_bridge_loadLibrary()
/art/runtime/base/unix_file/
Dfd_file_test.cc69 art::ScratchFile tmp; in TEST_F() local
71 ASSERT_TRUE(file.Open(tmp.GetFilename(), O_RDONLY)); in TEST_F()
/art/compiler/dex/quick/mips/
Dtarget_mips.cc486 RegStorage tmp = AllocTemp(); in CheckSuspendUsingLoad() local
488 LoadWordDisp(rs_rMIPS_SELF, Thread::ThreadSuspendTriggerOffset<4>().Int32Value(), tmp); in CheckSuspendUsingLoad()
489 LIR *inst = LoadWordDisp(tmp, 0, tmp); in CheckSuspendUsingLoad()
490 FreeTemp(tmp); in CheckSuspendUsingLoad()
/art/build/
DAndroid.common_path.mk41 ART_HOST_TEST_DIR := /tmp/test-art-$(shell echo $$PPID)
DAndroid.gtest.mk255 && (adb pull $(ART_TARGET_TEST_DIR)/$(TARGET_$(2)ARCH)/$$@-$$$$PPID /tmp/ \
258 $(hide) rm /tmp/$$@-$$$$PPID
/art/compiler/dex/quick/arm64/
Dtarget_arm64.cc767 RegStorage tmp = rs_x0; in CheckSuspendUsingLoad() local
768 LoadWordDisp(rs_xSELF, Thread::ThreadSuspendTriggerOffset<8>().Int32Value(), tmp); in CheckSuspendUsingLoad()
769 LIR* load2 = LoadWordDisp(tmp, 0, tmp); in CheckSuspendUsingLoad()
1193 RegStorage tmp = AllocTemp(); in GenDalvikArgsRange() local
1194 Load32Disp(TargetReg(kArg1, kRef), 0, tmp); in GenDalvikArgsRange()
1196 FreeTemp(tmp); in GenDalvikArgsRange()
/art/compiler/dex/quick/arm/
Dtarget_arm.cc729 RegStorage tmp = rs_r0; in CheckSuspendUsingLoad() local
730 Load32Disp(rs_rARM_SELF, Thread::ThreadSuspendTriggerOffset<4>().Int32Value(), tmp); in CheckSuspendUsingLoad()
731 LIR* load2 = Load32Disp(tmp, 0, tmp); in CheckSuspendUsingLoad()
Dcall_arm.cc68 RegStorage tmp = r_disp; in GenLargeSparseSwitch() local
70 r_key = tmp; in GenLargeSparseSwitch()
/art/compiler/dex/quick/x86/
Dint_x86.cc462 RegStorage tmp = AllocTypedTempWide(false, kCoreReg); in GenFusedLongCmpImmBranch() local
463 LoadConstantWide(tmp, val); in GenFusedLongCmpImmBranch()
464 OpRegReg(kOpCmp, rl_src1.reg, tmp); in GenFusedLongCmpImmBranch()
465 FreeTemp(tmp); in GenFusedLongCmpImmBranch()
500 RegStorage tmp = AllocTypedTempWide(false, kCoreReg); in GenFusedLongCmpImmBranch() local
501 LoadConstantWide(tmp, val); in GenFusedLongCmpImmBranch()
502 OpRegReg(kOpSub, tmp.GetLow(), low_reg); in GenFusedLongCmpImmBranch()
503 OpRegReg(kOpSbc, tmp.GetHigh(), high_reg); in GenFusedLongCmpImmBranch()
505 FreeTemp(tmp); in GenFusedLongCmpImmBranch()
557 uint64_t tmp = exp + ((is_long) ? static_cast<uint64_t>(divisor) >> 63 : in CalculateMagicAndShift() local
[all …]
Dtarget_x86.cc2818 RegStorage tmp = AllocTemp(); in GenDalvikArgsRange() local
2819 Load32Disp(TargetReg(kArg1, kRef), 0, tmp); in GenDalvikArgsRange()
2821 FreeTemp(tmp); in GenDalvikArgsRange()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc1405 uint64_t* tmp = reinterpret_cast<uint64_t*>(cur_fpr_reg_); in PushFpr8() local
1406 *tmp = val; in PushFpr8()
1511 uintptr_t tmp; in PushHandle() local
1514 tmp = reinterpret_cast<uintptr_t>(h.ToJObject()); in PushHandle()
1516 return tmp; in PushHandle()
/art/compiler/utils/
Dassembler_test.h686 ScratchFile tmp; in GetTmpnam() local
687 tmpnam_ = tmp.GetFilename() + "asm"; in GetTmpnam()
/art/
DAndroid.mk74 rm -rf /tmp/$(USER)/test-*/dalvik-cache/*
75 rm -rf /tmp/android-data/dalvik-cache/*
/art/compiler/dex/quick/
Dgen_invoke.cc880 RegStorage tmp = AllocTemp(); in GenImplicitNullCheck() local
881 Load32Disp(reg, 0, tmp); in GenImplicitNullCheck()
883 FreeTemp(tmp); in GenImplicitNullCheck()
Dgen_common.cc206 RegStorage tmp = AllocTemp(); in ForceImplicitNullCheck() local
208 LIR* load = Load32Disp(reg, 0, tmp); in ForceImplicitNullCheck()
209 FreeTemp(tmp); in ForceImplicitNullCheck()
/art/compiler/jni/
Djni_compiler_test.cc1511 jintArray tmp = env_->NewIntArray(i); in MaxParamNumberImpl() local
1512 args[i].l = tmp; in MaxParamNumberImpl()