/external/v8/test/mjsunit/regress/ |
H A D | regress-244.js | 50 var decoded = String.fromCharCode(kLegalPairs[i][0]); 52 assertEquals(decodeURI(encoded), decoded); 53 assertEquals(encodeURI(decoded), encoded);
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/tsp/ |
H A D | TSTInfoTest.java | 64 TSTInfo decoded = (TSTInfo) TSTInfo.ASN1.decode(encoding); 66 assertEquals("Decoded version is incorrect", info.getVersion(), decoded 68 assertEquals("Decoded policy is incorrect", policy, decoded.getPolicy()); 71 .encode(decoded.getMessageImprint()))); 73 decoded.getSerialNumber()); 74 assertEquals("Decoded genTime is incorrect", genTime, decoded 77 decoded.getAccuracy())); 78 assertFalse("Decoded ordering is incorrect", decoded.getOrdering() 80 assertEquals("Decoded nonce is incorrect", nonce, decoded.getNonce()); 81 assertEquals("Decoded tsa is incorrect", tsa, decoded [all...] |
H A D | TimeStampReqTest.java | 53 TimeStampReq decoded = (TimeStampReq) TimeStampReq.ASN1 55 assertEquals("Decoded version is incorrect", req.getVersion(), decoded 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() 65 assertEquals("Decoded extensions is incorrect", exts, decoded
|
H A D | PKIStatusInfoTest.java | 43 PKIStatusInfo decoded = (PKIStatusInfo) PKIStatusInfo.ASN1 46 assertEquals(info.getStatus(), decoded.getStatus()); 47 List decodedStString = decoded.getStatusString(); 51 assertEquals(info.getFailInfo(), decoded.getFailInfo());
|
H A D | TimeStampRespTest.java | 100 TimeStampResp decoded = (TimeStampResp) TimeStampResp.ASN1 106 .encode(decoded.getStatus()))); 108 timeStampToken.getEncoded(), decoded.getTimeStampToken()
|
/external/boringssl/src/crypto/base64/ |
H A D | 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, re [all...] |
/external/google-tv-pairing-protocol/cpp/src/polo/encoding/ |
H A D | hexadecimalencoder.cc | 36 std::vector<uint8_t> decoded(bytes, bytes + length); 39 return decoded;
|
/external/guava/guava-tests/test/com/google/common/io/ |
H A D | BaseEncodingTest.java | 310 BaseEncoding encoding, String decoded, String encoded) { 311 testEncodingWithSeparators(encoding, decoded, encoded); 312 testEncodingWithSeparators(encoding.upperCase(), decoded, Ascii.toUpperCase(encoded)); 313 testEncodingWithSeparators(encoding.lowerCase(), decoded, Ascii.toLowerCase(encoded)); 317 BaseEncoding encoding, String decoded, String encoded) { 318 testEncoding(encoding, decoded, encoded); 323 testEncoding(encoding.withSeparator(separator, sepLength), decoded, 329 private static void testEncoding(BaseEncoding encoding, String decoded, String encoded) { argument 330 testEncodes(encoding, decoded, encoded); 331 testDecodes(encoding, encoded, decoded); 309 testEncodingWithCasing( BaseEncoding encoding, String decoded, String encoded) argument 316 testEncodingWithSeparators( BaseEncoding encoding, String decoded, String encoded) argument 334 testEncodes(BaseEncoding encoding, String decoded, String encoded) argument 345 testDecodes(BaseEncoding encoding, String encoded, String decoded) argument 372 testStreamingEncodingWithCasing( BaseEncoding encoding, String decoded, String encoded) argument 380 testStreamingEncodingWithSeparators( BaseEncoding encoding, String decoded, String encoded) argument 394 testStreamingEncoding(BaseEncoding encoding, String decoded, String encoded) argument 401 testStreamingEncodes(BaseEncoding encoding, String decoded, String encoded) argument 418 testStreamingDecodes(BaseEncoding encoding, String encoded, String decoded) argument [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/pkcs10/ |
H A D | CertificationRequestInfoTest.java | 67 CertificationRequestInfo decoded = 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
|
H A D | CertificationRequestTest.java | 69 CertificationRequest decoded = (CertificationRequest) CertificationRequest.ASN1 72 // check what was decoded 81 assertEquals(certReq.getAlgId(), decoded.getAlgId()); 82 assertTrue(Arrays.equals(certReq.getSignature(), decoded.getSignature()));
|
/external/guava/guava-gwt/test-super/com/google/common/io/super/com/google/common/io/ |
H A D | BaseEncodingTest.java | 244 BaseEncoding encoding, String decoded, String encoded) { 245 testEncodingWithSeparators(encoding, decoded, encoded); 246 testEncodingWithSeparators(encoding.upperCase(), decoded, Ascii.toUpperCase(encoded)); 247 testEncodingWithSeparators(encoding.lowerCase(), decoded, Ascii.toLowerCase(encoded)); 251 BaseEncoding encoding, String decoded, String encoded) { 252 testEncoding(encoding, decoded, encoded); 257 testEncoding(encoding.withSeparator(separator, sepLength), decoded, 263 private static void testEncoding(BaseEncoding encoding, String decoded, String encoded) { argument 264 testEncodes(encoding, decoded, encoded); 265 testDecodes(encoding, encoded, decoded); 243 testEncodingWithCasing( BaseEncoding encoding, String decoded, String encoded) argument 250 testEncodingWithSeparators( BaseEncoding encoding, String decoded, String encoded) argument 268 testEncodes(BaseEncoding encoding, String decoded, String encoded) argument 279 testDecodes(BaseEncoding encoding, String encoded, String decoded) argument [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/ |
H A D | 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 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()); 112 return transformEncodeAndTranscode(decoded); 116 * Returns a transformed and transcoded resource decoded from source data, or null if no source data could be 117 * obtained or no resource could be decoded. 120 * Depending on the {@link com.bumptech.glide.load.engine.DiskCacheStrategy} used, source data is either decoded 136 transformEncodeAndTranscode(Resource<T> decoded) argument 230 transform(Resource<T> decoded) argument [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/ |
H A D | PolicyQualifierInfoTest.java | 94 Object[] decoded = 100 myIntValue, ((int[]) decoded[0])[8]); 103 (byte) myIntValue, ((byte[]) decoded[1])[2]); 127 Object[] decoded = 133 myIntValue, ((int[]) decoded[0])[8]); 136 (byte) myIntValue, ((byte[]) decoded[1])[2]);
|
/external/nanopb-c/tests/alltypes_callback/ |
H A D | 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 [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/interface/ |
H A D | isacfix.h | 249 * - decoded : The decoded vector 251 * Return value : >0 - number of samples in decoded vector 258 WebRtc_Word16 *decoded, 277 * - decoded : The decoded vector 279 * Return value : >0 - number of samples in decoded vector 287 WebRtc_Word16 *decoded, 307 * - decoded : The decoded vecto [all...] |
/external/robolectric/src/main/java/android/net/ |
H A D | Uri__FromAndroid.java | 173 * @return the decoded scheme-specific-part 185 * @return the decoded scheme-specific-part 190 * Gets the decoded authority part of this URI. For 212 * Gets the decoded user information from the authority. 247 * Gets the decoded path. 249 * @return the decoded path, or null if this is not a hierarchical URI 263 * Gets the decoded query component from this URI. The query comes after 268 * @return the decoded query or null if there isn't one 283 * Gets the decoded fragment part of this URI, everything after the '#'. 285 * @return the decoded fragmen 1905 volatile String decoded; field in class:Uri__FromAndroid.AbstractPart 1907 AbstractPart(String encoded, String decoded) argument 1955 Part(String encoded, String decoded) argument 2004 fromDecoded(String decoded) argument 2014 from(String encoded, String decoded) argument 2059 PathPart(String encoded, String decoded) argument 2146 appendDecodedSegment(PathPart oldPart, String decoded) argument 2181 fromDecoded(String decoded) argument 2191 from(String encoded, String decoded) argument [all...] |
/external/wpa_supplicant_8/hostapd/src/wps/ |
H A D | 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);
|
/external/wpa_supplicant_8/src/wps/ |
H A D | 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);
|
/external/wpa_supplicant_8/wpa_supplicant/src/wps/ |
H A D | 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);
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/test/ |
H A D | 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, [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/main/interface/ |
H A D | isac.h | 214 * - decoded : The decoded vector. 216 * Return value : >0 - number of samples in decoded vector. 224 WebRtc_Word16* decoded, 241 * - decoded : The decoded vector. 243 * Return value : >0 - number of samples in decoded PLC vector 249 WebRtc_Word16* decoded, 476 * Return the sampling rate of the decoded audio. 483 * sampling rate of the decoded audi [all...] |
/external/skia/src/utils/ |
H A D | SkBase64.cpp | 55 signed char decoded = decodeData[srcByte - '+']; local 56 bytes[byte] = decoded; 57 if (decoded < 0) { 58 if (decoded == DecodePad)
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
H A D | BitStringTest.java | 68 BitString decoded = (BitString) asn1.decode(in); 71 decoded.unusedBits); 74 decoded.bytes)); 83 BitString decoded = (BitString) asn1.decode(in); 86 decoded.unusedBits); 89 decoded.bytes));
|
/external/jsoncpp/src/lib_json/ |
H A D | json_reader.cpp | 668 std::string decoded; local 669 if ( !decodeString( token, decoded ) ) 671 currentValue() = decoded; 677 Reader::decodeString( Token &token, std::string &decoded ) 679 decoded.reserve( token.end_ - token.start_ - 2 ); 694 case '"': decoded += '"'; break; 695 case '/': decoded += '/'; break; 696 case '\\': decoded += '\\'; break; 697 case 'b': decoded += '\b'; break; 698 case 'f': decoded [all...] |
/external/boringssl/src/ssl/test/ |
H A D | test_config.cc | 156 std::unique_ptr<uint8_t[]> decoded(new uint8_t[len]); 157 if (!EVP_DecodeBase64(decoded.get(), &len, len, 162 base64_field->assign(reinterpret_cast<const char *>(decoded.get()), len);
|