/art/build/ |
H A D | Android.common_utils.mk | 21 # Convert a string into an uppercase string. 23 # $(1): a string which should be made uppercase 24 art-string-to-uppercase = $(shell echo $(1) | tr '[:lower:]' '[:upper:]')
|
/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/runtime/gc/ |
H A D | heap_test.cc | 56 mirror::String* string = mirror::String::AllocFromModifiedUtf8(soa.Self(), "hello, world!"); local 58 array->Set<false>(j, string);
|
/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/compiler/optimizing/ |
H A D | ssa_builder.h | 83 void AddUninitializedString(HNewInstance* string) { argument 89 if (!ContainsElement(uninitialized_strings_, string)) { 90 uninitialized_strings_.push_back(string);
|
H A D | sharpening.cc | 29 #include "mirror/string.h" 176 // Compiling boot image. Resolve the string and allocate it if needed. 178 mirror::String* string = class_linker->ResolveString(dex_file, string_index, dex_cache); local 179 CHECK(string != nullptr); 193 mirror::String* string = dex_cache->GetResolvedString(string_index); local 194 is_in_dex_cache = (string != nullptr); 195 if (string != nullptr && runtime->GetHeap()->ObjectIsInBootImageSpace(string)) { 197 address = reinterpret_cast64<uint64_t>(string); 199 // Note: If the string i 209 mirror::String* string = class_linker->LookupString(dex_file, string_index, dex_cache); local [all...] |
/art/runtime/native/ |
H A D | java_lang_DexCache.cc | 75 jobject string) { 79 dex_cache->SetResolvedString(string_index, soa.Decode<mirror::String*>(string)); 74 DexCache_setResolvedString(JNIEnv* env, jobject javaDexCache, jint string_index, jobject string) argument
|
/art/cmdline/ |
H A D | token_range.h | 22 #include <string> 36 // Short-hand for a vector of strings. A single string and a token is synonymous. 37 using TokenList = std::vector<std::string>; 111 // Create a token range by splitting a string. Each separator gets their own token. 114 static TokenRange Split(const std::string& string, std::initializer_list<char> separators) { argument 117 std::string tok; 118 for (auto&& c : string) { 128 new_token_list.push_back(std::string() + sep); 164 const std::string [all...] |
H A D | cmdline_types.h | 26 #include <string> 38 // The default specialization will always fail parsing the type from a string. 51 Result Parse(const std::string& args) { 78 Result Parse(const std::string& options) { 87 const std::string s; 89 std::vector<std::string> pairs; 94 for (const std::string& jdwp_option : pairs) { 95 std::string::size_type equals_pos = jdwp_option.find('='); 96 if (equals_pos == std::string::npos) { 120 Result ParseJdwpOption(const std::string [all...] |
/art/tools/ahat/src/ |
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/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/test/961-default-iface-resolution-generated/util-src/ |
H A D | generate_java.py | 38 import string namespace
|
/art/test/964-default-iface-init-generated/util-src/ |
H A D | generate_java.py | 38 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/compiler/driver/ |
H A D | compiler_driver_test.cc | 112 const mirror::String* string = dex_cache->GetResolvedString(i); local 113 EXPECT_TRUE(string != nullptr) << "string_idx=" << i; 180 std::unordered_set<std::string>* GetCompiledMethods() OVERRIDE { 181 return new std::unordered_set<std::string>({ 215 std::unique_ptr<std::unordered_set<std::string>> expected(GetCompiledMethods()); 219 std::string name = PrettyMethod(&m, true); 240 std::string key = ProfileCompilationInfo::GetProfileDexFileKey(dex_file->GetLocation()); 247 std::unordered_set<std::string> GetExpectedMethodsForClass(const std::string& clazz) { 249 return std::unordered_set<std::string>({ [all...] |
/art/runtime/mirror/ |
H A D | string-inl.h | 27 #include "string.h" 40 // Sets string count in the allocation code path to ensure it is guarded by a CAS. 49 String* string = down_cast<String*>(obj); local 50 string->SetCount(count_); 57 // Sets string count and value in the allocation code path to ensure it is guarded by a CAS. 68 String* string = down_cast<String*>(obj); local 69 string->SetCount(count_); 70 uint16_t* value = string->GetValue(); 84 // Sets string count and value in the allocation code path to ensure it is guarded by a CAS. 95 String* string local 118 String* string = down_cast<String*>(obj); local 195 String* string = Alloc<kIsInstrumented>(self, byte_length, allocator_type, visitor); local 211 AllocFromString(Thread* self, int32_t string_length, Handle<String> string, int32_t offset, gc::AllocatorType allocator_type) argument [all...] |
H A D | object_test.cc | 40 #include "string-inl.h" 61 Handle<String> string( 63 ASSERT_EQ(expected_utf16_length, string->GetLength()); 64 ASSERT_TRUE(string->GetValue() != nullptr); 65 // strlen is necessary because the 1-character string "\x00\x00" is interpreted as "" 66 ASSERT_TRUE(string->Equals(utf8_in) || (expected_utf16_length == 1 && strlen(utf8_in) == 0)); 67 ASSERT_TRUE(string->Equals(StringPiece(utf8_in)) || 70 EXPECT_EQ(utf16_expected[i], string->CharAt(i)); 72 EXPECT_EQ(expected_hash, string->GetHashCode()); 398 // Test the empty string 584 Class* string = class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/String;"); local [all...] |
H A D | string.cc | 17 #include "string-inl.h" 27 #include "string-inl.h" 82 String* String::AllocFromStrings(Thread* self, Handle<String> string, Handle<String> string2) { argument 83 int32_t length = string->GetLength(); 92 memcpy(new_value, string->GetValue(), length * sizeof(uint16_t)); 101 String* string = Alloc<true>(self, utf16_length, allocator_type, visitor); local 102 if (UNLIKELY(string == nullptr)) { 105 uint16_t* array = string->GetValue(); 107 return string; 125 String* string local [all...] |
/art/test/968-default-partial-compile-generated/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-generated/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/runtime/interpreter/mterp/ |
H A D | gen_mterp.py | 22 import sys, string, re, time namespace 23 from string import Template
|
/art/runtime/verifier/ |
H A D | reg_type_test.cc | 432 std::string expected = "Unresolved Reference: java.lang.DoesNotExist"; 489 const RegType& string = cache_new.JavaLangString(); local 491 EXPECT_TRUE(string.Merge(Object, &cache_new).IsJavaLangObject());
|