Home
last modified time | relevance | path

Searched refs:MBENC_FLUSH (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython2/Modules/cjkcodecs/
Dmultibytecodec.h132 #define MBENC_FLUSH 0x0001 /* encode all characters encodable */ macro
133 #define MBENC_MAX MBENC_FLUSH
D_codecs_hk.c70 !(flags & MBENC_FLUSH)) in ENCODER()
D_codecs_jp.c168 if (flags & MBENC_FLUSH) { in ENCODER()
567 if (flags & MBENC_FLUSH) { in ENCODER()
Dmultibytecodec.c325 MBENC_FLUSH); in multibytecodec_encerror()
503 if ((r == 0) || (r == MBERR_TOOFEW && !(flags & MBENC_FLUSH))) in multibytecodec_encode()
584 MBENC_FLUSH | MBENC_RESET); in MultibyteCodec_Encode()
782 ctx->errors, final ? MBENC_FLUSH | MBENC_RESET : 0); in encoder_encode_stateful()
1621 MBENC_FLUSH | MBENC_RESET); in mbstreamwriter_reset()
D_codecs_iso2022.c191 if (!(flags & MBENC_FLUSH)) in ENCODER()
/external/python/cpython3/Modules/cjkcodecs/
Dmultibytecodec.h127 #define MBENC_FLUSH 0x0001 /* encode all characters encodable */ macro
128 #define MBENC_MAX MBENC_FLUSH
D_codecs_hk.c74 !(flags & MBENC_FLUSH)) in ENCODER()
D_codecs_jp.c171 if (flags & MBENC_FLUSH) { in ENCODER()
589 if (flags & MBENC_FLUSH) { in ENCODER()
Dmultibytecodec.c317 MBENC_FLUSH); in multibytecodec_encerror()
507 if ((r == 0) || (r == MBERR_TOOFEW && !(flags & MBENC_FLUSH))) in multibytecodec_encode()
602 MBENC_FLUSH | MBENC_RESET); in _multibytecodec_MultibyteCodec_encode_impl()
797 ctx->errors, final ? MBENC_FLUSH | MBENC_RESET : 0); in encoder_encode_stateful()
1699 MBENC_FLUSH | MBENC_RESET); in _multibytecodec_MultibyteStreamWriter_reset_impl()
D_codecs_iso2022.c190 if (!(flags & MBENC_FLUSH)) in ENCODER()