/art/runtime/base/ |
H A D | stringprintf.h | 21 #include <string> 25 // Returns a string corresponding to printf-like formatting of the arguments. 26 std::string StringPrintf(const char* fmt, ...) 30 void StringAppendF(std::string* dst, const char* fmt, ...) 34 void StringAppendV(std::string* dst, const char* format, va_list ap);
|
H A D | scoped_flock.h | 21 #include <string> 39 bool Init(const char* filename, std::string* error_msg); 43 bool Init(File* file, std::string* error_msg);
|
H A D | logging.cc | 28 std::vector<std::string> gVerboseMethods; 33 static std::unique_ptr<std::string> gCmdLine; 34 static std::unique_ptr<std::string> gProgramInvocationName; 35 static std::unique_ptr<std::string> gProgramInvocationShortName; 51 // We need to parse a string that looks like 69 gCmdLine.reset(new std::string(argv[0])); 74 gProgramInvocationName.reset(new std::string(argv[0])); 76 gProgramInvocationShortName.reset(new std::string((last_slash != NULL) ? last_slash + 1 80 gCmdLine.reset(new std::string("<unset>")); 87 std::vector<std::string> spec [all...] |
/art/compiler/ |
H A D | elf_stripper.h | 20 #include <string> 31 static bool Strip(File* file, std::string* error_msg);
|
H A D | output_stream.h | 23 #include <string> 37 explicit OutputStream(const std::string& location) : location_(location) {} 41 const std::string& GetLocation() const { 50 const std::string location_;
|
H A D | elf_writer_mclinker.h | 46 const std::string& android_root, 54 const std::string& android_root, 67 void AddRuntimeInputs(const std::string& android_root, bool is_host); 88 SafeMap<const std::string*, const std::string*> added_symbols_; 92 SafeMap<const std::string*, uint32_t> symbol_to_compiled_code_offset_;
|
H A D | elf_patcher.h | 37 const std::string& oat_location, 39 std::string* error_msg) 45 std::string* error_msg) 49 const std::string& oat_location, 50 std::string* error_msg) 58 std::string* error_msg) 67 ImageAddressCallback cb, void* cb_data, std::string* error_msg) 123 std::string* error_msg_;
|
/art/runtime/ |
H A D | native_bridge_art_interface.h | 22 #include <string> 29 void LoadNativeBridge(std::string& native_bridge_library_filename); 32 void PreInitializeNativeBridge(std::string dir);
|
H A D | parsed_options.h | 20 #include <string> 35 typedef std::vector<std::pair<std::string, const void*>> RuntimeOptions; 43 std::string boot_class_path_string_; 44 std::string class_path_string_; 45 std::string image_; 47 std::string jni_trace_; 48 std::string native_bridge_library_filename_; 54 std::string patchoat_executable_; 84 std::string stack_trace_file_; 86 std::string method_trace_file [all...] |
H A D | oat_file.h | 21 #include <string> 45 static OatFile* OpenWithElfFile(ElfFile* elf_file, const std::string& location, 46 std::string* error_msg); 49 static OatFile* Open(const std::string& filename, 50 const std::string& location, 53 std::string* error_msg); 60 static OatFile* OpenWritable(File* file, const std::string& location, std::string* error_msg); 62 static OatFile* OpenReadable(File* file, const std::string& location, std::string* error_ms [all...] |
H A D | common_runtime_test.h | 23 #include <string> 36 typedef std::vector<std::pair<std::string, const void*>> RuntimeOptions; 48 const std::string& GetFilename() const { 61 std::string filename_; 71 static void SetUpAndroidData(std::string& android_data); 73 static void TearDownAndroidData(const std::string& android_data, bool fail_on_error); 95 std::string GetLibCoreDexFileName(); 98 std::string GetDexFileName(const std::string& jar_prefix); 100 std::string GetTestAndroidRoo [all...] |
H A D | strutil.h | 20 #include <string.h>
|
H A D | reference_table_test.cc | 21 #include "mirror/string.h" 39 EXPECT_NE(oss.str().find("(empty)"), std::string::npos) << oss.str(); 57 EXPECT_NE(oss.str().find("1 of java.lang.String"), std::string::npos) << oss.str(); 58 EXPECT_EQ(oss.str().find("short[]"), std::string::npos) << oss.str(); 71 std::string::npos) << oss.str(); 72 EXPECT_NE(oss.str().find("1 of java.lang.String"), std::string::npos) << oss.str(); 74 EXPECT_NE(oss.str().find("1 of short[]"), std::string::npos) << oss.str(); 77 std::string::npos) << oss.str(); 87 EXPECT_EQ(oss.str().find("java.lang.String"), std::string::npos) << oss.str(); 97 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); 69 *error_msg = std::string(ErrorCodeString(error)); 90 ZipArchive* ZipArchive::Open(const char* filename, std::string* error_msg) { 96 *error_msg = std::string(ErrorCodeString(error)); 105 ZipArchive* ZipArchive::OpenFromFd(int fd, const char* filename, std::string* error_msg) { 112 *error_msg = std::string(ErrorCodeString(error)); 121 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 | utils.cc | 38 #include "mirror/string.h" 75 std::string GetThreadName(pid_t tid) { 76 std::string result; 113 bool ReadFileToString(const std::string& file_name, std::string* result) { 132 std::string GetIsoDate() { 228 std::string PrettyDescriptor(mirror::String* java_descriptor) { 235 std::string PrettyDescriptor(mirror::Class* klass) { 239 std::string temp; 243 std::string PrettyDescripto [all...] |
H A D | elf_file.h | 43 static ElfFile* Open(File* file, bool writable, bool program_header_only, std::string* error_msg); 46 static ElfFile* Open(File* file, int mmap_prot, int mmap_flags, std::string* error_msg); 75 Elf32_Shdr* FindSectionByName(const std::string& name) const; 80 const byte* FindDynamicSymbolAddress(const std::string& symbol_name) const; 88 const std::string& symbol_name, 91 // Lookup a string given string section and offset. Returns nullptr for 109 bool Load(bool executable, std::string* error_msg); 114 bool Setup(int prot, int flags, std::string* error_msg); 116 bool SetMap(MemMap* map, std::string* error_ms [all...] |
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 | utils.h | 24 #include <string> 262 std::string PrintableChar(uint16_t ch); 264 // Returns an ASCII string corresponding to the given UTF-8 string. 266 std::string PrintableString(const char* utf8); 269 bool StartsWith(const std::string& s, const char* prefix); 272 bool EndsWith(const std::string& s, const char* suffix); 279 std::string PrettyDescriptor(mirror::String* descriptor) 281 std::string PrettyDescriptor(const char* descriptor); 282 std::string PrettyDescripto [all...] |
/art/compiler/utils/ |
H A D | assembler_test.h | 35 static std::string tmpnam_; 44 typedef std::string (*TestFn)(Ass* assembler); 46 void DriverFn(TestFn f, std::string test_name) { 51 void DriverStr(std::string assembly_string, std::string test_name) { 55 std::string RepeatR(void (Ass::*f)(Reg), std::string fmt) { 57 std::string str; 60 std::string base = fmt; 63 if (reg_index != std::string [all...] |
/art/runtime/gc/space/ |
H A D | image_space.h | 46 static ImageSpace* Create(const char* image, InstructionSet image_isa, std::string* error_msg) 59 std::string* error_msg); 78 const std::string GetImageFilename() const { 84 const std::string GetImageLocation() const { 116 std::string* system_location, 118 std::string* data_location, 132 bool validate_oat_file, std::string* error_msg) 135 OatFile* OpenOatFile(const char* image, std::string* error_msg) const 138 bool ValidateOatFile(std::string* error_msg) const 147 ImageSpace(const std::string [all...] |
/art/compiler/dex/ |
H A D | pass_driver_me_post_opt.cc | 66 std::string PassDriver<PassDriverMEPostOpt>::dump_pass_list_ = std::string(); 70 std::string PassDriver<PassDriverMEPostOpt>::print_pass_list_ = std::string();
|
/art/runtime/verifier/ |
H A D | instruction_flags.cc | 19 #include <string.h> 24 std::string InstructionFlags::ToString() const {
|
/art/runtime/base/unix_file/ |
H A D | fd_file.h | 21 #include <string> 36 explicit FdFile(int fd, const std::string& path); 46 bool Open(const std::string& file_path, int flags); 47 bool Open(const std::string& file_path, int flags, mode_t mode); 60 const std::string& GetPath() const { 69 std::string file_path_;
|
/art/compiler/llvm/ |
H A D | llvm_compilation_unit.h | 21 #include <string> 74 void SetBitcodeFileName(const std::string& bitcode_filename) { 97 const std::string& GetElfObject() const { 118 std::string bitcode_filename_; 120 std::string elf_object_; 127 void DumpBitcodeToString(std::string& str_buffer); 129 bool MaterializeToString(std::string& str_buffer);
|