/netbsd-current/external/bsd/mdocml/dist/ |
H A D | compat_stringlist.c | 59 sl->sl_str = reallocarray(NULL, sl->sl_max, sizeof(char *)); 60 if (sl->sl_str == NULL) 74 sl->sl_str = reallocarray(sl->sl_str, 76 if (sl->sl_str == NULL) 79 sl->sl_str[sl->sl_cur++] = name; 94 if (sl->sl_str) { 97 free(sl->sl_str[i]); 98 free(sl->sl_str); 113 if (strcmp(sl->sl_str[ [all...] |
H A D | compat_stringlist.h | 36 char **sl_str; member in struct:_stringlist
|
H A D | test-stringlist.c | 33 if (sl->sl_str[0] != teststr)
|
H A D | soelim.c | 78 snprintf(path, sizeof(path), "%s/%s", includes->sl_str[i],
|
/netbsd-current/lib/libc/gen/ |
H A D | 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[ [all...] |
H A D | getnetgrent.c | 193 (void)fprintf(stderr, "%s ", sl->sl_str[i]);
|
/netbsd-current/include/ |
H A D | stringlist.h | 41 char **sl_str; member in struct:_stringlist
|
/netbsd-current/usr.sbin/services_mkdb/ |
H A D | 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]);
|
H A D | 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]);
|
H A D | services_mkdb.c | 301 if (strcmp(sl->sl_str[i], str) == 0) 315 return sl->sl_str[i];
|
/netbsd-current/libexec/ftpd/ |
H A D | 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);
|
H A D | conf.c | 864 argv = sl->sl_str;
|
/netbsd-current/usr.bin/ftp/ |
H A D | 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];
|
H A D | ftp_var.h | 293 #define margv (marg_sl->sl_str) /* args parsed from input line */
|
H A D | util.c | 918 w = strlen(sl->sl_str[i]); 930 p = sl->sl_str[j * lines + i];
|
/netbsd-current/tests/lib/libpthread/ |
H A D | h_resolv.c | 99 char *host = hosts->sl_str[i]; 203 hosts->sl_str[i], ask[i], got[i]);
|
/netbsd-current/usr.bin/locale/ |
H A D | 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);
|
/netbsd-current/usr.bin/mail/ |
H A D | 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));
|
/netbsd-current/external/gpl2/xcvs/dist/lib/ |
H A D | regexec.c | 2699 Idx sub_last_idx, sl_str, bkref_str_off; 2704 sl_str = sub_top->str_idx; 2712 sl_str_diff = sub_last->str_idx - sl_str; 2730 if (memcmp (buf + bkref_str_off, buf + sl_str, sl_str_diff) != 0) 2734 sl_str += sl_str_diff; 2751 ++sl_str; 2753 for (; sl_str <= bkref_str_idx; ++sl_str) 2758 sl_str_off = sl_str - sub_top->str_idx; 2775 if (buf [bkref_str_off++] != buf[sl_str 2695 Idx sub_last_idx, sl_str, bkref_str_off; local [all...] |