Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/elftoolchain/libelftc/
H A Dlibelftc_vstr.c147 size_t i, tmp_cap; in vector_str_grow() local
155 tmp_cap = v->capacity * BUFFER_GROWFACTOR; in vector_str_grow()
157 assert(tmp_cap > v->capacity); in vector_str_grow()
159 if ((tmp_ctn = malloc(sizeof(char *) * tmp_cap)) == NULL) in vector_str_grow()
168 v->capacity = tmp_cap; in vector_str_grow()
250 size_t i, j, tmp_cap; in vector_str_push_vector_head() local
256 tmp_cap = (dst->size + org->size) * BUFFER_GROWFACTOR; in vector_str_push_vector_head()
277 dst->capacity = tmp_cap; in vector_str_push_vector_head()
290 size_t i, j, tmp_cap; in vector_str_push_vector() local
296 tmp_cap = (dst->size + org->size) * BUFFER_GROWFACTOR; in vector_str_push_vector()
[all …]
H A Dlibelftc_dem_gnu3.c3904 size_t tmp_cap; in vector_read_cmd_push() local
3911 tmp_cap = v->capacity * BUFFER_GROWFACTOR; in vector_read_cmd_push()
3912 if ((tmp_r_ctn = malloc(sizeof(*tmp_r_ctn) * tmp_cap)) == NULL) in vector_read_cmd_push()
3918 v->capacity = tmp_cap; in vector_read_cmd_push()
3969 size_t tmp_cap; in vector_type_qualifier_push() local
3976 tmp_cap = v->capacity * BUFFER_GROWFACTOR; in vector_type_qualifier_push()
3977 if ((tmp_ctn = malloc(sizeof(enum type_qualifier) * tmp_cap)) in vector_type_qualifier_push()
3984 v->capacity = tmp_cap; in vector_type_qualifier_push()
/freebsd-12.1/contrib/libcxxrt/
H A Dlibelftc_dem_gnu3.c208 size_t i, tmp_cap; in vector_str_grow() local
216 tmp_cap = v->capacity * BUFFER_GROWFACTOR; in vector_str_grow()
218 assert(tmp_cap > v->capacity); in vector_str_grow()
229 v->capacity = tmp_cap; in vector_str_grow()
311 size_t i, j, tmp_cap; in vector_str_push_vector_head() local
338 dst->capacity = tmp_cap; in vector_str_push_vector_head()
3808 size_t tmp_cap; in vector_read_cmd_push() local
3815 tmp_cap = v->capacity * BUFFER_GROWFACTOR; in vector_read_cmd_push()
3823 v->capacity = tmp_cap; in vector_read_cmd_push()
3873 size_t tmp_cap; in vector_type_qualifier_push() local
[all …]