/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/tsp/ |
PKIStatusInfoTest.java | 43 PKIStatusInfo decoded = (PKIStatusInfo) PKIStatusInfo.ASN1 local 46 assertEquals(info.getStatus(), decoded.getStatus()); 47 List decodedStString = decoded.getStatusString(); 51 assertEquals(info.getFailInfo(), decoded.getFailInfo());
|
TimeStampReqTest.java | 53 TimeStampReq decoded = (TimeStampReq) TimeStampReq.ASN1 local 55 assertEquals("Decoded version is incorrect", req.getVersion(), decoded 57 assertTrue("Decoded messageImprint is incorrect", Arrays.equals( 59 .encode(decoded.getMessageImprint()))); 60 assertEquals("Decoded reqPolicy is incorrect", reqPolicy, decoded 62 assertEquals("Decoded nonce is incorrect", nonce, decoded.getNonce()); 63 assertFalse("Decoded certReq is incorrect", decoded.getCertReq( [all...] |
TSTInfoTest.java | 64 TSTInfo decoded = (TSTInfo) TSTInfo.ASN1.decode(encoding); local 66 assertEquals("Decoded version is incorrect", info.getVersion(), decoded 68 assertEquals("Decoded policy is incorrect", policy, decoded.getPolicy()); 69 assertTrue("Decoded messageImprint is incorrect", Arrays.equals( 71 .encode(decoded.getMessageImprint()))); 72 assertEquals("Decoded serialNumber is incorrect", BigInteger.TEN, 73 decoded.getSerialNumber()); 74 assertEquals("Decoded genTime is incorrect", genTime, decode [all...] |
TimeStampRespTest.java | 100 TimeStampResp decoded = (TimeStampResp) TimeStampResp.ASN1 local 104 assertTrue("Decoded status is incorrect", Arrays.equals( 106 .encode(decoded.getStatus()))); 107 assertTrue("Decoded timeStampToken is incorrect", Arrays.equals( 108 timeStampToken.getEncoded(), decoded.getTimeStampToken()
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
OidTest.java | 127 int[] decoded = (int[]) asn1.decode(new DerInputStream( local 132 decoded));
|
BitStringTest.java | 68 BitString decoded = (BitString) asn1.decode(in); local 71 decoded.unusedBits); 74 decoded.bytes)); 83 BitString decoded = (BitString) asn1.decode(in); local 86 decoded.unusedBits); 89 decoded.bytes));
|
/external/boringssl/src/crypto/base64/ |
base64_test.cc | 24 const char *decoded; member in struct:TestVector 45 size_t len = EVP_EncodeBlock(out, (const uint8_t*)t->decoded, 46 strlen(t->decoded)); 50 t->decoded, (int)len, (const char*)out, t->encoded); 64 size_t expected_len = strlen(t->decoded); 70 if (len != strlen(t->decoded) || 71 memcmp(out, t->decoded, len) != 0) { 73 t->encoded, (int)len, (const char*)out, t->decoded); 91 if (static_cast<size_t>(ret) != strlen(t->decoded) || 92 memcmp(out, t->decoded, ret) != 0) [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/pkcs10/ |
CertificationRequestInfoTest.java | 67 CertificationRequestInfo decoded = local 71 // check what was decoded 72 assertEquals(certReqInfo.getVersion(), decoded.getVersion()); 74 decoded.getSubject().getName(X500Principal.CANONICAL)); 76 .getEncoded(), decoded.getSubjectPublicKeyInfo().getEncoded())); 80 AttributeTypeAndValue decodedATaV = (AttributeTypeAndValue) decoded
|
CertificationRequestTest.java | 69 CertificationRequest decoded = (CertificationRequest) CertificationRequest.ASN1 local 72 // check what was decoded 81 assertEquals(certReq.getAlgId(), decoded.getAlgId()); 82 assertTrue(Arrays.equals(certReq.getSignature(), decoded.getSignature()));
|
/external/skia/src/utils/ |
SkBase64.cpp | 55 signed char decoded = decodeData[srcByte - '+']; local 56 bytes[byte] = decoded; 57 if (decoded < 0) { 58 if (decoded == DecodePad)
|
/external/wpa_supplicant_8/src/wps/ |
upnp_xml.c | 229 unsigned char *decoded; local 238 decoded = base64_decode((unsigned char *) msg, os_strlen(msg), &len); 240 if (decoded == NULL) { 245 buf = wpabuf_alloc_ext_data(decoded, len); 247 os_free(decoded);
|
/libcore/luni/src/main/java/java/security/cert/ |
PolicyQualifierInfo.java | 46 * the policy qualifier cannot be decoded. 59 Object[] decoded = (Object[]) org.apache.harmony.security.x509.PolicyQualifierInfo.ASN1 local 61 policyQualifierId = ObjectIdentifier.toString((int[]) decoded[0]); 62 policyQualifier = (byte[]) decoded[1];
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
SubjectAlternativeNameTest.java | 41 String decoded = formatIpAddress(mappedAddress); local 42 assertTrue(decoded, 43 decoded.equals("127.0.0.1") || decoded.equalsIgnoreCase("::ffff:127.0.0.1")); 48 String decoded = formatIpAddress(ipAddress); local 49 assertTrue(decoded, decoded.equals("::1") || decoded.equals("0:0:0:0:0:0:0:1"));
|
/art/runtime/ |
leb128_test.cc | 26 uint32_t decoded; member in struct:art::DecodeUnsignedLeb128TestCase 45 int32_t decoded; member in struct:art::DecodeSignedLeb128TestCase 98 builder.PushBackUnsigned(uleb128_tests[i].decoded); 99 EXPECT_EQ(UnsignedLeb128Size(uleb128_tests[i].decoded), builder.GetData().size()); 109 EXPECT_EQ(DecodeUnsignedLeb128(&data_ptr), uleb128_tests[i].decoded) << " i = " << i; 117 uint8_t* end = EncodeUnsignedLeb128(encoded_data, uleb128_tests[i].decoded); 119 EXPECT_EQ(UnsignedLeb128Size(uleb128_tests[i].decoded), data_size); 128 EXPECT_EQ(DecodeUnsignedLeb128(&data_ptr), uleb128_tests[i].decoded) << " i = " << i; 136 builder.PushBackUnsigned(uleb128_tests[i].decoded); 141 for (size_t j = 0; j < UnsignedLeb128Size(uleb128_tests[i].decoded); ++j) [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/ |
PolicyQualifierInfoTest.java | 94 Object[] decoded = local 100 myIntValue, ((int[]) decoded[0])[8]); 103 (byte) myIntValue, ((byte[]) decoded[1])[2]); 127 Object[] decoded = local 133 myIntValue, ((int[]) decoded[0])[8]); 136 (byte) myIntValue, ((byte[]) decoded[1])[2]);
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/ |
DecodeJob.java | 26 * @param <A> The type of the source data the resource can be decoded from. 27 * @param <T> The type of resource that will be decoded. 28 * @param <Z> The type of resource that will be transcoded from the decoded and transformed resource. 73 * Returns a transcoded resource decoded from transformed resource data in the disk cache, or null if no such 86 logWithTimeAndKey("Decoded transformed from cache", startTime); 97 * Returns a transformed and transcoded resource decoded from source data in the disk cache, or null if no such 108 Resource<T> decoded = loadFromCache(resultKey.getOriginalKey()); local 110 logWithTimeAndKey("Decoded source from cache", startTime); 112 return transformEncodeAndTranscode(decoded); 116 * Returns a transformed and transcoded resource decoded from source data, or null if no source data could b 127 Resource<T> decoded = decodeSource(); local 166 Resource<T> decoded = null; local 184 final Resource<T> decoded; local [all...] |
/libcore/luni/src/test/java/libcore/javax/security/auth/x500/ |
X500PrincipalTest.java | 112 X500Principal decoded = new X500Principal(actualEncoded); local 113 assertEquals(original, decoded);
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/ |
DecoderUtil.java | 46 * @return the decoded bytes. 75 * @return the decoded bytes. 106 * @return the decoded string. 122 * @return the decoded string. 154 * @return the decoded string. 194 String decoded = decodeEncodedWord(body, begin, end); local 195 if (decoded == null) { 202 sb.append(decoded); 206 previousWasEncoded = decoded != null;
|
/packages/services/Telephony/src/org/apache/james/mime4j/decoder/ |
DecoderUtil.java | 46 * @return the decoded bytes. 75 * @return the decoded bytes. 106 * @return the decoded string. 122 * @return the decoded string. 154 * @return the decoded string. 194 String decoded = decodeEncodedWord(body, begin, end); local 195 if (decoded == null) { 202 sb.append(decoded); 206 previousWasEncoded = decoded != null;
|
/dalvik/dx/src/com/android/dx/io/instructions/ |
DecodedInstruction.java | 27 * A decoded Dalvik instruction. This consists of a format codec, a 84 DecodedInstruction[] decoded = new DecodedInstruction[size]; local 89 decoded[in.cursor()] = DecodedInstruction.decode(in); 95 return decoded;
|
/external/dexmaker/src/dx/java/com/android/dx/io/instructions/ |
DecodedInstruction.java | 27 * A decoded Dalvik instruction. This consists of a format codec, a 84 DecodedInstruction[] decoded = new DecodedInstruction[size]; local 89 decoded[in.cursor()] = DecodedInstruction.decode(in); 95 return decoded;
|
/external/guava/guava-gwt/test-super/com/google/common/io/super/com/google/common/io/ |
BaseEncodingTest.java | 244 BaseEncoding encoding, String decoded, String encoded) { 245 testEncodingWithSeparators(encoding, decoded, encoded); 246 testEncodingWithSeparators(encoding.upperCase(), decoded, Ascii.toUpperCase(encoded)); local 247 testEncodingWithSeparators(encoding.lowerCase(), decoded, Ascii.toLowerCase(encoded)); local 251 BaseEncoding encoding, String decoded, String encoded) { 252 testEncoding(encoding, decoded, encoded); 257 testEncoding(encoding.withSeparator(separator, sepLength), decoded, local 263 private static void testEncoding(BaseEncoding encoding, String decoded, String encoded) { 264 testEncodes(encoding, decoded, encoded); 265 testDecodes(encoding, encoded, decoded); [all...] |
/external/nanopb-c/tests/alltypes_callback/ |
decode_alltypes_callback.c | 147 SubMessage decoded = {""}; local 148 if (!pb_decode(stream, SubMessage_fields, &decoded)) 151 TEST(memcmp((*expected)++, &decoded, sizeof(decoded)) == 0); 157 Limits decoded = {0}; local 158 if (!pb_decode(stream, Limits_fields, &decoded)) 161 TEST(decoded.int32_min == INT32_MIN); 162 TEST(decoded.int32_max == INT32_MAX); 163 TEST(decoded.uint32_min == 0); 164 TEST(decoded.uint32_max == UINT32_MAX) [all...] |
/external/valgrind/VEX/priv/ |
tilegx_disasm.c | 7633 struct tilegx_decoded_instruction decoded; local [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/test/ |
test_iSACfixfloat.c | 116 WebRtc_Word16 decoded[MAX_FRAMESAMPLES]; local 509 decoded, 539 decoded, 545 declen = WebRtcIsacfix_DecodePlc( ISACFIX_main_inst, decoded, 1 ); 547 declen = WebRtcIsacfix_DecodePlcNb( ISACFIX_main_inst, decoded, 1 ); 553 decoded, 559 decoded, 592 decoded, 618 declen = WebRtcIsacfix_DecodePlc( ISACFIX_main_inst, decoded, 1 ); 620 declen = WebRtcIsacfix_DecodePlcNb( ISACFIX_main_inst, decoded, 1 ) [all...] |