/libcore/ojluni/src/test/java/lang/String/CompactString/ |
D | Trim.java | 48 { " \t \t".trim(), "" }, in trims() 49 { "\t \t ".trim(), "" }, in trims() 50 { "\t A B C\t ".trim(), "A B C" }, in trims() 51 { " \t A B C \t".trim(), "A B C" }, in trims() 52 { "\t \uFF21 \uFF22 \uFF23\t ".trim(), "\uFF21 \uFF22 \uFF23" }, in trims() 53 { " \t \uFF21 \uFF22 \uFF23 \t".trim(), "\uFF21 \uFF22 \uFF23" }, in trims() 54 { " \t \uFF41 \uFF42 \uFF43 \t".trim(), "\uFF41 \uFF42 \uFF43" }, in trims() 55 { " \t A\uFF21 B\uFF22 C\uFF23 \t".trim(), in trims()
|
/libcore/ojluni/src/test/java/util/Properties/ |
D | PropertiesEntrySetTest.java | 111 assertTrue(aEntrySet.toString().trim().startsWith("[")); in testToString() 114 assertTrue(aEntrySet.toString().trim().endsWith("]")); in testToString() 121 assertTrue(bEntrySet.toString().trim().startsWith("[")); in testToString() 124 assertTrue(bEntrySet.toString().trim().endsWith("]")); in testToString() 133 assertTrue(bEntrySet.toString().trim().startsWith("[")); in testToString() 136 assertTrue(bEntrySet.toString().trim().endsWith("]")); in testToString() 141 assertTrue(bEntrySet.toString().trim().startsWith("[")); in testToString() 143 assertTrue(bEntrySet.toString().trim().endsWith("]")); in testToString()
|
/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/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/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()
|
/libcore/ojluni/src/test/java/text/testlib/ |
D | HexDumpReader.java | 57 line = line.trim(); in getStreamFromHexDump() 67 line = line.substring(0, x).trim(); in getStreamFromHexDump()
|
/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/ojluni/src/main/java/sun/security/util/ |
D | SecurityProperties.java | 79 token = token.trim(); in includedInExceptions()
|
D | AbstractAlgorithmConstraints.java | 66 algorithmsInProperty[i] = algorithmsInProperty[i].trim(); in getAlgorithms()
|
D | DisabledAlgorithmConstraints.java | 248 constraintEntry = constraintEntry.trim(); in Constraints() 277 entry = entry.trim(); in Constraints()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | ProviderTest.java | 152 if (!"value 1".equals(p.getProperty("Property 1").trim()) || in testPutAllMap() 153 !"attrValue".equals(p.getProperty("serviceName.algName attrName").trim()) || in testPutAllMap() 154 … !"standardName".equals(p.getProperty("Alg.Alias.engineClassName.aliasName").trim()) || in testPutAllMap() 155 !"aaa.bbb.ccc.ddd".equals(p.getProperty("MessageDigest.SHA-1").trim()) ) { in testPutAllMap() 290 .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 | 557 return nextToInternal(excluded).trim(); in nextTo() 564 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()
|
/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/ojluni/src/main/java/java/util/logging/ |
D | LogManager.java | 1366 hands = hands.trim(); in parseClassNames() 1382 word = word.trim(); in parseClassNames() 1476 return val.trim(); in getStringProperty() 1488 return Integer.parseInt(val.trim()); in getIntProperty() 1519 Level l = Level.findLevel(val.trim()); in getLevelProperty()
|
/libcore/ojluni/src/main/java/sun/security/jca/ |
D | ProviderList.java | 170 entry = entry.trim(); 182 String argument = entry.substring(k + 1).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/test/java/lang/invoke/ |
D | PermuteArgsTest.java | 127 String mhName = arg.substring(0, k).trim(); in main() 326 s = s.trim(); in testOnePermutation() 333 s = s.substring(k).trim(); in testOnePermutation()
|
/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()
|
/libcore/ojluni/src/tools/build/tools/spp/ |
D | Spp.java | 196 } else if (ln.trim().startsWith("// ##")) { in spp()
|