Lines Matching refs:std

53   if (std::numeric_limits<T>::max() < result) {  in ParseUint()
67 if (result < std::numeric_limits<T>::min() || std::numeric_limits<T>::max() < result) { in ParseInt()
96 std::string PrintableChar(uint16_t ch);
100 std::string PrintableString(const char* utf8);
103 bool StartsWith(const std::string& s, const char* prefix);
106 bool EndsWith(const std::string& s, const char* suffix);
113 std::string PrettyDescriptor(mirror::String* descriptor)
115 std::string PrettyDescriptor(const char* descriptor);
116 std::string PrettyDescriptor(mirror::Class* klass)
118 std::string PrettyDescriptor(Primitive::Type type);
122 std::string PrettyField(ArtField* f, bool with_type = true)
124 std::string PrettyField(uint32_t field_idx, const DexFile& dex_file, bool with_type = true);
128 std::string PrettyMethod(ArtMethod* m, bool with_signature = true)
130 std::string PrettyMethod(uint32_t method_idx, const DexFile& dex_file, bool with_signature = true);
136 std::string PrettyTypeOf(mirror::Object* obj)
141 std::string PrettyType(uint32_t type_idx, const DexFile& dex_file);
145 std::string PrettyClass(mirror::Class* c)
149 std::string PrettyClassAndClassLoader(mirror::Class* c)
154 std::string PrettyJavaAccessFlags(uint32_t access_flags);
157 std::string PrettySize(int64_t size_in_bytes);
161 std::string MangleForJni(const std::string& s);
164 std::string DotToDescriptor(const char* class_name);
168 std::string DescriptorToDot(const char* descriptor);
172 std::string DescriptorToName(const char* descriptor);
184 std::string JniShortName(ArtMethod* m)
187 std::string JniLongName(ArtMethod* m)
190 bool ReadFileToString(const std::string& file_name, std::string* result);
191 bool PrintFileToLog(const std::string& file_name, LogSeverity level);
195 void Split(const std::string& s, char separator, std::vector<std::string>* result);
198 std::string Trim(const std::string& s);
201 template <typename StringT> std::string Join(const std::vector<StringT>& strings, char separator);
207 std::string GetThreadName(pid_t tid);
216 std::string GetSchedulerGroupName(pid_t tid);
223 void DumpNativeStack(std::ostream& os, pid_t tid, const char* prefix = "",
228 void DumpKernelStack(std::ostream& os, pid_t tid, const char* prefix = "", bool include_count = tru…
236 const char* GetAndroidDataSafe(std::string* error_msg);
240 std::string GetDalvikCache(const char* subdir, bool create_if_absent = true);
243 std::string GetDalvikCacheOrDie(const char* subdir, bool create_if_absent = true);
248 void GetDalvikCache(const char* subdir, bool create_if_absent, std::string* dalvik_cache,
254 std::string* filename, std::string* error_msg);
257 std::string GetDalvikCacheFilenameOrDie(const char* file_location,
261 std::string GetSystemImageFilename(const char* location, InstructionSet isa);
269 bool Exec(std::vector<std::string>& arg_vector, std::string* error_msg);
290 void Push32(std::vector<uint8_t, Alloc>* buf, int32_t data) { in Push32()
297 void EncodeUnsignedLeb128(uint32_t data, std::vector<uint8_t>* buf);
298 void EncodeSignedLeb128(int32_t data, std::vector<uint8_t>* buf);
310 using UniqueCPtr = std::unique_ptr<T, FreeDelete>;
315 std::unique_ptr<T> MakeUnique(Args&& ... args) { in MakeUnique()
316 return std::unique_ptr<T>(new T(std::forward<Args>(args)...)); in MakeUnique()