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

/art/runtime/
H A Dutils_test.cc287 std::vector<std::string> strings; local
289 strings.clear();
290 EXPECT_EQ("", Join(strings, ':'));
292 strings.clear();
293 strings.push_back("foo");
294 EXPECT_EQ("foo", Join(strings, ':'));
296 strings.clear();
297 strings.push_back("");
298 strings.push_back("foo");
299 EXPECT_EQ(":foo", Join(strings, '
[all...]
H A Ddex_file_test.cc202 const char* strings[] = { "LCreateMethodSignature;", "Ljava/lang/Float;", "Ljava/lang/Object;", local
204 for (size_t i = 0; strings[i] != NULL; i++) {
205 const char* str = strings[i];
H A Dutils.cc890 std::string Join(std::vector<StringT>& strings, char separator) { argument
891 if (strings.empty()) {
895 std::string result(strings[0]);
896 for (size_t i = 1; i < strings.size(); ++i) {
898 result += strings[i];
904 template std::string Join<std::string>(std::vector<std::string>& strings, char separator);
905 template std::string Join<const char*>(std::vector<const char*>& strings, char separator);
906 template std::string Join<char*>(std::vector<char*>& strings, char separator);
941 // pthread_setname_np fails rather than truncating long strings.
H A Dutils.h313 // strings. Empty strings will be omitted.
316 // Joins a vector of strings into a single string, using the given separator.
317 template <typename StringT> std::string Join(std::vector<StringT>& strings, char separator);
H A Delf_file.cc515 byte* strings = Begin() + string_section.sh_offset; local
516 byte* string = strings + i;
H A Dclass_linker.cc1192 strings(self, AllocStringArray(self, dex_file.NumStringIds()));
1193 if (strings.get() == NULL) {
1220 strings.get(),
/art/runtime/mirror/
H A Ddex_cache.cc36 ObjectArray<String>* strings,
43 CHECK(strings != NULL);
51 SetFieldObject(StringsOffset(), strings, false); local
34 Init(const DexFile* dex_file, String* location, ObjectArray<String>* strings, ObjectArray<Class>* resolved_types, ObjectArray<ArtMethod>* resolved_methods, ObjectArray<ArtField>* resolved_fields, ObjectArray<StaticStorageBase>* initialized_static_storage) argument
H A Ddex_cache.h47 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.java77 String[] strings = test.split("/");
78 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/test/100-reflect2/src/
H A DMain.java229 private static String concat(String[] strings) { argument
231 for (String s : strings) {
/art/test/082-inline-execute/src/
H A DMain.java216 String[] strings = test.split("/");
217 Assert.assertEquals(4, strings.length);
/art/runtime/arch/arm/
H A Dquick_entrypoints_arm.S680 * R1 holds the string index. The fast path check for hit in strings cache has already been
1174 1: @ Same strings, return.
1233 * on long strings (but preserve incoming alignment)

Completed in 457 milliseconds