/external/c-ares/ |
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...] |
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);
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
H A D | DerGeneralizedTimeEDTest.java | 55 byte[] encoded = 56 new DerOutputStream(gTime, myDate).encoded; 57 String rep = new String(encoded, 2, encoded[1] & 0xff, "UTF-8"); 62 encoded = 63 new DerOutputStream(gTime, myDate).encoded; 64 rep = new String(encoded, 2, encoded[1] & 0xff, "UTF-8"); 69 encoded = 70 new DerOutputStream(gTime, myDate).encoded; [all...] |
H A D | AnyTest.java | 42 private static byte[] encoded = new byte[] { 0x01, 0x03, 0x11, 0x13, 0x15 }; field in class:AnyTest 45 DerInputStream in = new DerInputStream(encoded); 46 assertTrue(Arrays.equals(encoded, (byte[]) ASN1Any.getInstance() 52 encoded); 53 assertTrue("False", Arrays.equals(encoded, out.encoded));
|
H A D | DerUTCTimeEDTest.java | 58 byte[] encoded = 59 new DerOutputStream(uTime, myDate).encoded; 60 String rep = new String(encoded, 2, encoded[1] & 0xff, "UTF-8"); 68 encoded = 69 new DerOutputStream(uTime, myDate).encoded; 70 rep = new String(encoded, 2, encoded[1] & 0xff, "UTF-8"); 103 byte[] encoded = 104 new DerOutputStream(uTime, myDate).encoded; [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
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/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/ |
H A D | crc.h | 29 * - encoded : payload bit stream 40 const int16_t* encoded,
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
H A D | PrivateKeyStub.java | 36 byte[] encoded = null; field in class:PrivateKeyStub 44 * @param encoded 46 public PrivateKeyStub(String algorithm, String format, byte[] encoded) { argument 49 this.encoded = encoded; 71 * Returns encoded form 76 return encoded;
|
H A D | PublicKeyStub.java | 38 byte[] encoded = null; field in class:PublicKeyStub 43 public PublicKeyStub(String algorithm, String format, byte[] encoded) { argument 46 this.encoded = encoded; 66 * returns encoded 71 return encoded;
|
/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 | pcm16b.h | 35 * - encoded : Encoded data vector (big endian 16 bit) 43 uint8_t* encoded); 51 * - encoded : Encoded data vector (big endian 16 bit) 52 * - len : Number of bytes in encoded 60 size_t WebRtcPcm16b_Decode(const uint8_t* encoded,
|
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.
|
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/ |
H A D | audio_decoder_opus.cc | 28 int AudioDecoderOpus::DecodeInternal(const uint8_t* encoded, argument 36 WebRtcOpus_Decode(dec_state_, encoded, encoded_len, decoded, &temp_type); 43 int AudioDecoderOpus::DecodeRedundantInternal(const uint8_t* encoded, argument 48 if (!PacketHasFec(encoded, encoded_len)) { 50 return DecodeInternal(encoded, encoded_len, sample_rate_hz, decoded, 56 int ret = WebRtcOpus_DecodeFec(dec_state_, encoded, encoded_len, decoded, 68 int AudioDecoderOpus::PacketDuration(const uint8_t* encoded, argument 70 return WebRtcOpus_DurationEst(dec_state_, encoded, encoded_len); 73 int AudioDecoderOpus::PacketDurationRedundant(const uint8_t* encoded, argument 75 if (!PacketHasFec(encoded, encoded_le 83 PacketHasFec(const uint8_t* encoded, size_t encoded_len) const argument [all...] |
H A D | audio_decoder_opus.h | 25 int PacketDuration(const uint8_t* encoded, size_t encoded_len) const override; 26 int PacketDurationRedundant(const uint8_t* encoded, 28 bool PacketHasFec(const uint8_t* encoded, size_t encoded_len) const override; 32 int DecodeInternal(const uint8_t* encoded, 37 int DecodeRedundantInternal(const uint8_t* encoded,
|
/external/dbus/dbus/ |
H A D | dbus-uuidgen.c | 51 DBusString encoded; local 53 if (!_dbus_string_init (&encoded)) 59 if (!_dbus_uuid_encode (uuid, &encoded) || 60 !_dbus_string_steal_data (&encoded, uuid_p)) 63 _dbus_string_free (&encoded); 66 _dbus_string_free (&encoded);
|
/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.h | 35 * - encoded : The encoded data vector 43 uint8_t* encoded); 56 * - encoded : The encoded data vector 64 uint8_t* encoded); 72 * - encoded : Encoded data 73 * - len : Bytes in encoded vector 85 size_t WebRtcG711_DecodeA(const uint8_t* encoded, 96 * - encoded [all...] |
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/conscrypt/src/main/java/org/conscrypt/ |
H A D | X509PublicKey.java | 31 private final byte[] encoded; field in class:X509PublicKey 33 public 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/webrtc/webrtc/modules/audio_coding/codecs/ |
H A D | audio_decoder.cc | 20 int AudioDecoder::Decode(const uint8_t* encoded, size_t encoded_len, argument 24 int duration = PacketDuration(encoded, encoded_len); 29 return DecodeInternal(encoded, encoded_len, sample_rate_hz, decoded, 33 int AudioDecoder::DecodeRedundant(const uint8_t* encoded, size_t encoded_len, argument 37 int duration = PacketDurationRedundant(encoded, encoded_len); 42 return DecodeRedundantInternal(encoded, encoded_len, sample_rate_hz, decoded, 46 int AudioDecoder::DecodeRedundantInternal(const uint8_t* encoded, argument 50 return DecodeInternal(encoded, encoded_len, sample_rate_hz, decoded, 70 int AudioDecoder::PacketDuration(const uint8_t* encoded, argument 75 int AudioDecoder::PacketDurationRedundant(const uint8_t* encoded, argument 80 PacketHasFec(const uint8_t* encoded, size_t encoded_len) const argument [all...] |
H A D | audio_decoder.h | 37 // Decodes |encode_len| bytes from |encoded| and writes the result in 44 int Decode(const uint8_t* encoded, 53 int DecodeRedundant(const uint8_t* encoded, 81 // Returns the duration in samples-per-channel of the payload in |encoded| 84 virtual int PacketDuration(const uint8_t* encoded, size_t encoded_len) const; 87 // |encoded| which is |encoded_len| bytes long. Returns kNotImplemented if no 89 virtual int PacketDurationRedundant(const uint8_t* encoded, 93 // comprised of the samples in |encoded| which is |encoded_len| bytes long. 95 virtual bool PacketHasFec(const uint8_t* encoded, size_t encoded_len) const; 106 virtual int DecodeInternal(const uint8_t* encoded, [all...] |
/external/boringssl/src/crypto/base64/ |
H A D | base64_test.cc | 25 const char *encoded; member in struct:TestVector 47 if (len != strlen(t->encoded) || 48 memcmp(out, t->encoded, len) != 0) { 50 t->decoded, (int)len, (const char*)out, t->encoded); 66 (const uint8_t*)t->encoded, strlen(t->encoded))) { 67 fprintf(stderr, "decode(\"%s\") failed\n", t->encoded); 73 t->encoded, (int)len, (const char*)out, t->decoded); 78 int ret = EVP_DecodeBlock(out, (const uint8_t*)t->encoded, 79 strlen(t->encoded)); [all...] |
/external/v8/test/mjsunit/regress/ |
H A D | regress-244.js | 51 var encoded = kLegalPairs[i][1]; 52 assertEquals(decodeURI(encoded), decoded); 53 assertEquals(encodeURI(decoded), encoded);
|
/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/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
H A D | Credentials.java | 31 String encoded = ByteString.of(bytes).base64(); 32 return "Basic " + encoded;
|