Searched refs:encoded (Results 51 - 75 of 362) sorted by relevance

1234567891011>>

/external/v8/src/
H A Dsource-position-table.cc30 // Each byte is encoded as MoreBit | ValueBits.
56 auto encoded = static_cast<typename std::make_unsigned<T>::type>(value); local
59 more = encoded > ValueBits::kMax;
61 MoreBit::encode(more) | ValueBits::encode(encoded & ValueBits::kMask);
63 encoded >>= ValueBits::kSize;
156 for (SourcePositionTableIterator encoded(*table); !encoded.done();
157 encoded.Advance(), raw++) {
159 DCHECK_EQ(encoded.code_offset(), raw->code_offset);
160 DCHECK_EQ(encoded
[all...]
/external/python/cpython3/Lib/test/test_json/
H A Dtest_dump.py64 encoded = self.dumps(l)
65 self.assertEqual(len(encoded), N * 3)
66 self.assertEqual(encoded[:1], "[")
67 self.assertEqual(encoded[-2:], "1]")
68 self.assertEqual(encoded[1:-2], "1, " * (N - 1))
/external/libbrillo/brillo/
H A Ddata_encoding_unittest.cc17 std::string encoded = UrlEncode(test.c_str()); local
18 EXPECT_EQ("%22http%3A%2F%2Fsample%2Fpath%2F0014.html+%22", encoded);
19 EXPECT_EQ(test, UrlDecode(encoded.c_str()));
22 encoded = UrlEncode(test.c_str(), false);
23 EXPECT_EQ("%22http%3A%2F%2Fsample%2Fpath%2F0014.html%20%22", encoded);
24 EXPECT_EQ(test, UrlDecode(encoded.c_str()));
28 std::string encoded = local
30 EXPECT_EQ("q=test&path=%2Fusr%2Fbin&%23=%25", encoded);
32 auto params = WebParamsDecode(encoded);
/external/guava/guava-gwt/test-super/com/google/common/io/super/com/google/common/io/
H A DBaseEncodingTest.java98 // This sentence just isn't base64() encoded.
181 // This sentence just isn't base32() encoded.
217 // This sentence just isn't base32 encoded.
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);
258 Joiner.on(separator).join(Splitter.fixedLength(sepLength).split(encoded)));
243 testEncodingWithCasing( BaseEncoding encoding, String decoded, String encoded) argument
250 testEncodingWithSeparators( BaseEncoding encoding, String decoded, String encoded) argument
263 testEncoding(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/tensorflow/tensorflow/contrib/coder/kernels/
H A Drange_coder_test.cc68 string encoded; local
71 encoder.Encode(cdf[x], cdf[x + 1], &encoded);
74 encoder.Finalize(&encoded);
76 LOG(INFO) << "Encoded string length (bits): " << 8 * encoded.size()
78 << (8 * encoded.size()) / ideal_length << " of ideal) "
82 RangeDecoder decoder(encoded, precision);
/external/webrtc/webrtc/modules/audio_coding/codecs/g711/
H A Daudio_encoder_pcm.cc84 uint8_t* encoded) {
98 EncodeCall(&speech_buffer_[0], full_frame_samples_, encoded);
112 uint8_t* encoded) {
113 return WebRtcG711_EncodeA(audio, input_len, encoded);
125 uint8_t* encoded) {
126 return WebRtcG711_EncodeU(audio, input_len, encoded);
80 EncodeInternal( uint32_t rtp_timestamp, rtc::ArrayView<const int16_t> audio, size_t max_encoded_bytes, uint8_t* encoded) argument
110 EncodeCall(const int16_t* audio, size_t input_len, uint8_t* encoded) argument
123 EncodeCall(const int16_t* audio, size_t input_len, uint8_t* encoded) argument
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
H A Disac_fix_type.h39 const uint8_t* encoded,
43 return WebRtcIsacfix_Decode(inst, encoded, len, decoded, speech_type);
55 uint8_t* encoded) {
56 return WebRtcIsacfix_Encode(inst, speech_in, encoded);
102 const uint8_t* encoded,
107 return WebRtcIsacfix_UpdateBwEstimate(inst, encoded, packet_size,
38 DecodeInternal(instance_type* inst, const uint8_t* encoded, size_t len, int16_t* decoded, int16_t* speech_type) argument
53 Encode(instance_type* inst, const int16_t* speech_in, uint8_t* encoded) argument
101 UpdateBwEstimate(instance_type* inst, const uint8_t* encoded, size_t packet_size, uint16_t rtp_seq_number, uint32_t send_ts, uint32_t arr_ts) argument
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
H A Disac_float_type.h37 const uint8_t* encoded,
41 return WebRtcIsac_Decode(inst, encoded, len, decoded, speech_type);
54 uint8_t* encoded) {
55 return WebRtcIsac_Encode(inst, speech_in, encoded);
99 const uint8_t* encoded,
104 return WebRtcIsac_UpdateBwEstimate(inst, encoded, packet_size,
36 DecodeInternal(instance_type* inst, const uint8_t* encoded, size_t len, int16_t* decoded, int16_t* speech_type) argument
52 Encode(instance_type* inst, const int16_t* speech_in, uint8_t* encoded) argument
98 UpdateBwEstimate(instance_type* inst, const uint8_t* encoded, size_t packet_size, uint16_t rtp_seq_number, uint32_t send_ts, uint32_t arr_ts) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
H A DBaseWrapCipher.java299 byte[] encoded = key.getEncoded();
300 if (encoded == null)
309 return engineDoFinal(encoded, 0, encoded.length);
313 return wrapEngine.wrap(encoded, 0, encoded.length);
328 byte[] encoded;
333 encoded = engineDoFinal(wrappedKey, 0, wrappedKey.length);
337 encoded = wrapEngine.unwrap(wrappedKey, 0, wrappedKey.length);
355 return new SecretKeySpec(encoded, wrappedKeyAlgorith
[all...]
/external/python/cpython3/Python/
H A Dimportdl.c31 * encoded as per PEP 489.
38 PyObject *encoded = NULL; local
59 encoded = PyUnicode_AsEncodedString(name, "ascii", NULL);
60 if (encoded != NULL) {
65 encoded = PyUnicode_AsEncodedString(name, "punycode", NULL);
66 if (encoded == NULL) {
76 modname = _PyObject_CallMethodId(encoded, &PyId_replace, "cc", '-', '_');
81 Py_DECREF(encoded);
85 Py_XDECREF(encoded);
/external/skqp/bench/
H A DBitmapRegionDecoderBench.cpp13 BitmapRegionDecoderBench::BitmapRegionDecoderBench(const char* baseName, SkData* encoded, argument
16 , fData(SkRef(encoded))
H A DAndroidCodecBench.h23 // Calls encoded->ref()
24 AndroidCodecBench(SkString basename, SkData* encoded, int sampleSize);
/external/webrtc/webrtc/libjingle/xmpp/
H A Dsaslmechanism.cc44 SaslMechanism::Base64Decode(const std::string & encoded) { argument
45 return Base64::Decode(encoded, Base64::DO_LAX);
/external/webrtc/webrtc/modules/audio_coding/codecs/
H A Daudio_encoder.cc30 uint8_t* encoded) {
35 EncodeInternal(rtp_timestamp, audio, max_encoded_bytes, encoded);
26 Encode( uint32_t rtp_timestamp, rtc::ArrayView<const int16_t> audio, size_t max_encoded_bytes, uint8_t* encoded) argument
/external/webrtc/webrtc/modules/audio_coding/codecs/g722/
H A Dg722_interface.h83 * This function encodes G722 encoded data.
92 * - encoded : The encoded data vector
100 uint8_t* encoded);
151 * - encoded : Encoded G722 frame(s)
152 * - len : Bytes in encoded vector
163 const uint8_t* encoded,
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
H A Daudio_decoder_ilbc.cc31 int AudioDecoderIlbc::DecodeInternal(const uint8_t* encoded, argument
38 int ret = WebRtcIlbcfix_Decode(dec_state_, encoded, encoded_len, decoded,
/external/webrtc/webrtc/modules/audio_coding/codecs/pcm16b/
H A Daudio_encoder_pcm16b.cc21 uint8_t* encoded) {
22 return WebRtcPcm16b_Encode(audio, input_len, encoded);
19 EncodeCall(const int16_t* audio, size_t input_len, uint8_t* encoded) argument
/external/llvm/test/MC/ARM/
H A Darm-it-block.s9 @ 'it' is parsed but not encoded.
/external/skia/bench/
H A DAndroidCodecBench.h23 // Calls encoded->ref()
24 AndroidCodecBench(SkString basename, SkData* encoded, int sampleSize);
/external/skia/include/c/
H A Dsk_image.h26 * returns an image. If the encoded data is not supported, returns NULL.
28 * On success, the encoded data may be processed immediately, or it may be ref()'d for later
31 SK_API sk_image_t* sk_image_new_from_encoded(const sk_data_t* encoded, const sk_irect_t* subset);
38 * If the image type cannot be encoded, this will return NULL.
/external/skqp/include/c/
H A Dsk_image.h26 * returns an image. If the encoded data is not supported, returns NULL.
28 * On success, the encoded data may be processed immediately, or it may be ref()'d for later
31 SK_API sk_image_t* sk_image_new_from_encoded(const sk_data_t* encoded, const sk_irect_t* subset);
38 * If the image type cannot be encoded, this will return NULL.
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/
H A DSHA384Digest.java42 * @param encodedState the encoded state from the originating digest.
112 byte[] encoded = new byte[getEncodedStateSize()];
113 super.populateState(encoded);
114 return encoded;
H A DSHA512Digest.java42 * @param encodedState the encoded state from the originating digest.
114 byte[] encoded = new byte[getEncodedStateSize()];
115 super.populateState(encoded);
116 return encoded;
/external/webrtc/webrtc/modules/audio_coding/acm2/
H A Drent_a_codec_unittest.cc118 uint8_t encoded[kPacketSizeSamples]; local
126 arraysize(encoded), encoded))
133 arraysize(encoded), encoded))
138 info = rac.GetEncoderStack()->Encode(0, audio, arraysize(encoded), encoded);
150 info = rac.GetEncoderStack()->Encode(1, audio, arraysize(encoded), encoded);
156 info = rac.GetEncoderStack()->Encode(2, audio, arraysize(encoded), encode
[all...]
/external/python/cpython3/Lib/email/
H A Dquoprimime.py20 `encoded-word' in a header. This method is commonly used for 8-bit real names
91 :return: The length in bytes of the byte array when it is encoded with
101 :return: The length in bytes of the byte array when it is encoded with
142 encoded = header_bytes.decode('latin1').translate(_QUOPRI_HEADER_MAP)
143 # Now add the RFC chrome to each encoded chunk and glue the chunks
145 return '=?%s?q?%s?=' % (charset, encoded)
155 Each line of encoded text will end with eol, which defaults to "\\n". Set
231 def decode(encoded, eol=NL):
236 if not encoded:
237 return encoded
[all...]

Completed in 3484 milliseconds

1234567891011>>