Home
last modified time | relevance | path

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/
DBaseEncoding.java125 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/
DBaseEncoding.java133 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 …]
DByteSource.java560 + Ascii.truncate(BaseEncoding.base16().encode(bytes), 30, "...") + ")"; in toString()
/external/guava/guava-tests/test/com/google/common/io/
DBaseEncodingTest.java17 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 …]
DPackageSanityTests.java32 setDefault(BaseEncoding.class, BaseEncoding.base64()); in PackageSanityTests()
/external/guava/guava-gwt/test-super/com/google/common/io/super/com/google/common/io/
DBaseEncodingTest.java17 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/
DHashCodeTest.java19 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/
DSkPdfEncodingDictionary_autogen.cpp23 SkString SkPdfEncodingDictionary::BaseEncoding(SkPdfNativeDoc* doc) { in BaseEncoding() function in SkPdfEncodingDictionary
DSkPdfEncodingDictionary_autogen.h523 SkString BaseEncoding(SkPdfNativeDoc* doc);
/external/guava/guava-tests/test/com/google/common/collect/
DMapsCollectionTest.java39 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());