/illumos-gate/usr/src/boot/libsa/ |
H A D | cd9660.c | 231 char *cp, *sep; in dirmatch() local 245 sep = strchr(path, '/'); in dirmatch() 246 if (sep != NULL) { in dirmatch() 247 plen = sep - path; in dirmatch()
|
/illumos-gate/usr/src/boot/libsa/string/ |
H A D | strtok.c | 113 char *brkb, *brkt, *phrase, *sep, *word; in main() local 115 sep = "\\/:;=-"; in main() 120 for (word = strtok(test, sep); word; word = strtok(NULL, sep)) in main() 124 for (word = strtok_r(test, sep, &brkt); word; in main() 125 word = strtok_r(NULL, sep, &brkt)) { in main() 128 for (phrase = strtok_r(blah, sep, &brkb); phrase; in main() 129 phrase = strtok_r(NULL, sep, &brkb)) in main()
|
/illumos-gate/usr/src/boot/libsa/zfs/ |
H A D | zfs.c | 1564 const char *sep; in zfs_parsedev() local 1574 sep = strchr(np, '/'); in zfs_parsedev() 1575 if (sep == NULL || sep >= end) in zfs_parsedev() 1576 sep = end; in zfs_parsedev() 1577 memcpy(poolname, np, sep - np); in zfs_parsedev() 1578 poolname[sep - np] = '\0'; in zfs_parsedev() 1579 if (sep < end) { in zfs_parsedev() 1580 sep++; in zfs_parsedev() 1581 memcpy(rootname, sep, end - sep); in zfs_parsedev() 1582 rootname[end - sep] = '\0'; in zfs_parsedev()
|
/illumos-gate/usr/src/cmd/awk/ |
H A D | lib.c | 263 int sep, c; in readrec() local 274 if ((sep = *rs) == '\0') { in readrec() 275 sep = '\n'; in readrec() 283 if (c != sep) { in readrec() 300 if (*rs == sep) { in readrec() 301 *rt++ = sep; in readrec() 388 char *r, *fr, sep; in fldbld() local 431 } else if ((sep = *inputFS) == '\0') { in fldbld() 622 char *sep = getsval(ofsloc); in recbld() local 627 olen = strlen(sep); in recbld() [all …]
|
H A D | run.c | 1398 int sep; in split() local 1415 sep = *fs; in split() 1431 sep = 0; in split() 1487 } else if (sep == ' ') { in split() 1516 } else if (sep == '\0') { /* split(s, a, "") => 1 char/elem */ in split() 1537 while (*s != sep && *s != '\n' && *s != '\0') in split()
|
/illumos-gate/usr/src/cmd/awk_xpg4/ |
H A D | awk3.c | 1589 register wchar_t *sep; in lfield() local 1602 seplen = wcslen(sep = (wchar_t *)exprstring(varOFS)); in lfield() 1644 (void) memcpy(op, sep, in lfield() 2108 register wchar_t *sep; in makeindex() local 2152 seplen = wcslen(sep = (wchar_t *)exprstring(varSUBSEP)); in makeindex() 2168 (void) memcpy(cp+n, sep, seplen * sizeof (wchar_t)); in makeindex()
|
H A D | awk4.c | 358 register NODE *sep; in f_split() local 373 sep = getlist(&np); in f_split() 375 sep = NNULL; in f_split() 400 if (sep != NNULL) { in f_split() 401 if (sep->n_type == PARM) in f_split() 402 sep = sep->n_next; in f_split() 403 if (sep->n_type == RE) { in f_split() 405 resep = sep->n_regexp; in f_split() 409 sep = exprreduce(sep); in f_split() 413 (void) assign(varFS, sep); in f_split() [all …]
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | perfstat.c | 290 pfloat (dest, number, sep) in pfloat() argument 294 char sep; 304 sprintf(cp, naformat, sep, NOTAVAIL); 306 sprintf(cp, rformat, sep, number); 479 reportTimes (dest, diffptr, sep) in reportTimes() argument 483 char sep; 486 pfloat(dest, diffptr->tu_real, sep); 487 pfloat(dest, diffptr->tu_user, sep); 488 pfloat(dest, diffptr->tu_sys, sep);
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm.c | 4889 char *cmd, *sep, *arg; in line_parser() local 4911 sep = NULL; in line_parser() 4922 cmd = sep = arg = NULL; in line_parser() 4935 sep = arg = NULL; in line_parser() 4950 sep = s_strdup(str - 1); in line_parser() 4965 lp->sep = sep; in line_parser() 8531 free(lp->sep); 8537 lp->sep = s_strdup(menu_cmds[SEP_CMD]); 9922 if (lp->sep) 9923 free(lp->sep);
|
H A D | bootadm.h | 65 char *sep; member
|
H A D | bootadm_upgrade.c | 271 size = strlen(linep->cmd) + strlen(linep->sep) + strlen(linep->arg) + 1; in update_line() 273 (void) snprintf(linep->line, size, "%s%s%s", linep->cmd, linep->sep, in update_line() 776 newlp->sep = s_strdup(" "); in bam_add_findroot() 779 "%s%s%s", newlp->cmd, newlp->sep, in bam_add_findroot()
|
/illumos-gate/usr/src/cmd/cfgadm/ |
H A D | cfgadm.c | 1590 const char *sep; in usage_field() local 1594 sep = ""; in usage_field() 1597 (void) fprintf(stderr, "%s %s", sep, fldp->name); in usage_field() 1598 sep = ","; in usage_field()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | cmds.c | 220 char *sep; in settype() local 223 sep = " "; in settype() 226 if (*sep == ' ') in settype() 227 sep = " | "; in settype() 2273 char *sep; in setclevel() local 2276 sep = " "; in setclevel() 2279 if (*sep == ' ') in setclevel() 2280 sep = " | "; in setclevel() 2328 char *sep; in setdlevel() local 2331 sep = " "; in setdlevel() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | main.c | 2490 char *sep, *endp = NULL; local 2499 sep = strchr(dest, ':'); 2500 if (sep != NULL) { 2501 se = getservbyname((const char *)sep+1, "tcp"); 2505 port = strtol(sep+1, &endp, 10); 2506 if (endp == sep+1 || *endp != '\0') { 2512 if (port < 0 || port > 65535 || sep == dest) { 2516 *sep = '\0'; 2522 *sep = ':'; 2528 *sep = ':';
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
H A D | options.c | 242 sep = &slp->sl_entry; in close_service() 270 sep->se_flist = fep = in close_service() 1972 sep = *sepp++; in locate_service() 2006 sep = *sepp++; in locate_service() 2024 log_for_service(sep->se_log, sep->se_debug); in locate_service() 2094 assert(sep != NULL); in launch_service() 2301 sep = *sepp; in dump_configuration() 2303 sep->se_name, sep->se_debug); in dump_configuration() 2320 sep->se_pppd); in dump_configuration() 2323 sep->se_path); in dump_configuration() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_dhcpv6.c | 501 char sep; in show_hex() local 504 sep = '='; in show_hex() 509 nlen, name, sep, buffer); in show_hex() 511 sep = ' '; in show_hex() 522 char sep; in show_ascii() local 525 sep = '='; in show_ascii() 536 "%*s %c \"%s\"", nlen, name, sep, buffer); in show_ascii() 537 sep = ' '; in show_ascii()
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.func.c | 73 void echo(tchar sep, tchar **v); 1006 echo(tchar sep, tchar **v) in echo() argument 1025 if (sep == (tchar)' ') in echo() 1037 if (sep == ' ' && *v && strlen_(*v) == 2 && in echo() 1049 Putchar(sep | QUOTE); in echo() 1052 if (sep && nonl == 0) { in echo()
|
/illumos-gate/usr/src/cmd/datadm/ |
H A D | datadm.c | 1547 datadm_entry_t *sep; in datadm_generate_dat_conf() local 1549 sep = ((datadm_hca_entry_t *)hep)->he_sp_list.dl_head; in datadm_generate_dat_conf() 1550 while (sep != NULL) { in datadm_generate_dat_conf() 1551 if (((datadm_sp_entry_t *)sep)->spe_invalid) { in datadm_generate_dat_conf() 1552 sep = sep->de_next; in datadm_generate_dat_conf() 1557 (datadm_sp_entry_t *)sep); in datadm_generate_dat_conf() 1561 sep = sep->de_next; in datadm_generate_dat_conf()
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | cfg_link.c | 932 char *sep, *prev, *np; in pci_cfg_info_data() local 943 while ((sep = strstr(prev, AP_PATH_SEP)) != NULL) { in pci_cfg_info_data() 944 len = sep - prev; in pci_cfg_info_data() 948 prev = sep + seplen; in pci_cfg_info_data()
|
/illumos-gate/usr/src/cmd/devprop/ |
H A D | devprop.c | 126 #define PER_TYPE(typ, func, val, incr, form, pv, sep) \ in main() argument 135 (void) printf(sep); \ in main()
|
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/ |
H A D | commands.c | 717 char *sep = ""; in chk_opt() local 742 sep = ", "; in chk_opt() 747 sep = ", "; in chk_opt() 753 sep = ", "; in chk_opt() 4002 sep); in sa_set() 4003 sep = ", "; in sa_set() 4008 sep = ", "; in sa_set() 4012 sep); in sa_set() 4013 sep = ", "; in sa_set() 4544 sep); in sa_unset() [all …]
|
/illumos-gate/usr/src/cmd/fm/eversholt/eftinfo/common/ |
H A D | eftinfo.c | 95 static char *sep = ""; in dictprint() local 97 out(O_OK|O_NONL, "%s%s", sep, s); in dictprint() 98 sep = ":"; in dictprint()
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_api.c | 1277 fmd_serd_elem_t *sep; in fmd_case_add_serd() local 1287 for (sep = fmd_list_next(&sgp->sg_list); in fmd_case_add_serd() 1288 sep != NULL; sep = fmd_list_next(sep)) { in fmd_case_add_serd() 1289 if (fmd_case_insert_event(cp, sep->se_event)) in fmd_case_add_serd()
|
H A D | fmd_ckpt.c | 561 fmd_serd_elem_t *sep; in fmd_ckpt_save_serd() local 567 for (sep = fmd_list_next(&sgp->sg_list); in fmd_ckpt_save_serd() 568 sep != NULL; sep = fmd_list_next(sep)) in fmd_ckpt_save_serd() 569 fmd_ckpt_save_event(ckp, sep->se_event); in fmd_ckpt_save_serd()
|
H A D | fmd_dr.c | 72 fmd_dr_event(sysevent_t *sep) in fmd_dr_event() argument 76 const char *class = sysevent_get_class_name(sep); in fmd_dr_event() 77 const char *subclass = sysevent_get_subclass_name(sep); in fmd_dr_event() 123 sysevent_get_time(sep, &evtime); in fmd_dr_event() 136 TRACE((FMD_DBG_XPRT, "dr event %p, gen=%llu", (void *)sep, gen)); in fmd_dr_event()
|