/external/v8/src/ |
H A D | source-position-table.cc | 30 // 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 D | test_dump.py | 64 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 D | data_encoding_unittest.cc | 17 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 D | BaseEncodingTest.java | 98 // 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 D | range_coder_test.cc | 68 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 D | audio_encoder_pcm.cc | 84 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 D | isac_fix_type.h | 39 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 D | isac_float_type.h | 37 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 D | BaseWrapCipher.java | 299 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 D | importdl.c | 31 * 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 D | BitmapRegionDecoderBench.cpp | 13 BitmapRegionDecoderBench::BitmapRegionDecoderBench(const char* baseName, SkData* encoded, argument 16 , fData(SkRef(encoded))
|
H A D | AndroidCodecBench.h | 23 // Calls encoded->ref() 24 AndroidCodecBench(SkString basename, SkData* encoded, int sampleSize);
|
/external/webrtc/webrtc/libjingle/xmpp/ |
H A D | saslmechanism.cc | 44 SaslMechanism::Base64Decode(const std::string & encoded) { argument 45 return Base64::Decode(encoded, Base64::DO_LAX);
|
/external/webrtc/webrtc/modules/audio_coding/codecs/ |
H A D | audio_encoder.cc | 30 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 D | g722_interface.h | 83 * 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 D | audio_decoder_ilbc.cc | 31 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 D | audio_encoder_pcm16b.cc | 21 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 D | arm-it-block.s | 9 @ 'it' is parsed but not encoded.
|
/external/skia/bench/ |
H A D | AndroidCodecBench.h | 23 // Calls encoded->ref() 24 AndroidCodecBench(SkString basename, SkData* encoded, int sampleSize);
|
/external/skia/include/c/ |
H A D | sk_image.h | 26 * 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 D | sk_image.h | 26 * 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 D | SHA384Digest.java | 42 * @param encodedState the encoded state from the originating digest. 112 byte[] encoded = new byte[getEncodedStateSize()]; 113 super.populateState(encoded); 114 return encoded;
|
H A D | SHA512Digest.java | 42 * @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 D | rent_a_codec_unittest.cc | 118 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 D | quoprimime.py | 20 `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...] |