Searched defs:strings (Results 1 - 10 of 10) sorted by relevance
/art/runtime/mirror/ |
H A D | dex_cache.cc | 36 ObjectArray<String>* strings, 42 CHECK(strings != nullptr); 49 SetFieldObject<false>(StringsOffset(), strings); local 34 Init(const DexFile* dex_file, String* location, ObjectArray<String>* strings, ObjectArray<Class>* resolved_types, ObjectArray<ArtMethod>* resolved_methods, ObjectArray<ArtField>* resolved_fields) argument
|
/art/runtime/ |
H A D | utils_test.cc | 304 std::vector<std::string> strings; local 306 strings.clear(); 307 EXPECT_EQ("", Join(strings, ':')); 309 strings.clear(); 310 strings.push_back("foo"); 311 EXPECT_EQ("foo", Join(strings, ':')); 313 strings.clear(); 314 strings.push_back(""); 315 strings.push_back("foo"); 316 EXPECT_EQ(":foo", Join(strings, ' [all...] |
H A D | dex_file_test.cc | 282 const char* strings[] = { "LGetMethodSignature;", "Ljava/lang/Float;", "Ljava/lang/Object;", local 284 for (size_t i = 0; strings[i] != NULL; i++) { 285 const char* str = strings[i];
|
H A D | elf_file.cc | 948 byte* strings = Begin() + string_section.sh_offset; local 949 byte* string = strings + i;
|
H A D | utils.cc | 955 std::string Join(std::vector<StringT>& strings, char separator) { argument 956 if (strings.empty()) { 960 std::string result(strings[0]); 961 for (size_t i = 1; i < strings.size(); ++i) { 963 result += strings[i]; 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); 1006 // pthread_setname_np fails rather than truncating long strings.
|
/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/test/100-reflect2/src/ |
H A D | Main.java | 230 private static String concat(String[] strings) { argument 232 for (String s : strings) {
|
/art/runtime/base/ |
H A D | hash_set_test.cc | 83 std::vector<std::string> strings; local 86 strings.push_back(RandomString(10)); 87 hash_set.Insert(strings[i]); 88 auto it = hash_set.Find(strings[i]); 90 ASSERT_EQ(*it, strings[i]); 92 ASSERT_EQ(strings.size(), hash_set.Size()); 93 // Try to erase the odd strings. 95 auto it = hash_set.Find(strings[i]); 97 ASSERT_EQ(*it, strings[i]); 102 auto it = hash_set.Find(strings[ 116 std::vector<std::string> strings; local 144 std::vector<std::string> strings; local 162 std::vector<std::string> strings; local [all...] |
/art/runtime/native/ |
H A D | dalvik_system_VMRuntime.cc | 228 StringTable& strings) 236 string = strings[utf8]; 437 StringTable strings; local 439 runtime->GetInternTable()->VisitRoots(PreloadDexCachesStringsCallback, &strings, 452 PreloadDexCachesResolveString(dex_cache, i, strings); 497 LOG(INFO) << StringPrintf("VMRuntime.preloadDexCaches strings total=%d before=%d after=%d",
|
/art/compiler/ |
H A D | image_writer.cc | 452 // Count the number of strings in the heap and put the result in arg as a size_t pointer. 463 StringCollector(Handle<mirror::ObjectArray<mirror::String>> strings, size_t index) argument 464 : strings_(strings), index_(index) { 481 // Compare strings based on length, used for sorting strings by length / reverse length. 484 explicit StringLengthComparator(Handle<mirror::ObjectArray<mirror::String>> strings) argument 485 : strings_(strings) { 517 heap->VisitObjects(CountStringsCallback, &total_strings); // Count the strings. 521 auto strings = hs.NewHandle(cl->AllocStringArray(self, total_strings)); local 522 StringCollector string_collector(strings, [all...] |
Completed in 3956 milliseconds