/art/test/098-ddmc/ |
D | expected.txt | 2 … 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/ |
D | hash_set_test.cc | 87 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/ |
D | dexanalyze_strings.cc | 74 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 …]
|
D | dexanalyze_strings.h | 49 void ProcessStrings(const std::vector<std::string>& strings); 50 template <typename Strings> void Benchmark(const Strings& strings,
|
/art/test/003-omnibus-opcodes/src/ |
D | Array.java | 74 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/ |
D | dex_cache.cc | 62 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 …]
|
D | dex_cache.h | 347 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/ |
D | info.txt | 1 Regression test for strings being wrongly interned in images.
|
/art/test/617-clinit-oome/ |
D | info.txt | 1 Regression test for encoded static strings caussing OOME b/30690988
|
/art/test/1003-metadata-section-strings/ |
D | run | 17 …piler-option --compiler-filter=speed-profile -Xcompiler-option --resolve-startup-const-strings=true
|
/art/test/626-set-resolved-string/ |
D | info.txt | 3 strings it references are strongly interned.
|
/art/build/ |
D | makevars.go | 45 ctx.Strict("ART_TEST_LIST_"+name, strings.Join(testMap[name], " "))
|
D | codegen.go | 48 hostArches = strings.Split(e, " ") 55 deviceArches = strings.Split(e, " ")
|
/art/test/109-suspend-check/src/ |
D | Main.java | 156 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/ |
D | Parser.java | 195 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/ |
D | art_dex_file_loader_test.cc | 223 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/ |
D | Main.java | 166 String strings[] = new String[ARRAY_SIZE]; in run() local 170 strings[idx] = makeString(idx); in run()
|
/art/runtime/verifier/ |
D | verifier_deps.cc | 206 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/ |
D | Main.java | 82 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/ |
D | dalvik_system_VMRuntime.cc | 389 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/ |
D | Main.java | 248 private static String concat(String[] strings) { in concat() argument 250 for (String s : strings) { in concat()
|
/art/test/956-methodhandles/src/ |
D | Main.java | 1231 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/ |
D | README.txt | 129 Take into account 'count' and 'offset' when displaying strings.
|
/art/tools/dexfuzz/ |
D | README | 118 NOTE: DEX files with unicode strings are not fully supported yet, and DEX files with
|
/art/test/959-invoke-polymorphic-accessors/src/ |
D | Main.java | 687 String [] strings = { "octopus", "crab" }; in main() local 688 for (String s : strings) { in main()
|