Home
last modified time | relevance | path

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

/external/pdfium/third_party/libopenjpeg20/
Dj2k.c3542 OPJ_UINT32 l_newCount = l_Z_ppm + 1U; /* can't overflow, l_Z_ppm is UINT8 */ in opj_j2k_read_ppm() local
3545 l_cp->ppm_markers = (opj_ppx *) opj_calloc(l_newCount, sizeof(opj_ppx)); in opj_j2k_read_ppm()
3550 l_cp->ppm_markers_count = l_newCount; in opj_j2k_read_ppm()
3552 OPJ_UINT32 l_newCount = l_Z_ppm + 1U; /* can't overflow, l_Z_ppm is UINT8 */ in opj_j2k_read_ppm() local
3554 new_ppm_markers = (opj_ppx *) opj_realloc(l_cp->ppm_markers, l_newCount * sizeof(opj_ppx)); in opj_j2k_read_ppm()
3561 …memset(l_cp->ppm_markers + l_cp->ppm_markers_count, 0, (l_newCount - l_cp->ppm_markers_count) * si… in opj_j2k_read_ppm()
3562 l_cp->ppm_markers_count = l_newCount; in opj_j2k_read_ppm()
3764 OPJ_UINT32 l_newCount = l_Z_ppt + 1U; /* can't overflow, l_Z_ppt is UINT8 */ in opj_j2k_read_ppt() local
3767 l_tcp->ppt_markers = (opj_ppx *) opj_calloc(l_newCount, sizeof(opj_ppx)); in opj_j2k_read_ppt()
3772 l_tcp->ppt_markers_count = l_newCount; in opj_j2k_read_ppt()
[all …]