Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/cjkcodecs/
Dmultibytecodec.h122 #define ERROR_STRICT (PyObject *)(1) macro
125 #define ERROR_ISCUSTOM(p) ((p) < ERROR_STRICT || ERROR_REPLACE < (p))
Dmultibytecodec.c82 return ERROR_STRICT; in internal_error_callback()
121 if (self->errors == ERROR_STRICT) in codecctx_errors_get()
302 if (errors == ERROR_STRICT) { in multibytecodec_encerror()
324 PyUnicode_GET_SIZE(tobj), ERROR_STRICT, in multibytecodec_encerror()
421 if (errors == ERROR_STRICT) { in multibytecodec_decerror()
/external/python/cpython3/Modules/cjkcodecs/
Dmultibytecodec.h117 #define ERROR_STRICT (PyObject *)(1) macro
120 #define ERROR_ISCUSTOM(p) ((p) < ERROR_STRICT || ERROR_REPLACE < (p))
Dmultibytecodec.c72 return ERROR_STRICT; in internal_error_callback()
115 if (self->errors == ERROR_STRICT) in codecctx_errors_get()
294 if (errors == ERROR_STRICT) { in multibytecodec_encerror()
316 &inpos, ERROR_STRICT, in multibytecodec_encerror()
420 if (errors == ERROR_STRICT) { in multibytecodec_decerror()