Searched defs:strings (Results 1 - 12 of 12) sorted by relevance

/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/runtime/mirror/
H A Ddex_cache.cc60 StringDexCacheType* strings = (dex_file->NumStringIds() == 0u) ? nullptr : local
114 DCHECK_ALIGNED(strings, alignof(StringDexCacheType)) <<
115 "Expected strings to align to StringDexCacheType.";
121 CHECK_EQ(strings[i].load(std::memory_order_relaxed).index, 0u);
122 CHECK(strings[i].load(std::memory_order_relaxed).object.IsNull());
144 if (strings != nullptr) {
145 mirror::StringDexCachePair::Initialize(strings);
161 strings,
177 StringDexCacheType* strings,
191 CHECK_EQ(num_strings != 0u, strings !
175 Init(const DexFile* dex_file, ObjPtr<String> location, StringDexCacheType* strings, uint32_t num_strings, TypeDexCacheType* resolved_types, uint32_t num_resolved_types, MethodDexCacheType* resolved_methods, uint32_t num_resolved_methods, FieldDexCacheType* resolved_fields, uint32_t num_resolved_fields, MethodTypeDexCacheType* resolved_method_types, uint32_t num_resolved_method_types, GcRoot<CallSite>* resolved_call_sites, uint32_t num_resolved_call_sites) argument
[all...]
H A Ddex_cache.h329 void SetStrings(StringDexCacheType* strings) ALWAYS_INLINE REQUIRES_SHARED(Locks::mutator_lock_) {
330 SetFieldPtr<false>(StringsOffset(), strings); local
440 StringDexCacheType* strings,
/art/test/100-reflect2/src/
H A DMain.java248 private static String concat(String[] strings) { argument
250 for (String s : strings) {
/art/test/109-suspend-check/src/
H A DMain.java156 private String[] strings = { "a", "b", "c", "d" }; field in class:InfiniteWhileLoopWithIntrinsic
162 sum += strings[i & 3].length();
/art/libartbase/base/
H A Dhash_set_test.cc85 std::vector<std::string> strings; local
88 strings.push_back(RandomString(10));
89 hash_set.Insert(strings[i]);
90 auto it = hash_set.Find(strings[i]);
92 ASSERT_EQ(*it, strings[i]);
94 ASSERT_EQ(strings.size(), hash_set.Size());
95 // Try to erase the odd strings.
97 auto it = hash_set.Find(strings[i]);
99 ASSERT_EQ(*it, strings[i]);
104 auto it = hash_set.Find(strings[
118 std::vector<std::string> strings; local
146 std::vector<std::string> strings; local
163 std::vector<std::string> strings = {"a", "b", "c", "d", "e", "f", "g"}; local
220 std::vector<std::string> strings; local
[all...]
/art/runtime/dex/
H A Dart_dex_file_loader_test.cc223 const char* strings[] = { "LGetMethodSignature;", "Ljava/lang/Float;", "Ljava/lang/Object;", local
225 for (size_t i = 0; strings[i] != nullptr; i++) {
226 const char* str = strings[i];
/art/test/956-methodhandles/src/
H A DMain.java1096 public VariableArityTester(String s0, String... strings) { update(s0, strings); } argument
1118 public String update(String s0, String... strings) { return lastResult = tally(s0, strings); } argument
1145 public static String tally(String s0, String... strings) { argument
1146 return s0 + ", " + Arrays.toString(strings);
1174 public static Object getAsObject(String[] strings) { argument
1175 return (Object) strings;
/art/runtime/native/
H A Ddalvik_system_VMRuntime.cc345 ObjPtr<mirror::DexCache> dex_cache, dex::StringIndex string_idx, StringTable& strings)
354 ObjPtr<mirror::String> string = strings[utf8];
551 StringTable strings; local
553 PreloadDexCachesStringsVisitor visitor(&strings);
565 PreloadDexCachesResolveString(dex_cache, dex::StringIndex(j), strings);
608 LOG(INFO) << StringPrintf("VMRuntime.preloadDexCaches strings total=%d before=%d after=%d",
/art/runtime/verifier/
H A Dverifier_deps.cc54 // We currently collect extra strings only on the main `VerifierDeps`,
189 static bool FindExistingStringId(const std::vector<std::string>& strings, argument
192 uint32_t num_extra_ids = strings.size();
194 if (strings[i] == str) {
210 // the number of strings in the DEX file.
212 // We use the main `VerifierDeps` for adding new strings to simplify
667 const std::vector<std::string>& strings) {
668 EncodeUnsignedLeb128(out, strings.size());
669 for (const std::string& str : strings) {
679 std::vector<std::string>* strings) {
666 EncodeStringVector(std::vector<uint8_t>* out, const std::vector<std::string>& strings) argument
677 DecodeStringVector(const uint8_t** in, const uint8_t* end, std::vector<std::string>* strings) argument
[all...]
/art/runtime/
H A Delf_file.cc25 #include "android-base/strings.h"
952 uint8_t* strings = Begin() + string_section.sh_offset; local
953 uint8_t* string = strings + i;
/art/runtime/gc/space/
H A Dimage_space.cc27 #include "android-base/strings.h"
1299 mirror::StringDexCacheType* strings = dex_cache->GetStrings(); local
1300 if (strings != nullptr) {
1301 mirror::StringDexCacheType* new_strings = fixup_adapter.ForwardObject(strings);
1302 if (strings != new_strings) {

Completed in 619 milliseconds