Home
last modified time | relevance | path

Searched refs:strp (Results 1 – 25 of 37) sorted by relevance

12

/freebsd-13.1/contrib/libpcap/missing/
H A Dwin_asprintf.c8 pcap_vasprintf(char **strp, const char *format, va_list args) in pcap_vasprintf() argument
17 *strp = NULL; in pcap_vasprintf()
23 *strp = NULL; in pcap_vasprintf()
29 *strp = NULL; in pcap_vasprintf()
32 *strp = str; in pcap_vasprintf()
42 pcap_asprintf(char **strp, const char *format, ...) in pcap_asprintf() argument
48 ret = pcap_vasprintf(strp, format, args); in pcap_asprintf()
H A Dasprintf.c14 pcap_vasprintf(char **strp, const char *format, va_list args) in pcap_vasprintf() argument
66 *strp = NULL; in pcap_vasprintf()
72 *strp = NULL; in pcap_vasprintf()
78 *strp = NULL; in pcap_vasprintf()
81 *strp = str; in pcap_vasprintf()
91 pcap_asprintf(char **strp, const char *format, ...) in pcap_asprintf() argument
97 ret = pcap_vasprintf(strp, format, args); in pcap_asprintf()
/freebsd-13.1/contrib/tzcode/stdtime/
H A Dlocaltime.c706 ++strp; in getqzname()
727 if (strp == NULL || !is_digit(c = *strp))
768 ++strp;
769 strp = getnum(strp, &num, 0, MINSPERHOUR - 1);
776 strp = getnum(strp, &num, 0, SECSPERMIN);
801 ++strp;
803 ++strp;
804 strp = getsecs(strp, offsetp);
829 ++strp;
842 strp = getnum(strp, &rulep->r_week, 1, 5);
[all …]
/freebsd-13.1/contrib/bsnmp/lib/
H A Dsnmpclient.c1952 p - *strp, *strp); in get_comm()
1956 *strp = p + 1; in get_comm()
1986 p - *strp, *strp); in get_ipv6()
1997 strncpy(str, *strp + 1, p - (*strp + 1)); in get_ipv6()
2011 *strp = p + 1; in get_ipv6()
2040 return *strp; in get_ipv4()
2043 strncpy(str, *strp, p - *strp); in get_ipv4()
2052 *strp = p; in get_ipv4()
2073 *strp += strlen(*strp); in get_host()
2077 *strp = p; in get_host()
[all …]
/freebsd-13.1/usr.bin/showmount/
H A Dshowmount.c280 char *strp; in xdr_mntdump() local
290 strp = mp->ml_host; in xdr_mntdump()
291 if (!xdr_string(xdrsp, &strp, MNTNAMLEN)) { in xdr_mntdump()
295 strp = mp->ml_dirp; in xdr_mntdump()
296 if (!xdr_string(xdrsp, &strp, MNTPATHLEN)) { in xdr_mntdump()
362 char *strp; in xdr_exportslist() local
372 strp = ep->ex_dirp; in xdr_exportslist()
373 if (!xdr_string(xdrsp, &strp, MNTPATHLEN)) in xdr_exportslist()
381 strp = gp->gr_name; in xdr_exportslist()
382 if (!xdr_string(xdrsp, &strp, MNTNAMLEN)) in xdr_exportslist()
/freebsd-13.1/contrib/ncurses/include/
H A Dcapdefaults.c48 char *strp; variable
52 (short) (strp = strchr(str, '*'), strp ? atoi(strp+1) : 0)
/freebsd-13.1/contrib/elftoolchain/libdwarf/
H A Ddwarf_attrval.c65 dwarf_attrval_string(Dwarf_Die die, Dwarf_Half attr, const char **strp, Dwarf_Error *err) in dwarf_attrval_string() argument
72 if (die == NULL || strp == NULL) { in dwarf_attrval_string()
77 *strp = NULL; in dwarf_attrval_string()
86 *strp = at->u[1].s; in dwarf_attrval_string()
89 *strp = at->u[0].s; in dwarf_attrval_string()
/freebsd-13.1/lib/libc/stdio/
H A Dvswscanf.c77 const wchar_t *strp; in vswscanf_l() local
87 strp = str; in vswscanf_l()
88 if ((mlen = wcsrtombs_l(mbstr, &strp, SIZE_T_MAX, &mbs, locale)) == (size_t)-1) { in vswscanf_l()
/freebsd-13.1/crypto/heimdal/appl/telnet/libtelnet/
H A Dencrypt.c788 unsigned char *strp; in encrypt_send_keyid() local
798 for (strp = &str_keyid[4]; keylen > 0; --keylen) { in encrypt_send_keyid()
799 if ((*strp++ = *keyid++) == IAC) in encrypt_send_keyid()
800 *strp++ = IAC; in encrypt_send_keyid()
802 *strp++ = IAC; in encrypt_send_keyid()
803 *strp++ = SE; in encrypt_send_keyid()
804 telnet_net_write(str_keyid, strp - str_keyid); in encrypt_send_keyid()
805 printsub('>', &str_keyid[2], strp - str_keyid - 2); in encrypt_send_keyid()
/freebsd-13.1/contrib/telnet/libtelnet/
H A Dencrypt.c760 unsigned char *strp; in encrypt_send_keyid() local
770 for (strp = &str_keyid[4]; keylen > 0; --keylen) { in encrypt_send_keyid()
771 if ((*strp++ = *keyid++) == IAC) in encrypt_send_keyid()
772 *strp++ = IAC; in encrypt_send_keyid()
774 *strp++ = IAC; in encrypt_send_keyid()
775 *strp++ = SE; in encrypt_send_keyid()
776 net_write(str_keyid, strp - str_keyid); in encrypt_send_keyid()
777 printsub('>', &str_keyid[2], strp - str_keyid - 2); in encrypt_send_keyid()
/freebsd-13.1/usr.sbin/lpr/common_source/
H A Dctlinfo.c868 char *strp, *nl; in ctl_getline() local
881 strp = fgets(cpriv->cji_buff, cpriv->cji_buffsize, cpriv->cji_fstream); in ctl_getline()
882 if (strp == NULL) { in ctl_getline()
889 nl = strchr(strp, '\n'); in ctl_getline()
904 ch = strp; in ctl_getline()
905 for (ch = strp; *ch != '\0'; ch++) { in ctl_getline()
917 return strp; in ctl_getline()
H A Dcommon.c463 lpd_gettime(struct timespec *tsp, char *strp, size_t strsize) in lpd_gettime() argument
487 if ((strp == NULL) || (strsize < 1)) in lpd_gettime()
520 strp[TIMESTR_SIZE+1] = '\0'; in lpd_gettime()
522 strlcpy(strp, tempstr, strsize); in lpd_gettime()
/freebsd-13.1/sys/dev/aic7xxx/aicasm/
H A Daicasm_scan.l540 const char *strp;
543 strp = next_match + strlen(next_match);
544 while (strp > next_match)
545 unput(*--strp);
/freebsd-13.1/usr.sbin/lpr/lpd/
H A Dprintjob.c1507 register char *strp; in scan_out() local
1513 strp = &outbuf[0]; in scan_out()
1519 *strp++ = BACKGND; in scan_out()
1521 strp = scnline(scnkey[(int)c][scnhgt-1-d], strp, cc); in scan_out()
1525 *strp++ = BACKGND; in scan_out()
1526 *strp++ = BACKGND; in scan_out()
1528 while (*--strp == BACKGND && strp >= outbuf) in scan_out()
1530 strp++; in scan_out()
1531 *strp++ = '\n'; in scan_out()
1532 (void) write(scfd, outbuf, strp-outbuf); in scan_out()
/freebsd-13.1/lib/libc/posix1e/
H A Dacl_support_nfs4.c140 parse_flags_verbose(const char *strp, uint32_t *var, in parse_flags_verbose() argument
147 str = strdup(strp); in parse_flags_verbose()
/freebsd-13.1/cddl/contrib/opensolaris/common/ctf/
H A Dctf_open.c250 const ctf_sect_t *sp, const ctf_sect_t *strp) in init_symtab() argument
277 if (gsp->st_name < strp->cts_size) in init_symtab()
278 name = (const char *)strp->cts_data + gsp->st_name; in init_symtab()
962 ctf_sect_t *ctp, *symp, *strp; in ctf_dup() local
1012 strp = &strsect; in ctf_dup()
1014 strp = NULL; in ctf_dup()
1017 fp = ctf_bufopen(ctp, symp, strp, &err); in ctf_dup()
/freebsd-13.1/sbin/routed/
H A Dtable.c1161 char str[100], *strp; in read_rt() local
1227 strp = &str[strlen(str)]; in read_rt()
1229 strp += sprintf(strp," from pid %d",m.r.rtm.rtm_pid); in read_rt()
1260 strp += sprintf(strp, ": %s", in read_rt()
1284 strp += sprintf(strp, " --> %s", naddr_ntoa(gate)); in read_rt()
1290 strp += sprintf(strp, " by authority of %s", in read_rt()
/freebsd-13.1/contrib/tcsh/
H A Dsh.glob.c396 Char **t, *p, *strp; in handleone() local
409 for (t = vl, strp = str; (p = *t++) != NULL; chars++) { in handleone()
411 *strp++ = *p++ & TRIM; in handleone()
412 *strp++ = ' '; in handleone()
414 *--strp = '\0'; in handleone()
/freebsd-13.1/contrib/apr/memory/unix/
H A Dapr_pools.c1258 char *strp; in psprintf_flush() local
1264 strp = ps->vbuff.curpos; in psprintf_flush()
1265 cur_len = strp - active->first_avail; in psprintf_flush()
1360 char *strp; in apr_pvsprintf() local
1401 strp = ps.node->first_avail; in apr_pvsprintf()
1409 strp = ps.node->first_avail + REDZONE; in apr_pvsprintf()
1410 size = ps.vbuff.curpos - strp; in apr_pvsprintf()
1415 strp = ps.node->first_avail; in apr_pvsprintf()
1430 return strp; in apr_pvsprintf()
1450 return strp; in apr_pvsprintf()
[all …]
/freebsd-13.1/usr.bin/unifdef/
H A Dunifdef.c1460 findsym(const char **strp) in findsym() argument
1466 str = *strp; in findsym()
1467 *strp = skipsym(str); in findsym()
1469 if (*strp == str) in findsym()
1476 (int)(*strp-str), str, in findsym()
1488 strkey = malloc(*strp - str + 1); in findsym()
1489 memcpy(strkey, str, *strp - str); in findsym()
1490 strkey[*strp - str] = 0; in findsym()
/freebsd-13.1/sys/contrib/openzfs/cmd/zed/
H A Dzed_event.c600 char **strp; in _zed_event_add_string_array() local
609 (void) nvpair_value_string_array(nvp, &strp, &nelem); in _zed_event_add_string_array()
611 n = snprintf(p, buflen, "%s ", strp[i] ? strp[i] : "<NULL>"); in _zed_event_add_string_array()
/freebsd-13.1/usr.sbin/mountd/
H A Dmountd.c1409 char *strp; in xdr_mlist() local
1414 strp = &mlp->ml_host[0]; in xdr_mlist()
1415 if (!xdr_string(xdrsp, &strp, MNTNAMLEN)) in xdr_mlist()
1417 strp = &mlp->ml_dirp[0]; in xdr_mlist()
1418 if (!xdr_string(xdrsp, &strp, MNTPATHLEN)) in xdr_mlist()
1475 char *strp; in put_exlist() local
1482 strp = dp->dp_dirp; in put_exlist()
1492 strp = "(...)"; in put_exlist()
1504 if (!xdr_string(xdrsp, &strp, in put_exlist()
1510 strp = grp->gr_ptr.gt_net.nt_name; in put_exlist()
[all …]
/freebsd-13.1/usr.sbin/kldxref/
H A Def.c186 char *strp; in ef_lookup_symbol() local
206 strp = ef->ef_strtab + symp->st_name; in ef_lookup_symbol()
208 if (strcmp(name, strp) == 0) { in ef_lookup_symbol()
H A Def_obj.c152 const char *strp; in ef_obj_lookup_symbol() local
156 strp = ef->ddbstrtab + symp->st_name; in ef_obj_lookup_symbol()
157 if (symp->st_shndx != SHN_UNDEF && strcmp(name, strp) == 0) { in ef_obj_lookup_symbol()
/freebsd-13.1/stand/common/
H A Dload_elf.c1236 char *strp; local
1259 strp = strdupout((vm_offset_t)(ef->strtab + sym.st_name));
1260 if (strcmp(name, strp) == 0) {
1261 free(strp);
1269 free(strp);

12