/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 …]
|
/external/libbrillo/brillo/strings/ |
D | string_utils_unittest.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()
|
/external/r8/src/main/java/com/android/tools/r8/code/ |
D | ConstWideHigh16.java | 10 import com.android.tools.r8.utils.StringUtils; 43 return formatString("v" + AA + ", 0x" + StringUtils.hexString(decodedValue(), 16) + in toString() 48 return formatSmaliString("v" + AA + ", 0x" + StringUtils.hexString(decodedValue(), 16) + in toSmaliString()
|
D | ConstWide32.java | 10 import com.android.tools.r8.utils.StringUtils; 44 return formatString("v" + AA + ", 0x" + StringUtils.hexString(decodedValue(), 16) + in toString() 50 "v" + AA + ", 0x" + StringUtils.hexString(decodedValue(), 16) + " # " + decodedValue()); in toSmaliString()
|
D | Const4.java | 10 import com.android.tools.r8.utils.StringUtils; 44 return formatString("v" + A + ", 0x" + StringUtils.hexString(decodedValue(), 1) + in toString() 49 return formatSmaliString("v" + A + ", 0x" + StringUtils.hexString(decodedValue(), 2) + in toSmaliString()
|
D | Const.java | 10 import com.android.tools.r8.utils.StringUtils; 44 return formatString("v" + AA + ", 0x" + StringUtils.hexString(decodedValue(), 8) + in toString() 49 return formatSmaliString("v" + AA + ", 0x" + StringUtils.hexString(decodedValue(), 8) + in toSmaliString()
|
D | ConstWide16.java | 10 import com.android.tools.r8.utils.StringUtils; 44 return formatString("v" + AA + ", 0x" + StringUtils.hexString(decodedValue(), 16) + in toString() 50 "v" + AA + ", 0x" + StringUtils.hexString(decodedValue(), 16) + "L # " + decodedValue()); in toSmaliString()
|
D | ConstWide.java | 10 import com.android.tools.r8.utils.StringUtils; 44 return formatString("v" + AA + ", 0x" + StringUtils.hexString(decodedValue(), 16) + in toString() 49 return formatSmaliString("v" + AA + ", 0x" + StringUtils.hexString(decodedValue(), 16) + in toSmaliString()
|
D | ConstHigh16.java | 10 import com.android.tools.r8.utils.StringUtils; 44 return formatString("v" + AA + ", 0x" + StringUtils.hexString(decodedValue(), 8) + in toString() 49 return formatSmaliString("v" + AA + ", 0x" + StringUtils.hexString(decodedValue(), 8) + in toSmaliString()
|
D | FillArrayDataPayload.java | 9 import com.android.tools.r8.utils.StringUtils; 85 builder.append(StringUtils.hexString(element_width, 1)); in toSmaliString() 97 builder.append(StringUtils.hexString(value, 2)); in toSmaliString() 113 builder.append(StringUtils.hexString(value, element_width * 2)); in toSmaliString()
|
D | Instruction.java | 17 import com.android.tools.r8.utils.StringUtils; 148 StringUtils.appendLeftPadded(builder, Integer.toString(getOffset()), 6); in formatString() 150 StringUtils.appendRightPadded(builder, getName(), 20); in formatString() 159 StringUtils.appendRightPadded(builder, getSmaliName(), 20); in formatSmaliString()
|
D | PackedSwitchPayload.java | 8 import com.android.tools.r8.utils.StringUtils; 88 StringUtils.appendLeftPadded(builder, (first_key + i) + " -> " + targets[i] + "\n", 20); in toString() 98 builder.append(StringUtils.hexString(first_key, 8)); in toSmaliString()
|
D | SparseSwitchPayload.java | 8 import com.android.tools.r8.utils.StringUtils; 94 StringUtils.appendLeftPadded(builder, keys[i] + " -> " + targets[i] + "\n", 20); in toString() 107 builder.append(StringUtils.hexString(keys[i], 8)); in toSmaliString()
|
/external/r8/src/main/java/com/android/tools/r8/ir/code/ |
D | DebugLocalsChange.java | 10 import com.android.tools.r8.utils.StringUtils; 79 StringUtils.append(builder, ending.int2ReferenceEntrySet()); in toString() 81 StringUtils.append(builder, starting.int2ReferenceEntrySet()); in toString()
|
/external/r8/src/test/java/com/android/tools/r8/compatdx/ |
D | CompatDxTests.java | 17 import com.android.tools.r8.utils.StringUtils; 18 import com.android.tools.r8.utils.StringUtils.BraceType; 164 System.out.println("running: d8 " + StringUtils.join(d8Args, " ")); in runDexerWithOutput() 172 System.out.println("running: dx " + StringUtils.join(dxArgs, " ")); in runDexerWithOutput() 185 StringUtils.join(dxFiles, "\n", BraceType.NONE, (file) -> in runDexerWithOutput() 187 StringUtils.join(d8Files, "\n", BraceType.NONE, (file) -> in runDexerWithOutput()
|
/external/r8/src/main/java/com/android/tools/r8/shaking/ |
D | ProguardClassSpecification.java | 7 import com.android.tools.r8.utils.StringUtils; 256 StringUtils.appendNonEmpty(builder, " @", classAnnotation, null); in toString() 257 StringUtils.appendNonEmpty(builder, " ", classAccessFlags, null); in toString() 258 StringUtils.appendNonEmpty(builder, " !", negatedClassAccessFlags.toString().replace(" ", " !"), in toString() 275 StringUtils.appendNonEmpty(builder, " @", inheritanceAnnotation, null); in toString()
|
D | ProguardConfigurationRule.java | 7 import com.android.tools.r8.utils.StringUtils; 41 StringUtils.appendNonEmpty(builder, ",", modifierString(), null); in toString()
|
/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/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()
|
/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/baksmali/src/main/java/org/jf/baksmali/Adaptors/ |
D | ReferenceFormatter.java | 35 import org.jf.util.StringUtils; 42 StringUtils.writeEscapedString(writer, item); in writeStringReference()
|