Home
last modified time | relevance | path

Searched refs:prm (Results 1 – 6 of 6) sorted by relevance

/titanic_44/usr/src/cmd/bnu/
H A Dgetprm.c50 getprm(s, whsp, prm) in getprm() argument
51 char *s, *whsp, *prm; in getprm()
59 beginning = prm;
75 *prm = '\0';
76 return(prm == beginning ? NULL : s);
80 if ((prm == beginning + 1) && (*beginning == '2'))
81 *prm++ = *s++;
82 if ((prm == beginning + 1) && (*beginning == '1'))
84 if (prm == beginning) {
87 *prm++ = *s++;
[all …]
H A Duux.c95 char prm[BUFSIZ]; local
328 while ((ap = getprm(ap, (char *)NULL, prm)) != NULL) {
329 if (prm[0] == '>' || prm[0] == '<') {
330 ap = getprm(ap, (char *)NULL, prm);
338 (void) split(prm, xsys, CNULL, rest);
493 while ((ap = getprm(ap, (char *)NULL, prm)) != NULL) {
494 DEBUG(4, "prm - %s\n", prm);
499 if ( prm[0] == '<' ) {
500 if (prm[1] == '<') {
508 if ( prm[0] == '>' ) {
[all …]
H A Duuxqt.c549 char prm[BUFSIZ], whitesp[BUFSIZ], rqtcmd[BUFSIZ], xcmd[BUFSIZ]; in chkpart() local
554 while ((ptr = getprm(ptr, whitesp, prm)) != NULL) { in chkpart()
555 DEBUG(4, "prm='%s'\n", prm); in chkpart()
556 switch (*prm) { in chkpart()
564 (void) strlcat(_Cmd, prm, sizeof (_Cmd)); in chkpart()
572 (void) strlcat(_Cmd, prm, sizeof (_Cmd)); in chkpart()
584 savechar[0] = *prm; in chkpart()
589 savechar[0] = prm[strlen(prm)-1]; in chkpart()
590 prm[strlen(prm)-1] = NULLCHAR; /* delete last character */ in chkpart()
593 if (ret = chkpart(prm+1)) { /* failed */ in chkpart()
[all …]
/titanic_44/usr/src/cmd/expr/
H A Dcompile.c314 regmatch_t *prm; /* ptr to current regmatch_t */ local
325 prm = &rm[0];
327 if ((rv = regexec(rep, str, SEPSIZE, prm, flags)) != REG_OK) {
334 loc1 = (char *)str + prm->rm_so;
335 loc2 = (char *)str + prm->rm_eo;
342 prm++; /* XXX inc past first subexp */
343 braslist[i] = (char *)str + prm->rm_so;
344 braelist[i] = (char *)str + prm->rm_eo;
/titanic_44/usr/src/cmd/mdb/common/modules/libumem/
H A Dlibumem.c456 const prmap_t *prm = prm_arg; in ugrep_mapping_cb() local
458 return (ug->ug_cb(prm->pr_vaddr, prm->pr_vaddr + prm->pr_size, in ugrep_mapping_cb()
/titanic_44/usr/src/uts/common/io/scsi/targets/
H A Dst.c13499 struct log_sequential_page_parameter *prm; in st_check_sequential_clean_bit() local
13540 prm = &sp->param[0]; in st_check_sequential_clean_bit()
13544 if (prm->log_param.length == 0) { in st_check_sequential_clean_bit()
13548 parameter = (((prm->log_param.pc_hi << 8) & 0xff00) + in st_check_sequential_clean_bit()
13549 (prm->log_param.pc_lo & 0xff)); in st_check_sequential_clean_bit()
13554 if (prm->param_value[prm->log_param.length - 1]) { in st_check_sequential_clean_bit()
13561 prm = (struct log_sequential_page_parameter *) in st_check_sequential_clean_bit()
13562 &prm->param_value[prm->log_param.length]; in st_check_sequential_clean_bit()