/external/libchrome/base/ |
H A D | base64_unittest.cc | 15 std::string encoded; local 19 Base64Encode(kText, &encoded); 20 EXPECT_EQ(kBase64Text, encoded); 22 ok = Base64Decode(encoded, &decoded);
|
/external/webrtc/webrtc/modules/audio_coding/codecs/pcm16b/ |
H A D | pcm16b.c | 17 uint8_t* encoded) { 21 encoded[2 * i] = s >> 8; 22 encoded[2 * i + 1] = s; 27 size_t WebRtcPcm16b_Decode(const uint8_t* encoded, argument 32 speech[i] = encoded[2 * i] << 8 | encoded[2 * i + 1]; 15 WebRtcPcm16b_Encode(const int16_t* speech, size_t len, uint8_t* encoded) argument
|
H A D | audio_decoder_pcm16b.cc | 29 int AudioDecoderPcm16B::DecodeInternal(const uint8_t* encoded, argument 37 size_t ret = WebRtcPcm16b_Decode(encoded, encoded_len, decoded); 42 int AudioDecoderPcm16B::PacketDuration(const uint8_t* encoded, argument 44 // Two encoded byte per sample per channel.
|
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/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
H A D | LazyConstructionEnumeration.java | 12 public LazyConstructionEnumeration(byte[] encoded) argument 14 aIn = new ASN1InputStream(encoded, true);
|
H A D | LazyEncodedSequence.java | 7 * Note: this class is for processing DER/DL encoded sequences only. 12 private byte[] encoded; field in class:LazyEncodedSequence 15 byte[] encoded) 18 this.encoded = encoded; 23 Enumeration en = new LazyConstructionEnumeration(encoded); 30 encoded = null; 35 if (encoded != null) 45 if (encoded == null) 50 return new LazyConstructionEnumeration(encoded); 14 LazyEncodedSequence( byte[] encoded) argument [all...] |
/external/c-ares/ |
H A D | ares_expand_string.c | 36 /* Simply decodes a length-encoded character string. The first byte of the 41 int ares_expand_string(const unsigned char *encoded, argument 53 if (encoded == abuf+alen) 56 elen.uns = *encoded; 57 if (encoded+elen.sig+1 > abuf+alen) 60 encoded++; 66 strncpy((char *)q, (char *)encoded, elen.uns);
|
H A D | ares_expand_name.c | 38 static int name_length(const unsigned char *encoded, const unsigned char *abuf, 41 /* Expand an RFC1035-encoded domain name given by encoded. The 44 * set to the length of the encoded name (not the length of the 46 * move forward to get past the encoded name). 48 * In the simple case, an encoded name is a series of labels, each 65 int ares_expand_name(const unsigned char *encoded, const unsigned char *abuf, argument 76 nlen.sig = name_length(encoded, abuf, alen); 93 if ((*encoded & INDIR_MASK) == INDIR_MASK) 102 p = encoded; 143 name_length(const unsigned char *encoded, const unsigned char *abuf, int alen) argument 192 ares__expand_name_for_response(const unsigned char *encoded, const unsigned char *abuf, int alen, char **s, long *enclen) argument [all...] |
/external/skia/tools/viewer/ |
H A D | ImageSlide.cpp | 28 sk_sp<SkData> encoded = SkData::MakeFromFileName(fPath.c_str()); local 29 fImage = SkImage::MakeFromEncoded(encoded);
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/openssl/ |
H A D | CertificateTrustBlock.java | 41 CertificateTrustBlock(byte[] encoded) argument 43 ASN1Sequence seq = ASN1Sequence.getInstance(encoded);
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
H A D | X509PublicKey.java | 31 private final byte[] encoded; field in class:X509PublicKey 33 X509PublicKey(String algorithm, byte[] encoded) { argument 35 this.encoded = encoded; 50 return encoded; 55 return "X509PublicKey [algorithm=" + algorithm + ", encoded=" + Arrays.toString(encoded) 64 result = prime * result + Arrays.hashCode(encoded); 82 if (!Arrays.equals(encoded, other.encoded)) [all...] |
/external/guava/guava/src/com/google/thirdparty/publicsuffix/ |
H A D | TrieParser.java | 38 static ImmutableMap<String, PublicSuffixType> parseTrie(CharSequence encoded) { argument 40 int encodedLen = encoded.length(); 45 encoded.subSequence(idx, encodedLen), 56 * @param encoded The serialized trie. 58 * @return The number of characters consumed from {@code encoded}. 62 CharSequence encoded, 65 int encodedLen = encoded.length(); 71 c = encoded.charAt(idx); 77 stack.add(0, reverse(encoded.subSequence(0, idx))); 94 idx += doParseTrieToBuilder(stack, encoded 60 doParseTrieToBuilder( List<CharSequence> stack, CharSequence encoded, ImmutableMap.Builder<String, PublicSuffixType> builder) argument [all...] |
/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/openssh/ |
H A D | uuencode.c | 38 * Encode binary 'src' of length 'srclength', writing base64-encoded text 51 * Decode base64-encoded 'src' into buffer 'target' of 'targsize' bytes. 59 char *encoded, *p; local 62 encoded = xstrdup(src); 64 for (p = encoded; *p == ' ' || *p == '\t'; p++) 70 len = __b64_pton(encoded, target, targsize); 71 free(encoded);
|
/external/sfntly/cpp/src/test/ |
H A D | test_utils_test.cc | 41 int32_t encoded = TestUtils::EncodeOneChar(conv, (int16_t)from[i]); local 42 for (; encoded; encoded <<= 8) { 43 byte_t b = (encoded & 0xff000000) >> 24;
|
/external/skia/bench/ |
H A D | AndroidCodecBench.cpp | 15 AndroidCodecBench::AndroidCodecBench(SkString baseName, SkData* encoded, int sampleSize) argument 16 : fData(SkRef(encoded))
|
H A D | BitmapRegionDecoderBench.cpp | 13 BitmapRegionDecoderBench::BitmapRegionDecoderBench(const char* baseName, SkData* encoded, argument 16 , fData(SkRef(encoded))
|
H A D | CodecBench.cpp | 18 CodecBench::CodecBench(SkString baseName, SkData* encoded, SkColorType colorType, argument 22 , fData(SkRef(encoded))
|
H A D | ColorCodecBench.cpp | 21 ColorCodecBench::ColorCodecBench(const char* name, sk_sp<SkData> encoded) argument 22 : fEncoded(std::move(encoded))
|
/external/snakeyaml/src/test/java/biz/source_code/base64Coder/ |
H A D | Base64CoderTest.java | 39 assertEquals("Length of Base64 encoded input string is not a multiple of 4.", 56 private void checkInvalid(String encoded) { argument 58 Base64Coder.decode(encoded.toCharArray()); 61 assertEquals("Illegal character in Base64 encoded data.", e.getMessage()); 65 private void check(String text, String encoded) throws UnsupportedEncodingException { argument 68 assertEquals(encoded, t1); 69 byte[] s2 = Base64Coder.decode(encoded.toCharArray());
|
/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/g711/ |
H A D | audio_decoder_pcm.cc | 23 int AudioDecoderPcmU::DecodeInternal(const uint8_t* encoded, argument 30 size_t ret = WebRtcG711_DecodeU(encoded, encoded_len, decoded, &temp_type); 35 int AudioDecoderPcmU::PacketDuration(const uint8_t* encoded, argument 37 // One encoded byte per sample per channel. 47 int AudioDecoderPcmA::DecodeInternal(const uint8_t* encoded, argument 54 size_t ret = WebRtcG711_DecodeA(encoded, encoded_len, decoded, &temp_type); 59 int AudioDecoderPcmA::PacketDuration(const uint8_t* encoded, argument 61 // One encoded byte per sample per channel.
|
H A D | g711_interface.c | 17 uint8_t* encoded) { 20 encoded[n] = linear_to_alaw(speechIn[n]); 26 uint8_t* encoded) { 29 encoded[n] = linear_to_ulaw(speechIn[n]); 33 size_t WebRtcG711_DecodeA(const uint8_t* encoded, argument 39 decoded[n] = alaw_to_linear(encoded[n]); 44 size_t WebRtcG711_DecodeU(const uint8_t* encoded, argument 50 decoded[n] = ulaw_to_linear(encoded[n]); 15 WebRtcG711_EncodeA(const int16_t* speechIn, size_t len, uint8_t* encoded) argument 24 WebRtcG711_EncodeU(const int16_t* speechIn, size_t len, uint8_t* encoded) argument
|
/external/r8/src/main/java/com/android/tools/r8/ir/desugar/ |
H A D | DefaultMethodsHelper.java | 60 final void addDefaultMethod(DexEncodedMethod encoded) { argument 61 candidates.add(encoded);
|
/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
|