/art/cmdline/ |
H A D | cmdline.h | 47 std::string system_filename(GetSystemImageFilename(location.c_str(), isa)); 48 if (OS::FileExists(system_filename.c_str())) { 67 if (GetDalvikCacheFilename(location.c_str(), dalvik_cache.c_str(), 99 options.push_back(std::make_pair(boot_image_option.c_str(), nullptr)); 154 const char* filename = output_name_.c_str(); 170 fprintf(stderr, "%s\n", error_msg.c_str()); 182 fprintf(stderr, "%s\n", error_msg.c_str()); 258 if (GetInstructionSetFromString(parent_dir_name.c_str()) != kNone) { 268 file_name.c_str()); [all...] |
H A D | cmdline_types.h | 161 uint64_t port = strtoul(port_string.c_str(), &end, 10); 185 size_t val = ParseMemoryOption(arg.c_str(), Divisor); 270 double value = strtod(str.c_str(), &end); 289 const char* begin = str.c_str();
|
H A D | memory_representation.h | 55 return str.c_str();
|
/art/compiler/ |
H A D | cfi_test.h | 69 fprintf(f, "// %s\n", line.c_str()); 133 return strncmp(lhs.c_str(), rhs.c_str(), 10) < 0;
|
H A D | common_compiler_test.cc | 116 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), loader); 238 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), loader); 260 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), class_loader); 274 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), class_loader);
|
H A D | elf_builder.h | 298 return CachedSection::Add(name.c_str(), name.length() + 1); 325 this->WriteFully(name.c_str(), name.length() + 1);
|
H A D | elf_writer_test.cc | 55 std::string elf_filename = GetSystemImageFilename(elf_location.c_str(), kRuntimeISA); 63 std::unique_ptr<File> file(OS::OpenFileForReading(elf_filename.c_str()));
|
H A D | exception_test.cc | 226 trace_array->Get(0)->GetDeclaringClass()->ToModifiedUtf8().c_str()); 228 trace_array->Get(0)->GetFileName()->ToModifiedUtf8().c_str()); 229 EXPECT_STREQ("g", trace_array->Get(0)->GetMethodName()->ToModifiedUtf8().c_str()); 234 trace_array->Get(1)->GetDeclaringClass()->ToModifiedUtf8().c_str()); 236 trace_array->Get(1)->GetFileName()->ToModifiedUtf8().c_str()); 237 EXPECT_STREQ("f", trace_array->Get(1)->GetMethodName()->ToModifiedUtf8().c_str());
|
H A D | image_test.cc | 89 const int rmdir_result = rmdir(image_dir.c_str()); 96 std::unique_ptr<File> file(OS::OpenFileForReading(image_file.GetFilename().c_str())); 132 std::string cur_location(StringPrintf("%s-%d.art", location.GetFilename().c_str(), i)); 138 std::string image_filename(GetSystemImageFilename(file.GetFilename().c_str(), kRuntimeISA)); 144 int mkdir_result = mkdir(image_dir.c_str(), 0700); 147 image_files.push_back(ScratchFile(OS::CreateEmptyFile(image_filename.c_str()))); 153 oat_files.push_back(ScratchFile(OS::CreateEmptyFile(oat_filename.c_str()))); 160 oat_filename_vector.push_back(file.c_str()); 164 image_filename_vector.push_back(file.c_str()); 221 dex_file->GetLocation().c_str(), [all...] |
H A D | oat_test.cc | 138 dex_file->GetLocation().c_str(), 396 const OatFile::OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_file.GetLocation().c_str(), 543 input_filenames.push_back(dex_file1.GetFilename().c_str()); 558 input_filenames.push_back(dex_file2.GetFilename().c_str()); 667 std::vector<const char*> input_filenames { zip_file.GetFilename().c_str() }; // NOLINT [readability/braces] [4] 697 ASSERT_EQ(DexFile::GetMultiDexLocation(0, zip_file.GetFilename().c_str()), 704 ASSERT_EQ(DexFile::GetMultiDexLocation(1, zip_file.GetFilename().c_str()), 717 zip_file.GetFilename().c_str(), 745 ASSERT_EQ(DexFile::GetMultiDexLocation(0, zip_file.GetFilename().c_str()), 752 ASSERT_EQ(DexFile::GetMultiDexLocation(1, zip_file.GetFilename().c_str()), [all...] |
H A D | oat_writer.cc | 363 std::unique_ptr<ZipEntry> entry(zip_archive->Find(entry_name.c_str(), &error_msg)); 369 const char* full_location = zipped_dex_file_locations_.back().c_str(); 2143 file->GetPath().c_str(),
|
/art/compiler/debug/ |
H A D | elf_debug_info_writer.h | 522 size_t class_offset = StartClassTag(desc.c_str()); 612 WriteName(name.c_str()); 638 WriteName(name.c_str());
|
/art/compiler/driver/ |
H A D | compiler_driver.cc | 139 DumpStat(resolved_methods_[i], unresolved_methods_[i], oss.str().c_str()); 145 oss2.str().c_str()); 152 oss2.str().c_str()); 159 oss2.str().c_str()); 969 return methods_to_compile_->find(tmp.c_str()) != methods_to_compile_->end(); 1091 hs.NewHandle(class_linker->FindSystemClass(self, descriptor.c_str())));
|
H A D | compiler_driver_test.cc | 270 mirror::Class* klass = class_linker->FindClass(self, clazz.c_str(), h_loader);
|
/art/compiler/jit/ |
H A D | jit_compiler.cc | 183 perf_file_.reset(OS::CreateEmptyFileWriteOnly(perf_filename.c_str())); 233 bool res = perf_file_->WriteFully(str.c_str(), str.size());
|
/art/compiler/jni/ |
H A D | jni_compiler_test.cc | 780 EXPECT_STREQ("MyClassNatives.java", ste->GetFileName()->ToModifiedUtf8().c_str()); 781 EXPECT_STREQ("MyClassNatives", ste->GetDeclaringClass()->ToModifiedUtf8().c_str()); 782 EXPECT_STREQ("fooI", ste->GetMethodName()->ToModifiedUtf8().c_str());
|
/art/compiler/jni/quick/ |
H A D | calling_convention.h | 185 return shorty_.c_str();
|
/art/compiler/linker/ |
H A D | output_stream_test.cc | 71 std::unique_ptr<File> in(OS::OpenFileForReading(tmp.GetFilename().c_str())); 86 std::unique_ptr<File> in(OS::OpenFileForReading(tmp.GetFilename().c_str()));
|
/art/compiler/optimizing/ |
H A D | graph_checker.cc | 809 type_str.str().c_str())); 817 type_str.str().c_str()));
|
H A D | graph_visualizer.cc | 691 PrintProperty("name", pass_desc.c_str());
|
H A D | induction_var_analysis_test.cc | 235 EXPECT_STREQ("((1) * i + (0)):PrimInt", GetInductionInfo(store->InputAt(1), 0).c_str()); 236 EXPECT_STREQ("((1) * i + (1)):PrimInt", GetInductionInfo(increment_[0], 0).c_str()); 243 GetInductionInfo(loop_header_[0]->GetLastInstruction(), 0).c_str()); 268 EXPECT_STREQ("((1) * i + (100)):PrimInt", GetInductionInfo(add, 0).c_str()); 269 EXPECT_STREQ("(( - (1)) * i + (100)):PrimInt", GetInductionInfo(sub, 0).c_str()); 270 EXPECT_STREQ("((100) * i + (0)):PrimInt", GetInductionInfo(mul, 0).c_str()); 271 EXPECT_STREQ("((2) * i + (0)):PrimInt", GetInductionInfo(shl, 0).c_str()); 272 EXPECT_STREQ("(( - (1)) * i + (0)):PrimInt", GetInductionInfo(neg, 0).c_str()); 298 GetInductionInfo(store1->InputAt(1), 0).c_str()); 300 GetInductionInfo(store2->InputAt(1), 0).c_str()); [all...] |
H A D | liveness_test.cc | 70 ASSERT_STREQ(expected, buffer.str().c_str());
|
H A D | optimizing_compiler.cc | 167 return cached_method_name_.c_str();
|
H A D | parallel_move_test.cc | 191 ASSERT_STREQ("(1 -> 2) (0 -> 1)", resolver.GetMessage().c_str()); 193 ASSERT_STREQ("(1 -> 2) (0 -> 1)", resolver.GetMessage().c_str()); 202 ASSERT_STREQ("(2 -> 3) (1 -> 2) (1 -> 4) (0 -> 1)", resolver.GetMessage().c_str()); 204 ASSERT_STREQ("(2 -> 3) (1 -> 2) (0 -> 1) (2 -> 4)", resolver.GetMessage().c_str()); 218 ASSERT_STREQ("(1 <-> 0)", resolver.GetMessage().c_str()); 220 ASSERT_STREQ("(1 -> T0) (0 -> 1) (T0 -> 0)", resolver.GetMessage().c_str()); 229 ASSERT_STREQ("(1 -> 2) (1 <-> 0)", resolver.GetMessage().c_str()); 231 ASSERT_STREQ("(1 -> 2) (0 -> 1) (2 -> 0)", resolver.GetMessage().c_str()); 240 ASSERT_STREQ("(0 -> 2) (1 <-> 0)", resolver.GetMessage().c_str()); 242 ASSERT_STREQ("(0 -> 2) (1 -> 0) (2 -> 1)", resolver.GetMessage().c_str()); [all...] |
H A D | pretty_printer_test.cc | 36 ASSERT_STREQ(expected, printer.str().c_str());
|