/art/runtime/base/ |
D | hash_set_test.cc | 83 std::vector<std::string> strings; in TEST_F() local 86 strings.push_back(RandomString(10)); in TEST_F() 87 hash_set.Insert(strings[i]); in TEST_F() 88 auto it = hash_set.Find(strings[i]); in TEST_F() 90 ASSERT_EQ(*it, strings[i]); in TEST_F() 92 ASSERT_EQ(strings.size(), hash_set.Size()); in TEST_F() 95 auto it = hash_set.Find(strings[i]); in TEST_F() 97 ASSERT_EQ(*it, strings[i]); in TEST_F() 102 auto it = hash_set.Find(strings[i]); in TEST_F() 106 auto it = hash_set.Find(strings[i]); in TEST_F() [all …]
|
/art/runtime/ |
D | utils_test.cc | 304 std::vector<std::string> strings; in TEST_F() local 306 strings.clear(); in TEST_F() 307 EXPECT_EQ("", Join(strings, ':')); in TEST_F() 309 strings.clear(); in TEST_F() 310 strings.push_back("foo"); in TEST_F() 311 EXPECT_EQ("foo", Join(strings, ':')); in TEST_F() 313 strings.clear(); in TEST_F() 314 strings.push_back(""); in TEST_F() 315 strings.push_back("foo"); in TEST_F() 316 EXPECT_EQ(":foo", Join(strings, ':')); in TEST_F() [all …]
|
D | utils.cc | 955 std::string Join(std::vector<StringT>& strings, char separator) { in Join() argument 956 if (strings.empty()) { in Join() 960 std::string result(strings[0]); in Join() 961 for (size_t i = 1; i < strings.size(); ++i) { in Join() 963 result += strings[i]; in Join() 969 template std::string Join<std::string>(std::vector<std::string>& strings, char separator); 970 template std::string Join<const char*>(std::vector<const char*>& strings, char separator); 971 template std::string Join<char*>(std::vector<char*>& strings, char separator);
|
D | dex_file_test.cc | 282 const char* strings[] = { "LGetMethodSignature;", "Ljava/lang/Float;", "Ljava/lang/Object;", in TEST_F() local 284 for (size_t i = 0; strings[i] != NULL; i++) { in TEST_F() 285 const char* str = strings[i]; in TEST_F()
|
D | utils.h | 455 template <typename StringT> std::string Join(std::vector<StringT>& strings, char separator);
|
D | elf_file.cc | 948 byte* strings = Begin() + string_section.sh_offset; in GetString() local 949 byte* string = strings + i; in GetString()
|
D | class_linker.cc | 1903 strings(hs.NewHandle(AllocStringArray(self, dex_file.NumStringIds()))); in AllocDexCache() local 1904 if (strings.Get() == nullptr) { in AllocDexCache() 1922 dex_cache->Init(&dex_file, location.Get(), strings.Get(), types.Get(), methods.Get(), in AllocDexCache()
|
/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 | 36 ObjectArray<String>* strings, in Init() argument 42 CHECK(strings != nullptr); in Init() 49 SetFieldObject<false>(StringsOffset(), strings); in Init()
|
D | dex_cache.h | 50 ObjectArray<String>* strings,
|
/art/test/021-string2/src/ |
D | Main.java | 81 String[] strings = test.split("/"); in main() local 82 Assert.assertEquals(4, strings.length); in main()
|
/art/test/074-gc-thrash/src/ |
D | Main.java | 167 String strings[] = new String[ARRAY_SIZE]; in run() local 171 strings[idx] = makeString(idx); in run()
|
/art/runtime/native/ |
D | dalvik_system_VMRuntime.cc | 228 StringTable& strings) in PreloadDexCachesResolveString() argument 236 string = strings[utf8]; in PreloadDexCachesResolveString() 437 StringTable strings; in VMRuntime_preloadDexCaches() local 439 runtime->GetInternTable()->VisitRoots(PreloadDexCachesStringsCallback, &strings, in VMRuntime_preloadDexCaches() 452 PreloadDexCachesResolveString(dex_cache, i, strings); in VMRuntime_preloadDexCaches()
|
/art/compiler/ |
D | image_writer.cc | 463 StringCollector(Handle<mirror::ObjectArray<mirror::String>> strings, size_t index) in StringCollector() argument 464 : strings_(strings), index_(index) { in StringCollector() 484 explicit StringLengthComparator(Handle<mirror::ObjectArray<mirror::String>> strings) in StringLengthComparator() argument 485 : strings_(strings) { in StringLengthComparator() 521 auto strings = hs.NewHandle(cl->AllocStringArray(self, total_strings)); in ProcessStrings() local 522 StringCollector string_collector(strings, 0U); in ProcessStrings() 534 mirror::String* s = strings->GetWithoutChecks(i); in ProcessStrings() 540 StringLengthComparator comparator(strings); in ProcessStrings() 551 mirror::String* s = strings->GetWithoutChecks(reverse_sorted_strings[i]); in ProcessStrings() 593 strings->GetWithoutChecks(i)->SetArray(array); in ProcessStrings()
|
/art/test/100-reflect2/src/ |
D | Main.java | 230 private static String concat(String[] strings) { in concat() argument 232 for (String s : strings) { in concat()
|
/art/test/082-inline-execute/src/ |
D | Main.java | 307 String[] strings = test.split("/"); in test_String_compareTo() 308 Assert.assertEquals(4, strings.length); in test_String_compareTo()
|
/art/runtime/arch/arm/ |
D | quick_entrypoints_arm.S | 1402 1: @ Same strings, return.
|