/art/test/003-omnibus-opcodes/src/ |
H A D | Array.java | 74 static void checkStrings(String[] strings) { argument 75 Main.assertTrue(strings[0].equals("zero")); 76 Main.assertTrue(strings[1].equals("one")); 77 Main.assertTrue(strings[2].equals("two")); 78 Main.assertTrue(strings[3].equals("three")); 79 Main.assertTrue(strings[4].equals("four")); 189 String[] strings; 200 strings = new String[count];
|
/art/runtime/mirror/ |
H A D | dex_cache.cc | 60 StringDexCacheType* strings = (dex_file->NumStringIds() == 0u) ? nullptr : local 114 DCHECK_ALIGNED(strings, alignof(StringDexCacheType)) << 115 "Expected strings to align to StringDexCacheType."; 121 CHECK_EQ(strings[i].load(std::memory_order_relaxed).index, 0u); 122 CHECK(strings[i].load(std::memory_order_relaxed).object.IsNull()); 144 if (strings != nullptr) { 145 mirror::StringDexCachePair::Initialize(strings); 161 strings, 177 StringDexCacheType* strings, 191 CHECK_EQ(num_strings != 0u, strings ! 175 Init(const DexFile* dex_file, ObjPtr<String> location, StringDexCacheType* strings, uint32_t num_strings, TypeDexCacheType* resolved_types, uint32_t num_resolved_types, MethodDexCacheType* resolved_methods, uint32_t num_resolved_methods, FieldDexCacheType* resolved_fields, uint32_t num_resolved_fields, MethodTypeDexCacheType* resolved_method_types, uint32_t num_resolved_method_types, GcRoot<CallSite>* resolved_call_sites, uint32_t num_resolved_call_sites) argument [all...] |
H A D | dex_cache.h | 329 void SetStrings(StringDexCacheType* strings) ALWAYS_INLINE REQUIRES_SHARED(Locks::mutator_lock_) { 330 SetFieldPtr<false>(StringsOffset(), strings); local 440 StringDexCacheType* strings,
|
/art/test/100-reflect2/src/ |
H A D | Main.java | 248 private static String concat(String[] strings) { argument 250 for (String s : strings) {
|
/art/test/109-suspend-check/src/ |
H A D | Main.java | 156 private String[] strings = { "a", "b", "c", "d" }; field in class:InfiniteWhileLoopWithIntrinsic 162 sum += strings[i & 3].length();
|
/art/libartbase/base/ |
H A D | hash_set_test.cc | 85 std::vector<std::string> strings; local 88 strings.push_back(RandomString(10)); 89 hash_set.Insert(strings[i]); 90 auto it = hash_set.Find(strings[i]); 92 ASSERT_EQ(*it, strings[i]); 94 ASSERT_EQ(strings.size(), hash_set.Size()); 95 // Try to erase the odd strings. 97 auto it = hash_set.Find(strings[i]); 99 ASSERT_EQ(*it, strings[i]); 104 auto it = hash_set.Find(strings[ 118 std::vector<std::string> strings; local 146 std::vector<std::string> strings; local 163 std::vector<std::string> strings = {"a", "b", "c", "d", "e", "f", "g"}; local 220 std::vector<std::string> strings; local [all...] |
/art/runtime/dex/ |
H A D | art_dex_file_loader_test.cc | 223 const char* strings[] = { "LGetMethodSignature;", "Ljava/lang/Float;", "Ljava/lang/Object;", local 225 for (size_t i = 0; strings[i] != nullptr; i++) { 226 const char* str = strings[i];
|
/art/test/956-methodhandles/src/ |
H A D | Main.java | 1096 public VariableArityTester(String s0, String... strings) { update(s0, strings); } argument 1118 public String update(String s0, String... strings) { return lastResult = tally(s0, strings); } argument 1145 public static String tally(String s0, String... strings) { argument 1146 return s0 + ", " + Arrays.toString(strings); 1174 public static Object getAsObject(String[] strings) { argument 1175 return (Object) strings;
|
/art/runtime/native/ |
H A D | dalvik_system_VMRuntime.cc | 345 ObjPtr<mirror::DexCache> dex_cache, dex::StringIndex string_idx, StringTable& strings) 354 ObjPtr<mirror::String> string = strings[utf8]; 551 StringTable strings; local 553 PreloadDexCachesStringsVisitor visitor(&strings); 565 PreloadDexCachesResolveString(dex_cache, dex::StringIndex(j), strings); 608 LOG(INFO) << StringPrintf("VMRuntime.preloadDexCaches strings total=%d before=%d after=%d",
|
/art/runtime/verifier/ |
H A D | verifier_deps.cc | 54 // We currently collect extra strings only on the main `VerifierDeps`, 189 static bool FindExistingStringId(const std::vector<std::string>& strings, argument 192 uint32_t num_extra_ids = strings.size(); 194 if (strings[i] == str) { 210 // the number of strings in the DEX file. 212 // We use the main `VerifierDeps` for adding new strings to simplify 667 const std::vector<std::string>& strings) { 668 EncodeUnsignedLeb128(out, strings.size()); 669 for (const std::string& str : strings) { 679 std::vector<std::string>* strings) { 666 EncodeStringVector(std::vector<uint8_t>* out, const std::vector<std::string>& strings) argument 677 DecodeStringVector(const uint8_t** in, const uint8_t* end, std::vector<std::string>* strings) argument [all...] |
/art/runtime/ |
H A D | elf_file.cc | 25 #include "android-base/strings.h" 952 uint8_t* strings = Begin() + string_section.sh_offset; local 953 uint8_t* string = strings + i;
|
/art/runtime/gc/space/ |
H A D | image_space.cc | 27 #include "android-base/strings.h" 1299 mirror::StringDexCacheType* strings = dex_cache->GetStrings(); local 1300 if (strings != nullptr) { 1301 mirror::StringDexCacheType* new_strings = fixup_adapter.ForwardObject(strings); 1302 if (strings != new_strings) {
|