Home
last modified time | relevance | path

Searched refs:base16 (Results 1 – 25 of 34) sorted by relevance

12

/external/guava/android/guava-tests/test/com/google/common/io/
DBaseEncodingTest.java18 import static com.google.common.io.BaseEncoding.base16;
325 testEncodingWithCasing(base16(), "", ""); in testBase16()
326 testEncodingWithCasing(base16(), "f", "66"); in testBase16()
327 testEncodingWithCasing(base16(), "fo", "666F"); in testBase16()
328 testEncodingWithCasing(base16(), "foo", "666F6F"); in testBase16()
329 testEncodingWithCasing(base16(), "foob", "666F6F62"); in testBase16()
330 testEncodingWithCasing(base16(), "fooba", "666F6F6261"); in testBase16()
331 testEncodingWithCasing(base16(), "foobar", "666F6F626172"); in testBase16()
335 assertSame(base16(), base16().upperCase()); in testBase16UpperCaseIsNoOp()
340 assertFailsToDecode(base16(), "\n\n", "Unrecognized character: 0xa"); in testBase16InvalidDecodings()
[all …]
/external/guava/guava-tests/test/com/google/common/io/
DBaseEncodingTest.java18 import static com.google.common.io.BaseEncoding.base16;
325 testEncodingWithCasing(base16(), "", ""); in testBase16()
326 testEncodingWithCasing(base16(), "f", "66"); in testBase16()
327 testEncodingWithCasing(base16(), "fo", "666F"); in testBase16()
328 testEncodingWithCasing(base16(), "foo", "666F6F"); in testBase16()
329 testEncodingWithCasing(base16(), "foob", "666F6F62"); in testBase16()
330 testEncodingWithCasing(base16(), "fooba", "666F6F6261"); in testBase16()
331 testEncodingWithCasing(base16(), "foobar", "666F6F626172"); in testBase16()
335 assertSame(base16(), base16().upperCase()); in testBase16UpperCaseIsNoOp()
340 assertFailsToDecode(base16(), "\n\n", "Unrecognized character: 0xa"); in testBase16InvalidDecodings()
[all …]
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/
DAesGcmHkdfAeadCrypterTest.java81 this.key = BaseEncoding.base16().lowerCase().decode(key); in withKey()
86 this.nonce = BaseEncoding.base16().lowerCase().decode(nonce); in withNonce()
91 this.aad = BaseEncoding.base16().lowerCase().decode(aad); in withAad()
96 this.plaintext = BaseEncoding.base16().lowerCase().decode(plaintext); in withPlaintext()
101 this.ciphertext = BaseEncoding.base16().lowerCase().decode(ciphertext); in withCiphertext()
/external/guava/guava-tests/test/com/google/common/hash/
DHashCodeTest.java19 import static com.google.common.io.BaseEncoding.base16;
172 assertEquals("7f8005ff0e", base16().lowerCase().encode(data)); in testToString()
185 HashCode hash2 = HashCode.fromBytes(BaseEncoding.base16().lowerCase().decode(hash1.toString())); in testRoundTripHashCodeUsingBaseEncoding()
227 HashCode.fromBytes(BaseEncoding.base16().lowerCase().decode(string)).toString()); in testRoundTrip()
DMacHashFunctionTest.java20 import static com.google.common.io.BaseEncoding.base16;
311 byte[] key = base16().lowerCase().decode("0102030405060708090a0b0c0d0e0f10111213141516171819"); in testRfc2202_hmacSha1_case4()
360 byte[] key = base16().lowerCase().decode("0102030405060708090a0b0c0d0e0f10111213141516171819"); in testRfc2202_hmacMd5_case4()
/external/guava/android/guava-tests/test/com/google/common/hash/
DHashCodeTest.java19 import static com.google.common.io.BaseEncoding.base16;
172 assertEquals("7f8005ff0e", base16().lowerCase().encode(data)); in testToString()
185 HashCode hash2 = HashCode.fromBytes(BaseEncoding.base16().lowerCase().decode(hash1.toString())); in testRoundTripHashCodeUsingBaseEncoding()
227 HashCode.fromBytes(BaseEncoding.base16().lowerCase().decode(string)).toString()); in testRoundTrip()
DMacHashFunctionTest.java20 import static com.google.common.io.BaseEncoding.base16;
311 byte[] key = base16().lowerCase().decode("0102030405060708090a0b0c0d0e0f10111213141516171819"); in testRfc2202_hmacSha1_case4()
360 byte[] key = base16().lowerCase().decode("0102030405060708090a0b0c0d0e0f10111213141516171819"); in testRfc2202_hmacMd5_case4()
/external/ukey2/src/main/javatest/com/google/security/cryptauth/lib/securegcm/
DUkey2ShellCppWrapper.java145 BaseEncoding.base16().encode(authString), in confirmAuthString()
146 BaseEncoding.base16().encode(shellAuthString))); in confirmAuthString()
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DPathSubject.java320 System.out.println(BaseEncoding.base16().encode(actual)); in containsBytes()
321 System.out.println(BaseEncoding.base16().encode(bytes)); in containsBytes()
322 failWithActual("expected to contain bytes", BaseEncoding.base16().encode(bytes)); in containsBytes()
/external/opencensus-java/exporters/trace/instana/src/main/java/io/opencensus/exporter/trace/instana/
DInstanaExporterHandler.java77 return BaseEncoding.base16().lowerCase().encode(traceId.getBytes(), 0, 8); in encodeTraceId()
81 return BaseEncoding.base16().lowerCase().encode(spanId.getBytes()); in encodeSpanId()
/external/opencensus-java/contrib/log_correlation/log4j2/
DREADME.md72 * `opencensusTraceId` - the lowercase base16 encoding of the current trace ID
73 * `opencensusSpanId` - the lowercase base16 encoding of the current span ID
/external/opencensus-java/contrib/zpages/src/main/java/io/opencensus/contrib/zpages/
DTracezZPageHandler.java294 BaseEncoding.base16() in emitSpans()
333 BaseEncoding.base16().lowerCase().encode(spanContext.getTraceId().getBytes()), in emitSingleSpan()
334 BaseEncoding.base16().lowerCase().encode(spanContext.getSpanId().getBytes()), in emitSingleSpan()
335 BaseEncoding.base16() in emitSingleSpan()
/external/guava/android/guava-tests/benchmark/com/google/common/io/
DBaseEncodingBenchmark.java37 BASE16(BaseEncoding.base16());
/external/guava/guava-tests/benchmark/com/google/common/io/
DBaseEncodingBenchmark.java37 BASE16(BaseEncoding.base16());
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/net/
DIpSecManagerFacade.java325 byte[] cryptKey = BaseEncoding.base16().decode(cryptKeyHex.toUpperCase()); in ipSecCreateTransportModeTransform()
326 byte[] authKey = BaseEncoding.base16().decode(authKeyHex.toUpperCase()); in ipSecCreateTransportModeTransform()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsm16bitStorageTests.cpp1242 const char* base16; in addCompute16bitStorageUniform16To32Group() member
1279 specs["base16"] = cTypes[capIdx][tyIdx].base16; in addCompute16bitStorageUniform16To32Group()
1385 const char* base16; in addCompute16bitStorageUniform16To32Group() member
1467 specs["base16"] = cTypes[capIdx][tyIdx].base16; in addCompute16bitStorageUniform16To32Group()
1786 const char* base16; in addCompute16bitStoragePushConstant16To32Group() member
1825 specs["base16"] = cTypes[tyIdx].base16; in addCompute16bitStoragePushConstant16To32Group()
1899 const char* base16; in addCompute16bitStoragePushConstant16To32Group() member
1961 specs["base16"] = cTypes[tyIdx].base16; in addCompute16bitStoragePushConstant16To32Group()
2421 const char* base16; in addCompute16bitStorageUniform32To16Group() member
2456 specs["base16"] = cTypes[capIdx][tyIdx].base16; in addCompute16bitStorageUniform32To16Group()
[all …]
DvktSpvAsm8bitStorageTests.cpp1525 const char* base16; in addCompute8bitStorage16To8Group() member
1556 specs["base16"] = cTypes[tyIdx].base16; in addCompute8bitStorage16To8Group()
1686 const char* base16; in addCompute8bitUniform8To16Group() member
1714 specs["base16"] = cTypes[tyIdx].base16; in addCompute8bitUniform8To16Group()
1843 const char* base16; in addCompute8bitStoragePushConstant8To16Group() member
1883 specs["base16"] = cTypes[tyIdx].base16; in addCompute8bitStoragePushConstant8To16Group()
/external/catch2/docs/
Dopensource-users.md42 …ry to encode/decode base64, base64url, base32, base32hex and hex (a.k.a. base16) as specified in R…
/external/llvm-project/llvm/test/Analysis/CostModel/ARM/
Dmve-gather-scatter-cost.ll135 define void @gep_v4i32(i32* %base, i16* %base16, i8* %base8, <4 x i32> %ind32, <4 x i16> %ind16, <4…
155 …n estimated cost of 0 for instruction: %gepbs = getelementptr i16, i16* %base16, <4 x i32> %indzext
187 %gepbs = getelementptr i16, i16* %base16, <4 x i32> %indzext
194 define void @gep_v4f32(float* %base, i16* %base16, i8* %base8, <4 x i32> %ind32, <4 x i16> %ind16, …
214 …n estimated cost of 0 for instruction: %gepbs = getelementptr i16, i16* %base16, <4 x i32> %indzext
246 %gepbs = getelementptr i16, i16* %base16, <4 x i32> %indzext
509 define void @gep_v16i8(i8* %base, i16* %base16, <16 x i8> %ind8, <16 x i32> %ind32, <16 x i1> %mask…
522 …n estimated cost of 0 for instruction: %gepbs = getelementptr i16, i16* %base16, <16 x i32> %indze…
550 %gepbs = getelementptr i16, i16* %base16, <16 x i32> %indzext
/external/guava/guava/src/com/google/common/io/
DByteSource.java639 + Ascii.truncate(BaseEncoding.base16().encode(bytes, offset, length), 30, "...") in toString()
DBaseEncoding.java416 public static BaseEncoding base16() {
/external/guava/android/guava/src/com/google/common/io/
DByteSource.java639 + Ascii.truncate(BaseEncoding.base16().encode(bytes, offset, length), 30, "...") in toString()
DBaseEncoding.java416 public static BaseEncoding base16() {
/external/rappor/client/javatest/com/google/android/rappor/
DHmacDrbgTest.java23 return BaseEncoding.base16().decode(s.toUpperCase()); in hexToBytes()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
DTelephonyManagerFacade.java998 … String b64Data = BaseEncoding.base64().encode(BaseEncoding.base16().decode(hexChallenge)); in telephonyGetIccSimChallengeResponseForSubscription()
1001 ? BaseEncoding.base16().encode(BaseEncoding.base64().decode(b64Result)) : null; in telephonyGetIccSimChallengeResponseForSubscription()

12