Searched refs:strp (Results 1 - 25 of 35) sorted by relevance

12

/freebsd-current/contrib/libpcap/missing/
H A Dasprintf.c14 pcap_vasprintf(char **strp, const char *format, va_list args) argument
66 *strp = NULL;
72 *strp = NULL;
78 *strp = NULL;
81 *strp = str;
91 pcap_asprintf(char **strp, const char *format, ...) argument
97 ret = pcap_vasprintf(strp, format, args);
H A Dwin_asprintf.c8 pcap_vasprintf(char **strp, const char *format, va_list args) argument
17 *strp = NULL;
23 *strp = NULL;
29 *strp = NULL;
32 *strp = str;
42 pcap_asprintf(char **strp, const char *format, ...) argument
48 ret = pcap_vasprintf(strp, format, args);
/freebsd-current/contrib/ncurses/include/
H A Dcapdefaults.c48 char *strp; variable
52 (short) (strp = strchr(str, '*'), strp ? atoi(strp+1) : 0)
/freebsd-current/lib/libc/stdio/
H A Dvswscanf.c68 const wchar_t *strp; local
78 strp = str;
79 if ((mlen = wcsrtombs_l(mbstr, &strp, SIZE_T_MAX, &mbs, locale)) == (size_t)-1) {
/freebsd-current/contrib/elftoolchain/libdwarf/
H A Ddwarf_attrval.c65 dwarf_attrval_string(Dwarf_Die die, Dwarf_Half attr, const char **strp, Dwarf_Error *err) argument
72 if (die == NULL || strp == NULL) {
77 *strp = NULL;
86 *strp = at->u[1].s;
89 *strp = at->u[0].s;
/freebsd-current/usr.bin/showmount/
H A Dshowmount.c266 char *strp; local
276 strp = mp->ml_host;
277 if (!xdr_string(xdrsp, &strp, MNTNAMLEN)) {
281 strp = mp->ml_dirp;
282 if (!xdr_string(xdrsp, &strp, MNTPATHLEN)) {
348 char *strp; local
358 strp = ep->ex_dirp;
359 if (!xdr_string(xdrsp, &strp, MNTPATHLEN))
367 strp = gp->gr_name;
368 if (!xdr_string(xdrsp, &strp, MNTNAMLE
[all...]
/freebsd-current/contrib/bsnmp/lib/
H A Dsnmpclient.c1891 * \param strp possible start of transport; updated to point to
1897 get_transp(struct snmp_client *sc, const char **strp) argument
1903 p = strstr(*strp, trans_list[i]);
1904 if (p == *strp) {
1905 *strp += strlen(trans_list[i]);
1910 p = strstr(*strp, "::");
1911 if (p == *strp) {
1920 const char *ob = strchr(*strp, '[');
1925 seterr(sc, "unknown transport specifier '%.*s'", p - *strp, *strp);
1942 get_comm(struct snmp_client *sc, const char **strp) argument
1973 get_ipv6(struct snmp_client *sc, const char **strp) argument
2028 get_ipv4(struct snmp_client *sc, const char **strp) argument
2068 get_host(struct snmp_client *sc __unused, const char **strp) argument
2093 get_port(struct snmp_client *sc, const char **strp) argument
[all...]
/freebsd-current/contrib/tzcode/
H A Dlocaltime.c874 getzname(register const char *strp) argument
878 while ((c = *strp) != '\0' && !is_digit(c) && c != ',' && c != '-' &&
880 ++strp;
881 return strp;
895 getqzname(register const char *strp, const int delim) argument
899 while ((c = *strp) != '\0' && c != delim)
900 ++strp;
901 return strp;
912 getnum(register const char *strp, int *const nump, const int min, const int max) argument
917 if (strp
941 getsecs(register const char *strp, int_fast32_t *const secsp) argument
982 getoffset(register const char *strp, int_fast32_t *const offsetp) argument
1008 getrule(const char *strp, register struct rule *const rulep) argument
[all...]
/freebsd-current/crypto/heimdal/appl/telnet/libtelnet/
H A Dencrypt.c788 unsigned char *strp; local
798 for (strp = &str_keyid[4]; keylen > 0; --keylen) {
799 if ((*strp++ = *keyid++) == IAC)
800 *strp++ = IAC;
802 *strp++ = IAC;
803 *strp++ = SE;
804 telnet_net_write(str_keyid, strp - str_keyid);
805 printsub('>', &str_keyid[2], strp - str_keyid - 2);
/freebsd-current/lib/libc/posix1e/
H A Dacl_support_nfs4.c137 parse_flags_verbose(const char *strp, uint32_t *var, argument
144 str = strdup(strp);
/freebsd-current/contrib/telnet/libtelnet/
H A Dencrypt.c756 unsigned char *strp; local
766 for (strp = &str_keyid[4]; keylen > 0; --keylen) {
767 if ((*strp++ = *keyid++) == IAC)
768 *strp++ = IAC;
770 *strp++ = IAC;
771 *strp++ = SE;
772 net_write(str_keyid, strp - str_keyid);
773 printsub('>', &str_keyid[2], strp - str_keyid - 2);
/freebsd-current/sys/fs/tarfs/
H A Dtarfs_vfsops.c119 * Reads a len-width signed octal number from strp. Returns 0 on success
123 tarfs_str2octal(const char *strp, size_t len, int64_t *num) argument
130 if (strp[idx] == '-') {
138 for (; idx < len && strp[idx] != '\0' && strp[idx] != ' '; idx++) {
139 if (strp[idx] < '0' || strp[idx] > '7')
142 val += strp[idx] - '0';
152 * Reads a len-byte extended numeric value from strp. The first byte has
158 tarfs_str2base256(const char *strp, size_ argument
191 tarfs_str2int64(const char *strp, size_t len, int64_t *num) argument
[all...]
/freebsd-current/usr.sbin/lpr/common_source/
H A Dctlinfo.c866 char *strp, *nl; local
879 strp = fgets(cpriv->cji_buff, cpriv->cji_buffsize, cpriv->cji_fstream);
880 if (strp == NULL) {
887 nl = strchr(strp, '\n');
902 ch = strp;
903 for (ch = strp; *ch != '\0'; ch++) {
915 return strp;
H A Dcommon.c455 lpd_gettime(struct timespec *tsp, char *strp, size_t strsize) argument
479 if ((strp == NULL) || (strsize < 1))
512 strp[TIMESTR_SIZE+1] = '\0';
514 strlcpy(strp, tempstr, strsize);
/freebsd-current/cddl/contrib/opensolaris/common/ctf/
H A Dctf_open.c250 const ctf_sect_t *sp, const ctf_sect_t *strp)
277 if (gsp->st_name < strp->cts_size)
278 name = (const char *)strp->cts_data + gsp->st_name;
962 ctf_sect_t *ctp, *symp, *strp; local
1012 strp = &strsect;
1014 strp = NULL;
1017 fp = ctf_bufopen(ctp, symp, strp, &err);
249 init_symtab(ctf_file_t *fp, const ctf_header_t *hp, const ctf_sect_t *sp, const ctf_sect_t *strp) argument
/freebsd-current/contrib/libfido2/fuzz/
H A Dwrap.c685 __wrap_asprintf(char **strp, const char *fmt, ...) argument
691 *strp = (void *)0xdeadbeef;
696 r = vasprintf(strp, fmt, ap);
/freebsd-current/usr.sbin/lpr/lpd/
H A Dprintjob.c1493 register char *strp; local
1499 strp = &outbuf[0];
1505 *strp++ = BACKGND;
1507 strp = scnline(scnkey[(int)c][scnhgt-1-d], strp, cc);
1511 *strp++ = BACKGND;
1512 *strp++ = BACKGND;
1514 while (*--strp == BACKGND && strp >= outbuf)
1516 strp
[all...]
/freebsd-current/usr.sbin/kldxref/
H A Def_obj.c134 const char *strp; local
138 strp = ef->ddbstrtab + symp->st_name;
139 if (symp->st_shndx != SHN_UNDEF && strcmp(name, strp) == 0) {
H A Def.c132 char *strp; local
152 strp = ef->ef_strtab + symp->st_name;
154 if (strcmp(name, strp) == 0) {
/freebsd-current/contrib/unifdef/
H A Dunifdef.c1444 findsym(const char **strp) argument
1450 str = *strp;
1451 *strp = skipsym(str);
1453 if (*strp == str)
1460 (int)(*strp-str), str,
1468 * nul-terminated. We know the length of the symbol, *strp - str, but
1472 strkey = malloc(*strp - str + 1);
1473 memcpy(strkey, str, *strp - str);
1474 strkey[*strp - str] = 0;
/freebsd-current/sbin/routed/
H A Dtable.c1156 char str[100], *strp; local
1222 strp = &str[strlen(str)];
1224 strp += sprintf(strp," from pid %d",m.r.rtm.rtm_pid);
1255 strp += sprintf(strp, ": %s",
1279 strp += sprintf(strp, " --> %s", naddr_ntoa(gate));
1285 strp += sprintf(strp, " b
[all...]
/freebsd-current/sys/kern/
H A Dlink_elf.c1525 const char *strp; local
1550 strp = ef->strtab + symp->st_name;
1552 if (strcmp(name, strp) == 0) {
1586 const char *strp; local
1593 strp = ef->ddbstrtab + symp->st_name;
1594 if (strcmp(name, strp) == 0) {
1615 const char *strp; local
1619 strp = ef->ddbstrtab + symp->st_name;
1620 if (strcmp(name, strp) == 0) {
/freebsd-current/contrib/tcsh/
H A Dsh.glob.c396 Char **t, *p, *strp; local
409 for (t = vl, strp = str; (p = *t++) != NULL; chars++) {
411 *strp++ = *p++ & TRIM;
412 *strp++ = ' ';
414 *--strp = '\0';
/freebsd-current/contrib/libedit/
H A Dreadline.c1790 const char *strp; local
1798 if ((strp = strstr(ev.str, str)) != NULL)
1799 return (int)(strp - ev.str);
/freebsd-current/sys/contrib/openzfs/cmd/zed/
H A Dzed_event.c616 const char **strp; local
625 (void) nvpair_value_string_array(nvp, &strp, &nelem);
627 n = snprintf(p, buflen, "%s ", strp[i] ? strp[i] : "<NULL>");

Completed in 680 milliseconds

12