Home
last modified time | relevance | path

Searched refs:ERROR_REPLACE (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Modules/cjkcodecs/
Dmultibytecodec.h124 #define ERROR_REPLACE (PyObject *)(3) macro
125 #define ERROR_ISCUSTOM(p) ((p) < ERROR_STRICT || ERROR_REPLACE < (p))
Dmultibytecodec.c86 return ERROR_REPLACE; in internal_error_callback()
125 else if (self->errors == ERROR_REPLACE) in codecctx_errors_get()
256 if (errors == ERROR_REPLACE) { in multibytecodec_encerror()
279 if (errors == ERROR_IGNORE || errors == ERROR_REPLACE) { in multibytecodec_encerror()
394 if (errors == ERROR_REPLACE) { in multibytecodec_decerror()
398 if (errors == ERROR_IGNORE || errors == ERROR_REPLACE) { in multibytecodec_decerror()
/external/python/cpython3/Modules/cjkcodecs/
Dmultibytecodec.h119 #define ERROR_REPLACE (PyObject *)(3) macro
120 #define ERROR_ISCUSTOM(p) ((p) < ERROR_STRICT || ERROR_REPLACE < (p))
Dmultibytecodec.c76 return ERROR_REPLACE; in internal_error_callback()
119 else if (self->errors == ERROR_REPLACE) in codecctx_errors_get()
236 if (errors == ERROR_REPLACE) { in multibytecodec_encerror()
271 if (errors == ERROR_IGNORE || errors == ERROR_REPLACE) { in multibytecodec_encerror()
392 if (errors == ERROR_REPLACE) { in multibytecodec_decerror()
397 if (errors == ERROR_IGNORE || errors == ERROR_REPLACE) { in multibytecodec_decerror()