Home
last modified time | relevance | path

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

/external/pdfium/third_party/libopenjpeg20/
Dtcd.c628 …if ((l_tilec->data == 00) || ((l_tilec->data_size_needed > l_tilec->data_size) && (l_tilec->ownsDa… in opj_alloc_tile_component_data()
629 l_tilec->data = (OPJ_INT32 *) opj_malloc(l_tilec->data_size_needed); in opj_alloc_tile_component_data()
634 l_tilec->data_size = l_tilec->data_size_needed; in opj_alloc_tile_component_data()
637 else if (l_tilec->data_size_needed > l_tilec->data_size) { in opj_alloc_tile_component_data()
638 OPJ_INT32 * new_data = (OPJ_INT32 *) opj_realloc(l_tilec->data, l_tilec->data_size_needed); in opj_alloc_tile_component_data()
645 l_tilec->data_size_needed = 0; in opj_alloc_tile_component_data()
651 l_tilec->data_size = l_tilec->data_size_needed; in opj_alloc_tile_component_data()
755 l_tilec->data_size_needed = l_data_size; in opj_tcd_init_tile()
1531 l_tile_comp->data_size_needed = 0; in opj_tcd_free_tile()
Dtcd.h167 …OPJ_UINT32 data_size_needed; /* we may either need to allocate this amount of data, or re-u… member