Home
last modified time | relevance | path

Searched refs:decoder (Results 1 – 25 of 50) sorted by relevance

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_multibytecodec.py116 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')
130 self.assertRaises(UnicodeDecodeError, decoder.decode, '\xcc\xbd', True)
[all …]
Dtest_codecs.py849 decoder = codecs.getdecoder("unicode_internal")
851 ignored = decoder("%s\x22\x22\x22\x22%s" % (ab[:4], ab[4:]),
1074 decoder = codecs.getincrementaldecoder("idna")()
1075 self.assertEqual(decoder.decode("xn--xam", ), u"")
1076 self.assertEqual(decoder.decode("ple-9ta.o", ), u"\xe4xample.")
1077 self.assertEqual(decoder.decode(u"rg"), u"")
1078 self.assertEqual(decoder.decode(u"", True), u"org")
1080 decoder.reset()
1081 self.assertEqual(decoder.decode("xn--xam", ), u"")
1082 self.assertEqual(decoder.decode("ple-9ta.o", ), u"\xe4xample.")
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/
Dutf_32.py51 self.decoder = None
54 if self.decoder is None:
58 self.decoder = codecs.utf_32_le_decode
60 self.decoder = codecs.utf_32_be_decode
64 return self.decoder(input, self.errors, final)
68 self.decoder = None
78 if self.decoder is None:
81 (self.decoder is codecs.utf_32_be_decode))
89 self.decoder = (codecs.utf_32_be_decode
93 self.decoder = (codecs.utf_32_le_decode
[all …]
Dutf_16.py56 self.decoder = None
59 if self.decoder is None:
63 self.decoder = codecs.utf_16_le_decode
65 self.decoder = codecs.utf_16_be_decode
69 return self.decoder(input, self.errors, final)
73 self.decoder = None
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/encodings/
Dutf_32.py51 self.decoder = None
54 if self.decoder is None:
58 self.decoder = codecs.utf_32_le_decode
60 self.decoder = codecs.utf_32_be_decode
64 return self.decoder(input, self.errors, final)
68 self.decoder = None
78 if self.decoder is None:
81 (self.decoder is codecs.utf_32_be_decode))
89 self.decoder = (codecs.utf_32_be_decode
93 self.decoder = (codecs.utf_32_le_decode
[all …]
Dutf_16.py56 self.decoder = None
59 if self.decoder is None:
63 self.decoder = codecs.utf_16_le_decode
65 self.decoder = codecs.utf_16_be_decode
69 return self.decoder(input, self.errors, final)
73 self.decoder = None
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/tests/
Dtest_speedups.py6 self.assertEqual(self.json.decoder.scanstring.__module__, "_json")
7 self.assertIs(self.json.decoder.scanstring, self.json.decoder.c_scanstring)
Dtest_scanstring.py7 scanstring = self.json.decoder.scanstring
94 scanstring = self.json.decoder.scanstring
115 scanstring = self.json.decoder.scanstring
146 self.assertRaises(ValueError, self.json.decoder.scanstring, b"xxx", 1,
153 self.json.decoder.scanstring(b"xxx", sys.maxsize+1)
D__init__.py31 self.assertEqual(self.json.decoder.scanstring.__module__,
39 self.assertEqual(self.json.decoder.scanstring.__module__, '_json')
60 for mod in (json, json.encoder, json.decoder):
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/
Dtest_speedups.py6 self.assertEqual(self.json.decoder.scanstring.__module__, "_json")
7 self.assertIs(self.json.decoder.scanstring, self.json.decoder.c_scanstring)
Dtest_scanstring.py7 scanstring = self.json.decoder.scanstring
98 self.assertRaises(ValueError, self.json.decoder.scanstring, b"xxx", 1,
105 self.json.decoder.scanstring(b"xxx", sys.maxsize+1)
D__init__.py31 self.assertEqual(self.json.decoder.scanstring.__module__,
39 self.assertEqual(self.json.decoder.scanstring.__module__, '_json')
60 for mod in (json, json.encoder, json.decoder):
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/
Dtextio.c191 PyObject *decoder; member
202 PyObject *decoder; in incrementalnewlinedecoder_init() local
208 kwlist, &decoder, &translate, &errors)) in incrementalnewlinedecoder_init()
211 self->decoder = decoder; in incrementalnewlinedecoder_init()
212 Py_INCREF(decoder); in incrementalnewlinedecoder_init()
234 Py_CLEAR(self->decoder); in incrementalnewlinedecoder_dealloc()
267 if (self->decoder == NULL) { in _PyIncrementalNewlineDecoder_decode()
274 if (self->decoder != Py_None) { in _PyIncrementalNewlineDecoder_decode()
275 output = PyObject_CallMethodObjArgs(self->decoder, in _PyIncrementalNewlineDecoder_decode()
491 if (self->decoder != Py_None) { in incrementalnewlinedecoder_getstate()
[all …]
Dstringio.c21 PyObject *decoder; member
117 if (self->decoder != NULL) { in write_str()
119 self->decoder, obj, 1 /* always final */); in write_str()
495 Py_CLEAR(self->decoder); in stringio_close()
524 Py_CLEAR(self->decoder); in stringio_dealloc()
583 Py_CLEAR(self->decoder); in stringio_init()
603 self->decoder = PyObject_CallFunction( in stringio_init()
606 if (self->decoder == NULL) in stringio_init()
818 if (self->decoder == NULL) in stringio_newlines()
820 return PyObject_GetAttr(self->decoder, _PyIO_str_newlines); in stringio_newlines()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/
Dtextio.c191 PyObject *decoder; member
202 PyObject *decoder; in incrementalnewlinedecoder_init() local
208 kwlist, &decoder, &translate, &errors)) in incrementalnewlinedecoder_init()
211 self->decoder = decoder; in incrementalnewlinedecoder_init()
212 Py_INCREF(decoder); in incrementalnewlinedecoder_init()
234 Py_CLEAR(self->decoder); in incrementalnewlinedecoder_dealloc()
252 if (self->decoder == NULL) { in _PyIncrementalNewlineDecoder_decode()
259 if (self->decoder != Py_None) { in _PyIncrementalNewlineDecoder_decode()
260 output = PyObject_CallMethodObjArgs(self->decoder, in _PyIncrementalNewlineDecoder_decode()
482 if (self->decoder != Py_None) { in incrementalnewlinedecoder_getstate()
[all …]
Dstringio.c21 PyObject *decoder; member
117 if (self->decoder != NULL) { in write_str()
119 self->decoder, obj, 1 /* always final */); in write_str()
495 Py_CLEAR(self->decoder); in stringio_close()
524 Py_CLEAR(self->decoder); in stringio_dealloc()
583 Py_CLEAR(self->decoder); in stringio_init()
603 self->decoder = PyObject_CallFunction( in stringio_init()
606 if (self->decoder == NULL) in stringio_init()
805 if (self->decoder == NULL) in stringio_newlines()
807 return PyObject_GetAttr(self->decoder, _PyIO_str_newlines); in stringio_newlines()
/device/linaro/hikey/self-extractors_hikey960/hisilicon/staging/
Ddevice-partial.mk18 …60/hisilicon/proprietary/libOMX.hisi.video.decoder.so:$(TARGET_COPY_OUT_VENDOR)/lib/libOMX.hisi.vi…
19 …licon/proprietary/lib64/libOMX.hisi.video.decoder.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libOMX.hisi.v…
/device/google/marlin/camera/usbcamcore/src/
DQCameraMjpegDecode.cpp104 jpegd_obj_t decoder; member
231 jpegd_obj_t decoder; in decoder_test() local
264 rc = jpegd_init(&decoder, in decoder_test()
273 p_thread_arg->decoder = decoder; in decoder_test()
325 rc = jpegd_set_source(decoder, &source); in decoder_test()
332 rc = jpegd_read_header(decoder, &header); in decoder_test()
436 rc = jpegd_start(decoder, &config, &dest, &p_output_buffers, output_buffers_count); in decoder_test()
457 rc = jpegd_abort(decoder); in decoder_test()
533 jpegd_destroy(&decoder); in decoder_test()
603 jpegd_enqueue_output_buf(p_thread_arg->decoder, p_output_buffer, 1); in decoder_output_handler()
/device/linaro/hikey/self-extractors_hikey960/
Dextract-lists.txt7 SYSTEM/lib/libOMX.hisi.video.decoder.so \
14 SYSTEM/lib64/libOMX.hisi.video.decoder.so \
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
D_pyio.py1362 def __init__(self, decoder, translate, errors='strict'): argument
1365 self.decoder = decoder
1371 if self.decoder is None:
1374 output = self.decoder.decode(input, final=final)
1401 if self.decoder is None:
1405 buf, flag = self.decoder.getstate()
1414 if self.decoder is not None:
1415 self.decoder.setstate((buf, flag >> 1))
1420 if self.decoder is not None:
1421 self.decoder.reset()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/DOC/
Dlzma-history.txt34 - The BUG in C version of 7z decoder was fixed:
36 7z decoder could mistakenly report about decoding error for some 7z archives
40 - The BUG (in 9.26-15.11) in C version of 7z decoder was fixed:
42 7z decoder worked incorrectly for 7z archives that contain
144 If encoded stream was corrupted, decoder could access memory
210 If encoded stream was corrupted, decoder could access memory
294 decoder could access memory outside of allocated range.
/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/DOC/
Dlzma-history.txt34 - The BUG in C version of 7z decoder was fixed:
36 7z decoder could mistakenly report about decoding error for some 7z archives
40 - The BUG (in 9.26-15.11) in C version of 7z decoder was fixed:
42 7z decoder worked incorrectly for 7z archives that contain
144 If encoded stream was corrupted, decoder could access memory
210 If encoded stream was corrupted, decoder could access memory
294 decoder could access memory outside of allocated range.
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/DOC/
Dlzma-history.txt34 - The BUG in C version of 7z decoder was fixed:
36 7z decoder could mistakenly report about decoding error for some 7z archives
40 - The BUG (in 9.26-15.11) in C version of 7z decoder was fixed:
42 7z decoder worked incorrectly for 7z archives that contain
144 If encoded stream was corrupted, decoder could access memory
210 If encoded stream was corrupted, decoder could access memory
294 decoder could access memory outside of allocated range.
/device/generic/opengl-transport/host/libs/virglrenderer/
DREADME.md36 This component contains a decoder for the wire protocol, and stubs for any
42 This component contains a decoder for the wire protocol, and stubs for any
50 This component contains a decoder for the wire protocol, and stubs for any
66 This header has been added for compatibility with the decoder code generated by
68 thread safe. We do not require thread safety because no decoder state is shared
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dcodecs.c365 PyObject *decoder = NULL; in PyCodec_Decode() local
369 decoder = PyCodec_Decoder(encoding); in PyCodec_Decode()
370 if (decoder == NULL) in PyCodec_Decode()
377 result = PyEval_CallObject(decoder,args); in PyCodec_Decode()
391 Py_DECREF(decoder); in PyCodec_Decode()
397 Py_XDECREF(decoder); in PyCodec_Decode()

12