Searched defs:encoded (Results 76 - 100 of 147) sorted by relevance

123456

/external/dexmaker/src/dx/java/com/android/dx/dex/file/
H A DDebugInfoDecoder.java45 /** encoded debug info */
46 private final byte[] encoded; field in class:DebugInfoDecoder
87 * @param encoded encoded debug info
95 DebugInfoDecoder(byte[] encoded, int codesize, int regSize, argument
97 if (encoded == null) {
98 throw new NullPointerException("encoded == null");
101 this.encoded = encoded;
240 ByteInput bs = new ByteArrayByteInput(encoded);
[all...]
/external/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/chromium_org/cc/resources/
H A Dpicture.cc111 std::string encoded; local
112 if (!value->GetAsString(&encoded))
116 base::Base64Decode(encoded, &decoded);
134 std::string encoded;
135 if (!value->GetString("skp64", &encoded))
139 base::Base64Decode(encoded, &decoded);
/external/chromium_org/chrome/browser/ui/ash/
H A Dscreenshot_taker.cc70 std::string encoded; local
71 base::Base64Encode(png_data->data(), &encoded);
79 html += encoded;
/external/chromium_org/content/browser/indexed_db/
H A Dindexed_db_leveldb_coding_unittest.cc191 std::string encoded; local
192 encoded.push_back(1);
193 StringPiece slice(encoded);
200 std::string encoded; local
201 encoded.push_back(0);
202 StringPiece slice(encoded);
681 std::string encoded = encoded_paths[i]; local
684 EXPECT_EQ(encoded, v);
686 StringPiece slice(encoded);
787 std::string encoded local
[all...]
/external/chromium_org/media/cast/logging/
H A Dstats_event_subscriber.h169 bool encoded; member in struct:media::cast::StatsEventSubscriber::FrameInfo
/external/chromium_org/net/android/
H A Dkeystore_openssl.cc422 std::vector<uint8> encoded; local
423 if (!GetPrivateKeyEncodedBytes(private_key, &encoded)) {
428 reinterpret_cast<const unsigned char*>(&encoded[0]);
429 int len = static_cast<int>(encoded.size());
/external/chromium_org/net/cert/
H A Dx509_certificate_mac.cc181 // encoded, attempting to decode data based on internal rules for PEM
182 // block headers. If a PKCS#7 blob is encoded with a PEM block of
258 // DNSName and IPAddress are encoded as IA5String and OCTET STRINGs
275 std::string* encoded) {
279 encoded->assign(reinterpret_cast<char*>(der_data.Data),
274 GetDEREncoded(X509Certificate::OSCertHandle cert_handle, std::string* encoded) argument
H A Dx509_certificate_openssl.cc201 // re-encoded the integer back into DER, which is what the interface
310 std::string* encoded) {
314 encoded->assign(der.data(), der.length());
309 GetDEREncoded(X509Certificate::OSCertHandle cert_handle, std::string* encoded) argument
H A Dx509_certificate_win.cc125 // formatted as a vector of strings holding DER-encoded X.509
237 std::string* encoded) {
242 encoded->assign(reinterpret_cast<char*>(cert_handle->pbCertEncoded),
370 std::string encoded; local
371 bool ok = GetDEREncoded(cert_handle, &encoded);
376 cert_handle = CreateOSCertHandleFromBytes(encoded.data(), encoded.size());
236 GetDEREncoded(X509Certificate::OSCertHandle cert_handle, std::string* encoded) argument
H A Dct_objects_extractor_nss.cc139 // and encoded as an OCTET STRING. Returns true if the extension was found in
169 // and encoded as an OCTET STRING. Returns true if the extension was found in
506 std::string encoded; local
507 if (!X509Certificate::GetDEREncoded(leaf, &encoded))
512 result->leaf_certificate.swap(encoded);
/external/chromium_org/net/http/
H A Ddisk_based_cert_cache.cc245 bool encoded = X509Certificate::GetDEREncoded(cert_handle_, &write_data); local
247 if (!encoded)
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/opus/
H A Dopus_interface.c67 int16_t length_encoded_buffer, uint8_t* encoded) {
69 unsigned char* coded = encoded;
225 static int DecodeNative(OpusDecoder* inst, const int16_t* encoded, argument
228 unsigned char* coded = (unsigned char*) encoded;
242 static int DecodeFec(OpusDecoder* inst, const int16_t* encoded, argument
245 unsigned char* coded = (unsigned char*) encoded;
259 int16_t WebRtcOpus_DecodeNew(OpusDecInst* inst, const uint8_t* encoded, argument
262 int16_t* coded = (int16_t*)encoded;
278 int16_t WebRtcOpus_Decode(OpusDecInst* inst, const int16_t* encoded, argument
290 decoded_samples = DecodeNative(inst->decoder_left, encoded, encoded_byte
66 WebRtcOpus_Encode(OpusEncInst* inst, int16_t* audio_in, int16_t samples, int16_t length_encoded_buffer, uint8_t* encoded) argument
313 WebRtcOpus_DecodeSlave(OpusDecInst* inst, const int16_t* encoded, int16_t encoded_bytes, int16_t* decoded, int16_t* audio_type) argument
439 WebRtcOpus_DecodeFec(OpusDecInst* inst, const uint8_t* encoded, int16_t encoded_bytes, int16_t* decoded, int16_t* audio_type) argument
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
H A Dneteq_impl_unittest.cc429 virtual int Decode(const uint8_t* encoded, argument
/external/pdfium/core/src/fxcrt/
H A Dfx_basic_buffer.cpp319 CFX_ByteString encoded = wstr.UTF16LE_Encode(); local
320 return operator << (encoded);
382 CFX_ByteString encoded; local
383 operator >> (encoded);
384 str = CFX_WideString::FromUTF16LE((const unsigned short*)(FX_LPCSTR)encoded, encoded.GetLength());
/external/qemu/distrib/sdl-1.2.15/src/audio/
H A DSDL_wave.c118 Uint8 *freeable, *encoded, *decoded; local
126 encoded = *audio_buf;
144 state[0]->hPredictor = *encoded++;
146 state[1]->hPredictor = *encoded++;
148 state[0]->iDelta = ((encoded[1]<<8)|encoded[0]);
149 encoded += sizeof(Sint16);
151 state[1]->iDelta = ((encoded[1]<<8)|encoded[0]);
152 encoded
296 Fill_IMA_ADPCM_block(Uint8 *decoded, Uint8 *encoded, int channel, int numchannels, struct IMA_ADPCM_decodestate *state) argument
326 Uint8 *freeable, *encoded, *decoded; local
[all...]
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
H A Disacfix.c296 * - encoded : the encoded data vector
307 WebRtc_Word16 *encoded)
338 encoded[k] = (WebRtc_Word16)( ( (WebRtc_UWord16)(ISAC_inst->ISACenc_obj.bitstr_obj).stream[k] >> 8 )
343 WEBRTC_SPL_MEMCPY_W16(encoded, (ISAC_inst->ISACenc_obj.bitstr_obj).stream, (stream_len + 1)>>1);
371 * - encoded : the encoded data vector
382 WebRtc_Word16 *encoded)
428 encoded[k] = (WebRtc_Word16)(((WebRtc_UWord16)(ISAC_inst->ISACenc_obj.bitstr_obj).stream[k] >> 8)
433 WEBRTC_SPL_MEMCPY_W16(encoded, (ISAC_ins
305 WebRtcIsacfix_Encode(ISACFIX_MainStruct *ISAC_main_inst, const WebRtc_Word16 *speechIn, WebRtc_Word16 *encoded) argument
380 WebRtcIsacfix_EncodeNb(ISACFIX_MainStruct *ISAC_main_inst, const WebRtc_Word16 *speechIn, WebRtc_Word16 *encoded) argument
462 WebRtcIsacfix_GetNewBitStream(ISACFIX_MainStruct *ISAC_main_inst, WebRtc_Word16 bweIndex, float scale, WebRtc_Word16 *encoded) argument
564 WebRtcIsacfix_UpdateBwEstimate1(ISACFIX_MainStruct *ISAC_main_inst, const WebRtc_UWord16 *encoded, WebRtc_Word32 packet_size, WebRtc_UWord16 rtp_seq_number, WebRtc_UWord32 arr_ts) argument
658 WebRtcIsacfix_UpdateBwEstimate(ISACFIX_MainStruct *ISAC_main_inst, const WebRtc_UWord16 *encoded, WebRtc_Word32 packet_size, WebRtc_UWord16 rtp_seq_number, WebRtc_UWord32 send_ts, WebRtc_UWord32 arr_ts) argument
754 WebRtcIsacfix_Decode(ISACFIX_MainStruct *ISAC_main_inst, const WebRtc_UWord16 *encoded, WebRtc_Word16 len, WebRtc_Word16 *decoded, WebRtc_Word16 *speechType) argument
857 WebRtcIsacfix_DecodeNb(ISACFIX_MainStruct *ISAC_main_inst, const WebRtc_UWord16 *encoded, WebRtc_Word16 len, WebRtc_Word16 *decoded, WebRtc_Word16 *speechType) argument
1261 WebRtcIsacfix_ReadFrameLen(const WebRtc_Word16* encoded, WebRtc_Word16* frameLength) argument
1310 WebRtcIsacfix_ReadBwIndex(const WebRtc_Word16* encoded, WebRtc_Word16* rateIndex) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/
H A Dconfig_file.c276 unsigned char *encoded = NULL, *nencoded; local
290 nencoded = os_realloc(encoded, encoded_len + len);
294 os_free(encoded);
297 encoded = nencoded;
298 os_memcpy(encoded + encoded_len, pos, len);
305 os_free(encoded);
311 os_free(encoded);
315 blob->data = base64_decode(encoded, encoded_len, &blob->len);
316 os_free(encoded);
887 unsigned char *encoded; local
[all...]
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
H A DTestCertUtils.java148 private static final byte[] encoded = new byte[] { 1, 2, 3, 4, 5, 6, 7, field in class:TestCertUtils.TestCertPath
190 return encoded.clone();
198 return encoded.clone();
276 private static final byte[] encoded = new byte[] { 1, 2, 3, 4, 5, 6, 7, field in class:TestCertUtils.TestPublicKey
286 return encoded.clone();
301 private static final byte[] encoded = new byte[] { 1, 2, 3, 4, 5, 6, 7, field in class:TestCertUtils.TestCertificate
341 return encoded.clone();
447 * The encoded for of this X509Certificate is a byte array where
448 * first are bytes of encoded form of Subject (as X500Principal),
450 * and followed by the encoded for
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
H A DECCurve.java237 public ECPoint decodePoint(byte[] encoded) argument
242 switch (encoded[0])
246 if (encoded.length != 1)
257 if (encoded.length != (expectedLength + 1))
262 int yTilde = encoded[0] & 1;
263 BigInteger X = BigIntegers.fromUnsignedByteArray(encoded, 1, expectedLength);
272 if (encoded.length != (2 * expectedLength + 1))
277 BigInteger X = BigIntegers.fromUnsignedByteArray(encoded, 1, expectedLength);
278 BigInteger Y = BigIntegers.fromUnsignedByteArray(encoded, 1 + expectedLength, expectedLength);
284 throw new IllegalArgumentException("Invalid point encoding 0x" + Integer.toString(encoded[
[all...]
/external/chromium_org/chrome/browser/extensions/api/cast_streaming/
H A Dperformance_test.cc198 // Build a map from frame ID (as encoded in the audio and video data)
216 // Note that the data encoded in the audio stream contains video frame
487 EventMap onbuffer, sink, inserted, encoded, transmitted, decoded, done; local
491 IndexEvents(analyzer, "VideoFrameEncoded", &encoded);
499 event_maps.push_back(std::make_pair(&encoded, "rtp_timestamp"));
539 // 5 = encoded
/external/chromium_org/content/common/
H A Dpage_state_serialization.cc739 bool DecodePageState(const std::string& encoded, ExplodedPageState* exploded) { argument
742 if (encoded.empty())
745 SerializeObject obj(encoded.data(), static_cast<int>(encoded.size()));
750 bool EncodePageState(const ExplodedPageState& exploded, std::string* encoded) { argument
754 *encoded = obj.GetAsString();
760 const std::string& encoded,
764 bool rv = DecodePageState(encoded, exploded);
759 DecodePageStateWithDeviceScaleFactorForTesting( const std::string& encoded, float device_scale_factor, ExplodedPageState* exploded) argument
/external/chromium_org/courgette/
H A Dassembly_program.cc28 REL32, // REL32 <label> - emit a rel32 encoded reference to 'label'.
29 ABS32, // REL32 <label> - emit am abs32 encoded reference to 'label'.
390 scoped_ptr<EncodedProgram> encoded(new(std::nothrow) EncodedProgram());
391 if (!encoded.get())
394 encoded->set_image_base(image_base_);
396 if (!DefineLabels(abs32_labels_, encoded.get(),
398 !DefineLabels(rel32_labels_, encoded.get(),
403 encoded->EndLabels();
411 if (!encoded->AddOrigin(org->origin_rva()))
417 if (!encoded
574 EncodedProgram *encoded = program->Encode(); local
[all...]
H A Dcourgette_tool.cc85 courgette::EncodedProgram* encoded = NULL; local
86 const courgette::Status encode_status = Encode(program, &encoded);
96 courgette::WriteEncodedProgram(encoded, &sinks);
98 Problem("Can't serialize encoded program.");
100 courgette::DeleteEncodedProgram(encoded);
104 Problem("Can't combine serialized encoded program streams.");
180 courgette::EncodedProgram* encoded = NULL; local
181 const courgette::Status encode_status = Encode(program, &encoded);
191 courgette::WriteEncodedProgram(encoded, &sinks);
193 Problem("Can't serialize encoded progra
296 courgette::EncodedProgram* encoded = NULL; local
[all...]
/external/chromium_org/third_party/boringssl/src/crypto/evp/
H A Dp_rsa_asn1.c72 uint8_t *encoded = NULL; local
74 len = i2d_RSAPublicKey(pkey->pkey.rsa, &encoded);
81 encoded, len)) {
82 OPENSSL_free(encoded);

Completed in 2262 milliseconds

123456