/art/runtime/ |
H A D | dex_cache_resolved_classes.h | 20 #include <string> 29 DexCacheResolvedClasses(const std::string& dex_location, 30 const std::string& base_location, 50 const std::string& GetDexLocation() const { 54 const std::string& GetBaseLocation() const { 67 const std::string dex_location_; 68 const std::string base_location_;
|
H A D | elf_file.h | 21 #include <string> 45 std::string* error_msg, 52 std::string* error_msg); 56 bool Load(bool executable, bool low_4gb, std::string* error_msg); 58 const uint8_t* FindDynamicSymbolAddress(const std::string& symbol_name) const; 72 bool HasSection(const std::string& name) const; 75 const std::string& symbol_name, 78 bool GetLoadedSize(size_t* size, std::string* error_msg) const; 82 static bool Strip(File* file, std::string* error_msg);
|
H A D | oat_file.h | 21 #include <string> 58 static OatFile* OpenWithElfFile(ElfFile* elf_file, const std::string& location, 60 std::string* error_msg); 65 static OatFile* Open(const std::string& filename, 66 const std::string& location, 72 std::string* error_msg); 79 static OatFile* OpenWritable(File* file, const std::string& location, 81 std::string* error_msg); 83 static OatFile* OpenReadable(File* file, const std::string& location, 85 std::string* error_ms [all...] |
H A D | prebuilt_tools_test.cc | 31 static void CheckToolsExist(const std::string& tools_dir) { 35 std::string exec_path = tools_dir + tool; 43 std::string tools_dir = GetAndroidHostToolsDir(); 55 std::string tools_dir = GetAndroidTargetToolsDir(isa);
|
H A D | reference_table_test.cc | 22 #include "mirror/string.h" 41 EXPECT_NE(oss.str().find("(empty)"), std::string::npos) << oss.str(); 59 EXPECT_NE(oss.str().find("1 of java.lang.String"), std::string::npos) << oss.str(); 60 EXPECT_EQ(oss.str().find("short[]"), std::string::npos) << oss.str(); 73 std::string::npos) << oss.str(); 74 EXPECT_NE(oss.str().find("1 of java.lang.String"), std::string::npos) << oss.str(); 76 EXPECT_NE(oss.str().find("1 of short[]"), std::string::npos) << oss.str(); 79 std::string::npos) << oss.str(); 89 EXPECT_EQ(oss.str().find("java.lang.String"), std::string::npos) << oss.str(); 99 EXPECT_EQ(oss.str().find("short[]"), std::string [all...] |
H A D | zip_archive.cc | 43 bool ZipEntry::ExtractToFile(File& file, std::string* error_msg) { 46 *error_msg = std::string(ErrorCodeString(error)); 54 std::string* error_msg) { 55 std::string name(entry_filename); 70 *error_msg = std::string(ErrorCodeString(error)); 91 ZipArchive* ZipArchive::Open(const char* filename, std::string* error_msg) { 97 *error_msg = std::string(ErrorCodeString(error)); 106 ZipArchive* ZipArchive::OpenFromFd(int fd, const char* filename, std::string* error_msg) { 113 *error_msg = std::string(ErrorCodeString(error)); 122 ZipEntry* ZipArchive::Find(const char* name, std::string* error_ms [all...] |
H A D | zip_archive.h | 23 #include <string> 39 bool ExtractToFile(File& file, std::string* error_msg); 41 std::string* error_msg); 61 static ZipArchive* Open(const char* filename, std::string* error_msg); 62 static ZipArchive* OpenFromFd(int fd, const char* filename, std::string* error_msg); 64 ZipEntry* Find(const char* name, std::string* error_msg) const;
|
H A D | signal_catcher.h | 35 explicit SignalCatcher(const std::string& stack_trace_file); 47 void Output(const std::string& s); 52 std::string stack_trace_file_;
|
H A D | oat_file_manager.h | 22 #include <string> 60 const OatFile* FindOpenedOatFileFromOatLocation(const std::string& oat_location) const 65 const OatFile* FindOpenedOatFileFromDexLocation(const std::string& dex_base_location) const 104 /*out*/ std::vector<std::string>* error_msgs) 123 /*out*/ std::string* error_msg) const 126 const OatFile* FindOpenedOatFileFromOatLocationLocked(const std::string& oat_location) const
|
/art/profman/ |
H A D | profile_assistant.h | 20 #include <string> 55 const std::vector<std::string>& profile_files, 56 const std::string& reference_profile_file);
|
/art/tools/ahat/src/ |
H A D | Doc.java | 33 void menu(DocString string); argument 43 void println(DocString string); argument 48 void big(DocString string); argument
|
/art/compiler/utils/arm/ |
H A D | assembler_arm_test.h | 66 std::string RepeatRRIIC(void (Ass::*f)(Reg, Reg, Imm, Imm, Cond), 69 std::string fmt) { 78 std::string RepeatTemplatedRRIIC(void (Ass::*f)(Reg1, Reg2, Imm, Imm, Cond), 81 std::string (AssemblerArmTest::*GetName1)(const Reg1&), 82 std::string (AssemblerArmTest::*GetName2)(const Reg2&), 85 std::string fmt) { 99 std::string after_cond = fmt; 102 if (cond_index != std::string::npos) { 107 std::string base = after_cond; 110 if (imm1_index != std::string [all...] |
/art/compiler/linker/ |
H A D | output_stream.h | 21 #include <string> 36 explicit OutputStream(const std::string& location) : location_(location) {} 40 const std::string& GetLocation() const { 57 const std::string location_;
|
/art/runtime/base/ |
H A D | time_utils.h | 21 #include <string> 35 // Returns a human-readable time string which prints every nanosecond while trying to limit the 38 std::string PrettyDuration(uint64_t nano_duration, size_t max_fraction_digits = 3); 41 std::string FormatDuration(uint64_t nano_duration, TimeUnit time_unit, 51 std::string GetIsoDate();
|
H A D | to_str.h | 39 const std::string& str() const { 44 std::string s_;
|
H A D | hash_set_test.cc | 22 #include <string> 32 void MakeEmpty(std::string& item) const { 35 bool IsEmpty(const std::string& item) const { 44 std::string RandomString(size_t len) { 67 HashSet<std::string, IsEmptyFnString> hash_set; 68 const std::string test_string = "hello world 1234"; 83 HashSet<std::string, IsEmptyFnString> hash_set; 85 std::vector<std::string> strings; 115 HashSet<std::string, IsEmptyFnString> hash_set; 118 std::vector<std::string> string [all...] |
/art/runtime/jit/ |
H A D | offline_profiling_info.h | 58 bool MergeAndSave(const std::string& filename, uint64_t* bytes_written, bool force); 71 // Dumps all the loaded profile info into a string and returns it. 75 std::string DumpInfo(const std::vector<const DexFile*>* dex_files, 80 static std::string GetProfileDexFileKey(const std::string& dex_location); 109 using DexFileToProfileInfoMap = SafeMap<const std::string, DexFileData>; 111 DexFileData* GetOrAddDexFileData(const std::string& dex_location, uint32_t checksum); 112 bool AddMethodIndex(const std::string& dex_location, uint32_t checksum, uint16_t method_idx); 113 bool AddClassIndex(const std::string& dex_location, uint32_t checksum, uint16_t class_idx); 119 std::string dex_locatio [all...] |
/art/cmdline/ |
H A D | cmdline_type_parser.h | 37 Result Parse(const std::string& args ATTRIBUTE_UNUSED) { 49 Result ParseAndAppend(const std::string& args ATTRIBUTE_UNUSED,
|
H A D | cmdline.h | 25 #include <string> 41 static bool LocationToFilename(const std::string& location, InstructionSet isa, 42 std::string* filename) { 47 std::string system_filename(GetSystemImageFilename(location.c_str(), isa)); 55 std::string dalvik_cache; 59 std::string cache_filename; 66 std::string error_msg; 96 std::string boot_image_option; 139 std::string error_msg; 191 virtual std::string GetUsag [all...] |
/art/compiler/optimizing/ |
H A D | dead_code_elimination_test.cc | 32 const std::string& expected_before, 33 const std::string& expected_after) { 41 std::string actual_before = printer_before.str(); 54 std::string actual_after = printer_after.str(); 80 std::string expected_before = 106 std::string expected_after = Patch(expected_before, expected_diff); 146 std::string expected_before = 170 std::string expected_after =
|
/art/runtime/verifier/ |
H A D | instruction_flags.cc | 19 #include <string.h> 24 std::string InstructionFlags::ToString() const {
|
/art/runtime/arch/arm64/ |
H A D | instruction_set_features_arm64.cc | 28 const std::string& variant, std::string* error_msg) { 79 std::string line; 83 if (line.find("processor") != std::string::npos && line.find(": 1") != std::string::npos) { 118 std::string Arm64InstructionSetFeatures::GetFeatureString() const { 119 std::string result; 134 const bool smp, const std::vector<std::string>& features, std::string* error_msg) const { 137 std::string featur [all...] |
/art/runtime/arch/x86/ |
H A D | instruction_set_features_x86.h | 27 // Process a CPU variant string like "atom" or "nehalem" and create InstructionSetFeatures. 28 static const X86InstructionSetFeatures* FromVariant(const std::string& variant, 29 std::string* error_msg, 57 std::string GetFeatureString() const OVERRIDE; 68 // Parse a string of the form "ssse3" adding these to a new InstructionSetFeatures. 70 AddFeaturesFromSplitString(const bool smp, const std::vector<std::string>& features, 71 std::string* error_msg) const OVERRIDE { 76 AddFeaturesFromSplitString(const bool smp, const std::vector<std::string>& features, 77 bool x86_64, std::string* error_msg) const;
|
/art/runtime/arch/arm/ |
H A D | instruction_set_features_arm.h | 27 // Process a CPU variant string like "krait" or "cortex-a15" and create InstructionSetFeatures. 28 static const ArmInstructionSetFeatures* FromVariant(const std::string& variant, 29 std::string* error_msg); 56 // Return a string of the form "div,lpae" or "none". 57 std::string GetFeatureString() const OVERRIDE; 75 AddFeaturesFromSplitString(const bool smp, const std::vector<std::string>& features, 76 std::string* error_msg) const OVERRIDE;
|
/art/runtime/arch/mips/ |
H A D | instruction_set_features_mips.h | 27 // Process a CPU variant string like "r4000" and create InstructionSetFeatures. 28 static const MipsInstructionSetFeatures* FromVariant(const std::string& variant, 29 std::string* error_msg); 56 std::string GetFeatureString() const OVERRIDE; 79 AddFeaturesFromSplitString(const bool smp, const std::vector<std::string>& features, 80 std::string* error_msg) const OVERRIDE;
|