Searched refs:BaseEncoding (Results 1 – 10 of 10) sorted by relevance
/external/guava/guava-gwt/src-super/com/google/common/io/super/com/google/common/io/ |
D | BaseEncoding.java | 125 public abstract class BaseEncoding { class 128 BaseEncoding() {} in BaseEncoding() method in BaseEncoding 244 public abstract BaseEncoding omitPadding(); in omitPadding() 254 public abstract BaseEncoding withPadChar(char padChar); in withPadChar() 266 public abstract BaseEncoding withSeparator(String separator, int n); in withSeparator() 276 public abstract BaseEncoding upperCase(); in upperCase() 286 public abstract BaseEncoding lowerCase(); in lowerCase() 288 private static final BaseEncoding BASE64 = new StandardBaseEncoding( 304 public static BaseEncoding base64() { in base64() 308 private static final BaseEncoding BASE64_URL = new StandardBaseEncoding( [all …]
|
/external/guava/guava/src/com/google/common/io/ |
D | BaseEncoding.java | 133 public abstract class BaseEncoding { class 136 BaseEncoding() {} in BaseEncoding() method in BaseEncoding 341 public abstract BaseEncoding omitPadding(); 351 public abstract BaseEncoding withPadChar(char padChar); 363 public abstract BaseEncoding withSeparator(String separator, int n); 373 public abstract BaseEncoding upperCase(); 383 public abstract BaseEncoding lowerCase(); 385 private static final BaseEncoding BASE64 = new StandardBaseEncoding( 401 public static BaseEncoding base64() { 405 private static final BaseEncoding BASE64_URL = new StandardBaseEncoding( [all …]
|
D | ByteSource.java | 560 + Ascii.truncate(BaseEncoding.base16().encode(bytes), 30, "...") + ")"; in toString()
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | BaseEncodingTest.java | 17 import static com.google.common.io.BaseEncoding.base16; 18 import static com.google.common.io.BaseEncoding.base32; 19 import static com.google.common.io.BaseEncoding.base32Hex; 20 import static com.google.common.io.BaseEncoding.base64; 28 import com.google.common.io.BaseEncoding.DecodingException; 74 BaseEncoding separated = base64().withSeparator("\n", 3); in testAtMostOneSeparator() 143 BaseEncoding enc = base64().withPadChar('~'); in testBase64AlternatePadding() 155 BaseEncoding enc = base64().withPadChar('~'); in testBase64StreamingAlternatePadding() 166 BaseEncoding enc = base64().omitPadding(); in testBase64OmitPadding() 178 BaseEncoding enc = base64().omitPadding(); in testBase64StreamingOmitPadding() [all …]
|
D | PackageSanityTests.java | 32 setDefault(BaseEncoding.class, BaseEncoding.base64()); in PackageSanityTests()
|
/external/guava/guava-gwt/test-super/com/google/common/io/super/com/google/common/io/ |
D | BaseEncodingTest.java | 17 import static com.google.common.io.BaseEncoding.base16; 18 import static com.google.common.io.BaseEncoding.base32; 19 import static com.google.common.io.BaseEncoding.base32Hex; 20 import static com.google.common.io.BaseEncoding.base64; 27 import com.google.common.io.BaseEncoding.DecodingException; 68 BaseEncoding separated = base64().withSeparator("\n", 3); in testAtMostOneSeparator() 125 BaseEncoding enc = base64().withPadChar('~'); in testBase64AlternatePadding() 136 BaseEncoding enc = base64().omitPadding(); in testBase64OmitPadding() 167 BaseEncoding enc = base32().withPadChar('~'); in testBase32AlternatePadding() 244 BaseEncoding encoding, String decoded, String encoded) { in testEncodingWithCasing() [all …]
|
/external/guava/guava-tests/test/com/google/common/hash/ |
D | HashCodeTest.java | 19 import static com.google.common.io.BaseEncoding.base16; 22 import com.google.common.io.BaseEncoding; 173 HashCode.fromBytes(BaseEncoding.base16().lowerCase().decode(hash1.toString())); in testRoundTripHashCodeUsingBaseEncoding() 216 BaseEncoding.base16().lowerCase().decode(string)).toString()); in testRoundTrip()
|
/external/skia/experimental/PdfViewer/pdfparser/native/pdfapi/ |
D | SkPdfEncodingDictionary_autogen.cpp | 23 SkString SkPdfEncodingDictionary::BaseEncoding(SkPdfNativeDoc* doc) { in BaseEncoding() function in SkPdfEncodingDictionary
|
D | SkPdfEncodingDictionary_autogen.h | 523 SkString BaseEncoding(SkPdfNativeDoc* doc);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | MapsCollectionTest.java | 39 import com.google.common.io.BaseEncoding; 476 return BaseEncoding.base64().encode(str.getBytes(Charsets.UTF_8.name())); in encode() 486 return new String(BaseEncoding.base64().decode(input), Charsets.UTF_8.name());
|