HomeSort by relevance Sort by last modified time
    Searched full:decode (Results 301 - 325 of 5594) sorted by null

<<11121314151617181920>>

  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/file/
FileToStreamDecoder.java 13 * A decoder that wraps an {@link InputStream} decoder to allow it to decode from a file.
34 public Resource<T> decode(File source, int width, int height) throws IOException { method in class:FileToStreamDecoder
39 result = streamDecoder.decode(is, width, height);
  /external/glide/library/src/main/java/com/bumptech/glide/provider/
DataLoadProvider.java 10 * A load provider that provides the necessary encoders and decoders to decode a specific type of resource from a
19 * Returns the {@link com.bumptech.glide.load.ResourceDecoder} to use to decode the resource from the disk cache.
24 * Returns the {@link com.bumptech.glide.load.ResourceDecoder} to use to decode the resource from the original data.
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/
IntegerResourceLoader.java 38 // Decode into long, because there are some large hex values in the android resource files
40 // Integer.decode() does not support large, i.e. negative values in hex numbers.
41 return (int) Long.decode(rawValue).longValue();
  /external/skia/src/codec/
SkJpegDecoderMgr.h 31 * Print a useful error message and return a decode failure
36 * Create the decode manager
53 * Free memory used by the decode manager
  /external/webrtc/webrtc/base/
urlencode.h 18 // Decode all encoded characters. Also decode + as space.
21 // Decode all encoded characters.
  /external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
decode_bwe.c 14 * This C file contains the internal decode bandwidth estimate function.
38 /* decode framelength */
45 /* decode BW estimation */
  /external/webrtc/webrtc/test/
fake_decoder.h 30 int32_t Decode(const EncodedImage& input,
56 int32_t Decode(const EncodedImage& input,
67 int32_t Decode(const EncodedImage& input,
  /prebuilts/go/darwin-x86/doc/progs/
gobs2.go 36 // Decode (receive) the value.
38 err = dec.Decode(&q)
40 log.Fatal("decode error:", err)
  /prebuilts/go/linux-x86/doc/progs/
gobs2.go 36 // Decode (receive) the value.
38 err = dec.Decode(&q)
40 log.Fatal("decode error:", err)
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_multibytecodec.py 33 self.assertEqual(''.decode(enc), u'')
117 self.assertEqual(decoder.decode('\xc6\xc4\xc0\xcc\xbd'),
119 self.assertEqual(decoder.decode('\xe3 \xb8\xb6\xc0\xbb'),
121 self.assertEqual(decoder.decode(''), u'')
125 self.assertEqual(decoder.decode('\xc6\xc4\xc0'), u'\ud30c')
126 self.assertRaises(UnicodeDecodeError, decoder.decode, '', True)
127 self.assertEqual(decoder.decode('\xcc'), u'\uc774')
129 self.assertEqual(decoder.decode('\xc6\xc4\xc0'), u'\ud30c')
130 self.assertRaises(UnicodeDecodeError, decoder.decode, '\xcc\xbd', True)
131 self.assertEqual(decoder.decode('\xcc'), u'\uc774'
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_multibytecodec.py 33 self.assertEqual(''.decode(enc), u'')
117 self.assertEqual(decoder.decode('\xc6\xc4\xc0\xcc\xbd'),
119 self.assertEqual(decoder.decode('\xe3 \xb8\xb6\xc0\xbb'),
121 self.assertEqual(decoder.decode(''), u'')
125 self.assertEqual(decoder.decode('\xc6\xc4\xc0'), u'\ud30c')
126 self.assertRaises(UnicodeDecodeError, decoder.decode, '', True)
127 self.assertEqual(decoder.decode('\xcc'), u'\uc774')
129 self.assertEqual(decoder.decode('\xc6\xc4\xc0'), u'\ud30c')
130 self.assertRaises(UnicodeDecodeError, decoder.decode, '\xcc\xbd', True)
131 self.assertEqual(decoder.decode('\xcc'), u'\uc774'
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_multibytecodec.py 33 self.assertEqual(''.decode(enc), u'')
117 self.assertEqual(decoder.decode('\xc6\xc4\xc0\xcc\xbd'),
119 self.assertEqual(decoder.decode('\xe3 \xb8\xb6\xc0\xbb'),
121 self.assertEqual(decoder.decode(''), u'')
125 self.assertEqual(decoder.decode('\xc6\xc4\xc0'), u'\ud30c')
126 self.assertRaises(UnicodeDecodeError, decoder.decode, '', True)
127 self.assertEqual(decoder.decode('\xcc'), u'\uc774')
129 self.assertEqual(decoder.decode('\xc6\xc4\xc0'), u'\ud30c')
130 self.assertRaises(UnicodeDecodeError, decoder.decode, '\xcc\xbd', True)
131 self.assertEqual(decoder.decode('\xcc'), u'\uc774'
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_multibytecodec.py 33 self.assertEqual(''.decode(enc), u'')
117 self.assertEqual(decoder.decode('\xc6\xc4\xc0\xcc\xbd'),
119 self.assertEqual(decoder.decode('\xe3 \xb8\xb6\xc0\xbb'),
121 self.assertEqual(decoder.decode(''), u'')
125 self.assertEqual(decoder.decode('\xc6\xc4\xc0'), u'\ud30c')
126 self.assertRaises(UnicodeDecodeError, decoder.decode, '', True)
127 self.assertEqual(decoder.decode('\xcc'), u'\uc774')
129 self.assertEqual(decoder.decode('\xc6\xc4\xc0'), u'\ud30c')
130 self.assertRaises(UnicodeDecodeError, decoder.decode, '\xcc\xbd', True)
131 self.assertEqual(decoder.decode('\xcc'), u'\uc774'
    [all...]
  /prebuilts/go/darwin-x86/src/encoding/gob/
gobencdec_test.go 98 return errors.New("wrong length in array decode")
250 err = dec.Decode(x)
252 t.Fatal("decode error:", err)
267 err = dec.Decode(y)
269 t.Fatal("decode error:", err)
288 err = dec.Decode(x)
290 t.Fatal("decode error:", err)
297 // GobEncode/Decode should work even if the value is
311 err = dec.Decode(x)
313 t.Fatal("decode error:", err
    [all...]
  /prebuilts/go/linux-x86/src/encoding/gob/
gobencdec_test.go 98 return errors.New("wrong length in array decode")
250 err = dec.Decode(x)
252 t.Fatal("decode error:", err)
267 err = dec.Decode(y)
269 t.Fatal("decode error:", err)
288 err = dec.Decode(x)
290 t.Fatal("decode error:", err)
297 // GobEncode/Decode should work even if the value is
311 err = dec.Decode(x)
313 t.Fatal("decode error:", err
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
UrlEncodingTest.java 35 * URLDecoder and URI disagree on what '+' should decode to.
38 assertEquals("a b", URLDecoder.decode("a+b"));
39 assertEquals("a b", URLDecoder.decode("a+b", "UTF-8"));
50 assertEquals("a b", URLDecoder.decode("a b"));
51 assertEquals("a b", URLDecoder.decode("a b", "UTF-8"));
80 URLDecoder.decode("%");
85 URLDecoder.decode("%0");
101 URLDecoder.decode("%0g");
109 URLDecoder.decode("ab", null);
118 URLDecoder.decode("ab", "")
    [all...]
  /art/test/497-inlining-and-class-loader/
clear_dex_cache.cc 31 mirror::DexCache* dex_cache = soa.Decode<mirror::Class*>(cls)->GetDexCache();
45 mirror::PointerArray* pointer_array = soa.Decode<mirror::PointerArray*>(array);
56 mirror::DexCache* dex_cache = soa.Decode<mirror::Class*>(cls)->GetDexCache();
58 ArtMethod** methods = soa.Decode<mirror::Class*>(cls)->GetDexCache()->GetResolvedMethods();
60 mirror::PointerArray* old = soa.Decode<mirror::PointerArray*>(old_cache);
  /external/conscrypt/src/main/java/org/conscrypt/ct/
DigitallySigned.java 102 * Decode a TLS encoded DigitallySigned structure.
104 public static DigitallySigned decode(InputStream input) method in class:DigitallySigned
118 * Decode a TLS encoded DigitallySigned structure.
120 public static DigitallySigned decode(byte[] input) method in class:DigitallySigned
122 return decode(new ByteArrayInputStream(input));
  /external/snakeyaml/src/main/java/org/yaml/snakeyaml/util/
UriEncoder.java 48 * Decode '%'-escaped characters. Decoding fails in case of invalid UTF-8
50 public static String decode(ByteBuffer buff) throws CharacterCodingException { method in class:UriEncoder
51 CharBuffer chars = UTF8Decoder.decode(buff);
55 public static String decode(String buff) { method in class:UriEncoder
57 return URLDecoder.decode(buff, "UTF-8");
  /external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
UnsignedIntsTest.java 201 assertEquals(0xffffffff, UnsignedInts.decode("0xffffffff"));
202 assertEquals(01234567, UnsignedInts.decode("01234567")); // octal
203 assertEquals(0x12345678, UnsignedInts.decode("#12345678"));
204 assertEquals(76543210, UnsignedInts.decode("76543210"));
205 assertEquals(0x13579135, UnsignedInts.decode("0x13579135"));
206 assertEquals(0x13579135, UnsignedInts.decode("0X13579135"));
207 assertEquals(0, UnsignedInts.decode("0"));
213 UnsignedInts.decode("0xfffffffff");
219 UnsignedInts.decode("-5");
225 UnsignedInts.decode("-0x5")
    [all...]
  /external/libopus/silk/
decode_indices.c 34 /* Decode side-information parameters from payload */
49 /* Decode signal type and quantizer offset */
60 /* Decode gains */
78 /* Decode LSF Indices */
93 /* Decode LSF interpolation factor */
103 /* Decode pitch lags */
108 /* Decode Delta index */
127 /* Decode LTP gains */
129 /* Decode PERIndex value */
137 /* Decode LTP scaling *
    [all...]
  /art/runtime/native/
java_lang_DexCache.cc 31 mirror::DexCache* dex_cache = soa.Decode<mirror::DexCache*>(javaDexCache);
54 mirror::DexCache* dex_cache = soa.Decode<mirror::DexCache*>(javaDexCache);
61 mirror::DexCache* dex_cache = soa.Decode<mirror::DexCache*>(javaDexCache);
69 mirror::DexCache* dex_cache = soa.Decode<mirror::DexCache*>(javaDexCache);
71 dex_cache->SetResolvedType(type_index, soa.Decode<mirror::Class*>(type));
77 mirror::DexCache* dex_cache = soa.Decode<mirror::DexCache*>(javaDexCache);
79 dex_cache->SetResolvedString(string_index, soa.Decode<mirror::String*>(string));
  /external/glide/library/src/main/java/com/bumptech/glide/load/engine/
EngineRunnable.java 10 * A runnable class responsible for using an {@link com.bumptech.glide.load.engine.DecodeJob} to decode resources on a
14 * In the first stage, this class attempts to decode a resource
17 * {@link com.bumptech.glide.load.engine.DecodeJob} to decode data directly from the original source.
58 resource = decode();
97 private Resource<?> decode() throws Exception { method in class:EngineRunnable
131 /** Attempting to decode resource from cache. */
133 /** Attempting to decode resource from source data. */
  /external/webrtc/webrtc/
video_decoder.h 34 // decode time excluding waiting time for any previous pending frame to
39 // The default implementation ignores custom decode time value.
66 virtual int32_t Decode(const EncodedImage& input_image,
78 // Returns true if the decoder prefer to decode frames late.
79 // That is, it can not decode infinite number of frames before the decoded
87 // software decoding when a hardware decoder fails to decode a stream due to
97 int32_t Decode(const EncodedImage& input_image,
  /prebuilts/gdb/darwin-x86/lib/python2.7/encodings/
utf_16.py 15 def decode(input, errors='strict'): function
100 del self.decode
104 def decode(self, input, errors='strict'): member in class:StreamReader
108 self.decode = codecs.utf_16_le_decode
110 self.decode = codecs.utf_16_be_decode
121 decode=decode,

Completed in 795 milliseconds

<<11121314151617181920>>