Searched defs:string (Results 26 - 40 of 40) sorted by relevance

12

/art/runtime/mirror/
H A Dstring.cc17 #include "string-inl.h"
32 #include "string-inl.h"
108 ObjPtr<String> string = Alloc<true>(self, length_with_flag, allocator_type, visitor); local
109 if (UNLIKELY(string == nullptr)) {
116 uint8_t* out = string->value_compressed_;
127 uint16_t* out = string->value_;
135 return string;
138 String* String::AllocFromStrings(Thread* self, Handle<String> string, Handle<String> string2) { argument
139 int32_t length = string->GetLength();
143 (string
182 ObjPtr<String> string = Alloc<true>(self, length_with_flag, allocator_type, visitor); local
218 ObjPtr<String> string = Alloc<true>(self, utf16_length_with_flag, allocator_type, visitor); local
[all...]
/art/libdexfile/dex/
H A Ddex_file.cc22 #include <string.h>
100 const std::string& location,
143 bool DexFile::Init(std::string* error_msg) {
150 bool DexFile::CheckMagicAndVersion(std::string* error_msg) const {
313 const DexFile::StringId* DexFile::FindStringId(const char* string) const {
320 int compare = CompareModifiedUtf8ToModifiedUtf8AsUtf16CodePointValues(string, str);
332 const DexFile::TypeId* DexFile::FindTypeId(const char* string) const {
340 int compare = CompareModifiedUtf8ToModifiedUtf8AsUtf16CodePointValues(string, str);
352 const DexFile::StringId* DexFile::FindStringId(const uint16_t* string, size_t length) const { argument
359 int compare = CompareModifiedUtf8ToUtf16AsCodePointValues(str, string, lengt
[all...]
/art/runtime/native/
H A Ddalvik_system_VMRuntime.cc84 std::vector<std::string> exemptions_vec;
195 const std::vector<std::string>& properties = Runtime::Current()->GetProperties();
221 static const char* DefaultToDot(const std::string& class_path) {
327 typedef std::map<std::string, ObjPtr<mirror::String>> StringTable;
335 ObjPtr<mirror::String> string = root->AsString(); local
336 table_->operator[](string->ToModifiedUtf8()) = string;
354 ObjPtr<mirror::String> string = strings[utf8]; local
355 if (string == nullptr) {
358 // LOG(INFO) << "VMRuntime.preloadDexCaches resolved string
[all...]
/art/runtime/verifier/
H A Dreg_type_test.cc434 std::string expected = "Unresolved Reference: java.lang.DoesNotExist";
491 const RegType& string = cache_new.JavaLangString(); local
493 EXPECT_TRUE(string.Merge(Object, &cache_new, /* verifier */ nullptr).IsJavaLangObject());
1004 std::string result;
/art/test/913-heaps/
H A Dheaps.cc221 std::string referrer_str;
243 std::string referree_str = StringPrintf("%" PRId64 "@%" PRId64, *tag_ptr, class_tag);
253 std::vector<std::string> GetLines() const {
254 std::vector<std::string> ret;
265 Elem(const std::string& referrer, const std::string& referree, jlong size, jint length)
269 std::string Print() const {
279 virtual std::string PrintArrowType() const = 0;
282 std::string referrer_;
283 std::string referree
380 StringElement(const std::string& referrer, const std::string& referree, jlong size, jint length, const std::string& string) argument
[all...]
/art/compiler/optimizing/
H A Dcode_generator.cc60 #include "mirror/string.h"
171 void ReserveJitStringRoot(StringReference string_reference, Handle<mirror::String> string) { argument
173 reinterpret_cast64<uint64_t>(string.GetReference()));
238 // Update the `roots` with the string, and replace the address temporarily
244 // Ensure the string is strongly interned. This is a requirement on how the JIT
272 Handle<mirror::String> string) {
274 code_generation_data_->ReserveJitStringRoot(string_reference, string);
271 ReserveJitStringRoot(StringReference string_reference, Handle<mirror::String> string) argument
/art/runtime/
H A Delf_file.cc67 std::string* error_msg,
91 std::string* error_msg) {
106 std::string* error_msg) {
293 uint8_t** target, std::string* error_msg) {
337 bool ElfFileImpl<ElfTypes>::CheckSectionsExist(File* file, std::string* error_msg) const {
421 bool ElfFileImpl<ElfTypes>::SetMap(File* file, MemMap* map, std::string* error_msg) {
760 const std::string& symbol_name) const {
778 const std::string& symbol_name) const {
849 Elf_Word section_type, const std::string& symbol_name, bool build_map) {
930 Elf_Word section_type, const std::string
953 uint8_t* string = strings + i; local
[all...]
H A Dcheck_jni.cc42 #include "mirror/string-inl.h"
288 std::string tmp = android::base::StringPrintf(
497 * The format string is a sequence of the following characters,
546 std::string msg;
558 std::string methodName(ArtMethod::PrettyMethod(traceMethod, false));
594 std::string msg;
609 std::string methodName(ArtMethod::PrettyMethod(traceMethod, false));
1005 std::string* msg)
1077 void TraceNonHeapValue(char fmt, JniValueType arg, std::string* msg) {
1392 " string
2410 GetStringLength(JNIEnv* env, jstring string) argument
2425 GetStringUTFLength(JNIEnv* env, jstring string) argument
2440 GetStringChars(JNIEnv* env, jstring string, jboolean* is_copy) argument
2445 GetStringUTFChars(JNIEnv* env, jstring string, jboolean* is_copy) argument
2450 GetStringCritical(JNIEnv* env, jstring string, jboolean* is_copy) argument
2455 ReleaseStringChars(JNIEnv* env, jstring string, const jchar* chars) argument
2459 ReleaseStringUTFChars(JNIEnv* env, jstring string, const char* utf) argument
2463 ReleaseStringCritical(JNIEnv* env, jstring string, const jchar* chars) argument
2467 GetStringRegion(JNIEnv* env, jstring string, jsize start, jsize len, jchar* buf) argument
2482 GetStringUTFRegion(JNIEnv* env, jstring string, jsize start, jsize len, char* buf) argument
3437 GetStringCharsInternal(const char* function_name, JNIEnv* env, jstring string, jboolean* is_copy, bool utf, bool critical) argument
3478 ReleaseStringCharsInternal(const char* function_name, JNIEnv* env, jstring string, const void* chars, bool utf, bool critical) argument
[all...]
H A Dclass_linker.cc27 #include <string>
109 #include "mirror/string-inl.h"
156 // No exc class ~ no <init>-with-string.
189 std::string temp;
215 std::string extra;
255 std::string temp;
272 std::string tmp;
412 std::string* error_msg) {
574 // Set up array classes for string, field, method
923 bool ClassLinker::InitFromBootImage(std::string* error_ms
7758 ObjPtr<mirror::String> string = intern_table_->InternStrong(utf16_length, utf8_data); local
7775 ObjPtr<mirror::String> string = local
[all...]
/art/runtime/interpreter/
H A Dunstarted_runtime.cc52 #include "mirror/string-inl.h"
79 std::string msg;
127 const std::string& method_name, bool initialize_class,
131 std::string descriptor(DotToDescriptor(className->ToModifiedUtf8().c_str()));
163 std::string type(mirror::Object::PrettyTypeOf(self->GetException()));
521 static std::unique_ptr<MemMap> FindAndExtractEntry(const std::string& jar_file,
524 std::string* error_msg) {
558 std::string resource_name_str = resource_name->ToModifiedUtf8();
572 std::vector<std::string> split;
583 std::string last_error_ms
1291 mirror::String* string = shadow_frame->GetVRegReference(arg_offset)->AsString(); local
1312 mirror::String* string = shadow_frame->GetVRegReference(arg_offset)->AsString(); local
1327 Handle<mirror::String> string = local
1386 mirror::String* string = shadow_frame->GetVRegReference(arg_offset)->AsString(); local
[all...]
/art/compiler/driver/
H A Dcompiler_driver.cc266 std::unordered_set<std::string>* image_classes,
267 std::unordered_set<std::string>* compiled_classes,
268 std::unordered_set<std::string>* compiled_methods,
781 // TODO: Collect the relevant string indices in parallel, then allocate them sequentially in a
801 ObjPtr<mirror::String> string = class_linker->ResolveString(string_index, dex_cache); local
802 CHECK(string != nullptr) << "Could not allocate a string when forcing determinism";
822 TimingLogger::ScopedTiming t("Resolve const-string Strings", timings);
840 // Compilation is skipped, do not resolve const-string in code of this class.
926 // Resolve strings from const-string
[all...]
/art/dex2oat/linker/
H A Dimage_writer.cc69 #include "mirror/string-inl.h"
697 std::string error_msg;
840 std::string temp;
932 std::string temp;
967 std::string storage;
1130 // Strings do not need pruning, but the contents of the string array must be deterministic.
1137 ObjPtr<mirror::String> string = pair.object.Read(); local
1138 if (string == nullptr || i < stored_index) {
1139 string = class_linker->LookupString(string_idx, dex_cache);
1140 DCHECK(string
1229 FindInternedString(mirror::String* string) argument
1724 mirror::String* string = intern_table->LookupStrong(self, utf16_length, utf8_data).Ptr(); local
[all...]
H A Doat_writer.cc490 std::string error_msg;
526 std::string error_msg;
535 std::string entry_name = DexFileLoader::GetMultiDexClassesDexName(i);
630 dchecked_vector<std::string> OatWriter::GetSourceLocations() const {
631 dchecked_vector<std::string> locations;
649 SafeMap<std::string, std::string>* key_value_store,
1022 std::string name = method_reference.PrettyMethod();
1023 std::string other_name = other.method_reference.PrettyMethod();
1062 std::string nam
1981 ObjPtr<mirror::String> string = local
[all...]
/art/runtime/hprof/
H A Dhprof.cc21 * heap, and some analysis tools require that the class and string data
31 #include <string.h>
542 // Write the string and class tables, and any stack traces, to the header.
544 // jhat also requires the string table appear before class table and stack traces.
545 // However, WriteStackTraces() can modify the string table, so it's necessary to call
568 // ID: class name string ID
578 const std::string& string = p.first; local
584 // ID: ID for this string
585 // U1*: UTF8 characters for string (NO
642 LookupStringId(const char* string) argument
646 LookupStringId(const std::string& string) argument
[all...]
/art/oatdump/
H A Doatdump.cc24 #include <string>
113 const DexFile* OpenDexFile(const OatFile::OatDexFile* oat_dex_file, std::string* error_msg) {
127 OatSymbolizer(const OatFile* oat_file, const std::string& output_name, bool no_bits) :
243 std::string error_msg;
337 const std::string output_name_;
521 std::string error_msg;
572 std::string error_msg;
603 std::string error_msg;
604 std::string vdex_filename = GetVdexFilename(oat_file_.GetLocation());
667 std::string error_ms
2255 mirror::String* string = value->AsString(); local
[all...]

Completed in 291 milliseconds

12