Home
last modified time | relevance | path

Searched refs:StringUtils (Results 1 – 25 of 41) sorted by relevance

12

/external/sl4a/Common/src/org/apache/commons/codec/binary/
DStringUtils.java33 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 …]
DBase64Codec.java334 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/
Dstring_utils_unittest.cc16 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/
DRuleConfiguration.java18 import org.codehaus.plexus.util.StringUtils;
52 rule.setIncludes(StringUtils.join(includes.iterator(), ":")); in setIncludes()
61 rule.setExcludes(StringUtils.join(excludes.iterator(), ":")); in setExcludes()
DAbstractAgentMojo.java19 import org.codehaus.plexus.util.StringUtils;
177 final String agentIncludes = StringUtils.join(getIncludes() in createAgentOptions()
182 final String agentExcludes = StringUtils.join(getExcludes() in createAgentOptions()
DFileFilter.java21 import org.codehaus.plexus.util.StringUtils;
84 pattern = StringUtils.join(patterns.iterator(), ","); in buildPattern()
/external/smali/baksmali/src/main/java/org/jf/baksmali/Renderers/
DCharRenderer.java32 import org.jf.util.StringUtils;
39 StringUtils.writeEscapedChar(writer, val); in writeTo()
/external/smali/smalidea/src/test/java/org/jf/smalidea/util/
DStringUtilsTest.java40 String parsedString = StringUtils.parseQuotedString("\"abcd\""); in testStringUtilsBasic()
46 String parsedString = StringUtils.parseQuotedString("\"a\\\\b\\nc\\uabcdd\""); in testStringUtilsQuotedChars()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DStringIdItem.java37 import org.jf.util.StringUtils;
58 StringUtils.escapeString(stringValue)); in makeAnnotator()
81 string = String.format("\"%s\"", StringUtils.escapeString(string));
DStringDataItem.java37 import org.jf.util.StringUtils;
57 … out.annotateTo(reader.getOffset() + 1, "data = \"%s\"", StringUtils.escapeString(value)); in makeAnnotator()
DHeaderItem.java37 import org.jf.util.StringUtils;
180 out.annotate(8, "magic: %s", StringUtils.escapeString(magicBuilder.toString())); in makeAnnotator()
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/Debug/
DSetSourceFileMethodItem.java36 import org.jf.util.StringUtils;
56 StringUtils.writeEscapedString(writer, sourceFile); in writeTo()
/external/smali/smalidea/src/main/java/org/jf/smalidea/dexlib/
DSmalideaMethodParameter.java40 import org.jf.smalidea.util.StringUtils;
58 return StringUtils.parseQuotedString(psiParameter.getName()); in getName()
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
DReferenceFormatter.java35 import org.jf.util.StringUtils;
42 StringUtils.writeEscapedString(writer, item); in writeStringReference()
DClassDefinition.java42 import org.jf.util.StringUtils;
143 StringUtils.writeEscapedString(writer, sourceFile); in writeSourceFile()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DReferenceUtil.java35 import org.jf.util.StringUtils;
140 …return String.format("\"%s\"", StringUtils.escapeString(((StringReference)reference).getString())); in getReferenceString()
/external/smali/smalidea/src/main/java/org/jf/smalidea/dexlib/instruction/
DSmalideaInstruction.java47 import org.jf.smalidea.util.StringUtils;
180 return new ImmutableStringReference(StringUtils.parseQuotedString( in getReference()
/external/smali/smalidea/src/main/java/org/jf/smalidea/util/
DStringUtils.java41 public class StringUtils { class
/external/smali/util/src/main/java/org/jf/util/
DStringUtils.java37 public class StringUtils { class
/external/antlr/antlr-3.4/gunit-maven-plugin/src/main/java/org/antlr/mojo/antlr3/
DGUnitExecuteMojo.java26 import org.codehaus.plexus.util.StringUtils;
295 String scriptBaseName = StringUtils.chompLast( FileUtils.basename( script.getName() ), "." ); in performExecution()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.ecf.identity_3.1.0.v20100529-0735.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/owasp/sanitizer/lib/commons-codec-1.4/
Dcommons-codec-1.4.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/robolectric/v1/lib/main/
Dcommons-codec-1.6.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/guice/lib/build/
Dspring-core.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/springframework/ org/ ...
/external/guice/extensions/persist/lib/
Dantlr-2.7.5h3.jarMETA-INF/ META-INF/MANIFEST.MF antlr/ antlr/ActionElement.class ActionElement ...

12