/art/runtime/ |
H A D | vdex_file_test.cc | 32 ScratchFile tmp; local 34 std::unique_ptr<VdexFile> vdex = VdexFile::Open(tmp.GetFd(), 36 tmp.GetFilename(), 44 tmp.GetFilename(), /*writable*/false, /*low_4gb*/false, /*quicken*/ false, &error_msg);
|
H A D | zip_archive_test.cc | 42 ScratchFile tmp; local 43 ASSERT_NE(-1, tmp.GetFd()); 44 std::unique_ptr<File> file(new File(tmp.GetFd(), tmp.GetFilename(), false)); 52 int fd = open(tmp.GetFilename().c_str(), O_RDONLY);
|
H A D | imtable-inl.h | 60 uint32_t tmp = ComputeModifiedUtf8Hash( local 70 tmp = 31 * tmp + ComputeModifiedUtf8Hash( 75 *signature_hash = tmp;
|
H A D | zip_archive.cc | 154 std::string tmp; local 160 tmp += StringPrintf("%3d ", (unsigned int)buf); 165 LOG(INFO) << "" << tmp; 170 tmp = ""; 176 tmp += StringPrintf("%3d ", (unsigned int)begin[i]); 181 LOG(INFO) << tmp;
|
H A D | runtime_callbacks_test.cc | 268 std::string tmp; local 269 std::string event = std::string("Load:") + klass->GetDescriptor(&tmp); 275 std::string tmp, tmp2; local 276 std::string event = std::string("Prepare:") + klass->GetDescriptor(&tmp)
|
H A D | dex_file_test.cc | 211 std::vector<std::unique_ptr<const DexFile>> tmp; local 212 bool success = DexFile::Open(location, location, kVerifyChecksum, error_msg, &tmp); 214 for (std::unique_ptr<const DexFile>& dex_file : tmp) { 218 *dex_files = std::move(tmp); 303 ScratchFile tmp; local 304 std::unique_ptr<const DexFile> raw(OpenDexFileBase64(kRawDex, tmp.GetFilename().c_str())); 309 ScratchFile tmp; local 311 OpenDexFileInMemoryBase64(kRawDex, tmp.GetFilename().c_str(), 0x00d87910U, true); 316 ScratchFile tmp; local 317 std::unique_ptr<const DexFile> raw(OpenDexFileBase64(kRawDex38, tmp 325 ScratchFile tmp; local 337 ScratchFile tmp; local 572 ScratchFile tmp; local 581 ScratchFile tmp; local 590 ScratchFile tmp; local 599 ScratchFile tmp; local 606 ScratchFile tmp; local 617 ScratchFile tmp; local [all...] |
H A D | native_stack_dump.cc | 184 char* tmp = buffer; local 185 while (*tmp != 0) { 190 char* new_line = strchr(tmp, '\n'); 192 os << tmp; local 198 os << tmp; local 201 tmp = new_line + 1;
|
H A D | dex_file_verifier_test.cc | 57 return new DexFile(dex_bytes, length, "tmp", 0, nullptr); 113 std::vector<std::unique_ptr<const DexFile>> tmp; local 114 bool success = DexFile::Open(location, location, true, error_msg, &tmp); 116 EXPECT_EQ(1U, tmp.size()); 117 std::unique_ptr<const DexFile> dex_file = std::move(tmp[0]); 145 ScratchFile tmp; local 147 std::unique_ptr<const DexFile> raw(OpenDexFileBase64(kGoodTestDex, tmp.GetFilename().c_str(), 313 const uint8_t* tmp = ptr; local 314 DecodeUnsignedLeb128(&tmp); 315 size_t bytes = tmp 1308 ScratchFile tmp; local 1330 ScratchFile tmp; local 1414 ScratchFile tmp; local [all...] |
H A D | common_runtime_test.cc | 99 std::vector<uint8_t> tmp; local 120 tmp.push_back((t >> 16) & 255); 122 tmp.push_back((t >> 8) & 255); 125 tmp.push_back(t & 255); 134 std::unique_ptr<uint8_t[]> dst(new uint8_t[tmp.size()]); 135 *dst_size = tmp.size(); 136 std::copy(tmp.begin(), tmp.end(), dst.get()); 264 android_data = "/tmp"; 644 std::vector<const DexFile*> tmp(GetDexFile [all...] |
H A D | monitor.cc | 286 std::string tmp = StringPrintf("%s %d at %s:%d", local 291 ATRACE_BEGIN(tmp.c_str());
|
/art/runtime/openjdkjvmti/ |
H A D | object_tagging.cc | 47 jlong tmp; local 48 return Remove(obj, &tmp); 54 jlong tmp; local 55 return RemoveLocked(obj, &tmp);
|
H A D | object_tagging.h | 63 jlong tmp = 0; variable 64 GetTag(obj, &tmp); 65 return tmp; 70 jlong tmp = 0; local 71 GetTagLocked(obj, &tmp); 72 return tmp;
|
H A D | art_jvmti.h | 148 unsigned char* tmp; local 149 *error = env->Allocate(sizeof(T), &tmp); 153 return JvmtiUniquePtr<T>(tmp, JvmtiDeleter<T>(env)); 161 unsigned char* tmp; local 162 *error = env->Allocate(sizeof(typename std::remove_extent<T>::type) * count, &tmp); 166 return JvmtiUniquePtr<T>(reinterpret_cast<typename std::remove_extent<T>::type*>(tmp),
|
H A D | jvmti_weak_table-inl.h | 267 Storage* tmp = data; local 273 return tmp; 279 Storage* tmp = allocator.allocate(new_capacity); local 280 DCHECK(tmp != nullptr); 282 memcpy(tmp, data, sizeof(Storage) * size); 285 data = tmp;
|
/art/compiler/linker/ |
H A D | output_stream_test.cc | 67 ScratchFile tmp; local 68 FileOutputStream output_stream(tmp.GetFile()); 71 std::unique_ptr<File> in(OS::OpenFileForReading(tmp.GetFilename().c_str())); 80 ScratchFile tmp; local 82 BufferedOutputStream buffered_output_stream(MakeUnique<FileOutputStream>(tmp.GetFile())); 86 std::unique_ptr<File> in(OS::OpenFileForReading(tmp.GetFilename().c_str()));
|
/art/compiler/optimizing/ |
H A D | code_generator_utils.cc | 60 uint64_t tmp = exp + sign_bit; local 61 uint64_t abs_nc = tmp - 1 - (tmp % abs_d);
|
H A D | code_generator_vector_x86.cc | 77 XmmRegister tmp = locations->GetTemp(0).AsFpuRegister<XmmRegister>(); local 80 __ movd(tmp, locations->InAt(0).AsRegisterPairHigh<Register>()); 81 __ punpckldq(reg, tmp); 216 XmmRegister tmp = locations->GetTemp(0).AsFpuRegister<XmmRegister>(); local 218 __ pxor(tmp, tmp); 219 __ pcmpgtd(tmp, dst); 220 __ pxor(dst, tmp); 221 __ psubd(dst, tmp); 257 XmmRegister tmp local [all...] |
H A D | code_generator_vector_x86_64.cc | 209 XmmRegister tmp = locations->GetTemp(0).AsFpuRegister<XmmRegister>(); local 211 __ pxor(tmp, tmp); 212 __ pcmpgtd(tmp, dst); 213 __ pxor(dst, tmp); 214 __ psubd(dst, tmp); 250 XmmRegister tmp = locations->GetTemp(0).AsFpuRegister<XmmRegister>(); local 252 __ pcmpeqb(tmp, tmp); // all ones 253 __ psubb(dst, tmp); // 1 [all...] |
H A D | code_generator_mips.cc | 709 Register tmp = AT; // Value in memory. variable 723 // tmp = [r_ptr] - expected; 724 // } while (tmp == 0 && failure([r_ptr] <- r_new_value)); 730 __ LlR6(tmp, tmp_ptr); 732 __ LlR2(tmp, tmp_ptr); 734 __ Bne(tmp, expected, &exit_loop); 735 __ Move(tmp, value); 737 __ ScR6(tmp, tmp_ptr); 739 __ ScR2(tmp, tmp_ptr); 741 __ Beqz(tmp, [all...] |
/art/runtime/base/unix_file/ |
H A D | fd_file_test.cc | 72 art::ScratchFile tmp; local 73 FdFile file(tmp.GetFilename(), O_RDONLY, false); 88 art::ScratchFile tmp; local 89 FdFile file(tmp.GetFilename(), O_RDWR, false); 117 art::ScratchFile tmp; local 118 FdFile file(tmp.GetFilename(), O_RDWR, false); 173 art::ScratchFile tmp; local 174 FdFile file(tmp.GetFilename(), O_RDWR, false); 191 art::ScratchFile tmp; local 192 std::string filename = tmp [all...] |
/art/benchmark/micro-native/ |
H A D | micro_native.cc | 105 char* tmp; local 107 if (asprintf(&tmp, 113 msg = tmp; 119 char* tmp; local 121 if (asprintf(&tmp, "RegisterNatives failed for '%s'; aborting...", className) == -1) { 125 msg = tmp;
|
/art/compiler/utils/ |
H A D | assembler_test_base.h | 35 // to true. The disassembled files will then remain in the tmp directory. 583 ScratchFile tmp; local 584 tmpnam_ = tmp.GetFilename() + "asm";
|
/art/runtime/interpreter/ |
H A D | unstarted_runtime_test.cc | 114 ShadowFrame* tmp, 123 tmp->SetVRegReference(0, src); 124 tmp->SetVReg(1, src_pos); 125 tmp->SetVRegReference(2, dst); 126 tmp->SetVReg(3, dst_pos); 127 tmp->SetVReg(4, length); 128 UnstartedSystemArraycopy(self, tmp, &result, 0); 137 ShadowFrame* tmp, 158 tmp, 170 ShadowFrame* tmp, 213 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); local 235 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); local 260 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); local 285 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); local 317 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); local 371 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); local 434 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); local 469 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); local 575 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); local 623 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); local 670 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); local 699 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); local 728 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); local 829 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); local 848 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); local 872 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); local 1374 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); local [all...] |
/art/test/115-native-bridge/ |
H A D | nativebridge.cc | 211 struct sigaction tmp; local 212 sigemptyset(&tmp.sa_mask); 213 tmp.sa_sigaction = test_sigaction_handler; 215 tmp.sa_restorer = nullptr; 219 sigaction(SIGSEGV, &tmp, nullptr); 223 sigaction(SIGILL, &tmp, nullptr); 429 char* tmp = new char[len + 10]; local 430 strncpy(tmp, libpath, len); 431 tmp[len - 3] = '2'; 432 tmp[le [all...] |
/art/test/913-heaps/ |
H A D | heaps.cc | 373 std::string tmp = StringPrintf("field@%d", reference_info->field.index); local 378 tmp)); 387 std::string tmp = StringPrintf("array-element@%d", index); local 392 tmp)); 419 std::string tmp = StringPrintf("array-element@%d", reference_info->array.index); local 424 tmp));;
|