Home
last modified time | relevance | path

Searched refs:strptr (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/openbsm/libbsm/
H A Dbsm_flags.c122 char *strptr = auditstr; in getauditflagschar() local
154 *strptr = '+'; in getauditflagschar()
155 strptr = strptr + 1; in getauditflagschar()
157 *strptr = '-'; in getauditflagschar()
158 strptr = strptr + 1; in getauditflagschar()
164 strlcpy(strptr, c.ac_desc, AU_CLASS_DESC_MAX); in getauditflagschar()
165 strptr += strlen(c.ac_desc); in getauditflagschar()
167 strlcpy(strptr, c.ac_name, AU_CLASS_NAME_MAX); in getauditflagschar()
168 strptr += strlen(c.ac_name); in getauditflagschar()
170 *strptr = ','; /* delimiter */ in getauditflagschar()
[all …]
/freebsd/bin/df/
H A Ddf.c638 char *str, *strptr, **listptr; in makenetvfslist() local
689 for (i = 0, strptr = str + 2; i < cnt; i++, strptr++) { in makenetvfslist()
690 strlcpy(strptr, listptr[i], 32); in makenetvfslist()
691 strptr += strlen(listptr[i]); in makenetvfslist()
692 *strptr = ','; in makenetvfslist()
695 *(--strptr) = '\0'; in makenetvfslist()
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_diff.c676 char *strptr; in get_mountpoints() local
685 strptr = strchr(di->tosnap, '@'); in get_mountpoints()
686 ASSERT3P(strptr, !=, NULL); in get_mountpoints()
688 ZDIFF_SNAPDIR, ++strptr); in get_mountpoints()
690 strptr = strchr(di->fromsnap, '@'); in get_mountpoints()
691 ASSERT3P(strptr, !=, NULL); in get_mountpoints()
698 *strptr = '\0'; in get_mountpoints()
700 *strptr = '@'; in get_mountpoints()
707 ZDIFF_SNAPDIR, ++strptr); in get_mountpoints()
/freebsd/usr.bin/rpcinfo/
H A Drpcinfo.c161 char *strptr; local
196 portnum = (u_short) strtol(optarg, &strptr, 10);
197 if (strptr == optarg || *strptr != '\0')
1498 char *strptr; local
1510 prognum = strtol(arg, &strptr, 10);
1511 if (strptr == arg || *strptr != '\0')
1520 char *strptr; local
1523 vers = (int) strtol(arg, &strptr, 10);
1524 if (strptr == arg || *strptr != '\0')
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_dis.c186 uint_t strptr = DIF_INSTR_STRING(in); in dt_dis_sets() local
189 strptr, DIF_INSTR_RD(in)); in dt_dis_sets()
191 if (strptr < dp->dtdo_strlen) in dt_dis_sets()
192 (void) fprintf(fp, "\t\t! \"%s\"", dp->dtdo_strtab + strptr); in dt_dis_sets()
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_subnet.c502 char *strptr = p_val_str; in opts_parse_256bit() local
511 if (!strncmp(strptr, "0x", 2) || !strncmp(strptr, "0X", 2)) in opts_parse_256bit()
512 strptr+=2; in opts_parse_256bit()
514 for (ptr = strptr; *ptr; ptr++) { in opts_parse_256bit()
534 memcpy(tmpbuf, strptr, 1); in opts_parse_256bit()
535 strptr += 1; in opts_parse_256bit()
538 memcpy(tmpbuf, strptr, 2); in opts_parse_256bit()
539 strptr += 2; in opts_parse_256bit()
546 memcpy(tmpbuf, strptr, 2); in opts_parse_256bit()
547 strptr += 2; in opts_parse_256bit()
/freebsd/lib/libc/resolv/
H A Dres_debug.c769 precsize_aton(const char **strptr) { in precsize_aton() argument
776 cp = *strptr; in precsize_aton()
802 *strptr = cp; in precsize_aton()
/freebsd/sys/contrib/dev/broadcom/brcm80211/brcmsmac/phy/
H A Dphy_lcn.c3511 u32 curval1, curval2, stpptr, curptr, strptr, val; in wlc_lcnphy_samp_cap() local
3556 strptr = 0x7E00; in wlc_lcnphy_samp_cap()
3557 bcma_write32(pi->d11core, D11REGOFFS(tplatewrptr), strptr); in wlc_lcnphy_samp_cap()
3558 while (strptr < 0x8000) { in wlc_lcnphy_samp_cap()
3569 ptr[(strptr - 0x7E00) / 4] = real; in wlc_lcnphy_samp_cap()
3571 ptr[(strptr - 0x7E00) / 4] = imag; in wlc_lcnphy_samp_cap()
3575 strptr = 0x8000; in wlc_lcnphy_samp_cap()
3580 strptr += 4; in wlc_lcnphy_samp_cap()