Searched refs:tmp_cap (Results 1 – 3 of 3) sorted by relevance
| /src/contrib/elftoolchain/libelftc/ |
| H A D | libelftc_vstr.c | 147 size_t i, tmp_cap; in vector_str_grow() local 155 tmp_cap = BUFFER_GROW(v->capacity); 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 = BUFFER_GROW(dst->size + org->size); in vector_str_push_vector_head() 258 if ((tmp_ctn = malloc(sizeof(char *) * tmp_cap)) == NULL) 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 [all …]
|
| H A D | libelftc_dem_gnu3.c | 3905 size_t tmp_cap; in vector_read_cmd_push() local 3912 tmp_cap = BUFFER_GROW(v->capacity); in vector_read_cmd_push() 3913 if ((tmp_r_ctn = malloc(sizeof(*tmp_r_ctn) * tmp_cap)) == NULL) in vector_read_cmd_push() 3919 v->capacity = tmp_cap; in vector_read_cmd_push() 3970 size_t tmp_cap; in vector_type_qualifier_push() local 3977 tmp_cap = BUFFER_GROW(v->capacity); in vector_type_qualifier_push() 3978 if ((tmp_ctn = malloc(sizeof(enum type_qualifier) * tmp_cap)) in vector_type_qualifier_push() 3985 v->capacity = tmp_cap; in vector_type_qualifier_push()
|
| /src/contrib/libcxxrt/ |
| H A D | libelftc_dem_gnu3.c | 229 size_t i, tmp_cap; in vector_str_grow() local 237 tmp_cap = BUFFER_GROW(v->capacity); in vector_str_grow() 239 assert(tmp_cap > v->capacity); in vector_str_grow() 241 if ((tmp_ctn = malloc(sizeof(char *) * tmp_cap)) == NULL) in vector_str_grow() 250 v->capacity = tmp_cap; in vector_str_grow() 347 size_t i, j, tmp_cap; in vector_str_push_vector_head() local 353 tmp_cap = BUFFER_GROW(dst->size + org->size); in vector_str_push_vector_head() 355 if ((tmp_ctn = malloc(sizeof(char *) * tmp_cap)) == NULL) in vector_str_push_vector_head() 374 dst->capacity = tmp_cap; in vector_str_push_vector_head() 387 size_t i, j, tmp_cap; in vector_str_push_vector() local [all …]
|