Searched refs:sl_max (Results 1 - 4 of 4) sorted by relevance

/netbsd-current/external/bsd/mdocml/dist/
H A Dcompat_stringlist.h37 size_t sl_max; member in struct:_stringlist
H A Dcompat_stringlist.c58 sl->sl_max = _SL_CHUNKSIZE;
59 sl->sl_str = reallocarray(NULL, sl->sl_max, sizeof(char *));
72 if (sl->sl_cur == sl->sl_max - 1) {
73 sl->sl_max += _SL_CHUNKSIZE;
75 sl->sl_max, sizeof(char *));
/netbsd-current/include/
H A Dstringlist.h42 size_t sl_max; member in struct:_stringlist
/netbsd-current/lib/libc/gen/
H A Dstringlist.c70 sl->sl_max = _SL_CHUNKSIZE;
72 errno = reallocarr(&sl->sl_str, sl->sl_max, sizeof(*sl->sl_str));
92 if (sl->sl_cur == sl->sl_max - 1) {
95 errno = reallocarr(&new, (sl->sl_max + _SL_CHUNKSIZE),
99 sl->sl_max += _SL_CHUNKSIZE;

Completed in 169 milliseconds