Home
last modified time | relevance | path

Searched refs:strings (Results 1 – 25 of 30) sorted by relevance

12

/art/test/098-ddmc/
Dexpected.txt2 … 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/libartbase/base/
Dhash_set_test.cc87 std::vector<std::string> strings; in TEST_F() local
90 strings.push_back(RandomString(10)); in TEST_F()
91 hash_set.insert(strings[i]); in TEST_F()
92 auto it = hash_set.find(strings[i]); in TEST_F()
94 ASSERT_EQ(*it, strings[i]); in TEST_F()
96 ASSERT_EQ(strings.size(), hash_set.size()); in TEST_F()
99 auto it = hash_set.find(strings[i]); in TEST_F()
101 ASSERT_EQ(*it, strings[i]); in TEST_F()
106 auto it = hash_set.find(strings[i]); in TEST_F()
110 auto it = hash_set.find(strings[i]); in TEST_F()
[all …]
/art/tools/dexanalyze/
Ddexanalyze_strings.cc74 void Build(const std::vector<std::string>& strings);
338 void PrefixStrings::Builder::Build(const std::vector<std::string>& strings) { in Build() argument
340 for (size_t i = 0; i < strings.size(); ++i) { in Build()
343 CHECK_GT(strings[i], strings[i - 1]); in Build()
344 len = std::max(len, PrefixLen(strings[i], strings[i - 1])); in Build()
346 if (i < strings.size() - 1) { in Build()
347 len = std::max(len, PrefixLen(strings[i], strings[i + 1])); in Build()
351 prefixe_trie->Add(strings[i].substr(0, len))->value_ = 1u; in Build()
402 for (const std::string& str : strings) { in Build()
448 void AnalyzeStrings::ProcessStrings(const std::vector<std::string>& strings) { in ProcessStrings() argument
[all …]
Ddexanalyze_strings.h49 void ProcessStrings(const std::vector<std::string>& strings);
50 template <typename Strings> void Benchmark(const Strings& strings,
/art/test/003-omnibus-opcodes/src/
DArray.java74 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/
Ddex_cache.cc62 StringDexCacheType* strings = (dex_file->NumStringIds() == 0u) ? nullptr : in InitializeDexCache() local
116 DCHECK_ALIGNED(strings, alignof(StringDexCacheType)) << in InitializeDexCache()
123 CHECK_EQ(strings[i].load(std::memory_order_relaxed).index, 0u); in InitializeDexCache()
124 CHECK(strings[i].load(std::memory_order_relaxed).object.IsNull()); in InitializeDexCache()
146 if (strings != nullptr) { in InitializeDexCache()
147 mirror::StringDexCachePair::Initialize(strings); in InitializeDexCache()
163 strings, in InitializeDexCache()
224 GcRoot<mirror::String>* strings = in AddPreResolvedStringsArray() local
226 if (strings == nullptr) { in AddPreResolvedStringsArray()
232 CHECK(strings != nullptr); in AddPreResolvedStringsArray()
[all …]
Ddex_cache.h347 void SetStrings(StringDexCacheType* strings) ALWAYS_INLINE REQUIRES_SHARED(Locks::mutator_lock_) { in SetStrings() argument
348 SetFieldPtr<false>(StringsOffset(), strings); in SetStrings()
351 void SetPreResolvedStrings(GcRoot<mirror::String>* strings) in SetPreResolvedStrings() argument
353 SetFieldPtr<false>(PreResolvedStringsOffset(), strings); in SetPreResolvedStrings()
488 StringDexCacheType* strings,
/art/test/176-app-image-string/
Dinfo.txt1 Regression test for strings being wrongly interned in images.
/art/test/617-clinit-oome/
Dinfo.txt1 Regression test for encoded static strings caussing OOME b/30690988
/art/test/1003-metadata-section-strings/
Drun17 …piler-option --compiler-filter=speed-profile -Xcompiler-option --resolve-startup-const-strings=true
/art/test/626-set-resolved-string/
Dinfo.txt3 strings it references are strongly interned.
/art/build/
Dmakevars.go45 ctx.Strict("ART_TEST_LIST_"+name, strings.Join(testMap[name], " "))
Dcodegen.go48 hostArches = strings.Split(e, " ")
55 deviceArches = strings.Split(e, " ")
/art/test/109-suspend-check/src/
DMain.java156 private String[] strings = { "a", "b", "c", "d" }; field in InfiniteWhileLoopWithIntrinsic
162 sum += strings[i & 3].length(); in run()
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DParser.java195 UnDenseMap<String> strings = new UnDenseMap<String>("String"); in parseInternal() local
196 strings.put(0, "???"); in parseInternal()
217 strings.put(id, str); in parseInternal()
226 String rawClassName = strings.get(classNameStringId); in parseInternal()
257 strings.get(methodNameStringId), in parseInternal()
258 strings.get(methodSignatureStringId), in parseInternal()
259 strings.get(methodFileNameStringId), in parseInternal()
368 String obfName = strings.get(hprof.getId()); in parseInternal()
379 String name = map.getFieldName(obj.getName(), strings.get(hprof.getId())); in parseInternal()
553 heaps.setCurrentHeap(strings.get(stringId)); in parseInternal()
/art/libdexfile/dex/
Dart_dex_file_loader_test.cc223 const char* strings[] = { "LGetMethodSignature;", "Ljava/lang/Float;", "Ljava/lang/Object;", in TEST_F() local
225 for (size_t i = 0; strings[i] != nullptr; i++) { in TEST_F()
226 const char* str = strings[i]; in TEST_F()
/art/test/074-gc-thrash/src/
DMain.java166 String strings[] = new String[ARRAY_SIZE]; in run() local
170 strings[idx] = makeString(idx); in run()
/art/runtime/verifier/
Dverifier_deps.cc206 static bool FindExistingStringId(const std::vector<std::string>& strings, in FindExistingStringId() argument
209 uint32_t num_extra_ids = strings.size(); in FindExistingStringId()
211 if (strings[i] == str) { in FindExistingStringId()
693 const std::vector<std::string>& strings) { in EncodeStringVector() argument
694 EncodeUnsignedLeb128(out, strings.size()); in EncodeStringVector()
695 for (const std::string& str : strings) { in EncodeStringVector()
705 std::vector<std::string>* strings) { in DecodeStringVector() argument
706 DCHECK(strings->empty()); in DecodeStringVector()
708 strings->reserve(num_strings); in DecodeStringVector()
712 strings->emplace_back(std::string(string_start)); in DecodeStringVector()
[all …]
/art/test/021-string2/src/
DMain.java82 String[] strings = test.split("/"); in main() local
83 Assert.assertEquals(4, strings.length); in main()
133 String[] strings = { in testCompareToAndEquals() local
320 int length = strings.length; in testCompareToAndEquals()
323 String lhs = strings[i]; in testCompareToAndEquals()
325 String rhs = strings[j]; in testCompareToAndEquals()
/art/runtime/native/
Ddalvik_system_VMRuntime.cc389 ObjPtr<mirror::DexCache> dex_cache, dex::StringIndex string_idx, StringTable& strings) in PreloadDexCachesResolveString() argument
398 ObjPtr<mirror::String> string = strings[utf8]; in PreloadDexCachesResolveString()
587 StringTable strings; in VMRuntime_preloadDexCaches() local
589 PreloadDexCachesStringsVisitor visitor(&strings); in VMRuntime_preloadDexCaches()
601 PreloadDexCachesResolveString(dex_cache, dex::StringIndex(j), strings); in VMRuntime_preloadDexCaches()
/art/test/100-reflect2/src/
DMain.java248 private static String concat(String[] strings) { in concat() argument
250 for (String s : strings) { in concat()
/art/test/956-methodhandles/src/
DMain.java1231 public VariableArityTester(String s0, String... strings) { update(s0, strings); } in VariableArityTester() argument
1253 public String update(String s0, String... strings) { return lastResult = tally(s0, strings); } in update() argument
1280 public static String tally(String s0, String... strings) { in tally() argument
1281 return s0 + ", " + Arrays.toString(strings); in tally()
1309 public static Object getAsObject(String[] strings) { in getAsObject() argument
1310 return (Object) strings; in getAsObject()
/art/tools/ahat/
DREADME.txt129 Take into account 'count' and 'offset' when displaying strings.
/art/tools/dexfuzz/
DREADME118 NOTE: DEX files with unicode strings are not fully supported yet, and DEX files with
/art/test/959-invoke-polymorphic-accessors/src/
DMain.java687 String [] strings = { "octopus", "crab" }; in main() local
688 for (String s : strings) { in main()

12