/libcore/luni/src/test/java/libcore/java/util/ |
D | EvilMapTest.java | 50 Map<String, String> evil = new EvilMap<String, String>(); in test_48055_HashMap() 53 HashMap<String, String> map = new HashMap<String, String>(evil); in test_48055_HashMap() 55 HashMap<String, String> map2 = new HashMap<String, String>(); in test_48055_HashMap() 60 Map<String, String> evil = new EvilMap<String, String>(); in test_48055_Hashtable() 63 Hashtable<String, String> map = new Hashtable<String, String>(evil); in test_48055_Hashtable() 65 Hashtable<String, String> map2 = new Hashtable<String, String>(); in test_48055_Hashtable() 70 Map<String, String> evil = new EvilMap<String, String>(); in test_48055_LinkedHashMap() 73 LinkedHashMap<String, String> map = new LinkedHashMap<String, String>(evil); in test_48055_LinkedHashMap() 75 LinkedHashMap<String, String> map2 = new LinkedHashMap<String, String>(); in test_48055_LinkedHashMap() 80 Map<String, String> evil = new EvilMap<String, String>(); in test_48055_WeakHashMap() [all …]
|
D | TreeMapTest.java | 45 TreeMap<String, String> map = new TreeMap<String, String>(); in testEntrySetSetValue() 50 Iterator<Entry<String, String>> iterator = map.entrySet().iterator(); in testEntrySetSetValue() 51 Entry<String, String> entryA = iterator.next(); in testEntrySetSetValue() 55 Entry<String, String> entryB = iterator.next(); in testEntrySetSetValue() 57 Entry<String, String> entryC = iterator.next(); in testEntrySetSetValue() 70 TreeMap<String, String> map = new TreeMap<String, String>(); in testSubMapEntrySetSetValue() 75 NavigableMap<String, String> subMap = map.subMap("A", true, "C", true); in testSubMapEntrySetSetValue() 77 Iterator<Entry<String, String>> iterator = subMap.entrySet().iterator(); in testSubMapEntrySetSetValue() 78 Entry<String, String> entryA = iterator.next(); in testSubMapEntrySetSetValue() 83 Entry<String, String> entryB = iterator.next(); in testSubMapEntrySetSetValue() [all …]
|
D | FormatterTest.java | 35 String.format(arabic, "12 %d 34", 1234567890)); in test_numberLocalization() 38 String.format(arabic, "12 %,d 34", 1234567890)); in test_numberLocalization() 41 String.format(arabic, "12 %.3e 34", 1.23)); in test_numberLocalization() 43 String.format(arabic, "12 %.3f 34", 1.23)); in test_numberLocalization() 45 String.format(arabic, "12 %.3g 34", 1.23)); in test_numberLocalization() 51 String.format(arabic, "12 %tT 34", c)); in test_numberLocalization() 53 assertEquals("1234", String.format(arabic, "1234")); in test_numberLocalization() 54 assertEquals("1234", String.format(arabic, "%s", "1234")); in test_numberLocalization() 55 assertEquals("1234", String.format(arabic, "%s", 1234)); in test_numberLocalization() 56 assertEquals("2322", String.format(arabic, "%o", 1234)); in test_numberLocalization() [all …]
|
D | TreeSetTest.java | 28 String s = "aced0005737200116a6176612e7574696c2e54726565536574dd98509395ed87" in testEmptySetSerialization() 30 TreeSet<String> set = new TreeSet<String>(); in testEmptySetSerialization() 31 new SerializationTester<TreeSet<String>>(set, s).test(); in testEmptySetSerialization() 35 String s = "aced0005737200116a6176612e7574696c2e54726565536574dd98509395ed87" in testSerializationWithComparator() 39 TreeSet<String> set = new TreeSet<String>(String.CASE_INSENSITIVE_ORDER); in testSerializationWithComparator() 42 new SerializationTester<NavigableSet<String>>(set, s) { in testSerializationWithComparator() 43 @Override protected void verify(NavigableSet<String> deserialized) { in testSerializationWithComparator() 50 String s = "aced0005737200116a6176612e7574696c2e54726565536574dd98509395ed87" in testSubSetSerialization() 54 TreeSet<String> set = new TreeSet<String>(String.CASE_INSENSITIVE_ORDER); in testSubSetSerialization() 59 final SortedSet<String> subSet = set.subSet("a", "c"); in testSubSetSerialization() [all …]
|
D | OptionalTest.java | 34 assertSame(Optional.<Integer>empty(), Optional.<String>empty()); in testEmpty_sameInstance() 35 assertSame(Optional.<String>empty(), Optional.<String>empty()); in testEmpty_sameInstance() 40 assertSame(Optional.<String>empty(), Optional.ofNullable(null)); in testEmpty_sameInstance() 44 Optional<String> empty = Optional.empty(); in testGet() 52 String foo = "foo"; in testGet() 53 Optional<String> optionalFoo = Optional.of(foo); in testGet() 58 Optional<String> empty = Optional.empty(); in testIsPresent() 61 Optional<String> optionalFoo = Optional.of("foo"); in testIsPresent() 64 assertFalse(Optional.<String>ofNullable(null).isPresent()); in testIsPresent() 68 Optional<String> empty = Optional.empty(); in testIfPresent() [all …]
|
/libcore/luni/src/test/java/libcore/libcore/util/ |
D | BasicLruCacheTest.java | 30 BasicLruCache<String, String> cache = newCreatingCache(); in testCreateOnCacheMiss() 31 String created = cache.get("aa"); in testCreateOnCacheMiss() 36 BasicLruCache<String, String> cache = newCreatingCache(); in testNoCreateOnCacheHit() 43 new BasicLruCache<String, String>(0); in testConstructorDoesNotAllowZeroCacheSize() 50 BasicLruCache<String, String> cache = new BasicLruCache<String, String>(3); in testCannotPutNullKey() 59 BasicLruCache<String, String> cache = new BasicLruCache<String, String>(3); in testCannotPutNullValue() 68 BasicLruCache<String, String> cache = new BasicLruCache<String, String>(1); in testEvictionWithSingletonCache() 75 List<String> expectedEvictionLog = new ArrayList<String>(); in testEntryEvictedWhenFull() 76 final List<String> evictionLog = new ArrayList<String>(); in testEntryEvictedWhenFull() 77 BasicLruCache<String, String> cache = new BasicLruCache<String, String>(3) { in testEntryEvictedWhenFull() [all …]
|
/libcore/luni/src/main/java/libcore/icu/ |
D | ICU.java | 38 private static final BasicLruCache<String, String> CACHED_PATTERNS = 39 new BasicLruCache<String, String>(8); 43 private static String[] isoCountries; 45 private static String[] isoLanguages; 53 public static String[] getISOLanguages() { in getISOLanguages() 63 public static String[] getISOCountries() { in getISOCountries() 85 private static void parseLangScriptRegionAndVariants(String string, in parseLangScriptRegionAndVariants() 86 String[] outputArray) { in parseLangScriptRegionAndVariants() 99 final String secondString = string.substring(first + 1); in parseLangScriptRegionAndVariants() 120 final String secondString = string.substring(first + 1, second); in parseLangScriptRegionAndVariants() [all …]
|
/libcore/luni/src/test/java/libcore/xml/ |
D | XmlPullParserFactoryTest.java | 67 new String[] { "libcore.xml.XmlPullParserFactoryTest$XmlPullParserStub" }, in testOverriding_customClassList() 68 new String[] { "libcore.xml.XmlPullParserFactoryTest$XmlSerializerStub" }); in testOverriding_customClassList() 76 new String[] { in testOverriding_customClassList() 79 new String[] { in testOverriding_customClassList() 90 … new String[] { "libcore.xml.XmlPullParserFactoryTest$XmlParserThatHatesAllFeatures" }, null); in testSetFeature_setsFeatureOnlyIfTrue() 102 TestXmlPullParserFactory(String[] parserClassList, String[] serializerClassList) { in TestXmlPullParserFactory() 109 for (String parserClass : parserClassList) { in TestXmlPullParserFactory() 115 for (String serializerClass : serializerClassList) { in TestXmlPullParserFactory() 127 public void setFeature(String name, boolean state) { in setFeature() 140 public void setFeature(String name, boolean state) throws IllegalArgumentException, in setFeature() [all …]
|
D | SaxTest.java | 40 @Override public void startElement(String uri, String localName, in testNoPrefixesNoNamespaces() 41 String qName, Attributes attributes) { in testNoPrefixesNoNamespaces() 53 @Override public void startElement(String uri, String localName, in testNoPrefixesNoNamespaces() 54 String qName, Attributes attributes) { in testNoPrefixesNoNamespaces() 68 @Override public void startElement(String uri, String localName, in testNoPrefixesYesNamespaces() 69 String qName, Attributes attributes) { in testNoPrefixesYesNamespaces() 81 @Override public void startElement(String uri, String localName, in testNoPrefixesYesNamespaces() 82 String qName, Attributes attributes) { in testNoPrefixesYesNamespaces() 100 @Override public void startElement(String uri, String localName, in testYesPrefixesYesNamespaces() 101 String qName, Attributes attributes) { in testYesPrefixesYesNamespaces() [all …]
|
/libcore/xml/src/main/java/org/xmlpull/v1/ |
D | XmlPullParser.java | 144 String NO_NAMESPACE = ""; 330 String [] TYPES = { 357 String FEATURE_PROCESS_NAMESPACES = 369 String FEATURE_REPORT_NAMESPACE_ATTRIBUTES = 390 String FEATURE_PROCESS_DOCDECL = 404 String FEATURE_VALIDATION = 420 void setFeature(String name, in setFeature() 433 boolean getFeature(String name); in getFeature() 443 void setProperty(String name, in setProperty() 456 Object getProperty(String name); in getProperty() [all …]
|
/libcore/ojluni/src/main/java/java/sql/ |
D | DatabaseMetaData.java | 104 String getURL() throws SQLException; in getURL() 112 String getUserName() throws SQLException; in getUserName() 174 String getDatabaseProductName() throws SQLException; in getDatabaseProductName() 182 String getDatabaseProductVersion() throws SQLException; in getDatabaseProductVersion() 190 String getDriverName() throws SQLException; in getDriverName() 198 String getDriverVersion() throws SQLException; in getDriverVersion() 310 String getIdentifierQuoteString() throws SQLException; in getIdentifierQuoteString() 320 String getSQLKeywords() throws SQLException; in getSQLKeywords() 330 String getNumericFunctions() throws SQLException; in getNumericFunctions() 340 String getStringFunctions() throws SQLException; in getStringFunctions() [all …]
|
D | CallableStatement.java | 174 String getString(int parameterIndex) throws SQLException; in getString() 430 Object getObject(int parameterIndex, java.util.Map<String,Class<?>> map) in getObject() argument 621 void registerOutParameter (int parameterIndex, int sqlType, String typeName) in registerOutParameter() 660 void registerOutParameter(String parameterName, int sqlType) in registerOutParameter() 695 void registerOutParameter(String parameterName, int sqlType, int scale) in registerOutParameter() 742 void registerOutParameter (String parameterName, int sqlType, String typeName) in registerOutParameter() 781 void setURL(String parameterName, java.net.URL val) throws SQLException; in setURL() 797 void setNull(String parameterName, int sqlType) throws SQLException; in setNull() 814 void setBoolean(String parameterName, boolean x) throws SQLException; in setBoolean() 831 void setByte(String parameterName, byte x) throws SQLException; in setByte() [all …]
|
/libcore/ojluni/annotations/mmodule/sun/util/locale/ |
D | LanguageTag.annotated.java | 42 public static sun.util.locale.LanguageTag parse(java.lang.String languageTag, sun.util.locale.Parse… in parse() 46 public java.lang.String getLanguage() { throw new RuntimeException("Stub!"); } in getLanguage() 48 public java.util.List<java.lang.String> getExtlangs() { throw new RuntimeException("Stub!"); } in getExtlangs() 50 public java.lang.String getScript() { throw new RuntimeException("Stub!"); } in getScript() 52 public java.lang.String getRegion() { throw new RuntimeException("Stub!"); } in getRegion() 54 public java.util.List<java.lang.String> getVariants() { throw new RuntimeException("Stub!"); } in getVariants() 56 public java.util.List<java.lang.String> getExtensions() { throw new RuntimeException("Stub!"); } in getExtensions() 58 public java.lang.String getPrivateuse() { throw new RuntimeException("Stub!"); } in getPrivateuse() 61 public static boolean isLanguage(java.lang.String s) { throw new RuntimeException("Stub!"); } in isLanguage() 63 public static boolean isExtlang(java.lang.String s) { throw new RuntimeException("Stub!"); } in isExtlang() [all …]
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | String.java | 32 public final class String class 34 java.lang.Comparable<java.lang.String>, 37 public String() { in String() method in String 41 public String(java.lang.String original) { in String() method in String 45 public String(char[] value) { in String() method in String 49 public String(char[] value, int offset, int count) { in String() method in String 53 public String(int[] codePoints, int offset, int count) { in String() method in String 58 public String(byte[] ascii, int hibyte, int offset, int count) { in String() method in String 63 public String(byte[] ascii, int hibyte) { in String() method in String 67 public String(byte[] bytes, int offset, int length, java.lang.String charsetName) in String() method in String [all …]
|
/libcore/luni/src/main/java/org/w3c/dom/ |
D | Element.java | 45 public String getTagName(); in getTagName() 53 public String getAttribute(String name); in getAttribute() 77 public void setAttribute(String name, in setAttribute() 78 String value) in setAttribute() 96 public void removeAttribute(String name) in removeAttribute() 109 public Attr getAttributeNode(String name); in getAttributeNode() 161 public NodeList getElementsByTagName(String name); in getElementsByTagName() 179 public String getAttributeNS(String namespaceURI, in getAttributeNS() 180 String localName) in getAttributeNS() 225 public void setAttributeNS(String namespaceURI, in setAttributeNS() [all …]
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | HttpCookie.java | 34 public HttpCookie(java.lang.String name, java.lang.String value) { in HttpCookie() 38 private HttpCookie(java.lang.String name, java.lang.String value, java.lang.String header) { in HttpCookie() 42 public static java.util.List<java.net.HttpCookie> parse(java.lang.String header) { in parse() 47 java.lang.String header, boolean retainHeader) { in parse() 55 public void setComment(java.lang.String purpose) { in setComment() 59 public java.lang.String getComment() { in getComment() 63 public void setCommentURL(java.lang.String purpose) { in setCommentURL() 67 public java.lang.String getCommentURL() { in getCommentURL() 79 public void setPortlist(java.lang.String ports) { in setPortlist() 83 public java.lang.String getPortlist() { in getPortlist() [all …]
|
D | URI.java | 38 public URI(java.lang.String str) throws java.net.URISyntaxException { in URI() 43 java.lang.String scheme, in URI() 44 java.lang.String userInfo, in URI() 45 java.lang.String host, in URI() 47 java.lang.String path, in URI() 48 java.lang.String query, in URI() 49 java.lang.String fragment) in URI() 55 java.lang.String scheme, in URI() 56 java.lang.String authority, in URI() 57 java.lang.String path, in URI() [all …]
|
/libcore/luni/src/test/java/tests/support/ |
D | DatabaseCreator.java | 28 public static final String defaultString = "string"; 30 public static final String defaultCharacter = "chr"; 34 public static final String TEST_TABLE1 = "table1"; 36 public static final String TEST_TABLE2 = "table2"; 38 public static final String TEST_TABLE3 = "table3"; 40 public static final String TEST_TABLE4 = "table4"; 42 public static final String SALESPEOPLE_TABLE = "Salespeople"; 44 public static final String CUSTOMERS_TABLE = "Customers"; 46 public static final String ORDERS_TABLE = "Orders"; 48 public static final String PARENT_TABLE = "test_names"; [all …]
|
/libcore/luni/src/main/java/libcore/timezone/ |
D | TimeZoneDataFiles.java | 29 private static final String ANDROID_ROOT_ENV = "ANDROID_ROOT"; 30 private static final String ANDROID_RUNTIME_ROOT_ENV = "ANDROID_RUNTIME_ROOT"; 31 private static final String ANDROID_TZDATA_ROOT_ENV = "ANDROID_TZDATA_ROOT"; 32 private static final String ANDROID_DATA_ENV = "ANDROID_DATA"; 48 public static String[] getTimeZoneFilePaths(String fileName) { in getTimeZoneFilePaths() 49 return new String[] { in getTimeZoneFilePaths() 59 public static String getDataTimeZoneRootDir() { in getDataTimeZoneRootDir() 64 public static String getDataTimeZoneFile(String fileName) { in getDataTimeZoneFile() 68 public static String getTimeZoneModuleFile(String fileName) { in getTimeZoneModuleFile() 74 public static String getRuntimeModuleTzVersionFile() { in getRuntimeModuleTzVersionFile() [all …]
|
/libcore/ojluni/annotations/hiddenapi/sun/misc/ |
D | MessageUtils.java | 37 public static java.lang.String subst(java.lang.String patt, java.lang.String arg) { in subst() 41 public static java.lang.String subst( in subst() 42 java.lang.String patt, java.lang.String arg1, java.lang.String arg2) { in subst() 46 public static java.lang.String subst( in subst() 47 java.lang.String patt, in subst() 48 java.lang.String arg1, in subst() 49 java.lang.String arg2, in subst() 50 java.lang.String arg3) { in subst() 54 public static java.lang.String subst(java.lang.String patt, java.lang.String[] args) { in subst() 58 public static java.lang.String substProp(java.lang.String propName, java.lang.String arg) { in substProp() [all …]
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | MessageUtils.java | 42 public static String subst(String patt, String arg) { in subst() 43 String args[] = { arg }; in subst() 47 public static String subst(String patt, String arg1, String arg2) { in subst() 48 String args[] = { arg1, arg2 }; in subst() 52 public static String subst(String patt, String arg1, String arg2, in subst() 53 String arg3) { in subst() 54 String args[] = { arg1, arg2, arg3 }; in subst() 58 public static String subst(String patt, String args[]) { in subst() 81 public static String substProp(String propName, String arg) { in substProp() 85 public static String substProp(String propName, String arg1, String arg2) { in substProp() [all …]
|
/libcore/ojluni/src/main/java/java/util/jar/ |
D | Pack200.java | 259 String SEGMENT_LIMIT = "pack.segment.limit"; 273 String KEEP_FILE_ORDER = "pack.keep.file.order"; 290 String EFFORT = "pack.effort"; 311 String DEFLATE_HINT = "pack.deflate.hint"; 336 String MODIFICATION_TIME = "pack.modification.time"; 364 String PASS_FILE_PFX = "pack.pass.file."; 390 String UNKNOWN_ATTRIBUTE = "pack.unknown.attribute"; 422 String CLASS_ATTRIBUTE_PFX = "pack.class.attribute."; 433 String FIELD_ATTRIBUTE_PFX = "pack.field.attribute."; 444 String METHOD_ATTRIBUTE_PFX = "pack.method.attribute."; [all …]
|
/libcore/luni/src/main/java/org/xml/sax/ext/ |
D | DefaultHandler2.java | 54 public void startDTD (String name, String publicId, String systemId) in startDTD() 62 public void startEntity (String name) in startEntity() 66 public void endEntity (String name) in endEntity() 77 public void attributeDecl (String eName, String aName, in attributeDecl() 78 String type, String mode, String value) in attributeDecl() 82 public void elementDecl (String name, String model) in elementDecl() 86 public void externalEntityDecl (String name, in externalEntityDecl() 87 String publicId, String systemId) in externalEntityDecl() 91 public void internalEntityDecl (String name, String value) in internalEntityDecl() 116 public InputSource getExternalSubset (String name, String baseURI) in getExternalSubset() [all …]
|
/libcore/luni/src/main/java/org/xml/sax/ |
D | Attributes.java | 103 public abstract String getURI (int index); in getURI() 115 public abstract String getLocalName (int index); in getLocalName() 127 public abstract String getQName (int index); in getQName() 150 public abstract String getType (int index); in getType() 166 public abstract String getValue (int index); in getValue() 184 public int getIndex (String uri, String localName); in getIndex() 194 public int getIndex (String qName); in getIndex() 210 public abstract String getType (String uri, String localName); in getType() 224 public abstract String getType (String qName); in getType() 239 public abstract String getValue (String uri, String localName); in getValue() [all …]
|
/libcore/dom/src/test/java/org/w3c/domts/ |
D | DOMTestFramework.java | 29 String feature, in hasFeature() 30 String version); in hasFeature() 34 void fail(DOMTestCase test, String assertID); in fail() 36 void assertTrue(DOMTestCase test, String assertID, boolean actual); in assertTrue() 38 void assertFalse(DOMTestCase test, String assertID, boolean actual); in assertFalse() 40 void assertNull(DOMTestCase test, String assertID, Object actual); in assertNull() 42 void assertNotNull(DOMTestCase test, String assertID, Object actual); in assertNotNull() 46 String assertID, in assertSame() 52 String assertID, in assertInstanceOf() 58 String assertID, in assertSize() [all …]
|