Home
last modified time | relevance | path

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

/tools/libs/light/
A Dlibxl_internal.c120 void *libxl__realloc(libxl__gc *gc, void *ptr, size_t new_size) in libxl__realloc() argument
122 void *new_ptr = realloc(ptr, new_size); in libxl__realloc()
125 if (new_ptr == NULL && new_size != 0) in libxl__realloc()
126 libxl__alloc_failed(CTX, __func__, new_size, 1); in libxl__realloc()
A Dlibxl_internal.h894 _hidden void *libxl__realloc(libxl__gc *gc_opt, void *ptr, size_t new_size) NN1;
/tools/libs/util/
A Dlibxlu_cfg_l.c1415 int new_size = b->yy_buf_size * 2; in yy_get_next_buffer() local
1417 if ( new_size <= 0 ) in yy_get_next_buffer()
1473 int new_size = yyg->yy_n_chars + number_to_move + (yyg->yy_n_chars >> 1); in yy_get_next_buffer() local
1475 (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size , yyscanner ); in yy_get_next_buffer()
1479 YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2); in yy_get_next_buffer()
A Dlibxlu_disk_l.c2154 int new_size = yyg->yy_n_chars + number_to_move + (yyg->yy_n_chars >> 1); in yy_get_next_buffer() local
2156 (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size , yyscanner ); in yy_get_next_buffer()
2160 YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2); in yy_get_next_buffer()
/tools/xentrace/
A Dxenalyze.c2225 int new_size; in update_cycles() local
2228 new_size = s->sample_size << 1; in update_cycles()
2230 if (new_size == 0) in update_cycles()
2231 new_size = opt.sample_size; in update_cycles()
2233 if (opt.sample_max != 0 && new_size > opt.sample_max) in update_cycles()
2234 new_size = opt.sample_max; in update_cycles()
2236 new_sample = realloc(s->sample, sizeof(*s->sample) * new_size); in update_cycles()
2240 s->sample_size = new_size; in update_cycles()

Completed in 48 milliseconds