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

/openbsd-current/usr.bin/ftp/
H A Dstringlist.c52 sl->sl_max = _SL_CHUNKSIZE;
53 sl->sl_str = calloc(sl->sl_max, sizeof(char *));
66 if (sl->sl_cur == sl->sl_max - 1) {
67 sl->sl_max += _SL_CHUNKSIZE;
68 sl->sl_str = reallocarray(sl->sl_str, sl->sl_max,
H A Dstringlist.h42 size_t sl_max; member in struct:_stringlist
/openbsd-current/usr.sbin/netgroup_mkdb/
H A Dstringlist.h38 size_t sl_max; member in struct:stringlist
H A Dstringlist.c53 sl->sl_max = 20;
54 sl->sl_str = calloc(sl->sl_max, sizeof(char *));
69 if (sl->sl_cur == sl->sl_max - 1) {
72 sl->sl_max += 20;
73 slstr = reallocarray(sl->sl_str, sl->sl_max, sizeof(char *));
/openbsd-current/lib/libc/gen/
H A Dgetnetgrent.c56 size_t sl_max; member in struct:stringlist
92 sl->sl_max = 20;
93 sl->sl_str = calloc(sl->sl_max, sizeof(char *));
108 if (sl->sl_cur == sl->sl_max - 1) {
111 sl->sl_max += 20;
112 slstr = reallocarray(sl->sl_str, sl->sl_max, sizeof(char *));

Completed in 100 milliseconds