Searched refs:intern (Results 1 – 8 of 8) sorted by relevance
/art/test/003-omnibus-opcodes/src/ |
D | InternedString.java | 31 WeakReference<String> strRef = new WeakReference<String>(s.intern()); in makeWeakString() 43 WeakReference strRef = new WeakReference<String>(CONST.intern()); in testImmortalInternedString() 47 Main.assertTrue(CONST == CONST.intern()); in testImmortalInternedString() 53 strRef = new WeakReference<String>(s.intern()); in testImmortalInternedString()
|
/art/test/596-app-images/src/ |
D | Main.java | 62 String intern = tmp.intern(); in main() local 64 assertNotEqual(tmp, intern, "Dynamically constructed String, not interned."); in main() 65 assertEqual(intern, StaticInternString.intent, "Static encoded literal String not interned."); in main() 66 assertEqual(BootInternedString.boot, BootInternedString.boot.intern(), in main() 71 assertEqual(intern, f.get(null), "String Literals are not interned properly."); in main()
|
/art/test/016-intern/src/ |
D | Main.java | 27 a = foo.concat(bar).intern(); in main() 28 b = foo.concat(bar).intern(); in main() 36 a = ("f" + foo.substring(1,3)).intern(); in main()
|
/art/test/626-set-resolved-string/ |
D | info.txt | 2 not strongly intern the given string, the JIT will ensure that the
|
/art/runtime/ |
D | intern_table-inl.h | 88 for (auto& intern : table.set_) { in VisitInterns() 89 visitor(intern); in VisitInterns()
|
D | intern_table.cc | 428 for (auto& intern : table.set_) { in VisitRoots() local 429 buffered_visitor.VisitRoot(intern); in VisitRoots()
|
/art/runtime/native/ |
D | java_lang_String.cc | 120 FAST_NATIVE_METHOD(String, intern, "()Ljava/lang/String;"),
|
/art/test/100-reflect2/ |
D | expected.txt | 36 …oncat(java.lang.String), public native java.lang.String java.lang.String.intern(), public static j…
|