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()
125 std::vector<const DexFile*> tmp; in OpenDexFileBase64() local
126 bool success = DexFile::Open(location, location, error_msg, &tmp); in OpenDexFileBase64()
128 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(), false)); 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()
157 std::vector<const DexFile*> tmp; in OpenDexFileBase64() local
158 bool success = DexFile::Open(location, location, &error_msg, &tmp); in OpenDexFileBase64()
160 EXPECT_EQ(1U, tmp.size()); in OpenDexFileBase64()
[all …]
Dutils.h298 } tmp;
299 tmp.u = in;
300 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(), nullptr, in TEST_F()
/art/test/115-native-bridge/
Dnativebridge.cc228 char* tmp = new char[len + 10]; in native_bridge_loadLibrary() local
229 strncpy(tmp, libpath, len); in native_bridge_loadLibrary()
230 tmp[len - 3] = '2'; in native_bridge_loadLibrary()
231 tmp[len - 2] = '.'; in native_bridge_loadLibrary()
232 tmp[len - 1] = 's'; in native_bridge_loadLibrary()
233 tmp[len] = 'o'; in native_bridge_loadLibrary()
234 tmp[len + 1] = 0; in native_bridge_loadLibrary()
235 void* handle = dlopen(tmp, flag); in native_bridge_loadLibrary()
236 delete[] tmp; in native_bridge_loadLibrary()
/art/runtime/base/unix_file/
Dfd_file_test.cc70 art::ScratchFile tmp; in TEST_F() local
72 ASSERT_TRUE(file.Open(tmp.GetFilename(), O_RDONLY)); in TEST_F()
/art/compiler/dex/quick/mips/
Dtarget_mips.cc487 RegStorage tmp = AllocTemp(); in CheckSuspendUsingLoad() local
489 LoadWordDisp(rs_rMIPS_SELF, Thread::ThreadSuspendTriggerOffset<4>().Int32Value(), tmp); in CheckSuspendUsingLoad()
490 LIR *inst = LoadWordDisp(tmp, 0, tmp); in CheckSuspendUsingLoad()
491 FreeTemp(tmp); in CheckSuspendUsingLoad()
/art/build/
DAndroid.common_path.mk41 ART_HOST_TEST_DIR := /tmp/test-art-$(shell echo $$PPID)
DAndroid.gtest.mk257 && (adb pull $(ART_TARGET_TEST_DIR)/$(TARGET_$(2)ARCH)/$$@-$$$$PPID /tmp/ \
260 $(hide) rm /tmp/$$@-$$$$PPID
/art/compiler/dex/quick/arm64/
Dtarget_arm64.cc768 RegStorage tmp = rs_x0; in CheckSuspendUsingLoad() local
769 LoadWordDisp(rs_xSELF, Thread::ThreadSuspendTriggerOffset<8>().Int32Value(), tmp); in CheckSuspendUsingLoad()
770 LIR* load2 = LoadWordDisp(tmp, 0, tmp); in CheckSuspendUsingLoad()
1194 RegStorage tmp = AllocTemp(); in GenDalvikArgsRange() local
1195 Load32Disp(TargetReg(kArg1, kRef), 0, tmp); in GenDalvikArgsRange()
1197 FreeTemp(tmp); in GenDalvikArgsRange()
/art/compiler/dex/quick/arm/
Dtarget_arm.cc730 RegStorage tmp = rs_r0; in CheckSuspendUsingLoad() local
731 Load32Disp(rs_rARM_SELF, Thread::ThreadSuspendTriggerOffset<4>().Int32Value(), tmp); in CheckSuspendUsingLoad()
732 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.cc2819 RegStorage tmp = AllocTemp(); in GenDalvikArgsRange() local
2820 Load32Disp(TargetReg(kArg1, kRef), 0, tmp); in GenDalvikArgsRange()
2822 FreeTemp(tmp); in GenDalvikArgsRange()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc1437 uint64_t* tmp = reinterpret_cast<uint64_t*>(cur_fpr_reg_); in PushFpr8() local
1438 *tmp = val; in PushFpr8()
1543 uintptr_t tmp; in PushHandle() local
1546 tmp = reinterpret_cast<uintptr_t>(h.ToJObject()); in PushHandle()
1548 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.cc881 RegStorage tmp = AllocTemp(); in GenImplicitNullCheck() local
882 Load32Disp(reg, 0, tmp); in GenImplicitNullCheck()
884 FreeTemp(tmp); in GenImplicitNullCheck()
Dgen_common.cc210 RegStorage tmp = AllocTemp(); in ForceImplicitNullCheck() local
212 LIR* load = Load32Disp(reg, 0, tmp); in ForceImplicitNullCheck()
213 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()