Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libfsmgt/common/
H A Dfs_shares.c145 char *strptr; in fs_parse_opts_for_sec_modes() local
148 strptr = strdup(cmd); in fs_parse_opts_for_sec_modes()
149 if (strptr == NULL) { in fs_parse_opts_for_sec_modes()
154 temp_str = strptr; in fs_parse_opts_for_sec_modes()
163 if (strstr(strptr, "sec=") != NULL) { in fs_parse_opts_for_sec_modes()
165 next_str = strptr; in fs_parse_opts_for_sec_modes()
168 next_str = strstr(strptr, "sec="); in fs_parse_opts_for_sec_modes()
170 if (strncmp(strptr, "sec=", 4) != 0) { in fs_parse_opts_for_sec_modes()
173 strptr = next_str; in fs_parse_opts_for_sec_modes()
174 next_str = strstr(strptr + 4, "sec="); in fs_parse_opts_for_sec_modes()
[all …]
/titanic_41/usr/src/lib/efcode/engine/
H A Dfcode.c211 uchar_t *strptr; in do_quote() local
213 strptr = (uchar_t *)IP; in do_quote()
214 len = *strptr; in do_quote()
215 PUSH(DS, (fstack_t)strptr+1); in do_quote()
217 strptr += TOKEN_ROUNDUP(len+2); in do_quote()
218 IP = (token_t *)strptr; in do_quote()
226 char *strptr; in bquote() local
231 strptr = (char *)HERE; in bquote()
232 *strptr++ = len; in bquote()
234 *strptr++ = next_bytecode(env); in bquote()
[all …]
/titanic_41/usr/src/cmd/vgrind/
H A Dvfontedpr.c436 char *strptr; /* end of a string delimiter */ in putScp() local
471 strptr = expmatch (s, l_strbeg, dummy); in putScp()
476 if ((comptr < strptr || strptr == NIL) in putScp()
493 if ((acmptr < strptr || strptr == NIL) in putScp()
508 if (strptr != NIL) in putScp()
509 if ((strptr < chrptr || chrptr == NIL) in putScp()
510 && (strptr < blksptr || blksptr == NIL) in putScp()
511 && (strptr < blkeptr || blkeptr == NIL)) { in putScp()
512 putKcp (s, strptr-1, FALSE); in putScp()
513 s = strptr; in putScp()
[all …]
/titanic_41/usr/src/uts/i86pc/io/
H A Dimmu.c628 char **strptr; in blacklisted_driver() local
638 strptr = &black_array[i]; in blacklisted_driver()
639 if (strcmp(*strptr++, "DRIVER") == 0) { in blacklisted_driver()
640 if ((maj = ddi_name_to_major(*strptr++)) in blacklisted_driver()
662 char **strptr; in blacklisted_smbios() local
687 strptr = &black_array[i]; in blacklisted_smbios()
688 if (strcmp(*strptr++, "SMBIOS") == 0) { in blacklisted_smbios()
689 if (strcmp(*strptr++, mfg) == 0 && in blacklisted_smbios()
690 ((char *)strptr == '\0' || in blacklisted_smbios()
691 strcmp(*strptr++, product) == 0) && in blacklisted_smbios()
[all …]
H A Dimmu_dmar.c903 immu_dmar_blacklisted(char **strptr, uint_t nstrs) in immu_dmar_blacklisted() argument
911 ASSERT((strptr == NULL) ^ (nstrs != 0)); in immu_dmar_blacklisted()
927 if (strcmp(*strptr++, "DMAR") == 0) { in immu_dmar_blacklisted()
928 if (strcmp(*strptr++, tbl->tbl_oem_id) == 0 && in immu_dmar_blacklisted()
929 ((char *)strptr == '\0' || in immu_dmar_blacklisted()
930 strcmp(*strptr++, tbl->tbl_oem_tblid) == 0) && in immu_dmar_blacklisted()
931 ((char *)strptr == '\0' || in immu_dmar_blacklisted()
932 strcmp(*strptr++, oem_rev) == 0)) { in immu_dmar_blacklisted()
/titanic_41/usr/src/cmd/dc/
H A Ddc.c1200 strptr = salloc(0); in init()
1537 create(strptr); in print()
1548 sputc(strptr, ' '); in print()
1551 fsfile(strptr); in print()
1552 while (sfbeg(strptr) == 0) in print()
1553 OUTC(sbackc(strptr)); in print()
1559 create(strptr); in print()
1564 sputc(strptr, ' '); in print()
1572 rewind(strptr); in print()
1573 while (sfeof(strptr) == 0) in print()
[all …]
H A Ddc.h102 struct blk *sqtemp, *chptr, *strptr, *divxyz; variable
/titanic_41/usr/src/cmd/lp/filter/postscript/dpost/
H A Ddpost.c501 char *strptr; variable
2417 strptr = strings; in starttext()
2419 line[1].str = strptr; in starttext()
2471 *strptr = '\0'; in endtext()
2481 *strptr = '\0'; in endtext()
2538 *strptr++ = '\0'; in endstring()
2540 line[++textcount].str = strptr; in endstring()
2541 *strptr++ = ' '; in endstring()
2547 *strptr++ = ' '; in endstring()
2618 *strptr++ = c; in addchar()
[all …]
/titanic_41/usr/src/lib/libzfs/common/
H A Dlibzfs_diff.c689 char *strptr; in get_mountpoints() local
698 strptr = strchr(di->tosnap, '@'); in get_mountpoints()
699 ASSERT3P(strptr, !=, NULL); in get_mountpoints()
701 ZDIFF_SNAPDIR, ++strptr); in get_mountpoints()
703 strptr = strchr(di->fromsnap, '@'); in get_mountpoints()
704 ASSERT3P(strptr, !=, NULL); in get_mountpoints()
711 *strptr = '\0'; in get_mountpoints()
713 *strptr = '@'; in get_mountpoints()
720 ZDIFF_SNAPDIR, ++strptr); in get_mountpoints()
/titanic_41/usr/src/lib/cfgadm_plugins/scsi/SUNW,SPARC-Enterprise/common/
H A Dopl_dev_led.c59 char *strptr; in opl_get_scf_logical_disk() local
67 if ((strptr = strstr(phys_path, ":")) != NULL) { in opl_get_scf_logical_disk()
68 strptr[0] = '\0'; in opl_get_scf_logical_disk()
/titanic_41/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') {
/titanic_41/usr/src/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()
/titanic_41/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()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dutils.c138 flprintf __V((FILE *strptr, const char *fmt, ...)) in flprintf() argument
147 FILE *strptr; in flprintf() local
150 strptr = va_arg(args, FILE *); in flprintf()
155 if (strptr == NULL) { in flprintf()
168 n = fwrite(buf, 1, n, strptr); in flprintf()
H A Dipcp.c1991 ipcp_print_stat(unit, strptr) in ipcp_print_stat() argument
1993 FILE *strptr;
2000 (void) flprintf(strptr, "%s disabled\n", proto_name);
2004 (void) flprintf(strptr, "%s state: %s", proto_name,
2006 (void) flprintf(strptr, "%s local %I remote %I", proto_name, go->ouraddr,
H A Dpppd.h377 void (*print_stat) __P((int unit, FILE *strptr));
640 extern void sys_print_state __P((FILE *strptr));
H A Dsys-solaris.c3556 getbits(int fd, char *name, FILE *strptr) in getbits() argument
3577 (void) flprintf(strptr, "%d: %s", i, in getbits()
3594 (void) flprintf(strptr, "%s: %s\n", name, sbuf); in getbits()
3605 sys_print_state(FILE *strptr) in sys_print_state() argument
3612 (void) flprintf(strptr, "serial link is not active"); in sys_print_state()
3620 getbits(ttyfd, devnam, strptr); in sys_print_state()
H A Dmain.c2568 print_ncpstate(unit, strptr) in print_ncpstate() argument
2570 FILE *strptr;
2575 (void) flprintf(strptr, "In %s phase\n", phase_name(phase));
2578 (*protp->print_stat)(unit, strptr);
2580 sys_print_state(strptr);
/titanic_41/usr/src/lib/libsldap/common/
H A Dns_config.c1498 char *ptr = NULL, *strptr = NULL, buffer[BUFSIZE]; in verify_value() local
1568 strptr = strtok_r(buffer, ",", &rest); in verify_value()
1569 while (strptr != NULL) { in verify_value()
1571 tmp = stripdup(strptr); in verify_value()
1581 strptr = strtok_r(NULL, ",", &rest); in verify_value()
3368 char *strptr; in SetDoorInfoToUnixCred() local
3382 strptr = (char *)strtok_r(bufptr, DOORLINESEP, &rest); in SetDoorInfoToUnixCred()
3384 if (strptr == NULL) in SetDoorInfoToUnixCred()
3386 (void) strlcpy(valbuf, strptr, sizeof (valbuf)); in SetDoorInfoToUnixCred()
3411 strptr = (char *)strtok_r(NULL, DOORLINESEP, &rest); in SetDoorInfoToUnixCred()
[all …]
/titanic_41/usr/src/cmd/bnu/
H A Duustat.c1319 char *strptr, *startime; local
1351 for (strptr = abuf; *strptr != '\0'; strptr++)
1352 if (*strptr == '|')
1353 *strptr = ' ';
/titanic_41/usr/src/cmd/mdb/common/modules/dtrace/
H A Ddof.c212 uint_t strptr = DIF_INSTR_STRING(instr); in dis_sets() local
215 strptr, DIF_INSTR_RD(instr)); in dis_sets()
217 if (dp != NULL && strptr < dp->dtdo_strlen) { in dis_sets()
224 mdb_printf("\t\t! \"%s\"", str + strptr); in dis_sets()
/titanic_41/usr/src/cmd/sgs/libelf/
H A DMakefile.com40 strptr.o update.o error.o gelf.o \
/titanic_41/usr/src/lib/libresolv2/common/resolv/
H A Dres_debug.c802 precsize_aton(const char **strptr) { in precsize_aton() argument
809 cp = *strptr; in precsize_aton()
835 *strptr = cp; in precsize_aton()
/titanic_41/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()