/external/skia/bench/ |
ColorCodecBench.h | 18 ColorCodecBench(const char* name, sk_sp<SkData> encoded);
|
AndroidCodecBench.cpp | 15 AndroidCodecBench::AndroidCodecBench(SkString baseName, SkData* encoded, int sampleSize) 16 : fData(SkRef(encoded))
|
BitmapRegionDecoderBench.cpp | 13 BitmapRegionDecoderBench::BitmapRegionDecoderBench(const char* baseName, SkData* encoded, 16 , fData(SkRef(encoded))
|
/external/skqp/bench/ |
BitmapRegionDecoderBench.h | 26 // Calls encoded->ref() 27 BitmapRegionDecoderBench(const char* basename, SkData* encoded, SkColorType colorType,
|
ColorCodecBench.h | 18 ColorCodecBench(const char* name, sk_sp<SkData> encoded);
|
/external/webrtc/webrtc/modules/audio_coding/codecs/pcm16b/ |
audio_encoder_pcm16b.h | 38 uint8_t* encoded) override;
|
/external/webrtc/webrtc/modules/audio_coding/codecs/red/ |
audio_encoder_copy_red.cc | 59 uint8_t* encoded) { 61 speech_encoder_->Encode(rtp_timestamp, audio, max_encoded_bytes, encoded); 73 memcpy(&encoded[info.encoded_bytes], secondary_encoded_.data(), 79 secondary_encoded_.SetData(encoded, info.encoded_bytes);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
base64.py | 51 The encoded string is returned.
54 encoded = binascii.b2a_base64(s)[:-1]
56 return _translate(encoded, {'+': altchars[0], '/': altchars[1]})
57 return encoded
61 """Decode a Base64 encoded string.
83 s is the string to encode. The encoded string is returned.
88 """Decode a string encoded with the standard Base64 alphabet.
99 s is the string to encode. The encoded string is returned. The alphabet
105 """Decode a string encoded with the standard Base64 alphabet.
140 s is the string to encode. The encoded string is returned. [all...] |
/external/python/cpython2/Lib/ |
base64.py | 52 The encoded string is returned. 55 encoded = binascii.b2a_base64(s)[:-1] 57 return encoded.translate(string.maketrans(b'+/', altchars[:2])) 58 return encoded 62 """Decode a Base64 encoded string. 85 s is the string to encode. The encoded string is returned. 90 """Decode a string encoded with the standard Base64 alphabet. 105 Argument s is the string to encode. The encoded string is returned. The 147 s is the string to encode. The encoded string is returned. 173 encoded = EMPTYSTRING.join(parts [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
base64.py | 51 The encoded string is returned. 54 encoded = binascii.b2a_base64(s)[:-1] 56 return _translate(encoded, {'+': altchars[0], '/': altchars[1]}) 57 return encoded 61 """Decode a Base64 encoded string. 83 s is the string to encode. The encoded string is returned. 88 """Decode a string encoded with the standard Base64 alphabet. 99 s is the string to encode. The encoded string is returned. The alphabet 105 """Decode a string encoded with the standard Base64 alphabet. 140 s is the string to encode. The encoded string is returned [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
base64.py | 51 The encoded string is returned. 54 encoded = binascii.b2a_base64(s)[:-1] 56 return _translate(encoded, {'+': altchars[0], '/': altchars[1]}) 57 return encoded 61 """Decode a Base64 encoded string. 83 s is the string to encode. The encoded string is returned. 88 """Decode a string encoded with the standard Base64 alphabet. 99 s is the string to encode. The encoded string is returned. The alphabet 105 """Decode a string encoded with the standard Base64 alphabet. 140 s is the string to encode. The encoded string is returned [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
base64.py | 51 The encoded string is returned. 54 encoded = binascii.b2a_base64(s)[:-1] 56 return _translate(encoded, {'+': altchars[0], '/': altchars[1]}) 57 return encoded 61 """Decode a Base64 encoded string. 83 s is the string to encode. The encoded string is returned. 88 """Decode a string encoded with the standard Base64 alphabet. 99 s is the string to encode. The encoded string is returned. The alphabet 105 """Decode a string encoded with the standard Base64 alphabet. 140 s is the string to encode. The encoded string is returned [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
base64.py | 51 The encoded string is returned. 54 encoded = binascii.b2a_base64(s)[:-1] 56 return _translate(encoded, {'+': altchars[0], '/': altchars[1]}) 57 return encoded 61 """Decode a Base64 encoded string. 83 s is the string to encode. The encoded string is returned. 88 """Decode a string encoded with the standard Base64 alphabet. 99 s is the string to encode. The encoded string is returned. The alphabet 105 """Decode a string encoded with the standard Base64 alphabet. 140 s is the string to encode. The encoded string is returned [all...] |
/external/robolectric/v1/src/main/java/android/net/ |
Uri__FromAndroid.java | 201 * Gets the encoded authority part of this URI. For 221 * Gets the encoded user information from the authority. 230 * Gets the encoded host from the authority for this URI. For example, 255 * Gets the encoded path. 257 * @return the encoded path, or null if this is not a hierarchical URI 273 * Gets the encoded query component from this URI. The query comes after 278 * @return the encoded query or null if there isn't one 290 * Gets the encoded fragment part of this URI, everything after the '#'. 292 * @return the encoded fragment or null if there isn't one 312 * encoded string representations of this Uri and the given Uri ar 1688 StringBuilder encoded = null; local 1904 volatile String encoded; field in class:Uri__FromAndroid.AbstractPart 2147 String encoded = encode(decoded); local [all...] |
/frameworks/base/core/java/android/net/ |
Uri.java | 217 * Gets the encoded authority part of this URI. For 239 * Gets the encoded user information from the authority. 249 * Gets the encoded host from the authority for this URI. For example, 276 * Gets the encoded path. 278 * @return the encoded path, or null if this is not a hierarchical URI 296 * Gets the encoded query component from this URI. The query comes after 301 * @return the encoded query or null if there isn't one 315 * Gets the encoded fragment part of this URI, everything after the '#'. 317 * @return the encoded fragment or null if there isn't one 339 * encoded string representations of this Uri and the given Uri ar 1860 StringBuilder encoded = null; local 1979 volatile String encoded; field in class:Uri.AbstractPart 2223 String encoded = encode(decoded); local [all...] |
/prebuilts/go/darwin-x86/src/mime/ |
encodedword.go | 19 // A WordEncoder is an RFC 2047 encoded-word encoder. 30 errInvalidWord = errors.New("mime: invalid RFC 2047 encoded-word") 33 // Encode returns the encoded-word form of s. If s is ASCII without special 52 // encodeWord encodes a string into an encoded-word. 69 // The maximum length of an encoded-word is 75 characters. 72 // maxContentLen is how much content can be encoded, ignoring the header and 83 // splitting the encoded-word. 92 // Multi-byte characters must not be split across encoded-words. 111 // encoded-words when necessary. 113 // We only split encoded-words when the charset is UTF-8 [all...] |
/prebuilts/go/linux-x86/src/mime/ |
encodedword.go | 19 // A WordEncoder is an RFC 2047 encoded-word encoder. 30 errInvalidWord = errors.New("mime: invalid RFC 2047 encoded-word") 33 // Encode returns the encoded-word form of s. If s is ASCII without special 52 // encodeWord encodes a string into an encoded-word. 69 // The maximum length of an encoded-word is 75 characters. 72 // maxContentLen is how much content can be encoded, ignoring the header and 83 // splitting the encoded-word. 92 // Multi-byte characters must not be split across encoded-words. 111 // encoded-words when necessary. 113 // We only split encoded-words when the charset is UTF-8 [all...] |
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
AndroidBinXmlParser.java | 672 private static String getLengthPrefixedUtf16EncodedString(ByteBuffer encoded) 677 int lengthChars = getUnsignedInt16(encoded); 679 lengthChars = ((lengthChars & 0x7fff) << 16) | getUnsignedInt16(encoded); 688 if (encoded.hasArray()) { 689 arr = encoded.array(); 690 arrOffset = encoded.arrayOffset() + encoded.position(); 691 encoded.position(encoded.position() + lengthBytes); 695 encoded.get(arr) [all...] |
/external/cn-cbor/test/ |
cbor_test.c | 117 unsigned char encoded[1024]; local 128 enc_sz = cn_cbor_encoder_write(encoded, 0, sizeof(encoded), cb); 129 ASSERT_DATA(b.ptr, b.sz, encoded, enc_sz); 165 unsigned char encoded[1024]; local 177 enc_sz = cn_cbor_encoder_write(encoded, 0, sizeof(encoded), cb); 178 ASSERT_DATA(b2.ptr, b2.sz, encoded, enc_sz); 198 /* enc_sz = cn_cbor_encoder_write(encoded, 0, sizeof(encoded), cb); * 259 unsigned char encoded[1024]; local 418 unsigned char encoded[1024]; local [all...] |
/external/conscrypt/testing/src/main/java/org/conscrypt/ |
TestUtils.java | 475 public static byte[] decodeHex(String encoded) throws IllegalArgumentException { 476 return decodeHex(encoded.toCharArray()); 486 public static byte[] decodeHex(String encoded, boolean allowSingleChar) throws IllegalArgumentException { 487 return decodeHex(encoded.toCharArray(), allowSingleChar); 496 public static byte[] decodeHex(char[] encoded) throws IllegalArgumentException { 497 return decodeHex(encoded, false); 507 public static byte[] decodeHex(char[] encoded, boolean allowSingleChar) throws IllegalArgumentException { 508 int resultLengthBytes = (encoded.length + 1) / 2; 514 if ((encoded.length % 2) != 0) { 516 result[resultOffset++] = (byte) toDigit(encoded, i) [all...] |
/prebuilts/go/darwin-x86/src/encoding/base32/ |
base32_test.go | 17 decoded, encoded string 58 testEqual(t, "Encode(%q) = %q, want %q", p.decoded, got, p.encoded) 68 testEqual(t, "Encode(%q) = %q, want %q", p.decoded, bb.String(), p.encoded) 88 testEqual(t, "Encoding/%d of %q = %q, want %q", bs, bigtest.decoded, bb.String(), bigtest.encoded) 94 dbuf := make([]byte, StdEncoding.DecodedLen(len(p.encoded))) 95 count, end, err := StdEncoding.decode(dbuf, []byte(p.encoded)) 96 testEqual(t, "Decode(%q) = error %v, want %v", p.encoded, err, error(nil)) 97 testEqual(t, "Decode(%q) = length %v, want %v", p.encoded, count, len(p.decoded)) 98 if len(p.encoded) > 0 { 99 testEqual(t, "Decode(%q) = end %v, want %v", p.encoded, end, (p.encoded[len(p.encoded)-1] == '=') [all...] |
/prebuilts/go/linux-x86/src/encoding/base32/ |
base32_test.go | 17 decoded, encoded string 58 testEqual(t, "Encode(%q) = %q, want %q", p.decoded, got, p.encoded) 68 testEqual(t, "Encode(%q) = %q, want %q", p.decoded, bb.String(), p.encoded) 88 testEqual(t, "Encoding/%d of %q = %q, want %q", bs, bigtest.decoded, bb.String(), bigtest.encoded) 94 dbuf := make([]byte, StdEncoding.DecodedLen(len(p.encoded))) 95 count, end, err := StdEncoding.decode(dbuf, []byte(p.encoded)) 96 testEqual(t, "Decode(%q) = error %v, want %v", p.encoded, err, error(nil)) 97 testEqual(t, "Decode(%q) = length %v, want %v", p.encoded, count, len(p.decoded)) 98 if len(p.encoded) > 0 { 99 testEqual(t, "Decode(%q) = end %v, want %v", p.encoded, end, (p.encoded[len(p.encoded)-1] == '=') [all...] |
/external/curl/docs/cmdline-opts/ |
globoff.d | 8 contents but they should be encoded according to the URI standard.
|
/external/llvm/test/MC/ARM/ |
fp-const-errors.s | 3 @ Test for floating point constants that are out of the 8-bit encoded value range 10 @ Test that vmov.f instructions do not accept an 8-bit encoded float as an operand
|
/external/python/cpython3/Lib/email/ |
base64mime.py | 18 `encoded-word' in a header. This method is commonly used for 8-bit real names 52 """Return the length of s when it is encoded with base64.""" 73 encoded = b64encode(header_bytes).decode("ascii") 74 return '=?%s?b?%s?=' % (charset, encoded) 85 Each line of encoded text will end with eol, which defaults to "\n". Set 96 # adding a newline to the encoded string? 109 This function does not parse a full MIME header value encoded with
|