/external/sl4a/Common/src/org/apache/commons/codec/binary/ |
D | StringUtils.java | 33 public class StringUtils { class 48 return StringUtils.getBytesUnchecked(string, CharEncoding.ISO_8859_1); in getBytesIso8859_1() 64 return StringUtils.getBytesUnchecked(string, CharEncoding.US_ASCII); in getBytesUsAscii() 80 return StringUtils.getBytesUnchecked(string, CharEncoding.UTF_16); in getBytesUtf16() 96 return StringUtils.getBytesUnchecked(string, CharEncoding.UTF_16BE); in getBytesUtf16Be() 112 return StringUtils.getBytesUnchecked(string, CharEncoding.UTF_16LE); in getBytesUtf16Le() 128 return StringUtils.getBytesUnchecked(string, CharEncoding.UTF_8); in getBytesUtf8() 157 throw StringUtils.newIllegalStateException(charsetName, e); in getBytesUnchecked() 190 throw StringUtils.newIllegalStateException(charsetName, e); in newString() 205 return StringUtils.newString(bytes, CharEncoding.ISO_8859_1); in newStringIso8859_1() [all …]
|
D | Base64Codec.java | 334 String sep = StringUtils.newStringUtf8(lineSeparator); in Base64Codec() 653 return StringUtils.newStringUtf8(encodeBase64(binaryData, true)); in encodeBase64String() 679 return StringUtils.newStringUtf8(encodeBase64(binaryData, false, true)); in encodeBase64URLSafeString() 722 return decode(StringUtils.getBytesUtf8(pArray)); in decode() 917 return StringUtils.newStringUtf8(encode(pArray)); in encodeToString()
|
/external/libbrillo/brillo/strings/ |
D | string_utils_test.cc | 16 TEST(StringUtils, Split) { in TEST() argument 74 TEST(StringUtils, SplitAtFirst) { in TEST() argument 122 TEST(StringUtils, Join_String) { in TEST() argument 134 TEST(StringUtils, Join_Pair) { in TEST() argument 139 TEST(StringUtils, GetBytesAsString) { in TEST() argument 151 TEST(StringUtils, GetStringAsBytes) { in TEST() argument
|
/external/jacoco/jacoco-maven-plugin/src/org/jacoco/maven/ |
D | RuleConfiguration.java | 18 import org.codehaus.plexus.util.StringUtils; 52 rule.setIncludes(StringUtils.join(includes.iterator(), ":")); in setIncludes() 61 rule.setExcludes(StringUtils.join(excludes.iterator(), ":")); in setExcludes()
|
D | FileFilter.java | 21 import org.codehaus.plexus.util.StringUtils; 96 pattern = StringUtils.join(patterns.iterator(), ","); in buildPattern()
|
D | AbstractAgentMojo.java | 21 import org.codehaus.plexus.util.StringUtils; 189 .setIncludes(StringUtils.join(includes.iterator(), ":")); in createAgentOptions() 193 .setExcludes(StringUtils.join(excludes.iterator(), ":")); in createAgentOptions()
|
/external/opencensus-java/api/src/main/java/io/opencensus/internal/ |
D | StringUtils.java | 20 public final class StringUtils { class 41 private StringUtils() {} in StringUtils() method in StringUtils
|
/external/opencensus-java/api/src/main/java/io/opencensus/stats/ |
D | Measure.java | 22 import io.opencensus.internal.StringUtils; 110 StringUtils.isPrintableString(name) && name.length() <= NAME_MAX_LENGTH, in create() 155 StringUtils.isPrintableString(name) && name.length() <= NAME_MAX_LENGTH, in create()
|
D | View.java | 23 import io.opencensus.internal.StringUtils; 192 StringUtils.isPrintableString(name) && name.length() <= NAME_MAX_LENGTH, in create()
|
/external/smali/baksmali/src/main/java/org/jf/baksmali/Renderers/ |
D | CharRenderer.java | 32 import org.jf.util.StringUtils; 39 StringUtils.writeEscapedChar(writer, val); in writeTo()
|
/external/smali/smalidea/src/test/java/org/jf/smalidea/util/ |
D | StringUtilsTest.java | 40 String parsedString = StringUtils.parseQuotedString("\"abcd\""); in testStringUtilsBasic() 46 String parsedString = StringUtils.parseQuotedString("\"a\\\\b\\nc\\uabcdd\""); in testStringUtilsQuotedChars()
|
/external/opencensus-java/api/src/test/java/io/opencensus/internal/ |
D | StringUtilsTest.java | 32 assertTrue(StringUtils.isPrintableString("abcd")); in isPrintableString() 33 assertFalse(StringUtils.isPrintableString("\2ab\3cd")); in isPrintableString()
|
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/ |
D | ReferenceFormatter.java | 38 import org.jf.util.StringUtils; 45 StringUtils.writeEscapedString(writer, item); in writeStringReference() 53 StringUtils.writeEscapedString(writer, callSite.getMethodName()); in writeCallSiteReference()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/ |
D | StringIdItem.java | 37 import org.jf.util.StringUtils; 58 StringUtils.escapeString(stringValue)); in makeAnnotator() 81 string = String.format("\"%s\"", StringUtils.escapeString(string));
|
D | StringDataItem.java | 37 import org.jf.util.StringUtils; 57 … out.annotateTo(reader.getOffset() + 1, "data = \"%s\"", StringUtils.escapeString(value)); in makeAnnotator()
|
D | HeaderItem.java | 38 import org.jf.util.StringUtils; 173 out.annotate(8, "magic: %s", StringUtils.escapeString(magicBuilder.toString())); in makeAnnotator()
|
/external/opencensus-java/api/src/main/java/io/opencensus/tags/ |
D | TagValue.java | 20 import io.opencensus.internal.StringUtils; 77 return value.length() <= MAX_LENGTH && StringUtils.isPrintableString(value); in isValid()
|
D | TagKey.java | 20 import io.opencensus.internal.StringUtils; 82 return !name.isEmpty() && name.length() <= MAX_LENGTH && StringUtils.isPrintableString(name); in isValid()
|
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/Debug/ |
D | SetSourceFileMethodItem.java | 36 import org.jf.util.StringUtils; 56 StringUtils.writeEscapedString(writer, sourceFile); in writeTo()
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/dexlib/ |
D | SmalideaMethodParameter.java | 40 import org.jf.smalidea.util.StringUtils; 58 return StringUtils.parseQuotedString(psiParameter.getName()); in getName()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/ |
D | ReferenceUtil.java | 37 import org.jf.util.StringUtils; 184 StringUtils.writeEscapedString(writer, callSiteReference.getMethodName()); in writeCallSite() 209 …return String.format("\"%s\"", StringUtils.escapeString(((StringReference)reference).getString())); in getReferenceString()
|
D | EncodedValueUtils.java | 37 import org.jf.util.StringUtils; 102 … StringUtils.writeEscapedString(writer, ((StringEncodedValue)encodedValue).getValue()); in writeEncodedValue()
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/dexlib/instruction/ |
D | SmalideaInstruction.java | 47 import org.jf.smalidea.util.StringUtils; 180 return new ImmutableStringReference(StringUtils.parseQuotedString( in getReference()
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/util/ |
D | StringUtils.java | 41 public class StringUtils { class
|
/external/apache-commons-bcel/src/test/java/org/apache/bcel/generic/ |
D | JDKGenericDumpTestCase.java | 38 import org.apache.commons.lang3.StringUtils; 109 if (StringUtils.isNoneBlank(javaHome)) { in findJavaHomesOnWindows()
|