/libcore/luni/src/test/java/libcore/java/util/logging/ |
D | OldXMLFormatterTest.java | 61 "</log>", formatter.getTail(null).trim()); in testGetTail() 63 formatter.getTail(handler).trim()); in testGetTail() 66 "</log>", formatter.getTail(handler).trim()); in testGetTail()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | AbstractFileTypeDetector.java | 71 String type = s.substring(0, slash).trim().toLowerCase(Locale.ENGLISH); in parse() 76 subtype = subtype.trim().toLowerCase(Locale.ENGLISH); in parse()
|
D | UnixFileStore.java | 239 s = s.trim().toLowerCase(); in checkIfFeaturePresent()
|
/libcore/luni/src/main/java/libcore/util/ |
D | CollectionUtils.java | 37 final Iterable<? extends Reference<T>> iterable, final boolean trim) { in dereferenceIterable() argument 49 if (trim && next == null) { in dereferenceIterable()
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
D | CharsetDecoderTest.java | 50 assertEquals("Android", outBuffer.toString().trim()); in test_ByteArray_decode_no_offset() 66 assertEquals("Android", outBuffer.toString().trim()); in test_ByteArray_decode_with_offset() 76 assertEquals("Android", outBuffer.toString().trim()); in test_ByteArray_decode_with_offset_using_facade_method()
|
/libcore/ojluni/src/main/java/java/net/ |
D | HttpCookie.java | 168 name = name.trim(); in HttpCookie() 857 String name = namevaluePair.substring(0, index).trim(); in parseInternal() 858 String value = namevaluePair.substring(index + 1).trim(); in parseInternal() 880 name = namevaluePair.substring(0, index).trim(); in parseInternal() 881 value = namevaluePair.substring(index + 1).trim(); in parseInternal() 883 name = namevaluePair.trim(); in parseInternal()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | ProviderTest.java | 149 if (!"value 1".equals(p.getProperty("Property 1").trim()) || in testPutAllMap() 150 !"attrValue".equals(p.getProperty("serviceName.algName attrName").trim()) || in testPutAllMap() 151 … !"standardName".equals(p.getProperty("Alg.Alias.engineClassName.aliasName").trim()) || in testPutAllMap() 152 !"aaa.bbb.ccc.ddd".equals(p.getProperty("MessageDigest.SHA-1").trim()) ) { in testPutAllMap() 296 .trim()); in testPutObjectObject()
|
/libcore/ojluni/src/test/javax/xml/jaxp/transform/ |
D | XslSubstringTest.java | 100 return xmlResultString.toString().trim(); in testTransform()
|
/libcore/json/src/main/java/org/json/ |
D | JSONTokener.java | 558 return nextToInternal(excluded).trim(); in nextTo() 565 return nextToInternal(String.valueOf(excluded)).trim(); in nextTo()
|
/libcore/luni/src/test/java/libcore/xml/ |
D | SimpleParserTest.java | 88 String s = new String(ch, start, length).trim(); 203 String s = new String(ch, start, length).trim(); in testEntityResolver()
|
D | ExpatSaxParserTest.java | 334 String s = new String(ch, start, length).trim(); in characters() 584 assertEquals("bob", handler.text.toString().trim()); in testExternalEntity()
|
/libcore/ojluni/src/main/java/java/security/ |
D | Security.java | 698 name = name.trim(); // could be a class name with trailing ws in getProperty() 973 algName = filterKey.substring(algIndex + 1).trim(); in getFilterComponents() 988 attrName = filterKey.substring(attrIndex + 1).trim(); in getFilterComponents()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldStringTest.java | 363 assertEquals("Incorrect string returned", hw1, " HelloWorld ".trim()); in test_trim() 364 assertTrue("Incorrect string returned", " ".trim().equals("")); in test_trim()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | CurrencyTest.java | 378 String d = dat.next().trim(); in test_getCurrencyCode() 413 String d = dat.next().trim(); in test_toString()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | DisabledAlgorithmConstraints.java | 248 constraintEntry = constraintEntry.trim(); in Constraints() 277 entry = entry.trim(); in Constraints()
|
/libcore/ojluni/src/main/java/sun/security/jca/ |
D | ProviderList.java | 170 entry = entry.trim(); 182 String argument = entry.substring(k + 1).trim();
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
D | SSLSocketFactory.java | 168 s = s.trim(); in getSecurityProperty()
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | FilesSetup.java | 161 return new String(input, "UTF-8").trim(); in readFromInputStream()
|
/libcore/luni/src/test/java/tests/java/sql/ |
D | DatabaseMetaDataTest.java | 564 .getDatabaseProductName().trim())); in test_getDatabaseProductName() 584 .getDatabaseProductVersion().trim())); in test_getDatabaseProductVersion() 647 assertTrue("Incorrect driver name", driverName.trim().startsWith( in test_getDriverName() 667 .getDriverVersion().trim())); in test_getDriverVersion() 903 .trim())); in test_getSQLKeywords() 981 .getSearchStringEscape().trim())); in test_getSearchStringEscape()
|
D | DatabaseMetaDataNotSupportedTest.java | 231 .getCatalogSeparator().trim())); in test_getCatalogSeparator() 239 .getCatalogSeparator().trim())); in test_getCatalogTerm() 412 .getProcedureTerm().trim())); in test_getProcedureTerm()
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | AVA.java | 1018 typeAndValue.append(sbuffer.toString().trim()); in toRFC2253CanonicalString() 1250 keyword = keyword.trim(); in getOID() 1314 keywordString = keywordString.trim(); in getKeyword()
|
/libcore/luni/src/main/java/javax/xml/xpath/ |
D | XPathFactoryFinder.java | 295 factoryClassName = factoryClassName.trim(); in loadFromServicesFile()
|
/libcore/luni/src/main/java/javax/xml/validation/ |
D | SchemaFactoryFinder.java | 361 factoryClassName = factoryClassName.trim(); in loadFromServicesFile()
|
/libcore/ojluni/src/main/java/java/util/ |
D | ServiceLoader.java | 262 ln = ln.trim(); in parseLine()
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
D | URLConnectionTest.java | 354 testString.equals(buf.trim())); 360 testString.equals(buf.trim())); 398 testString.equals(r.readLine().trim()));
|