/external/python/cpython2/Python/ |
D | codecs.c | 222 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/ |
D | codecs.h | 118 PyObject *codec_info, 123 PyObject *codec_info,
|
/external/python/cpython3/Python/ |
D | codecs.c | 276 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 …]
|
D | pylifecycle.c | 1955 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/ |
D | codecs.h | 136 PyObject *codec_info, 141 PyObject *codec_info,
|
/external/python/cpython3/Modules/_io/ |
D | textio.c | 850 _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/ |
D | file_recorder.h | 57 virtual int32_t codec_info(CodecInst& codecInst) const = 0;
|
/external/webrtc/webrtc/modules/utility/source/ |
D | file_recorder_impl.h | 60 virtual int32_t codec_info(CodecInst& codecInst) const;
|
D | file_recorder_impl.cc | 246 int32_t FileRecorderImpl::codec_info(CodecInst& codecInst) const in codec_info() function in webrtc::FileRecorderImpl
|
D | file_player_impl.cc | 386 if ((_fileModule.codec_info(_codec) == -1)) in SetUpAudioDecoder()
|
/external/webrtc/webrtc/modules/media_file/ |
D | media_file.h | 173 virtual int32_t codec_info(CodecInst& codecInst) const = 0;
|
D | media_file_impl.h | 93 int32_t codec_info(CodecInst& codecInst) const override;
|
D | media_file_utility.h | 175 int32_t codec_info(CodecInst& codecInst);
|
D | media_file_impl.cc | 534 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
|
D | media_file_utility.cc | 1351 int32_t ModuleFileUtility::codec_info(CodecInst& codecInst) in codec_info() function in webrtc::ModuleFileUtility
|
/external/python/cpython2/Modules/_io/ |
D | textio.c | 831 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/ |
D | test_codecs.py | 2894 codec_info = codecs.CodecInfo(encode, decode, 2896 _TEST_CODECS[self.codec_name] = codec_info
|