Home
last modified time | relevance | path

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

/xen-4.10.0-shim-comet/tools/libxc/
A Dxc_core.c156 uint16_t num_max; member
172 sheaders->num_max = SHDR_INIT; in xc_core_shdr_init()
173 sheaders->shdrs = malloc(sizeof(sheaders->shdrs[0]) * sheaders->num_max); in xc_core_shdr_init()
195 if ( sheaders->num == sheaders->num_max ) in xc_core_shdr_get()
198 if ( sheaders->num_max > UINT16_MAX - SHDR_INC ) in xc_core_shdr_get()
203 sheaders->num_max += SHDR_INC; in xc_core_shdr_get()
205 sizeof(sheaders->shdrs[0]) * sheaders->num_max); in xc_core_shdr_get()

Completed in 3 milliseconds