/art/tools/ahat/src/main/com/android/ahat/ |
H A D | Doc.java | 33 void menu(DocString string); argument 43 void println(DocString string); argument 48 void big(DocString string); argument
|
H A D | HtmlDoc.java | 56 public void menu(DocString string) { argument 57 ps.format("<div class=\"menu\">%s</div>", string.html()); 68 public void println(DocString string) { argument 69 ps.print(string.html());
|
/art/tools/ |
H A D | analyze-init-failures.py | 23 import string namespace
|
H A D | generate_operator_out.py | 22 import string namespace
|
/art/tools/dexfuzz/src/dexfuzz/program/ |
H A D | IdCreator.java | 117 Log.errorAndQuit("Did not create necessary descriptor string before finding " 131 private int findStringDataInsertionPoint(String string) { argument 134 if (stringData.getSize() > 0 && stringData.getString().compareTo(string) >= 0) { 182 // Search for (or create) the string representing the method name. 261 // Search for (or create) the string representing the class descriptor. 321 private int createString(String string) { argument 329 int newStringIdx = findStringDataInsertionPoint(string); 333 newStringData.setSize(string.length()); 334 newStringData.setString(string); 369 string, newStringId 379 findString(String string) argument 396 findOrCreateString(String string) argument [all...] |
/art/test/utils/python/testgen/ |
H A D | utils.py | 23 import string namespace 34 map(lambda n: itertools.product(string.ascii_lowercase, repeat=n), 46 Takes a string returns the same string sans empty lines
|
/art/test/913-heaps/ |
H A D | heaps.cc | 221 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/test/961-default-iface-resolution-gen/util-src/ |
H A D | generate_java.py | 38 import string namespace
|
/art/test/964-default-iface-init-gen/util-src/ |
H A D | generate_java.py | 38 import string namespace
|
/art/test/968-default-partial-compile-gen/util-src/ |
H A D | generate_smali.py | 39 import string namespace 171 const-string v5, "Unexpected error occurred which creating {farg} instance" 183 const-string v5, "{tree} calls %s\\n" 193 const-string v5, "{tree} threw AbstractMethodError" 197 const-string v5, "{tree} threw NoSuchMethodError" 201 const-string v5, "{tree} threw IncompatibleClassChangeError" 400 const-string v0, "{tree}"
|
/art/test/970-iface-super-resolution-gen/util-src/ |
H A D | generate_smali.py | 38 import string namespace 159 const-string v3, "Testing {tree}" 164 const-string v3, "Success: testing {tree}" 173 const-string v4, "Failure: testing {tree}" 240 const-string v0, "Should not be called" 252 const-string v1, "Test failures" 314 const-string v1, "{class_name} -> {iface}.super.getCalledInterface(): " 329 const-string v1, "{class_name} -> {iface}.super.getCalledInterface(): NoSuchMethodError" 333 const-string v1, "{class_name} -> {iface}.super.getCalledInterface(): IncompatibleClassChangeError" 338 const-string v [all...] |
/art/test/971-iface-super/util-src/ |
H A D | generate_smali.py | 39 import string namespace 165 const-string v5, "Unexpected error occurred which creating {farg} instance" 250 const-string v1, "{class_name}.call(v) should never get called!" 284 const-string v1, "Calling {iface_name}.super.call() on {tree}" 287 const-string v1, "No exception thrown for {iface_name}.super.call() on {tree}" 296 const-string v1, "AbstractMethodError thrown for {iface_name}.super.call() on {tree}" 300 const-string v1, "NoSuchMethodError thrown for {iface_name}.super.call() on {tree}" 304 const-string v1, "IncompatibleClassChangeError thrown for {iface_name}.super.call() on {tree}" 309 const-string v1, "Unknown error thrown for {iface_name}.super.call() on {tree}"
|
/art/test/ImageLayoutB/ |
H A D | ImageLayoutB.java | 20 public static String string = "ASDF_UNIQUE_STRING"; field in class:MyClass
|
/art/runtime/mirror/ |
H A D | object_test.cc | 42 #include "string-inl.h" 63 Handle<String> string( 65 ASSERT_EQ(expected_utf16_length, string->GetLength()); 66 ASSERT_EQ(string->IsValueNull(), false); 67 // strlen is necessary because the 1-character string "\x00\x00" is interpreted as "" 68 ASSERT_TRUE(string->Equals(utf8_in) || (expected_utf16_length == 1 && strlen(utf8_in) == 0)); 69 ASSERT_TRUE(string->Equals(StringPiece(utf8_in)) || 72 EXPECT_EQ(utf16_expected[i], string->CharAt(i)); 74 EXPECT_EQ(expected_hash, string->GetHashCode()); 390 // Test the empty string 576 Class* string = class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/String;"); local [all...] |
H A D | string-inl.h | 19 #include "string.h" 51 // Sets string count in the allocation code path to ensure it is guarded by a CAS. 60 ObjPtr<String> string = ObjPtr<String>::DownCast(obj); local 61 string->SetCount(count_); 62 DCHECK(!string->IsCompressed() || kUseStringCompression); 69 // Sets string count and value in the allocation code path to ensure it is guarded by a CAS. 80 ObjPtr<String> string = ObjPtr<String>::DownCast(obj); local 81 string->SetCount(count_); 82 DCHECK(!string->IsCompressed() || kUseStringCompression); 85 if (string 116 ObjPtr<String> string = ObjPtr<String>::DownCast(obj); local 147 ObjPtr<String> string = ObjPtr<String>::DownCast(obj); local 268 String* string = Alloc<kIsInstrumented>(self, length_with_flag, allocator_type, visitor); local 287 AllocFromString(Thread* self, int32_t string_length, Handle<String> string, int32_t offset, gc::AllocatorType allocator_type) argument [all...] |
H A D | string.cc | 17 #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/runtime/native/ |
H A D | dalvik_system_VMRuntime.cc | 84 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...] |
H A D | java_lang_String.cc | 25 #include "mirror/string-inl.h" 26 #include "mirror/string.h" 54 ThrowNullPointerException("string arg == null"); 101 Handle<mirror::String> string = hs.NewHandle(soa.Decode<mirror::String>(java_this)); local 102 ObjPtr<mirror::String> result = mirror::String::DoReplace(soa.Self(), string, old_c, new_c);
|
/art/runtime/verifier/ |
H A D | reg_type_test.cc | 434 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/100-reflect2/src/ |
H A D | Main.java | 178 // Sort the return values by their string values since the order is undefined by the spec. 273 private static void ZBCDLFIJSV(boolean z, byte b, char c, double d, String string, float f, int i, long l, short s) { argument 274 System.out.println(z + " " + b + " " + c + " " + d + " " + " " + string + " " + f + " " + i + " " + l + " " + s);
|
/art/dex2oat/linker/ |
H A D | image_writer.cc | 69 #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 D | oat_writer.cc | 490 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/libdexfile/dex/ |
H A D | dex_file.cc | 22 #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/oatdump/ |
H A D | oatdump.cc | 24 #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...] |
/art/runtime/ |
H A D | check_jni.cc | 42 #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...] |