/external/webrtc/webrtc/modules/audio_coding/codecs/ |
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...] |
/tools/apksig/src/test/java/com/android/apksig/internal/util/ |
HexEncoding.java | 61 public static byte[] decode(String encoded) { 63 int resultLengthBytes = (encoded.length() + 1) / 2; 67 if ((encoded.length() % 2) != 0) { 70 (byte) getHexadecimalDigitValue(encoded.charAt(encodedCharOffset)); 73 for (int len = encoded.length(); encodedCharOffset < len; encodedCharOffset += 2) { 75 ((getHexadecimalDigitValue(encoded.charAt(encodedCharOffset)) << 4) 76 | getHexadecimalDigitValue(encoded.charAt(encodedCharOffset + 1)));
|
/external/webrtc/webrtc/modules/audio_coding/codecs/pcm16b/ |
audio_decoder_pcm16b.cc | 29 int AudioDecoderPcm16B::DecodeInternal(const uint8_t* encoded, 37 size_t ret = WebRtcPcm16b_Decode(encoded, encoded_len, decoded); 42 int AudioDecoderPcm16B::PacketDuration(const uint8_t* encoded, 44 // Two encoded byte per sample per channel.
|
audio_decoder_pcm16b.h | 23 int PacketDuration(const uint8_t* encoded, size_t encoded_len) const override; 27 int DecodeInternal(const uint8_t* encoded,
|
/external/libchrome/base/ |
base64_unittest.cc | 15 std::string encoded; local 19 Base64Encode(kText, &encoded); 20 EXPECT_EQ(kBase64Text, encoded); 22 ok = Base64Decode(encoded, &decoded);
|
/external/syslinux/gpxe/src/core/ |
base64.c | 39 * @v encoded Buffer for encoded string 41 * The buffer must be the correct length for the encoded string. Use 49 void base64_encode ( const char *raw, char *encoded ) { 51 uint8_t *encoded_bytes = ( ( uint8_t * ) encoded ); 66 DBG ( "Base64-encoded \"%s\" as \"%s\"\n", raw, encoded ); 67 assert ( strlen ( encoded ) == base64_encoded_len ( strlen ( raw ) ) );
|
/external/webrtc/webrtc/modules/audio_coding/codecs/g711/ |
audio_decoder_pcm.h | 25 int PacketDuration(const uint8_t* encoded, size_t encoded_len) const override; 29 int DecodeInternal(const uint8_t* encoded, 46 int PacketDuration(const uint8_t* encoded, size_t encoded_len) const override; 50 int DecodeInternal(const uint8_t* encoded,
|
audio_decoder_pcm.cc | 23 int AudioDecoderPcmU::DecodeInternal(const uint8_t* encoded, 30 size_t ret = WebRtcG711_DecodeU(encoded, encoded_len, decoded, &temp_type); 35 int AudioDecoderPcmU::PacketDuration(const uint8_t* encoded, 37 // One encoded byte per sample per channel. 47 int AudioDecoderPcmA::DecodeInternal(const uint8_t* encoded, 54 size_t ret = WebRtcG711_DecodeA(encoded, encoded_len, decoded, &temp_type); 59 int AudioDecoderPcmA::PacketDuration(const uint8_t* encoded, 61 // One encoded byte per sample per channel.
|
/external/webrtc/webrtc/modules/audio_coding/codecs/g722/ |
audio_decoder_g722.h | 26 int PacketDuration(const uint8_t* encoded, size_t encoded_len) const override; 30 int DecodeInternal(const uint8_t* encoded, 48 int DecodeInternal(const uint8_t* encoded, 56 // Splits the stereo-interleaved payload in |encoded| into separate payloads 61 void SplitStereoPacket(const uint8_t* encoded,
|
audio_decoder_g722.cc | 33 int AudioDecoderG722::DecodeInternal(const uint8_t* encoded, 41 WebRtcG722_Decode(dec_state_, encoded, encoded_len, decoded, &temp_type); 50 int AudioDecoderG722::PacketDuration(const uint8_t* encoded, 52 // 1/2 encoded byte per sample per channel. 72 int AudioDecoderG722Stereo::DecodeInternal(const uint8_t* encoded, 81 SplitStereoPacket(encoded, encoded_len, encoded_deinterleaved); 114 void AudioDecoderG722Stereo::SplitStereoPacket(const uint8_t* encoded, 121 uint8_t right_byte = ((encoded[i] & 0x0F) << 4) + (encoded[i + 1] & 0x0F); 122 encoded_deinterleaved[i] = (encoded[i] & 0xF0) + (encoded[i + 1] >> 4) [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Credentials.java | 31 String encoded = ByteString.of(bytes).base64(); local 32 return "Basic " + encoded;
|
/libcore/ojluni/src/main/java/java/security/ |
KeyRep.java | 106 * The encoded Key bytes 110 private byte[] encoded; field in class:KeyRep 122 * @param encoded the encoded bytes returned from 129 * or if encoded is {@code null} 132 String format, byte[] encoded) { 135 format == null || encoded == null) { 142 this.encoded = encoded.clone(); 151 * constructed using encoded key bytes and algorith [all...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
MyKeyPairGenerator1.java | 99 private byte[] encoded; field in class:MyKeyPairGenerator1.PubKey 104 this.encoded = new byte[10]; 116 return encoded; 125 private byte[] encoded; field in class:MyKeyPairGenerator1.PrivKey 130 this.encoded = new byte[10]; 142 return encoded;
|
KeyStoreTestSupport.java | 66 private byte[] encoded; field in class:KeyStoreTestSupport.SKey 68 public SKey(String type, byte[] encoded) { 70 this.encoded = encoded; 78 return encoded; 94 private byte[] encoded; field in class:KeyStoreTestSupport.MyPrivateKey 96 public MyPrivateKey(String algorithm, String format, byte[] encoded) { 99 this.encoded = encoded; 111 return encoded; [all...] |
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/arm/ |
thumb2_ldr_immediate_highregs_armv6t2.s | 5 # These must be encoded into mov.w despite constant and register being 15 # These shall be encoded into mov.w since register cannot be encoded in 23 # These shall be encoded into movw since immediate cannot be encoded 27 # These should be encoded as ldr since mov immediate is unpredictable
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/ |
EncodeUtilsTest.java | 43 byte[] encoded = EncodeUtils.encode(text, flags); 44 assertArrayEquals(new byte[] { 0x66, 0x6f, 0x6f }, encoded); 45 assertEquals(text, EncodeUtils.decode(encoded, flags)); 53 byte[] encoded = EncodeUtils.encode(kazakhCapital, flags); 56 (byte) 0xd0, (byte) 0xb0 }, encoded); 57 assertEquals(kazakhCapital, EncodeUtils.decode(encoded, flags));
|
/external/pdfium/fxbarcode/oned/ |
BC_OnedCodaBarWriter_unittest.cpp | 24 uint8_t* encoded = writer.Encode("", BCFORMAT_CODABAR, width, height); local 31 EXPECT_EQ(expected[i] != ' ', !!encoded[i]) << i; 33 FX_Free(encoded); 35 encoded = writer.Encode("123", BCFORMAT_CODABAR, width, height); 45 EXPECT_EQ(expected[i] != ' ', !!encoded[i]) << i; 47 FX_Free(encoded); 49 encoded = writer.Encode("-$./:+", BCFORMAT_CODABAR, width, height); 64 EXPECT_EQ(expected[i] != ' ', !!encoded[i]) << i; 66 FX_Free(encoded); 68 encoded = writer.Encode("456.987987987/001", BCFORMAT_CODABAR, width, height) 133 uint8_t* encoded = writer.Encode("987", BCFORMAT_CODABAR, width, height); local [all...] |
/external/guava/guava/src/com/google/thirdparty/publicsuffix/ |
TrieParser.java | 38 static ImmutableMap<String, PublicSuffixType> parseTrie(CharSequence encoded) { 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.subSequence(idx, encodedLen), builder) [all...] |
/external/boringssl/src/crypto/base64/ |
base64_test.cc | 38 // invalid indicates that the encoded data is valid. 45 const char *encoded; member in struct:TestVector 138 std::string encoded(RemoveNewlines(t.encoded)); 139 EXPECT_EQ(Bytes(encoded), Bytes(out, len)); 150 const std::string encoded(RemoveNewlines(t.encoded)); 151 std::vector<uint8_t> out_vec(encoded.size()); 156 (const uint8_t *)encoded.data(), encoded.size()) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
BaseCipherSpi.java | 112 byte[] encoded = key.getEncoded(); 113 if (encoded == null) 122 return engineDoFinal(encoded, 0, encoded.length); 126 return wrapEngine.wrap(encoded, 0, encoded.length); 141 byte[] encoded; 146 encoded = engineDoFinal(wrappedKey, 0, wrappedKey.length); 150 encoded = wrapEngine.unwrap(wrappedKey, 0, wrappedKey.length); 174 return new SecretKeySpec(encoded, wrappedKeyAlgorithm) [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/include/ |
isacfix.h | 123 * - encoded : the encoded data vector 133 uint8_t* encoded); 153 * - encoded : the encoded data vector 165 int16_t *encoded); 188 * - encoded : encoded ISAC frame(s). 199 const uint8_t* encoded, 211 * - encoded : encoded ISAC frame(s) [all...] |
/external/snakeyaml/src/test/java/biz/source_code/base64Coder/ |
Base64CoderTest.java | 39 assertEquals("Length of Base64 encoded input string is not a multiple of 4.", 56 private void checkInvalid(String encoded) { 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 { 68 assertEquals(encoded, t1); 69 byte[] s2 = Base64Coder.decode(encoded.toCharArray());
|
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/net/idna/ |
punycode.go | 34 func decode(encoded string) (string, error) { 35 if encoded == "" { 38 pos := 1 + strings.LastIndex(encoded, "-") 40 return "", punyError(encoded) 42 if pos == len(encoded) { 43 return encoded[:len(encoded)-1], nil 45 output := make([]rune, 0, len(encoded)) 47 for _, r := range encoded[:pos-1] { 52 for pos < len(encoded) { [all...] |
/prebuilts/go/linux-x86/src/vendor/golang_org/x/net/idna/ |
punycode.go | 34 func decode(encoded string) (string, error) { 35 if encoded == "" { 38 pos := 1 + strings.LastIndex(encoded, "-") 40 return "", punyError(encoded) 42 if pos == len(encoded) { 43 return encoded[:len(encoded)-1], nil 45 output := make([]rune, 0, len(encoded)) 47 for _, r := range encoded[:pos-1] { 52 for pos < len(encoded) { [all...] |
/libcore/ojluni/src/main/java/javax/crypto/ |
EncryptedPrivateKeyInfo.java | 66 // the ASN.1 encoded contents of this class 67 private byte[] encoded = null; field in class:EncryptedPrivateKeyInfo 72 * @param encoded the ASN.1 encoding of this object. The contents of 74 * @exception NullPointerException if the <code>encoded</code> is null. 77 public EncryptedPrivateKeyInfo(byte[] encoded) 79 if (encoded == null) { 80 throw new NullPointerException("the encoded parameter " + 83 this.encoded = encoded.clone(); 84 DerValue val = new DerValue(this.encoded); [all...] |