Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dfs_shares.c143 char *strptr; in fs_parse_opts_for_sec_modes() local
146 strptr = strdup(cmd); in fs_parse_opts_for_sec_modes()
147 if (strptr == NULL) { in fs_parse_opts_for_sec_modes()
152 temp_str = strptr; in fs_parse_opts_for_sec_modes()
161 if (strstr(strptr, "sec=") != NULL) { in fs_parse_opts_for_sec_modes()
163 next_str = strptr; in fs_parse_opts_for_sec_modes()
166 next_str = strstr(strptr, "sec="); in fs_parse_opts_for_sec_modes()
168 if (strncmp(strptr, "sec=", 4) != 0) { in fs_parse_opts_for_sec_modes()
171 strptr = next_str; in fs_parse_opts_for_sec_modes()
172 next_str = strstr(strptr + 4, "sec="); in fs_parse_opts_for_sec_modes()
[all …]
/illumos-gate/usr/src/cmd/vgrind/
H A Dvfontedpr.c469 strptr = expmatch (s, l_strbeg, dummy); in putScp()
474 if ((comptr < strptr || strptr == NIL) in putScp()
491 if ((acmptr < strptr || strptr == NIL) in putScp()
506 if (strptr != NIL) in putScp()
507 if ((strptr < chrptr || chrptr == NIL) in putScp()
508 && (strptr < blksptr || blksptr == NIL) in putScp()
509 && (strptr < blkeptr || blkeptr == NIL)) { in putScp()
510 putKcp (s, strptr-1, FALSE); in putScp()
511 s = strptr; in putScp()
586 putKcp (s, strptr-1, TRUE); in putScp()
[all …]
/illumos-gate/usr/src/uts/i86pc/io/
H A Dimmu.c634 char **strptr; in blacklisted_driver() local
644 strptr = &black_array[i]; in blacklisted_driver()
645 if (strcmp(*strptr++, "DRIVER") == 0) { in blacklisted_driver()
668 char **strptr; in blacklisted_smbios() local
693 strptr = &black_array[i]; in blacklisted_smbios()
694 if (strcmp(*strptr++, "SMBIOS") == 0) { in blacklisted_smbios()
695 if (strcmp(*strptr++, mfg) == 0 && in blacklisted_smbios()
696 (*strptr[0] == '\0' || in blacklisted_smbios()
697 strcmp(*strptr++, product) == 0) && in blacklisted_smbios()
698 (*strptr[0] == '\0' || in blacklisted_smbios()
[all …]
H A Dimmu_dmar.c905 immu_dmar_blacklisted(char **strptr, uint_t nstrs) in immu_dmar_blacklisted() argument
913 ASSERT((strptr == NULL) ^ (nstrs != 0)); in immu_dmar_blacklisted()
929 if (strcmp(*strptr++, "DMAR") == 0) { in immu_dmar_blacklisted()
930 if (strcmp(*strptr++, tbl->tbl_oem_id) == 0 && in immu_dmar_blacklisted()
931 (*strptr[0] == '\0' || in immu_dmar_blacklisted()
932 strcmp(*strptr++, tbl->tbl_oem_tblid) == 0) && in immu_dmar_blacklisted()
933 (*strptr[0] == '\0' || in immu_dmar_blacklisted()
934 strcmp(*strptr++, oem_rev) == 0)) { in immu_dmar_blacklisted()
/illumos-gate/usr/src/cmd/dc/
H A Ddc.c1198 strptr = salloc(0); in init()
1535 create(strptr); in print()
1549 fsfile(strptr); in print()
1557 create(strptr); in print()
1570 rewind(strptr); in print()
1745 create(strptr); in oneot()
1746 sputc(strptr, -1); in oneot()
1748 p = add(strptr, q); in oneot()
1764 sputc(strptr, '0'); in hexot()
1787 t = strptr; in bigot()
[all …]
H A Ddc.h100 struct blk *sqtemp, *chptr, *strptr, *divxyz; variable
/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/
H A Ddpost.c499 char *strptr; variable
2415 strptr = strings; in starttext()
2417 line[1].str = strptr; in starttext()
2469 *strptr = '\0'; in endtext()
2479 *strptr = '\0'; in endtext()
2536 *strptr++ = '\0'; in endstring()
2539 *strptr++ = ' '; in endstring()
2545 *strptr++ = ' '; in endstring()
2616 *strptr++ = c; in addchar()
2652 sprintf(strptr, "\\%o", c); in addoctal()
[all …]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_diff.c691 char *strptr; in get_mountpoints() local
700 strptr = strchr(di->tosnap, '@'); in get_mountpoints()
701 ASSERT3P(strptr, !=, NULL); in get_mountpoints()
703 ZDIFF_SNAPDIR, ++strptr); in get_mountpoints()
705 strptr = strchr(di->fromsnap, '@'); in get_mountpoints()
706 ASSERT3P(strptr, !=, NULL); in get_mountpoints()
713 *strptr = '\0'; in get_mountpoints()
715 *strptr = '@'; in get_mountpoints()
722 ZDIFF_SNAPDIR, ++strptr); in get_mountpoints()
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/SUNW,SPARC-Enterprise/common/
H A Dopl_dev_led.c56 char *strptr; in opl_get_scf_logical_disk() local
64 if ((strptr = strstr(phys_path, ":")) != NULL) { in opl_get_scf_logical_disk()
65 strptr[0] = '\0'; in opl_get_scf_logical_disk()
/illumos-gate/usr/src/cmd/rpcinfo/
H A Drpcinfo.c172 char *strptr; local
207 portnum = (ushort_t)strtol(optarg, &strptr, 10);
208 if (strptr == optarg || *strptr != '\0') {
1608 char *strptr; local
1623 prognum = strtol(arg, &strptr, 10);
1624 if (strptr == arg || *strptr != '\0') {
1637 char *strptr; local
1640 vers = (int)strtol(arg, &strptr, 10);
1641 if (strptr == arg || *strptr != '\0') {
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dutils.c131 flprintf __V((FILE *strptr, const char *fmt, ...)) in flprintf() argument
140 FILE *strptr; in flprintf() local
143 strptr = va_arg(args, FILE *); in flprintf()
148 if (strptr == NULL) { in flprintf()
161 n = fwrite(buf, 1, n, strptr); in flprintf()
H A Dipcp.c1984 ipcp_print_stat(unit, strptr) in ipcp_print_stat() argument
1986 FILE *strptr;
1993 (void) flprintf(strptr, "%s disabled\n", proto_name);
1997 (void) flprintf(strptr, "%s state: %s", proto_name,
1999 (void) flprintf(strptr, "%s local %I remote %I", proto_name, go->ouraddr,
H A Dpppd.h384 void (*print_stat) __P((int unit, FILE *strptr));
647 extern void sys_print_state __P((FILE *strptr));
H A Dsys-solaris.c3497 getbits(int fd, char *name, FILE *strptr) in getbits() argument
3518 (void) flprintf(strptr, "%d: %s", i, in getbits()
3535 (void) flprintf(strptr, "%s: %s\n", name, sbuf); in getbits()
3546 sys_print_state(FILE *strptr) in sys_print_state() argument
3553 (void) flprintf(strptr, "serial link is not active"); in sys_print_state()
3561 getbits(ttyfd, devnam, strptr); in sys_print_state()
H A Dmain.c2565 print_ncpstate(unit, strptr) in print_ncpstate() argument
2567 FILE *strptr;
2572 (void) flprintf(strptr, "In %s phase\n", phase_name(phase));
2575 (*protp->print_stat)(unit, strptr);
2577 sys_print_state(strptr);
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_dis.c199 uint_t strptr = DIF_INSTR_STRING(in); in dt_dis_sets() local
202 strptr, DIF_INSTR_RD(in)); in dt_dis_sets()
204 if (strptr < dp->dtdo_strlen) in dt_dis_sets()
205 (void) fprintf(fp, "\t\t! \"%s\"", dp->dtdo_strtab + strptr); in dt_dis_sets()
/illumos-gate/usr/src/cmd/datadm/
H A Ddatadm.c336 datadm_parse_generic_str(char *str, char **strptr) in datadm_parse_generic_str() argument
341 *strptr = (char *)malloc(len + 1); in datadm_parse_generic_str()
342 if (*strptr == NULL) { in datadm_parse_generic_str()
345 (void) strcpy(*strptr, str); in datadm_parse_generic_str()
355 datadm_parse_nonnull_str(char *str, char **strptr) in datadm_parse_nonnull_str() argument
376 *strptr = (char *)malloc(len + 1); in datadm_parse_nonnull_str()
377 if (*strptr == NULL) { in datadm_parse_nonnull_str()
380 (void) strcpy(*strptr, start); in datadm_parse_nonnull_str()
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_line.c1969 Dwarf_Small *strptr = 0; in _dwarf_decode_line_string_form() local
1984 strptr = secstart + offset; in _dwarf_decode_line_string_form()
1986 secstart,strptr,secend, in _dwarf_decode_line_string_form()
1991 *return_str = (char *) strptr; in _dwarf_decode_line_string_form()
1996 Dwarf_Small *strptr = *line_ptr; in _dwarf_decode_line_string_form() local
1999 strptr ,strptr,secend,DW_DLE_LINE_STRING_BAD,error); in _dwarf_decode_line_string_form()
2003 *return_str = (char *)strptr; in _dwarf_decode_line_string_form()
2004 *line_ptr += strlen((const char *)strptr) + 1; in _dwarf_decode_line_string_form()
H A Ddwarf_debuglink.c127 void *strptr,
133 Dwarf_Small *p = strptr;
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_config.c1497 char *ptr = NULL, *strptr = NULL, buffer[BUFSIZE]; in verify_value() local
1567 strptr = strtok_r(buffer, ",", &rest); in verify_value()
1568 while (strptr != NULL) { in verify_value()
1570 tmp = stripdup(strptr); in verify_value()
1580 strptr = strtok_r(NULL, ",", &rest); in verify_value()
3365 char *strptr; in SetDoorInfoToUnixCred() local
3381 if (strptr == NULL) in SetDoorInfoToUnixCred()
3383 (void) strlcpy(valbuf, strptr, sizeof (valbuf)); in SetDoorInfoToUnixCred()
3426 char *strptr; in SetDoorInfo() local
3451 if (strptr == NULL) in SetDoorInfo()
[all …]
/illumos-gate/usr/src/cmd/bnu/
H A Duustat.c1317 char *strptr, *startime; local
1349 for (strptr = abuf; *strptr != '\0'; strptr++)
1350 if (*strptr == '|')
1351 *strptr = ' ';
/illumos-gate/usr/src/cmd/sgs/libelf/
H A DMakefile.com42 strptr.o update.o error.o gelf.o \
/illumos-gate/usr/src/cmd/mdb/common/modules/dtrace/
H A Ddof.c210 uint_t strptr = DIF_INSTR_STRING(instr); in dis_sets() local
213 strptr, DIF_INSTR_RD(instr)); in dis_sets()
215 if (dp != NULL && strptr < dp->dtdo_strlen) { in dis_sets()
222 mdb_printf("\t\t! \"%s\"", str + strptr); in dis_sets()
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_debug.c797 precsize_aton(const char **strptr) { in precsize_aton() argument
804 cp = *strptr; in precsize_aton()
830 *strptr = cp; in precsize_aton()
/illumos-gate/usr/src/uts/common/os/
H A Ddriver_lyr.c952 char **str_array, *strptr; in i_pack_string_array() local
974 strptr = (char *)&(str_array[nelem + 1]); in i_pack_string_array()
975 bcopy(str_concat, strptr, prop_len); in i_pack_string_array()
979 str_array[i] = strptr; in i_pack_string_array()
980 strptr += strlen(strptr) + 1; in i_pack_string_array()

12