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

12

/freebsd-13-stable/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-13-stable/contrib/ncurses/include/
H A Dcapdefaults.c48 char *strp; variable
52 (short) (strp = strchr(str, '*'), strp ? atoi(strp+1) : 0)
/freebsd-13-stable/lib/libc/stdio/
H A Dvswscanf.c77 const wchar_t *strp; local
87 strp = str;
88 if ((mlen = wcsrtombs_l(mbstr, &strp, SIZE_T_MAX, &mbs, locale)) == (size_t)-1) {
/freebsd-13-stable/contrib/tzcode/stdtime/
H A Dlocaltime.c176 static const char * getzname(const char * strp) ATTRIBUTE_PURE;
177 static const char * getqzname(const char * strp, const int delim)
179 static const char * getnum(const char * strp, int * nump, int min,
181 static const char * getsecs(const char * strp, long * secsp);
182 static const char * getoffset(const char * strp, long * offsetp);
183 static const char * getrule(const char * strp, struct rule * rulep);
680 getzname(strp)
681 const char * strp;
685 while ((c = *strp) != '\0' && !is_digit(c) && c != ',' && c != '-' &&
687 ++strp;
701 getqzname(register const char *strp, const int delim) argument
[all...]
/freebsd-13-stable/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-13-stable/usr.bin/showmount/
H A Dshowmount.c280 char *strp; local
290 strp = mp->ml_host;
291 if (!xdr_string(xdrsp, &strp, MNTNAMLEN)) {
295 strp = mp->ml_dirp;
296 if (!xdr_string(xdrsp, &strp, MNTPATHLEN)) {
362 char *strp; local
372 strp = ep->ex_dirp;
373 if (!xdr_string(xdrsp, &strp, MNTPATHLEN))
381 strp = gp->gr_name;
382 if (!xdr_string(xdrsp, &strp, MNTNAMLE
[all...]
/freebsd-13-stable/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-13-stable/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-13-stable/lib/libc/posix1e/
H A Dacl_support_nfs4.c140 parse_flags_verbose(const char *strp, uint32_t *var, argument
147 str = strdup(strp);
/freebsd-13-stable/contrib/telnet/libtelnet/
H A Dencrypt.c760 unsigned char *strp; local
770 for (strp = &str_keyid[4]; keylen > 0; --keylen) {
771 if ((*strp++ = *keyid++) == IAC)
772 *strp++ = IAC;
774 *strp++ = IAC;
775 *strp++ = SE;
776 net_write(str_keyid, strp - str_keyid);
777 printsub('>', &str_keyid[2], strp - str_keyid - 2);
/freebsd-13-stable/usr.sbin/lpr/common_source/
H A Dctlinfo.c868 char *strp, *nl; local
881 strp = fgets(cpriv->cji_buff, cpriv->cji_buffsize, cpriv->cji_fstream);
882 if (strp == NULL) {
889 nl = strchr(strp, '\n');
904 ch = strp;
905 for (ch = strp; *ch != '\0'; ch++) {
917 return strp;
H A Dcommon.c463 lpd_gettime(struct timespec *tsp, char *strp, size_t strsize) argument
487 if ((strp == NULL) || (strsize < 1))
520 strp[TIMESTR_SIZE+1] = '\0';
522 strlcpy(strp, tempstr, strsize);
/freebsd-13-stable/cddl/contrib/opensolaris/common/ctf/
H A Dctf_open.c112 const ctf_sect_t *sp, const ctf_sect_t *strp)
138 if (gsp->st_name < strp->cts_size)
139 name = (const char *)strp->cts_data + gsp->st_name;
802 ctf_sect_t *ctp, *symp, *strp; local
852 strp = &strsect;
854 strp = NULL;
857 fp = ctf_bufopen(ctp, symp, strp, &err);
111 init_symtab(ctf_file_t *fp, const ctf_header_t *hp, const ctf_sect_t *sp, const ctf_sect_t *strp) argument
/freebsd-13-stable/usr.sbin/lpr/lpd/
H A Dprintjob.c1507 register char *strp; local
1513 strp = &outbuf[0];
1519 *strp++ = BACKGND;
1521 strp = scnline(scnkey[(int)c][scnhgt-1-d], strp, cc);
1525 *strp++ = BACKGND;
1526 *strp++ = BACKGND;
1528 while (*--strp == BACKGND && strp >= outbuf)
1530 strp
[all...]
/freebsd-13-stable/sbin/routed/
H A Dtable.c1161 char str[100], *strp; local
1227 strp = &str[strlen(str)];
1229 strp += sprintf(strp," from pid %d",m.r.rtm.rtm_pid);
1260 strp += sprintf(strp, ": %s",
1284 strp += sprintf(strp, " --> %s", naddr_ntoa(gate));
1290 strp += sprintf(strp, " b
[all...]
/freebsd-13-stable/contrib/apr/memory/unix/
H A Dapr_pools.c1258 char *strp; local
1264 strp = ps->vbuff.curpos;
1265 cur_len = strp - active->first_avail;
1360 char *strp; local
1401 strp = ps.node->first_avail;
1409 strp = ps.node->first_avail + REDZONE;
1410 size = ps.vbuff.curpos - strp;
1411 VALGRIND_MEMPOOL_ALLOC(pool, strp, size);
1412 VALGRIND_MAKE_MEM_DEFINED(strp, size);
1415 strp
[all...]
/freebsd-13-stable/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-13-stable/usr.sbin/kldxref/
H A Def.c186 char *strp; local
206 strp = ef->ef_strtab + symp->st_name;
208 if (strcmp(name, strp) == 0) {
H A Def_obj.c152 const char *strp; local
156 strp = ef->ddbstrtab + symp->st_name;
157 if (symp->st_shndx != SHN_UNDEF && strcmp(name, strp) == 0) {
/freebsd-13-stable/sys/contrib/openzfs/cmd/zed/
H A Dzed_event.c600 char **strp; local
609 (void) nvpair_value_string_array(nvp, &strp, &nelem);
611 n = snprintf(p, buflen, "%s ", strp[i] ? strp[i] : "<NULL>");
/freebsd-13-stable/sys/cddl/dev/fbt/
H A Dfbt.c803 const char *strp = ""; local
806 return(strp);
808 strp = (const char *)(lc->ctftab + hp->cth_stroff + name + sizeof(ctf_header_t));
810 return (strp);
/freebsd-13-stable/contrib/libarchive/libarchive/
H A Darchive_read_support_format_rar.c1270 char *strp; local
1511 strp = filename;
1512 while (memcmp(strp, "\x00\x00", 2))
1514 if (!memcmp(strp, "\x00\\", 2))
1515 *(strp + 1) = '/';
1516 strp += 2;
1532 while ((strp = strchr(filename, '\\')) != NULL)
1533 *strp = '/';
1540 while ((strp = strchr(filename, '\\')) != NULL)
1541 *strp
[all...]
/freebsd-13-stable/stand/common/
H A Dload_elf.c1238 char *strp; local
1256 strp = strdupout((vm_offset_t)(ef->strtab + sym.st_name));
1257 if (strcmp(name, strp) == 0) {
1258 free(strp);
1267 free(strp);
/freebsd-13-stable/stand/fdt/
H A Dfdt_loader_cmd.c126 char *strp; local
132 strp = NULL;
178 strp = strdupout(strtab + sym.st_name);
179 if (strcmp(strp, FDT_STATIC_DTB_SYMBOL) == 0)
181 free(strp);

Completed in 420 milliseconds

12