Home
last modified time | relevance | path

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

/netbsd-src/external/gpl2/diffutils/dist/src/
H A Dio.c229 lin alloc_lines = current->alloc_lines; in find_and_hash_each_line() local
232 lin *cureqs = xmalloc (alloc_lines * sizeof *cureqs); in find_and_hash_each_line()
448 if (line == alloc_lines) in find_and_hash_each_line()
451 if (PTRDIFF_MAX / 3 <= alloc_lines in find_and_hash_each_line()
452 || PTRDIFF_MAX / sizeof *cureqs <= 2 * alloc_lines - linbuf_base in find_and_hash_each_line()
453 || PTRDIFF_MAX / sizeof *linbuf <= alloc_lines - linbuf_base) in find_and_hash_each_line()
455 alloc_lines = 2 * alloc_lines - linbuf_base; in find_and_hash_each_line()
456 cureqs = xrealloc (cureqs, alloc_lines * sizeof *cureqs); in find_and_hash_each_line()
459 (alloc_lines - linbuf_base) * sizeof *linbuf); in find_and_hash_each_line()
474 if (line == alloc_lines) in find_and_hash_each_line()
[all …]
H A Ddiff.h253 lin linbuf_base, buffered_lines, valid_lines, alloc_lines; member
/netbsd-src/external/gpl2/xcvs/dist/diff/
H A Dio.c199 int alloc_lines = current->alloc_lines; local
202 int *cureqs = (int *) xmalloc (alloc_lines * sizeof (int));
329 if (line == alloc_lines)
332 alloc_lines = 2 * alloc_lines - linbuf_base;
333 cureqs = (int *) xrealloc (cureqs, alloc_lines * sizeof (*cureqs));
335 (alloc_lines - linbuf_base)
351 if (line == alloc_lines)
354 alloc_lines = 2 * alloc_lines - linbuf_base;
356 (alloc_lines - linbuf_base)
377 current->alloc_lines = alloc_lines;
[all …]
H A Ddiff.h233 int linbuf_base, buffered_lines, valid_lines, alloc_lines; member
/netbsd-src/external/gpl2/diffutils/dist/
H A DChangeLog2358 * io.c (find_and_hash_each_line): Don't assume alloc_lines is
2540 New member alloc_lines - linbuf_base replaces old linbufsize.