Searched defs:encoded (Results 51 - 75 of 147) sorted by relevance

123456

/external/chromium_org/extensions/browser/
H A Dcomputed_hashes.cc84 std::string encoded; local
85 if (!hashes_list->GetString(j, &encoded))
90 if (!base::Base64Decode(encoded, decoded)) {
147 std::string encoded; local
148 base::Base64Encode(*i, &encoded);
149 block_hashes->AppendString(encoded);
/external/chromium_org/net/base/
H A Dkeygen_handler_mac.cc163 CSSM_DATA encoded; local
165 kPublicKeyAndChallengeTemplate, &encoded);
172 err = SignData(encoded, private_key, &signature);
183 kSignedPublicKeyAndChallengeTemplate, &encoded);
190 std::string input(reinterpret_cast<char*>(encoded.Data), encoded.Length);
/external/chromium_org/net/cert/
H A Dx509_certificate_ios.cc105 std::string* encoded) {
111 encoded->assign(reinterpret_cast<const char*>(CFDataGetBytePtr(der_data)),
104 GetDEREncoded(OSCertHandle cert_handle, std::string* encoded) argument
H A Dct_objects_extractor_openssl.cc66 // |x509_exts|. If found, returns true and sets |*out_sct_list| to the encoded
253 std::string encoded; local
254 if (!X509Certificate::GetDEREncoded(leaf, &encoded))
259 result->leaf_certificate.swap(encoded);
H A Dx509_certificate_nss.cc130 // Convert encoded issuers to scoped CERTName* list.
143 std::string* encoded) {
146 encoded->assign(reinterpret_cast<char*>(cert_handle->derCert.data),
142 GetDEREncoded(X509Certificate::OSCertHandle cert_handle, std::string* encoded) argument
/external/chromium_org/net/ssl/
H A Dssl_cipher_suite_names.cc29 uint16 cipher_suite, encoded; member in struct:CipherSuite
295 const int key_exchange = cs->encoded >> 8;
296 const int cipher = (cs->encoded >> 3) & 0x1f;
297 const int mac = cs->encoded & 0x7;
363 const int key_exchange = cs->encoded >> 8;
364 const int cipher = (cs->encoded >> 3) & 0x1f;
365 const int mac = cs->encoded & 0x7;
/external/chromium_org/remoting/codec/
H A Daudio_encoder_opus_unittest.cc19 // Maximum value that can be encoded in a 16-bit signed sample.
103 // Compares decoded signal with the test signal that was encoded. It estimates
140 scoped_ptr<AudioPacket> encoded = local
142 if (encoded.get()) {
143 scoped_ptr<AudioPacket> decoded = decoder_->Decode(encoded.Pass());
/external/chromium_org/third_party/skia/samplecode/
H A DSampleEncode.cpp189 SkData* encoded = NULL; local
191 encoded = fEncodedJPEGs[i].get();
193 encoded = fEncodedPNGs[i].get();
195 if (encoded) {
197 SkDecodingImageGenerator::Create(encoded,
/external/chromium_org/third_party/webrtc/base/
H A Dbase64_unittest.cc384 // Is it the expected encoded value?
447 // here's a weird case: a giant base64 encoded stream which broke our base64
915 bool DecodeTest(const char* encoded, size_t expect_unparsed, argument
919 size_t consumed = 0, encoded_len = strlen(encoded);
920 bool success = Base64::DecodeFromArray(encoded, encoded_len, flags,
923 EXPECT_EQ(expect_unparsed, unparsed) << "\"" << encoded
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/
H A Dilbc.c89 int16_t WebRtcIlbcfix_Encode(iLBC_encinst_t *iLBCenc_inst, const int16_t *speechIn, int16_t len, int16_t *encoded) { argument
107 WebRtcIlbcfix_EncodeImpl((uint16_t*) &encoded[encpos], &speechIn[pos], (iLBC_Enc_Inst_t*) iLBCenc_inst);
139 const int16_t *encoded,
175 WebRtcIlbcfix_DecodeImpl(&decoded[i*((iLBC_Dec_Inst_t*)iLBCdec_inst)->blockl], (const uint16_t*) &encoded[i*((iLBC_Dec_Inst_t*)iLBCdec_inst)->no_of_words], (iLBC_Dec_Inst_t*) iLBCdec_inst, 1);
184 const int16_t *encoded,
199 WebRtcIlbcfix_DecodeImpl(&decoded[i*((iLBC_Dec_Inst_t*)iLBCdec_inst)->blockl], (const uint16_t*) &encoded[i*((iLBC_Dec_Inst_t*)iLBCdec_inst)->no_of_words], (iLBC_Dec_Inst_t*) iLBCdec_inst, 1);
208 const int16_t *encoded,
223 WebRtcIlbcfix_DecodeImpl(&decoded[i*((iLBC_Dec_Inst_t*)iLBCdec_inst)->blockl], (const uint16_t*) &encoded[i*((iLBC_Dec_Inst_t*)iLBCdec_inst)->no_of_words], (iLBC_Dec_Inst_t*) iLBCdec_inst, 1);
138 WebRtcIlbcfix_Decode(iLBC_decinst_t *iLBCdec_inst, const int16_t *encoded, int16_t len, int16_t *decoded, int16_t *speechType) argument
183 WebRtcIlbcfix_Decode20Ms(iLBC_decinst_t *iLBCdec_inst, const int16_t *encoded, int16_t len, int16_t *decoded, int16_t *speechType) argument
207 WebRtcIlbcfix_Decode30Ms(iLBC_decinst_t *iLBCdec_inst, const int16_t *encoded, int16_t len, int16_t *decoded, int16_t *speechType) argument
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
H A Daudio_decoder_impl.h30 virtual int Decode(const uint8_t* encoded, size_t encoded_len,
33 virtual int PacketDuration(const uint8_t* encoded, size_t encoded_len);
42 virtual int Decode(const uint8_t* encoded, size_t encoded_len,
45 virtual int PacketDuration(const uint8_t* encoded, size_t encoded_len);
79 virtual int Decode(const uint8_t* encoded, size_t encoded_len,
82 virtual int PacketDuration(const uint8_t* encoded, size_t encoded_len);
105 virtual int Decode(const uint8_t* encoded, size_t encoded_len,
121 virtual int Decode(const uint8_t* encoded, size_t encoded_len,
123 virtual int DecodeRedundant(const uint8_t* encoded, size_t encoded_len,
161 virtual int Decode(const uint8_t* encoded, size_
262 Decode(const uint8_t* encoded, size_t encoded_len, int16_t* decoded, SpeechType* speech_type) argument
[all...]
H A Daudio_decoder_impl.cc43 int AudioDecoderPcmU::Decode(const uint8_t* encoded, size_t encoded_len, argument
47 state_, reinterpret_cast<int16_t*>(const_cast<uint8_t*>(encoded)),
53 int AudioDecoderPcmU::PacketDuration(const uint8_t* encoded, argument
55 // One encoded byte per sample per channel.
60 int AudioDecoderPcmA::Decode(const uint8_t* encoded, size_t encoded_len, argument
64 state_, reinterpret_cast<int16_t*>(const_cast<uint8_t*>(encoded)),
70 int AudioDecoderPcmA::PacketDuration(const uint8_t* encoded, argument
72 // One encoded byte per sample per channel.
86 int AudioDecoderPcm16B::Decode(const uint8_t* encoded, size_t encoded_len, argument
90 state_, reinterpret_cast<int16_t*>(const_cast<uint8_t*>(encoded)),
96 PacketDuration(const uint8_t* encoded, size_t encoded_len) argument
132 Decode(const uint8_t* encoded, size_t encoded_len, int16_t* decoded, SpeechType* speech_type) argument
164 Decode(const uint8_t* encoded, size_t encoded_len, int16_t* decoded, SpeechType* speech_type) argument
175 DecodeRedundant(const uint8_t* encoded, size_t encoded_len, int16_t* decoded, SpeechType* speech_type) argument
235 Decode(const uint8_t* encoded, size_t encoded_len, int16_t* decoded, SpeechType* speech_type) argument
277 Decode(const uint8_t* encoded, size_t encoded_len, int16_t* decoded, SpeechType* speech_type) argument
292 PacketDuration(const uint8_t* encoded, size_t encoded_len) argument
312 Decode(const uint8_t* encoded, size_t encoded_len, int16_t* decoded, SpeechType* speech_type) argument
357 SplitStereoPacket(const uint8_t* encoded, size_t encoded_len, uint8_t* encoded_deinterleaved) argument
401 Decode(const uint8_t* encoded, size_t encoded_len, int16_t* decoded, SpeechType* speech_type) argument
449 Decode(const uint8_t* encoded, size_t encoded_len, int16_t* decoded, SpeechType* speech_type) argument
461 DecodeRedundant(const uint8_t* encoded, size_t encoded_len, int16_t* decoded, SpeechType* speech_type) argument
478 PacketDuration(const uint8_t* encoded, size_t encoded_len) argument
484 PacketDurationRedundant(const uint8_t* encoded, size_t encoded_len) const argument
489 PacketHasFec(const uint8_t* encoded, size_t encoded_len) const argument
[all...]
/external/skia/samplecode/
H A DSampleEncode.cpp189 SkData* encoded = NULL; local
191 encoded = fEncodedJPEGs[i].get();
193 encoded = fEncodedPNGs[i].get();
195 if (encoded) {
197 SkDecodingImageGenerator::Create(encoded,
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
H A DX509CertificateObject.java571 private byte[] encoded; field in class:X509CertificateObject
579 if (encoded == null) {
580 encoded = c.getEncoded(ASN1Encoding.DER);
582 return encoded;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
H A DX509CertificateObject.java569 private byte[] encoded; field in class:X509CertificateObject
577 if (encoded == null) {
578 encoded = c.getEncoded(ASN1Encoding.DER);
580 return encoded;
/external/chromium_org/chrome/browser/chromeos/login/easy_unlock/
H A Deasy_unlock_create_keys_operation.cc65 bool WebSafeBase64Decode(const std::string& encoded, std::string* decoded) { argument
66 std::string adjusted_encoded = encoded;
/external/chromium_org/chrome/browser/search/suggestions/
H A Dimage_manager_impl_browsertest.cc128 std::vector<unsigned char> encoded; local
129 EXPECT_TRUE(ImageManagerImpl::EncodeImage(test_bitmap_, &encoded));
130 data.set_data(std::string(encoded.begin(), encoded.end()));
/external/chromium_org/chrome/tools/convert_dict/
H A Daff_reader.cc145 bool AffReader::EncodingToUTF8(const std::string& encoded, argument
148 if (!base::CodepageToWide(encoded, encoding(),
202 // We want to ensure the two last groups on the last line are encoded in
204 // encoded, since that's basically an 8-bit identifier.
206 // Count to the third space. Everything after that will be re-encoded. This
/external/chromium_org/components/enhanced_bookmarks/
H A Denhanced_bookmark_model_unittest.cc173 std::string encoded; local
174 base::Base64Encode(output, &encoded);
175 bookmark_model_->SetNodeMetaInfo(node, "stars.pageData", encoded);
217 std::string encoded; local
218 base::Base64Encode(output, &encoded);
219 bookmark_model_->SetNodeMetaInfo(node, "stars.imageData", encoded);
249 std::string encoded; local
250 base::Base64Encode(output, &encoded);
251 bookmark_model_->SetNodeMetaInfo(node, "stars.imageData", encoded);
279 std::string encoded; local
308 std::string encoded; local
411 std::string encoded; local
[all...]
/external/chromium_org/components/metrics/
H A Dmetrics_log_unittest.cc163 std::string encoded; local
164 log.GetEncodedLog(&encoded);
169 ASSERT_TRUE(parsed.ParseFromString(encoded));
179 EXPECT_EQ(expected.SerializeAsString(), encoded);
/external/chromium_org/courgette/
H A Dencoded_program_fuzz_unittest.cc47 courgette::EncodedProgram* encoded = NULL; local
49 const courgette::Status encode_status = Encode(program, &encoded);
55 const courgette::Status write_status = WriteEncodedProgram(encoded, &sinks);
58 DeleteEncodedProgram(encoded);
171 courgette::EncodedProgram *encoded = NULL; local
178 ReadEncodedProgram(&sources, &encoded);
181 const courgette::Status assemble_status = Assemble(encoded, &assembled);
195 DeleteEncodedProgram(encoded);
/external/chromium_org/net/http/
H A Ddisk_based_cert_cache_unittest.cc136 bool encoded = local
138 ASSERT_TRUE(encoded);
166 bool encoded = local
168 ASSERT_TRUE(encoded);
/external/chromium_org/net/tools/dump_cache/
H A Durl_to_filename_encoder.cc93 char encoded[3]; local
131 encoded[0] = ch;
134 encoded[0] = kEscapeChar;
135 encoded[1] = ch / 16;
136 encoded[1] += (encoded[1] >= 10) ? 'A' - 10 : '0';
137 encoded[2] = ch % 16;
138 encoded[2] += (encoded[2] >= 10) ? 'A' - 10 : '0';
141 segment.append(encoded, encoded_le
271 char encoded[3]; local
[all...]
/external/chromium_org/third_party/skia/tests/
H A DCachedDecodingPixelRefTest.cpp90 typedef bool (*InstallEncoded)(SkData* encoded, SkBitmap* dst);
93 This function tests three differently encoded images against the
111 SkAutoDataUnref encoded(create_data_from_bitmap(original, type));
112 REPORTER_ASSERT(reporter, encoded.get() != NULL);
113 if (NULL == encoded.get()) {
117 bool installSuccess = install(encoded.get(), &lazy);
145 static bool install_skCachingPixelRef(SkData* encoded, SkBitmap* dst) { argument
148 encoded, SkDecodingImageGenerator::Options()), dst);
150 static bool install_skDiscardablePixelRef(SkData* encoded, SkBitmap* dst) { argument
154 encoded, SkDecodingImageGenerato
[all...]
/external/conscrypt/src/main/java/org/conscrypt/
H A DOpenSSLX509Certificate.java79 public static OpenSSLX509Certificate fromX509Der(byte[] encoded) { argument
80 final long certCtx = NativeCrypto.d2i_X509(encoded);
421 byte[] encoded = NativeCrypto.i2d_X509_PUBKEY(mContext);
424 return kf.generatePublic(new X509EncodedKeySpec(encoded));
431 * X.509-encoded key.
433 return new X509PublicKey(oid, encoded);

Completed in 1036 milliseconds

123456