Searched refs:search_function (Results 1 – 17 of 17) sorted by relevance
71 def search_function(encoding): function157 codecs.register(search_function)
71 def search_function(encoding): function156 codecs.register(search_function)
109 def search_function(name): function135 codecs.register(search_function)
29 int PyCodec_Register(PyObject *search_function) in PyCodec_Register() argument34 if (search_function == NULL) { in PyCodec_Register()38 if (!PyCallable_Check(search_function)) { in PyCodec_Register()42 return PyList_Append(interp->codec_search_path, search_function); in PyCodec_Register()
27 PyObject *search_function
33 int PyCodec_Register(PyObject *search_function) in PyCodec_Register() argument38 if (search_function == NULL) { in PyCodec_Register()42 if (!PyCallable_Check(search_function)) { in PyCodec_Register()46 return PyList_Append(interp->codec_search_path, search_function); in PyCodec_Register()
63 _codecs_register(PyObject *module, PyObject *search_function) in _codecs_register() argument66 if (PyCodec_Register(search_function)) in _codecs_register()
6 .. c:function:: int PyCodec_Register(PyObject *search_function)
52 PyObject *codec_register(PyObject *self, PyObject *search_function) in codec_register() argument54 if (PyCodec_Register(search_function)) in codec_register()
19 def search_function(encoding): function34 codecs.register(search_function)
52 .. function:: register(search_function)
260 PyCodec_Register:PyObject*:search_function:+1:
159 .. function:: register(search_function)
3694 encodings.search_function() contains a dot.