Home
last modified time | relevance | path

Searched refs:inbuf_tmp (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/cjkcodecs/
Dmultibytecodec.c735 Py_UNICODE *inbuf, *inbuf_end, *inbuf_tmp = NULL; in encoder_encode_stateful() local
761 inbuf_tmp = PyMem_New(Py_UNICODE, datalen + ctx->pendingsize); in encoder_encode_stateful()
762 if (inbuf_tmp == NULL) in encoder_encode_stateful()
764 memcpy(inbuf_tmp, ctx->pending, in encoder_encode_stateful()
766 memcpy(inbuf_tmp + ctx->pendingsize, in encoder_encode_stateful()
771 inbuf = inbuf_tmp; in encoder_encode_stateful()
784 memcpy(ctx->pending, inbuf_tmp, in encoder_encode_stateful()
803 if (inbuf_tmp != NULL) in encoder_encode_stateful()
804 PyMem_Del(inbuf_tmp); in encoder_encode_stateful()
809 if (inbuf_tmp != NULL) in encoder_encode_stateful()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/cjkcodecs/
Dmultibytecodec.c738 Py_UNICODE *inbuf, *inbuf_end, *inbuf_tmp = NULL; in encoder_encode_stateful() local
764 inbuf_tmp = PyMem_New(Py_UNICODE, datalen + ctx->pendingsize); in encoder_encode_stateful()
765 if (inbuf_tmp == NULL) in encoder_encode_stateful()
767 memcpy(inbuf_tmp, ctx->pending, in encoder_encode_stateful()
769 memcpy(inbuf_tmp + ctx->pendingsize, in encoder_encode_stateful()
774 inbuf = inbuf_tmp; in encoder_encode_stateful()
787 memcpy(ctx->pending, inbuf_tmp, in encoder_encode_stateful()
806 if (inbuf_tmp != NULL) in encoder_encode_stateful()
807 PyMem_Del(inbuf_tmp); in encoder_encode_stateful()
812 if (inbuf_tmp != NULL) in encoder_encode_stateful()
[all …]