Home
last modified time | relevance | path

Searched refs:codec_info (Results 1 – 17 of 17) sorted by relevance

/external/python/cpython2/Python/
Dcodecs.c222 PyObject *codec_makeincrementalcodec(PyObject *codec_info, in codec_makeincrementalcodec() argument
228 inccodec = PyObject_GetAttrString(codec_info, attrname); in codec_makeincrementalcodec()
244 PyObject *codec_info, *ret; in codec_getincrementalcodec() local
246 codec_info = _PyCodec_Lookup(encoding); in codec_getincrementalcodec()
247 if (codec_info == NULL) in codec_getincrementalcodec()
249 ret = codec_makeincrementalcodec(codec_info, errors, attrname); in codec_getincrementalcodec()
250 Py_DECREF(codec_info); in codec_getincrementalcodec()
280 PyObject *_PyCodecInfo_GetIncrementalDecoder(PyObject *codec_info, in _PyCodecInfo_GetIncrementalDecoder() argument
283 return codec_makeincrementalcodec(codec_info, errors, in _PyCodecInfo_GetIncrementalDecoder()
287 PyObject *_PyCodecInfo_GetIncrementalEncoder(PyObject *codec_info, in _PyCodecInfo_GetIncrementalEncoder() argument
[all …]
/external/python/cpython2/Include/
Dcodecs.h118 PyObject *codec_info,
123 PyObject *codec_info,
/external/python/cpython3/Python/
Dcodecs.c276 PyObject *codec_makeincrementalcodec(PyObject *codec_info, in codec_makeincrementalcodec() argument
282 inccodec = PyObject_GetAttrString(codec_info, attrname); in codec_makeincrementalcodec()
298 PyObject *codec_info, *ret; in codec_getincrementalcodec() local
300 codec_info = _PyCodec_Lookup(encoding); in codec_getincrementalcodec()
301 if (codec_info == NULL) in codec_getincrementalcodec()
303 ret = codec_makeincrementalcodec(codec_info, errors, attrname); in codec_getincrementalcodec()
304 Py_DECREF(codec_info); in codec_getincrementalcodec()
334 PyObject *_PyCodecInfo_GetIncrementalDecoder(PyObject *codec_info, in _PyCodecInfo_GetIncrementalDecoder() argument
337 return codec_makeincrementalcodec(codec_info, errors, in _PyCodecInfo_GetIncrementalDecoder()
341 PyObject *_PyCodecInfo_GetIncrementalEncoder(PyObject *codec_info, in _PyCodecInfo_GetIncrementalEncoder() argument
[all …]
Dpylifecycle.c1955 PyObject *codec_info = _PyCodec_Lookup(std_encoding); in init_sys_streams() local
1956 Py_XDECREF(codec_info); in init_sys_streams()
/external/python/cpython3/Include/
Dcodecs.h136 PyObject *codec_info,
141 PyObject *codec_info,
/external/python/cpython3/Modules/_io/
Dtextio.c850 _textiowrapper_set_decoder(textio *self, PyObject *codec_info, in _textiowrapper_set_decoder() argument
869 self->decoder = _PyCodecInfo_GetIncrementalDecoder(codec_info, errors); in _textiowrapper_set_decoder()
905 _textiowrapper_set_encoder(textio *self, PyObject *codec_info, in _textiowrapper_set_encoder() argument
925 self->encoder = _PyCodecInfo_GetIncrementalEncoder(codec_info, errors); in _textiowrapper_set_encoder()
930 if (_PyObject_LookupAttrId(codec_info, &PyId_name, &res) < 0) { in _textiowrapper_set_encoder()
1028 PyObject *raw, *codec_info = NULL; in _io_TextIOWrapper___init___impl() local
1144 codec_info = _PyCodec_LookupTextEncoding(encoding, "codecs.open()"); in _io_TextIOWrapper___init___impl()
1145 if (codec_info == NULL) { in _io_TextIOWrapper___init___impl()
1167 if (_textiowrapper_set_decoder(self, codec_info, PyUnicode_AsUTF8(errors)) != 0) in _io_TextIOWrapper___init___impl()
1171 if (_textiowrapper_set_encoder(self, codec_info, PyUnicode_AsUTF8(errors)) != 0) in _io_TextIOWrapper___init___impl()
[all …]
/external/webrtc/webrtc/modules/utility/include/
Dfile_recorder.h57 virtual int32_t codec_info(CodecInst& codecInst) const = 0;
/external/webrtc/webrtc/modules/utility/source/
Dfile_recorder_impl.h60 virtual int32_t codec_info(CodecInst& codecInst) const;
Dfile_recorder_impl.cc246 int32_t FileRecorderImpl::codec_info(CodecInst& codecInst) const in codec_info() function in webrtc::FileRecorderImpl
Dfile_player_impl.cc386 if ((_fileModule.codec_info(_codec) == -1)) in SetUpAudioDecoder()
/external/webrtc/webrtc/modules/media_file/
Dmedia_file.h173 virtual int32_t codec_info(CodecInst& codecInst) const = 0;
Dmedia_file_impl.h93 int32_t codec_info(CodecInst& codecInst) const override;
Dmedia_file_utility.h175 int32_t codec_info(CodecInst& codecInst);
Dmedia_file_impl.cc534 if(_ptrFileUtilityObj->codec_info(codec_info_) == -1) in StartPlayingStream()
1056 int32_t MediaFileImpl::codec_info(CodecInst& codecInst) const in codec_info() function in webrtc::MediaFileImpl
Dmedia_file_utility.cc1351 int32_t ModuleFileUtility::codec_info(CodecInst& codecInst) in codec_info() function in webrtc::ModuleFileUtility
/external/python/cpython2/Modules/_io/
Dtextio.c831 PyObject *buffer, *raw, *codec_info = NULL; in textiowrapper_init() local
916 codec_info = _PyCodec_LookupTextEncoding(encoding, "codecs.open()"); in textiowrapper_init()
917 if (codec_info == NULL) { in textiowrapper_init()
961 self->decoder = _PyCodecInfo_GetIncrementalDecoder(codec_info, in textiowrapper_init()
985 self->encoder = _PyCodecInfo_GetIncrementalEncoder(codec_info, in textiowrapper_init()
990 res = PyObject_GetAttrString(codec_info, "name"); in textiowrapper_init()
1011 Py_DECREF(codec_info); in textiowrapper_init()
1073 Py_XDECREF(codec_info); in textiowrapper_init()
/external/python/cpython3/Lib/test/
Dtest_codecs.py2894 codec_info = codecs.CodecInfo(encode, decode,
2896 _TEST_CODECS[self.codec_name] = codec_info