/art/runtime/ |
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 | dex_file_test.cc | 65 std::vector<uint8_t> tmp; local 86 tmp.push_back((t >> 16) & 255); 88 tmp.push_back((t >> 8) & 255); 91 tmp.push_back(t & 255); 100 std::unique_ptr<uint8_t[]> dst(new uint8_t[tmp.size()]); 102 *dst_size = tmp.size(); 106 std::copy(tmp.begin(), tmp.end(), dst.get()); 158 std::vector<std::unique_ptr<const DexFile>> tmp; local 159 bool success = DexFile::Open(location, location, &error_msg, &tmp); 169 ScratchFile tmp; local [all...] |
H A D | dex_file_verifier_test.cc | 68 std::vector<uint8_t> tmp; local 89 tmp.push_back((t >> 16) & 255); 91 tmp.push_back((t >> 8) & 255); 94 tmp.push_back(t & 255); 103 std::unique_ptr<uint8_t[]> dst(new uint8_t[tmp.size()]); 105 *dst_size = tmp.size(); 109 std::copy(tmp.begin(), tmp.end(), dst.get()); 134 new DexFile(dex_bytes.get(), length, "tmp", 0, nullptr, nullptr)); 177 std::vector<std::unique_ptr<const DexFile>> tmp; local 209 ScratchFile tmp; local 377 const uint8_t* tmp = ptr; local 1376 ScratchFile tmp; local 1398 ScratchFile tmp; local 1482 ScratchFile tmp; local [all...] |
H A D | monitor.cc | 283 std::string tmp = StringPrintf("%s %d at %s:%d", local 288 ATRACE_BEGIN(tmp.c_str());
|
H A D | check_jni.cc | 1247 const uint8_t* tmp = reinterpret_cast<const uint8_t*>(bytes); local 1248 while (*tmp != 0) { 1249 if (tmp == utf8) { 1252 oss << "0x" << std::setfill('0') << std::setw(2) << static_cast<uint32_t>(*tmp); 1253 if (tmp == utf8) { 1256 tmp++; 1257 if (*tmp != 0) {
|
H A D | utils.cc | 1054 char* tmp = buffer; local 1056 char* new_line = strchr(tmp, '\n'); 1059 if (*tmp != 0) { 1064 *os << tmp; local 1073 *os << tmp; local 1075 tmp = new_line + 1;
|
/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 | intrinsics_arm.cc | 873 // tmp = [r_ptr] - expected; 874 // } while (tmp == 0 && failure([r_ptr] <- r_new_value)); 875 // result = tmp != 0; 1973 Register tmp = locations->GetTemp(3).AsRegister<Register>(); local 1989 __ ldrh(tmp, Address(src_ptr, char_size, Address::PostIndex)); 1990 __ strh(tmp, Address(dst_ptr, char_size, Address::PostIndex));
|
H A D | intrinsics_arm64.cc | 1687 Register tmp = temps.AcquireW(); local 1703 __ Ldrh(tmp, MemOperand(src_ptr, char_size, vixl::PostIndex)); 1704 __ Strh(tmp, MemOperand(dst_ptr, char_size, vixl::PostIndex)); 1926 Register tmp = temps.AcquireW(); local 1931 __ Ldrh(tmp, MemOperand(src_curr_addr, char_size, vixl::PostIndex)); 1932 __ Strh(tmp, MemOperand(dst_curr_addr, char_size, vixl::PostIndex)); 2197 Register tmp = temps.AcquireW(); local 2198 __ Ldr(tmp, MemOperand(src_curr_addr, element_size, vixl::PostIndex)); 2199 __ Str(tmp, MemOperand(dst_curr_addr, element_size, vixl::PostIndex));
|
H A D | intrinsics_x86_64.cc | 2492 CpuRegister tmp = locations->GetTemp(0).AsRegister<CpuRegister>(); local 2497 __ bsrq(tmp, src.AsRegister<CpuRegister>()); 2499 __ bsrl(tmp, src.AsRegister<CpuRegister>()); 2503 __ bsrq(tmp, Address(CpuRegister(RSP), src.GetStackIndex())); 2506 __ bsrl(tmp, Address(CpuRegister(RSP), src.GetStackIndex())); 2513 __ shlq(out, tmp); 2515 __ shll(out, tmp); 2525 __ movq(tmp, src.AsRegister<CpuRegister>()); 2527 __ movl(tmp, src.AsRegister<CpuRegister>()); 2531 __ movq(tmp, Addres [all...] |
H A D | code_generator_arm64.cc | 2087 HArm64IntermediateAddress* tmp = instruction->GetArray()->AsArm64IntermediateAddress(); local 2088 DCHECK_EQ(tmp->GetOffset()->AsIntConstant()->GetValueAsUint64(), offset); 2179 HArm64IntermediateAddress* tmp = instruction->GetArray()->AsArm64IntermediateAddress(); local 2180 DCHECK(tmp->GetOffset()->AsIntConstant()->GetValueAsUint64() == offset);
|
H A D | code_generator_x86_64.cc | 3332 CpuRegister tmp = locations->GetTemp(0).AsRegister<CpuRegister>(); local 3335 __ leal(tmp, Address(numerator, abs_imm - 1)); 3337 __ cmov(kGreaterEqual, tmp, numerator); 3339 __ sarl(tmp, Immediate(shift)); 3342 __ negl(tmp); 3345 __ movl(output_register, tmp);
|
/art/runtime/base/unix_file/ |
H A D | fd_file_test.cc | 70 art::ScratchFile tmp; local 72 ASSERT_TRUE(file.Open(tmp.GetFilename(), O_RDONLY)); 86 art::ScratchFile tmp; local 88 ASSERT_TRUE(file.Open(tmp.GetFilename(), O_RDWR)); 115 art::ScratchFile tmp; local 117 ASSERT_TRUE(file.Open(tmp.GetFilename(), O_RDWR));
|
/art/runtime/interpreter/ |
H A D | unstarted_runtime_test.cc | 110 ShadowFrame* tmp, 119 tmp->SetVRegReference(0, src); 120 tmp->SetVReg(1, src_pos); 121 tmp->SetVRegReference(2, dst); 122 tmp->SetVReg(3, dst_pos); 123 tmp->SetVReg(4, length); 124 UnstartedSystemArraycopy(self, tmp, &result, 0); 133 ShadowFrame* tmp, 154 tmp, 166 ShadowFrame* tmp, 209 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); local 231 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); local 256 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); local 281 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); local 313 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); local 367 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); local 415 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); local 450 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); local 556 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); local 604 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); local 651 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); local 680 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); local 709 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); local 810 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); local 829 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); local 853 ShadowFrame* tmp = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); local [all...] |
/art/compiler/utils/arm/ |
H A D | assembler_arm32_test.cc | 597 size_t tmp; local 599 tmp = GetRegisters().size(); 601 tmp--;; // Approximation... 603 return tmp; 616 size_t tmp; local 618 tmp = GetRegisters().size(); 620 tmp--;; // Approximation... 623 tmp = GetShiftOperands().size(); 625 tmp = GetConditions().size(); 628 tmp [all...] |
/art/compiler/ |
H A D | oat_test.cc | 368 ScratchFile tmp; local 371 bool success = WriteElf(tmp.GetFile(), class_linker->GetBootClassPath(), key_value_store, false); 377 std::unique_ptr<OatFile> oat_file(OatFile::Open(tmp.GetFilename(), 378 tmp.GetFilename(), 499 ScratchFile tmp; local 502 bool success = WriteElf(tmp.GetFile(), dex_files, key_value_store, false); 505 std::unique_ptr<OatFile> oat_file(OatFile::Open(tmp.GetFilename(), 506 tmp.GetFilename(), 514 EXPECT_LT(static_cast<size_t>(oat_file->Size()), static_cast<size_t>(tmp.GetFile()->GetLength()));
|
/art/compiler/utils/ |
H A D | assembler_test_base.h | 32 // to true. The disassembled files will then remain in the tmp directory. 574 ScratchFile tmp; local 575 tmpnam_ = tmp.GetFilename() + "asm";
|
/art/test/115-native-bridge/ |
H A D | nativebridge.cc | 197 struct sigaction tmp; local 198 sigemptyset(&tmp.sa_mask); 199 tmp.sa_sigaction = test_sigaction_handler; 201 tmp.sa_restorer = nullptr; 205 sigaction(SIGSEGV, &tmp, nullptr); 218 sigaction(SIGILL, &tmp, nullptr); 289 char* tmp = new char[len + 10]; local 290 strncpy(tmp, libpath, len); 291 tmp[len - 3] = '2'; 292 tmp[le [all...] |
/art/dexdump/ |
H A D | dexdump.cc | 862 char* tmp = descriptorToDot(backDescriptor); local 865 codeOffset, codeOffset, tmp, name, signature.ToString().c_str()); 866 free(tmp); 945 char* tmp = descriptorClassToDot(backDescriptor); local 946 fprintf(gOutFile, "<constructor name=\"%s\"\n", tmp); 947 free(tmp); 948 tmp = descriptorToDot(backDescriptor); 949 fprintf(gOutFile, " type=\"%s\"\n", tmp); 950 free(tmp); 958 char* tmp local 1001 char* tmp = descriptorToDot(tmpBuf); local 1163 char *tmp = descriptorToDot(typeDescriptor); local 1313 char* tmp = descriptorClassToDot(classDescriptor); local [all...] |
/art/runtime/entrypoints/quick/ |
H A D | quick_trampoline_entrypoints.cc | 1744 uint64_t* tmp = reinterpret_cast<uint64_t*>(cur_fpr_reg_); local 1745 *tmp = val; 1848 uintptr_t tmp; local 1851 tmp = reinterpret_cast<uintptr_t>(h.ToJObject()); 1853 return tmp;
|
/art/compiler/driver/ |
H A D | compiler_driver.cc | 968 std::string tmp = PrettyMethod(method_ref.dex_method_index, *method_ref.dex_file, true); local 969 return methods_to_compile_->find(tmp.c_str()) != methods_to_compile_->end();
|
/art/compiler/jni/ |
H A D | jni_compiler_test.cc | 1483 jintArray tmp = env_->NewIntArray(i); local 1484 args[i].l = tmp;
|
/art/compiler/utils/mips64/ |
H A D | assembler_mips64.cc | 1086 int64_t tmp = value >> shift_cnt; local 1087 if (IsUint<16>(tmp)) { 1088 Ori(rd, ZERO, tmp); 1094 } else if (IsInt<16>(tmp)) { 1095 Daddiu(rd, ZERO, tmp); 1101 } else if (IsInt<32>(tmp)) { 1103 Lui(rd, tmp >> 16); 1104 Ori(rd, rd, tmp); 1112 tmp = value >> shift_cnt; 1113 if (IsUint<16>(tmp)) { [all...] |
/art/runtime/verifier/ |
H A D | method_verifier.cc | 327 std::string tmp = local 331 tmp = tmp + "\nCommon causes for lock verification issues are non-optimized dex code\n" 335 LOG(WARNING) << tmp;
|