/art/runtime/base/ |
D | hash_set_test.cc | 85 std::vector<std::string> strings; in TEST_F() local 88 strings.push_back(RandomString(10)); in TEST_F() 89 hash_set.Insert(strings[i]); in TEST_F() 90 auto it = hash_set.Find(strings[i]); in TEST_F() 92 ASSERT_EQ(*it, strings[i]); in TEST_F() 94 ASSERT_EQ(strings.size(), hash_set.Size()); in TEST_F() 97 auto it = hash_set.Find(strings[i]); in TEST_F() 99 ASSERT_EQ(*it, strings[i]); in TEST_F() 104 auto it = hash_set.Find(strings[i]); in TEST_F() 108 auto it = hash_set.Find(strings[i]); in TEST_F() [all …]
|
/art/test/098-ddmc/ |
D | expected.txt | 2 … of message: 15 number of class name strings: 0 number of method name strings: 0 number of source … 14 … of message: 15 number of class name strings: 0 number of method name strings: 0 number of source … 23 … of message: 15 number of class name strings: 0 number of method name strings: 0 number of source …
|
/art/test/003-omnibus-opcodes/src/ |
D | Array.java | 74 static void checkStrings(String[] strings) { in checkStrings() argument 75 Main.assertTrue(strings[0].equals("zero")); in checkStrings() 76 Main.assertTrue(strings[1].equals("one")); in checkStrings() 77 Main.assertTrue(strings[2].equals("two")); in checkStrings() 78 Main.assertTrue(strings[3].equals("three")); in checkStrings() 79 Main.assertTrue(strings[4].equals("four")); in checkStrings() 189 String[] strings; in checkNegAlloc() local 200 strings = new String[count]; in checkNegAlloc()
|
/art/runtime/mirror/ |
D | dex_cache.cc | 63 mirror::StringDexCacheType* strings = (dex_file->NumStringIds() == 0u) ? nullptr : in InitializeDexCache() local 113 DCHECK_ALIGNED(strings, alignof(StringDexCacheType)) << in InitializeDexCache() 120 CHECK_EQ(strings[i].load(std::memory_order_relaxed).index, 0u); in InitializeDexCache() 121 CHECK(strings[i].load(std::memory_order_relaxed).object.IsNull()); in InitializeDexCache() 142 if (strings != nullptr) { in InitializeDexCache() 143 mirror::StringDexCachePair::Initialize(strings); in InitializeDexCache() 156 strings, in InitializeDexCache() 173 StringDexCacheType* strings, in Init() argument 188 CHECK_EQ(num_strings != 0u, strings != nullptr); in Init() 197 SetStrings(strings); in Init()
|
D | dex_cache.h | 317 void SetStrings(StringDexCacheType* strings) ALWAYS_INLINE REQUIRES_SHARED(Locks::mutator_lock_) { in SetStrings() argument 318 SetFieldPtr<false>(StringsOffset(), strings); in SetStrings() 437 StringDexCacheType* strings,
|
/art/tools/ahat/test/ |
D | DiffTest.java | 100 HprofStringBuilder strings = new HprofStringBuilder(0); in nullClassObj() local 105 records.add(new HprofLoadClass(0, 0, stringClassObjectId, 0, strings.get("java.lang.String"))); in nullClassObj() 109 new HprofInstanceField(strings.get("count"), HprofType.TYPE_INT), in nullClassObj() 110 new HprofInstanceField(strings.get("hashCode"), HprofType.TYPE_INT), in nullClassObj() 111 new HprofInstanceField(strings.get("offset"), HprofType.TYPE_INT), in nullClassObj() 112 new HprofInstanceField(strings.get("value"), HprofType.TYPE_OBJECT)})); in nullClassObj() 127 AhatSnapshot snapshot = SnapshotBuilder.makeSnapshot(strings, records); in nullClassObj()
|
D | SnapshotBuilder.java | 38 public static AhatSnapshot makeSnapshot(HprofStringBuilder strings, List<HprofRecord> records) in makeSnapshot() argument 44 actualRecords.addAll(strings.getStringRecords()); in makeSnapshot()
|
D | InstanceTest.java | 377 HprofStringBuilder strings = new HprofStringBuilder(0); in asStringEmbedded() local 382 records.add(new HprofLoadClass(0, 0, stringClassObjectId, 0, strings.get("java.lang.String"))); in asStringEmbedded() 386 new HprofInstanceField(strings.get("count"), HprofType.TYPE_INT), in asStringEmbedded() 387 new HprofInstanceField(strings.get("hashCode"), HprofType.TYPE_INT), in asStringEmbedded() 388 new HprofInstanceField(strings.get("offset"), HprofType.TYPE_INT), in asStringEmbedded() 389 new HprofInstanceField(strings.get("value"), HprofType.TYPE_OBJECT)})); in asStringEmbedded() 404 AhatSnapshot snapshot = SnapshotBuilder.makeSnapshot(strings, records); in asStringEmbedded()
|
/art/test/617-clinit-oome/ |
D | info.txt | 1 Regression test for encoded static strings caussing OOME b/30690988
|
/art/test/626-set-resolved-string/ |
D | info.txt | 3 strings it references are strongly interned.
|
/art/build/ |
D | codegen.go | 36 hostArches = strings.Split(e, " ") 43 deviceArches = strings.Split(e, " ")
|
D | makevars.go | 45 ctx.Strict("ART_TEST_LIST_"+name, strings.Join(testMap[name], " "))
|
/art/test/109-suspend-check/src/ |
D | Main.java | 156 private String[] strings = { "a", "b", "c", "d" }; field in InfiniteWhileLoopWithIntrinsic 162 sum += strings[i & 3].length(); in run()
|
/art/runtime/verifier/ |
D | verifier_deps.cc | 189 static bool FindExistingStringId(const std::vector<std::string>& strings, in FindExistingStringId() argument 192 uint32_t num_extra_ids = strings.size(); in FindExistingStringId() 194 if (strings[i] == str) { in FindExistingStringId() 666 const std::vector<std::string>& strings) { in EncodeStringVector() argument 667 EncodeUnsignedLeb128(out, strings.size()); in EncodeStringVector() 668 for (const std::string& str : strings) { in EncodeStringVector() 678 std::vector<std::string>* strings) { in DecodeStringVector() argument 679 DCHECK(strings->empty()); in DecodeStringVector() 681 strings->reserve(num_strings); in DecodeStringVector() 685 strings->emplace_back(std::string(string_start)); in DecodeStringVector() [all …]
|
/art/test/021-string2/src/ |
D | Main.java | 83 String[] strings = test.split("/"); in main() local 84 Assert.assertEquals(4, strings.length); in main() 136 String[] strings = { in testCompareToAndEquals() local 323 int length = strings.length; in testCompareToAndEquals() 326 String lhs = strings[i]; in testCompareToAndEquals() 328 String rhs = strings[j]; in testCompareToAndEquals()
|
/art/test/074-gc-thrash/src/ |
D | Main.java | 166 String strings[] = new String[ARRAY_SIZE]; in run() local 170 strings[idx] = makeString(idx); in run()
|
/art/runtime/native/ |
D | dalvik_system_VMRuntime.cc | 299 Handle<mirror::DexCache> dex_cache, dex::StringIndex string_idx, StringTable& strings) in PreloadDexCachesResolveString() argument 307 string = strings[utf8]; in PreloadDexCachesResolveString() 513 StringTable strings; in VMRuntime_preloadDexCaches() local 515 PreloadDexCachesStringsVisitor visitor(&strings); in VMRuntime_preloadDexCaches() 528 PreloadDexCachesResolveString(dex_cache, dex::StringIndex(j), strings); in VMRuntime_preloadDexCaches()
|
/art/runtime/ |
D | dex_file_test.cc | 455 const char* strings[] = { "LGetMethodSignature;", "Ljava/lang/Float;", "Ljava/lang/Object;", in TEST_F() local 457 for (size_t i = 0; strings[i] != nullptr; i++) { in TEST_F() 458 const char* str = strings[i]; in TEST_F()
|
/art/test/956-methodhandles/src/ |
D | Main.java | 1040 public VariableArityTester(String s0, String... strings) { update(s0, strings); } in VariableArityTester() argument 1062 public String update(String s0, String... strings) { return lastResult = tally(s0, strings); } in update() argument 1089 public static String tally(String s0, String... strings) { in tally() argument 1090 return s0 + ", " + Arrays.toString(strings); in tally() 1118 public static Object getAsObject(String[] strings) { in getAsObject() argument 1119 return (Object) strings; in getAsObject()
|
/art/test/100-reflect2/src/ |
D | Main.java | 248 private static String concat(String[] strings) { in concat() argument 250 for (String s : strings) { in concat()
|
/art/tools/ahat/ |
D | README.txt | 111 Take into account 'count' and 'offset' when displaying strings.
|
/art/runtime/gc/space/ |
D | image_space.cc | 1235 mirror::StringDexCacheType* strings = dex_cache->GetStrings(); in RelocateInPlace() local 1236 if (strings != nullptr) { in RelocateInPlace() 1237 mirror::StringDexCacheType* new_strings = fixup_adapter.ForwardObject(strings); in RelocateInPlace() 1238 if (strings != new_strings) { in RelocateInPlace()
|
/art/tools/dexfuzz/ |
D | README | 120 NOTE: DEX files with unicode strings are not fully supported yet, and DEX files with
|
/art/test/959-invoke-polymorphic-accessors/src/ |
D | Main.java | 672 String [] strings = { "octopus", "crab" }; in main() local 673 for (String s : strings) { in main()
|
/art/cmdline/ |
D | README.md | 16 generate a type-safe value parser that process a user-provided list of strings (`argv`). Currently,
|