Searched refs:string (Results 1 - 25 of 311) sorted by relevance

1234567891011>>

/art/runtime/base/
H A Dstringprintf.h21 #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 Dscoped_flock.h21 #include <string>
39 bool Init(const char* filename, std::string* error_msg);
43 bool Init(File* file, std::string* error_msg);
H A Dlogging.cc28 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...]
H A Dhash_set_test.cc21 #include <string>
30 void MakeEmpty(std::string& item) const {
33 bool IsEmpty(const std::string& item) const {
42 std::string RandomString(size_t len) {
65 HashSet<std::string, IsEmptyFnString> hash_set;
66 const std::string test_string = "hello world 1234";
81 HashSet<std::string, IsEmptyFnString> hash_set;
83 std::vector<std::string> strings;
113 HashSet<std::string, IsEmptyFnString> hash_set;
116 std::vector<std::string> string
[all...]
/art/compiler/
H A Delf_stripper.h20 #include <string>
31 static bool Strip(File* file, std::string* error_msg);
H A Doutput_stream.h23 #include <string>
37 explicit OutputStream(const std::string& location) : location_(location) {}
41 const std::string& GetLocation() const {
50 const std::string location_;
H A Delf_writer_mclinker.h46 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_;
/art/runtime/
H A Dnative_bridge_art_interface.h22 #include <string>
29 bool LoadNativeBridge(std::string& native_bridge_library_filename);
32 void PreInitializeNativeBridge(std::string dir);
H A Dparsed_options.h20 #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 Doat_file.h21 #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,
54 std::string* error_msg);
61 static OatFile* OpenWritable(File* file, const std::string& location, std::string* error_msg);
63 static OatFile* OpenReadable(File* file, const std::string& location, std::string* error_ms
[all...]
H A Dcommon_runtime_test.h23 #include <string>
36 typedef std::vector<std::pair<std::string, const void*>> RuntimeOptions;
48 const std::string& GetFilename() const {
62 std::string filename_;
72 static void SetUpAndroidData(std::string& android_data);
74 static void TearDownAndroidData(const std::string& android_data, bool fail_on_error);
96 std::string GetLibCoreDexFileName();
99 std::string GetDexFileName(const std::string& jar_prefix);
101 std::string GetTestAndroidRoo
[all...]
H A Dstrutil.h20 #include <string.h>
H A Dreference_table_test.cc21 #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 Dzip_archive.cc43 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 Dzip_archive.h23 #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 Dutils.cc38 #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 Delf_file.h43 static ElfFile* Open(File* file, bool writable, bool program_header_only, std::string* error_msg,
47 static ElfFile* Open(File* file, int mmap_prot, int mmap_flags, std::string* error_msg);
78 Elf32_Shdr* FindSectionByName(const std::string& name) const;
83 const byte* FindDynamicSymbolAddress(const std::string& symbol_name) const;
91 const std::string& symbol_name,
94 // Lookup a string given string section and offset. Returns nullptr for
112 bool Load(bool executable, std::string* error_msg);
117 bool Setup(int prot, int flags, std::string* error_msg);
119 bool SetMap(MemMap* map, std::string* error_ms
[all...]
H A Dsignal_catcher.h35 explicit SignalCatcher(const std::string& stack_trace_file);
47 void Output(const std::string& s);
52 std::string stack_trace_file_;
H A Dutils.h24 #include <string>
303 std::string PrintableChar(uint16_t ch);
305 // Returns an ASCII string corresponding to the given UTF-8 string.
307 std::string PrintableString(const char* utf8);
310 bool StartsWith(const std::string& s, const char* prefix);
313 bool EndsWith(const std::string& s, const char* suffix);
320 std::string PrettyDescriptor(mirror::String* descriptor)
322 std::string PrettyDescriptor(const char* descriptor);
323 std::string PrettyDescripto
[all...]
/art/compiler/utils/
H A Dassembler_test.h35 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 Dimage_space.h46 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 Dpass_driver_me_post_opt.cc66 std::string PassDriver<PassDriverMEPostOpt>::dump_pass_list_ = std::string();
70 std::string PassDriver<PassDriverMEPostOpt>::print_pass_list_ = std::string();
/art/runtime/verifier/
H A Dinstruction_flags.cc19 #include <string.h>
24 std::string InstructionFlags::ToString() const {
/art/compiler/llvm/
H A Dllvm_compilation_unit.h21 #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);
/art/runtime/base/unix_file/
H A Dfd_file.h21 #include <string>
39 explicit FdFile(int fd, const std::string& path, bool checkUsage);
49 bool Open(const std::string& file_path, int flags);
50 bool Open(const std::string& file_path, int flags, mode_t mode);
72 const std::string& GetPath() const {
111 std::string file_path_;

Completed in 7343 milliseconds

1234567891011>>