Searched refs:strings (Results 1 - 15 of 15) sorted by relevance

/art/runtime/
H A Dutils_test.cc304 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 Ddex_file_test.cc279 const char* strings[] = { "LGetMethodSignature;", "Ljava/lang/Float;", "Ljava/lang/Object;", local
281 for (size_t i = 0; strings[i] != NULL; i++) {
282 const char* str = strings[i];
H A Dutils.cc955 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.
H A Dutils.h406 // strings. Empty strings will be omitted.
412 // Joins a vector of strings into a single string, using the given separator.
413 template <typename StringT> std::string Join(std::vector<StringT>& strings, char separator);
474 // Note: does not support multidex location strings.
H A Delf_file.cc929 byte* strings = Begin() + string_section.sh_offset; local
930 byte* string = strings + i;
H A Dclass_linker.cc1872 strings(hs.NewHandle(AllocStringArray(self, dex_file.NumStringIds())));
1873 if (strings.Get() == nullptr) {
1891 dex_cache->Init(&dex_file, location.Get(), strings.Get(), types.Get(), methods.Get(),
/art/runtime/mirror/
H A Ddex_cache.cc36 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
H A Ddex_cache.h50 ObjectArray<String>* strings,
/art/test/003-omnibus-opcodes/src/
H A DArray.java74 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/021-string2/src/
H A DMain.java81 String[] strings = test.split("/");
82 Assert.assertEquals(4, strings.length);
/art/test/074-gc-thrash/src/
H A DMain.java167 String strings[] = new String[ARRAY_SIZE];
171 strings[idx] = makeString(idx);
/art/runtime/native/
H A Ddalvik_system_VMRuntime.cc228 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/test/100-reflect2/src/
H A DMain.java230 private static String concat(String[] strings) { argument
232 for (String s : strings) {
/art/test/082-inline-execute/src/
H A DMain.java271 String[] strings = test.split("/");
272 Assert.assertEquals(4, strings.length);
/art/runtime/arch/arm/
H A Dquick_entrypoints_arm.S861 * R1 holds the string index. The fast path check for hit in strings cache has already been
1402 1: @ Same strings, return.
1461 * on long strings (but preserve incoming alignment)

Completed in 278 milliseconds