Searched refs:c_str (Results 1 - 25 of 186) sorted by path

12345678

/art/cmdline/
H A Dcmdline.h47 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 Dcmdline_types.h161 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 Dmemory_representation.h55 return str.c_str();
/art/compiler/
H A Dcfi_test.h69 fprintf(f, "// %s\n", line.c_str());
133 return strncmp(lhs.c_str(), rhs.c_str(), 10) < 0;
H A Dcommon_compiler_test.cc116 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 Delf_builder.h298 return CachedSection::Add(name.c_str(), name.length() + 1);
325 this->WriteFully(name.c_str(), name.length() + 1);
H A Delf_writer_test.cc55 std::string elf_filename = GetSystemImageFilename(elf_location.c_str(), kRuntimeISA);
63 std::unique_ptr<File> file(OS::OpenFileForReading(elf_filename.c_str()));
H A Dexception_test.cc226 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 Dimage_test.cc89 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 Doat_test.cc138 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 Doat_writer.cc363 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 Delf_debug_info_writer.h522 size_t class_offset = StartClassTag(desc.c_str());
612 WriteName(name.c_str());
638 WriteName(name.c_str());
/art/compiler/driver/
H A Dcompiler_driver.cc139 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 Dcompiler_driver_test.cc270 mirror::Class* klass = class_linker->FindClass(self, clazz.c_str(), h_loader);
/art/compiler/jit/
H A Djit_compiler.cc183 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 Djni_compiler_test.cc780 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 Dcalling_convention.h185 return shorty_.c_str();
/art/compiler/linker/
H A Doutput_stream_test.cc71 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 Dgraph_checker.cc809 type_str.str().c_str()));
817 type_str.str().c_str()));
H A Dgraph_visualizer.cc691 PrintProperty("name", pass_desc.c_str());
H A Dinduction_var_analysis_test.cc235 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 Dliveness_test.cc70 ASSERT_STREQ(expected, buffer.str().c_str());
H A Doptimizing_compiler.cc167 return cached_method_name_.c_str();
H A Dparallel_move_test.cc191 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 Dpretty_printer_test.cc36 ASSERT_STREQ(expected, printer.str().c_str());

Completed in 3866 milliseconds

12345678