/libcore/luni/src/main/java/libcore/icu/ |
NativeConverter.java | 55 public static void setCallbackDecode(long converterHandle, CharsetDecoder decoder) { 57 translateCodingErrorAction(decoder.malformedInputAction()), 58 translateCodingErrorAction(decoder.unmappableCharacterAction()), 59 decoder.replacement());
|
/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/ |
type_checkers.py | 48 from google.protobuf.internal import decoder namespace 241 # Maps from field type to a decoder constructor. 243 _FieldDescriptor.TYPE_DOUBLE: decoder.DoubleDecoder, 244 _FieldDescriptor.TYPE_FLOAT: decoder.FloatDecoder, 245 _FieldDescriptor.TYPE_INT64: decoder.Int64Decoder, 246 _FieldDescriptor.TYPE_UINT64: decoder.UInt64Decoder, 247 _FieldDescriptor.TYPE_INT32: decoder.Int32Decoder, 248 _FieldDescriptor.TYPE_FIXED64: decoder.Fixed64Decoder, 249 _FieldDescriptor.TYPE_FIXED32: decoder.Fixed32Decoder, 250 _FieldDescriptor.TYPE_BOOL: decoder.BoolDecoder [all...] |
/external/protobuf/python/google/protobuf/internal/ |
type_checkers.py | 48 from google.protobuf.internal import decoder namespace 241 # Maps from field type to a decoder constructor. 243 _FieldDescriptor.TYPE_DOUBLE: decoder.DoubleDecoder, 244 _FieldDescriptor.TYPE_FLOAT: decoder.FloatDecoder, 245 _FieldDescriptor.TYPE_INT64: decoder.Int64Decoder, 246 _FieldDescriptor.TYPE_UINT64: decoder.UInt64Decoder, 247 _FieldDescriptor.TYPE_INT32: decoder.Int32Decoder, 248 _FieldDescriptor.TYPE_FIXED64: decoder.Fixed64Decoder, 249 _FieldDescriptor.TYPE_FIXED32: decoder.Fixed32Decoder, 250 _FieldDescriptor.TYPE_BOOL: decoder.BoolDecoder [all...] |
/external/libvpx/libvpx/ |
example_xma.c | 12 /* This is a simple program showing how to initialize the decoder in XMA mode */ 77 vpx_codec_ctx_t decoder; local 138 * size the decoder can decode. 143 /* Initialize the decoder in XMA mode. */ 144 if (vpx_codec_dec_init(&decoder, iface, &cfg, VPX_CODEC_USE_XMA)) { 145 printf("Failed to initialize decoder in XMA mode: %s\n", vpx_codec_error(&decoder)); 158 res = vpx_codec_get_mem_map(&decoder, &mmap, &iter); 176 if (vpx_codec_set_mem_map(&decoder, &mmap, 1)) { 177 printf("Failed to set mmap: %s\n", vpx_codec_error(&decoder)); [all...] |
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
OldCharsetEncoderDecoderBufferTest.java | 28 * Checks for ICU encoder/decoder buffer corruption. 38 CharsetDecoder decoder = Charset.forName("UTF-8").newDecoder(); local 43 decoder.decode(ByteBuffer.wrap(new byte[]{(byte)'a', (byte)'b', (byte)'c', (byte)'d'}), 53 decoder.decode(ByteBuffer.wrap(new byte[]{(byte)'x'}), out, true); 70 CharsetDecoder decoder = Charset.forName("UTF-8").newDecoder(); local 76 decoder.decode(inWithArray, out, false); 83 decoder.decode(inWithoutArray, out, true);
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
SinglePhotoDataAdapter.java | 78 public final BitmapRegionDecoder decoder; field in class:SinglePhotoDataAdapter.ImageBundle 81 public ImageBundle(BitmapRegionDecoder decoder, Bitmap backupImage) { 82 this.decoder = decoder; 91 BitmapRegionDecoder decoder = future.get(); 92 if (decoder == null) return; 93 int width = decoder.getWidth(); 94 int height = decoder.getHeight(); 98 Bitmap bitmap = decoder.decodeRegion(new Rect(0, 0, width, height), options); 100 MSG_UPDATE_IMAGE, new ImageBundle(decoder, bitmap))) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_multibytecodec.py | 115 # cp949 decoder is simple with only 1 or 2 bytes sequences. 116 decoder = codecs.getincrementaldecoder('cp949')() 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'') 124 decoder = codecs.getincrementaldecoder('cp949')() 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' [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_multibytecodec.py | 115 # cp949 decoder is simple with only 1 or 2 bytes sequences. 116 decoder = codecs.getincrementaldecoder('cp949')() 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'') 124 decoder = codecs.getincrementaldecoder('cp949')() 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' [all...] |
/external/chromium/chrome/browser/importer/ |
importer.cc | 32 // Decode the favicon using WebKit's image decoder. 33 webkit_glue::ImageDecoder decoder(gfx::Size(kFaviconSize, kFaviconSize)); 34 SkBitmap decoded = decoder.Decode(src_data, src_len);
|