Home
last modified time | relevance | path

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

/coreutils/src/
Dseq.c468 size_t inc_size = MAX (MAX (p_len + 1, q_len), INITIAL_ALLOC_DIGITS); in seq_fast() local
473 char *p0 = xmalloc (inc_size + 1); in seq_fast()
474 char *p = memcpy (p0 + inc_size - p_len, a, p_len + 1); in seq_fast()
479 q0 = xmalloc (inc_size + 1); in seq_fast()
480 q = memcpy (q0 + inc_size - q_len, b, q_len + 1); in seq_fast()
491 size_t buf_size = MAX (BUFSIZ, (inc_size + 1) * 2); in seq_fast()
512 if (p_len == inc_size) in seq_fast()
514 inc_size *= 2; in seq_fast()
515 p0 = xrealloc (p0, inc_size + 1); in seq_fast()
518 if (buf_size < (inc_size + 1) * 2) in seq_fast()
[all …]