Searched refs:num_max (Results 1 – 1 of 1) sorted by relevance
157 uint16_t num_max; member173 sheaders->num_max = SHDR_INIT; in xc_core_shdr_init()174 sheaders->shdrs = malloc(sizeof(sheaders->shdrs[0]) * sheaders->num_max); in xc_core_shdr_init()196 if ( sheaders->num == sheaders->num_max ) in xc_core_shdr_get()199 if ( sheaders->num_max > UINT16_MAX - SHDR_INC ) in xc_core_shdr_get()204 sheaders->num_max += SHDR_INC; in xc_core_shdr_get()206 sizeof(sheaders->shdrs[0]) * sheaders->num_max); in xc_core_shdr_get()
Completed in 4 milliseconds