HomeSort by: relevance | last modified time | path
    Searched refs:sl_str (Results 1 - 14 of 14) sorted by relevancy

  /src/lib/libc/gen/
stringlist.c 71 sl->sl_str = NULL;
72 errno = reallocarr(&sl->sl_str, sl->sl_max, sizeof(*sl->sl_str));
93 char **new = sl->sl_str;
100 sl->sl_str = new;
102 sl->sl_str[sl->sl_cur++] = name;
117 if (sl->sl_str) {
120 free(sl->sl_str[i]);
121 free(sl->sl_str);
138 if (strcmp(sl->sl_str[i], name) == 0
    [all...]
getnetgrent.c 193 (void)fprintf(stderr, "%s ", sl->sl_str[i]);
  /src/include/
stringlist.h 41 char **sl_str; member in struct:_stringlist
  /src/usr.sbin/services_mkdb/
output_cdb.c 79 len = strlen(sl->sl_str[i]);
81 errx(1, "Service alias ``%s'' invalid", sl->sl_str[i]);
94 len = strlen(sl->sl_str[i]);
96 memcpy(data_iter, sl->sl_str[i], len + 1);
120 len = strlen(sl->sl_str[i]);
123 memcpy(key + 2, sl->sl_str[i], len);
127 warnx("duplicate service: `%s/%s'", sl->sl_str[i], proto);
132 warnx("duplicate service: `%s'", sl->sl_str[i]);
output_db.c 104 sl->sl_str[0], port, proto, mkaliases(sl, abuf, sizeof(abuf))) + 1;
120 sl->sl_str[i], proto) + 1;
175 nc = strlcpy(buf + pos, sl->sl_str[i], len);
188 warn("aliases for `%s' truncated", sl->sl_str[0]);
services_mkdb.c 301 if (strcmp(sl->sl_str[i], str) == 0)
315 return sl->sl_str[i];
  /src/libexec/ftpd/
popen.c 162 isls = (strcmp(sl->sl_str[0], INTERNAL_LS) == 0);
194 exit(ls_main(sl->sl_cur - 1, sl->sl_str));
198 execv(sl->sl_str[0], sl->sl_str);
conf.c 864 argv = sl->sl_str;
  /src/usr.bin/ftp/
complete.c 91 p = words->sl_str[0] + wordlen;
102 lastmatch = words->sl_str[0];
105 for (j = wordlen; j < strlen(words->sl_str[i]); j++)
106 if (lastmatch[j] != words->sl_str[i][j])
122 qsort(words->sl_str, words->sl_cur, sizeof(char *), comparstr);
225 (void)strlcat(path, words->sl_str[0], sizeof(path));
337 cp = dirlist->sl_str[i];
ftp_var.h 302 #define margv (marg_sl->sl_str) /* args parsed from input line */
util.c 918 w = strlen(sl->sl_str[i]);
930 p = sl->sl_str[j * lines + i];
  /src/tests/lib/libpthread/
h_resolv.c 99 char *host = hosts->sl_str[i];
203 hosts->sl_str[i], ask[i], got[i]);
  /src/usr.bin/locale/
locale.c 322 printf("%s\n", locales->sl_str[i]);
359 s = locales->sl_str[i];
372 qsort(charmaps->sl_str, charmaps->sl_cur, sizeof(char *), scmp);
376 printf("%s\n", charmaps->sl_str[i]);
437 qsort(locales->sl_str, locales->sl_cur, sizeof(char *), scmp);
  /src/usr.bin/mail/
complete.c 101 w = strlen(sl->sl_str[i]);
114 p = sl->sl_str[j * lines + i];
259 p = words->sl_str[0] + wordlen;
271 lastmatch = words->sl_str[0];
274 for (j = wordlen; j < strlen(words->sl_str[i]); j++)
275 if (lastmatch[j] != words->sl_str[i][j])
291 qsort(words->sl_str, words->sl_cur, sizeof(char *), comparstr);
409 (void)estrlcat(path, words->sl_str[0], sizeof(path));

Completed in 25 milliseconds