Home
last modified time | relevance | path

Searched refs:vp (Results 1 – 25 of 557) sorted by path

12345678910>>...23

/illumos-gate/usr/src/boot/libsa/
H A Dbootp.c441 struct cmu_vend *vp; in vend_cmu() local
672 vp = buf; in setenv_()
673 *vp = '\0'; in setenv_()
688 if (vp != buf) in setenv_()
689 *vp++ = FLD_SEP; in setenv_()
692 vp += strlen(vp); in setenv_()
699 vp += strlen(vp); in setenv_()
721 if (vp != buf) in setenv_()
724 vp += strlen(vp); in setenv_()
740 if (!vp) in setenv_()
[all …]
/illumos-gate/usr/src/boot/sys/sys/
H A Dimgact_aout.h153 int aout_coredump(struct thread *td, struct vnode *vp, off_t limit,
/illumos-gate/usr/src/cmd/awk/
H A Drun.c1673 Cell *x, *vp, *arrayp, *cp, *ncp; in instat() local
1677 vp = execute(a[0]); in instat()
1692 (void) setsval(vp, cp->nval); in instat()
1696 tempfree(vp); in instat()
1700 tempfree(vp); in instat()
H A Dtran.c108 if (&vp->sval == FS || &vp->sval == RS || in setfree()
109 &vp->sval == OFS || &vp->sval == ORS || in setfree()
395 NN(vp->nval), f, vp->tval)); in setfval()
407 vp, vp->nval, vp->sval, vp->fval, vp->tval); in funnyvar()
418 (void *)vp, NN(vp->nval), s, vp->tval, donerec, donefld)); in setsval()
443 (void *)vp, NN(vp->nval), t, (void *)t, in setsval()
466 vp->fval = atof(vp->sval); /* best guess */ in getfval()
467 if (is_number(vp->sval) && !(vp->tval&CON)) in getfval()
471 (void *)vp, NN(vp->nval), vp->fval, vp->tval)); in getfval()
537 } else if ((vp->tval & DONTFREE) != 0 || !isnum(vp) || isfld(vp)) { in get_str_val()
[all …]
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk1.c157 wchar_t *vp; in main() local
170 if (((vp = wcschr(arg, '=')) != NULL) && in main()
172 *vp = '\0'; in main()
173 strescape(vp+1); in main()
177 *vp = '='; in main()
/illumos-gate/usr/src/cmd/bhyve/
H A Dconfig.c258 vp = value; in _expand_config_value()
260 switch (*vp) { in _expand_config_value()
266 vp++; in _expand_config_value()
269 if (vp[1] != '(' || vp[2] == '\0') in _expand_config_value()
278 vp++; in _expand_config_value()
281 vp += 2; in _expand_config_value()
287 vp++; in _expand_config_value()
292 path = strndup(vp, cp - vp); in _expand_config_value()
297 vp = cp + 1; in _expand_config_value()
313 vp++; in _expand_config_value()
[all …]
H A Dvirtio.c273 struct vring_desc *vdir, *vindir, *vp; in vq_getchain() local
357 vp = &vindir[next]; in vq_getchain()
358 if (vp->flags & VRING_DESC_F_INDIRECT) { in vq_getchain()
365 _vq_record(i, vp, ctx, iov, niov, &req); in vq_getchain()
368 if ((vp->flags & VRING_DESC_F_NEXT) == 0) in vq_getchain()
370 next = vp->next; in vq_getchain()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Doptions.c1823 parse_dotted_ip(cp, vp) in parse_dotted_ip() argument
1825 u_int32_t *vp;
1832 if ((*cp == '\0') || (vp == NULL))
1834 *vp = 0;
1907 *vp = val;
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dtelnet.c1621 register unsigned char *vp, c; local
1640 vp = env_getvalue(ep);
1649 (vp == NULL ? 0 : (2 * strlen((char *)vp)));
1688 if ((ep = vp) != NULL) {
1695 vp = NULL;
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dpppoec.c1074 const uint8_t *tagp, *vp; in act_open() local
1180 vp = POET_DATA(tagp) + 4; in act_open()
1182 (void) fprintf(fp, "%02X", *vp++); in act_open()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/vrrpd/
H A Dvrrpd.c3047 vp->vp_ipnum = nip; in vrrpd_build_vrrp()
3052 vp->vp_chksum = 0; in vrrpd_build_vrrp()
3054 vp->vp_chksum = vrrp_cksum4( in vrrpd_build_vrrp()
3058 vp->vp_chksum = vrrp_cksum6( in vrrpd_build_vrrp()
3270 vp->vp_prio, peer_adver_int); in vrrpd_process_adv()
3293 vr->vvr_peer_prio = vp->vp_prio; in vrrpd_process_adv()
3376 if (vp->vp_ipnum == 0) { in vrrpd_process_vrrp()
3396 saved_cksum = vp->vp_chksum; in vrrpd_process_vrrp()
3397 vp->vp_chksum = 0; in vrrpd_process_vrrp()
4027 vrrp_pkt_t *vp) in vrrp_cksum4() argument
[all …]
/illumos-gate/usr/src/cmd/csh/
H A Dsh.c1094 tchar **vp; in mailchk() local
1104 vp = v->vec; in mailchk()
1105 cnt = blklen(vp); in mailchk()
1106 intvl = (cnt && number(*vp)) ? (--cnt, getn(*vp++)) : MAILINTVL; in mailchk()
1111 for (; *vp; vp++) { in mailchk()
1112 if (stat_(*vp, &stb) < 0) in mailchk()
1122 printf("%s in %t.\n", new ? "New mail" : "Mail", *vp); in mailchk()
H A Dsh.dol.c347 struct varent *vp; in Dgetdol() local
403 vp = adrof(S_argv); in Dgetdol()
432 vp = adrof(S_argv); in Dgetdol()
433 if (vp == 0) { in Dgetdol()
434 vp = &nulargv; in Dgetdol()
453 vp = adrof(name); in Dgetdol()
463 if (vp == 0) { in Dgetdol()
477 upb = blklen(vp->vec); in Dgetdol()
503 setname(vp->v_name); in Dgetdol()
644 tchar **vp; in heredoc() local
[all …]
H A Dsh.exec.c210 tchar **vp; in texec() local
262 vp = lastsh; in texec()
263 vp[0] = adrof(S_shell /* "shell" */) ? in texec()
266 vp[1] = (tchar *) NULL; in texec()
269 vp[0] = S_OTHERSH /* OTHERSH */; in texec()
274 vp = v->vec; in texec()
276 t = blkspl(vp, t); /* Splice up the new arglst */ in texec()
H A Dsh.exp.c120 if (**vp && eq(**vp, S_BARBAR /* "||" */)) { in exp0()
123 (*vp)++; in exp0()
144 if (**vp && eq(**vp, S_ANDAND /* "&&" */)) { in exp1()
147 (*vp)++; in exp1()
168 if (**vp && eq(**vp, S_BAR /* "|" */)) { in exp2()
171 (*vp)++; in exp2()
192 if (**vp && eq(**vp, S_HAT /* "^" */)) { in exp2a()
216 if (**vp && eq(**vp, S_AND /* "&" */)) { in exp2b()
291 if (**vp && eq(**vp, S_EQ /* "=" */)) in exp3()
471 if (*vp == 0 || **vp == 0 || ***vp != ')') in exp6()
[all …]
H A Dsh.file.c799 struct varent *vp; in ignored() local
805 if ((vp = adrof(S_fignore /* "fignore" */)) == NULL || in ignored()
806 (cp = vp->vec) == NULL) in ignored()
H A Dsh.func.c232 struct varent *vp; in doalias() local
243 vp = adrof1(strip(p), &aliases); in doalias()
244 if (vp) { in doalias()
245 blkpr(vp->vec), printf("\n"); in doalias()
1079 islocalevar(tchar *vp) in islocalevar() argument
1090 if (strcmp_(vp, p->evname) == 0) { in islocalevar()
1100 tchar *vp, *lp; in dosetenv() local
1106 if ((vp = *v++) == 0) { in dosetenv()
1121 local_setenv(vp, lp = globone(lp)); in dosetenv()
1122 if (eq(vp, S_PATH)) { in dosetenv()
[all …]
H A Dsh.hist.c98 dohist(tchar **vp) in dohist() argument
108 while (*++vp && **vp == '-') { in dohist()
109 tchar *vp2 = *vp; in dohist()
126 if (*vp) in dohist()
127 n = getn(*vp); in dohist()
H A Dsh.lex.c180 freelex(struct wordent *vp) in freelex() argument
187 while (vp->next != vp) { in freelex()
188 fp = vp->next; in freelex()
189 vp->next = fp->next; in freelex()
193 vp->prev = vp; in freelex()
H A Dsh.misc.c129 blkcat(tchar **up, tchar **vp) in blkcat() argument
132 (void) blkcpy(blkend(up), vp); in blkcat()
188 blkspl(tchar **up, tchar **vp) in blkspl() argument
191 (tchar **)xcalloc((unsigned)(blklen(up) + blklen(vp) + 1), in blkspl()
195 return (blkcat(wp, vp)); in blkspl()
414 blkcat_(char **up, char **vp) in blkcat_() argument
417 (void) blkcpy_(blkend_(up), vp); in blkcat_()
422 blkspl_(char **up, char **vp) in blkspl_() argument
425 (char **)xcalloc((unsigned)(blklen_(up) + blklen_(vp) + 1), in blkspl_()
429 return (blkcat_(wp, vp)); in blkspl_()
H A Dsh.set.c64 if (vp == p || !letter(*vp)) in doset()
168 udvar(vp); in getvx()
194 if (vp == p || !letter(*vp)) in dolet()
206 vp = savestr(vp); in dolet()
249 set(vp, operate(op, value(vp), p)); in dolet()
274 --(*vp); in xset()
291 if (*vp) in operate()
387 return (vp == 0 || vp->vec[0] == 0 ? S_ /* "" */ : vp->vec[0]); in value1()
398 for (; vp; vp = vp->v_right) { in madrof()
399 if (vp->v_left && (vp1 = madrof(pat, vp->v_left))) in madrof()
[all …]
H A Dsh.time.c135 struct varent *vp = adrof(S_time); in prusage() local
147 if (vp && vp->vec[0] && vp->vec[1]) { in prusage()
148 cp = vp->vec[1]; in prusage()
/illumos-gate/usr/src/cmd/find/
H A Dfind.c169 struct Arglist *vp; member
625 np->first.vp = varargs(np->first.ap); in compile()
1023 struct Arglist *ap = np->first.vp; in execute()
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_conf.c729 const fmd_conf_verb_t *vp; in fmd_conf_parse() local
734 for (vp = verbs; vp->cv_name != NULL; vp++) { in fmd_conf_parse()
735 if (strcmp(tokv[0], vp->cv_name) == 0) in fmd_conf_parse()
739 if (vp->cv_name == NULL) { in fmd_conf_parse()
747 if (vp->cv_exec(cfp, tokc - 1, tokv + 1) != 0) { in fmd_conf_parse()
/illumos-gate/usr/src/cmd/fs.d/
H A Dfsck.c117 vfdup(struct vfstab *vp) in vfdup() argument
123 if ((vp->vfs_special != NULL) && in vfdup()
133 if ((vp->vfs_fsckdev != NULL) && in vfdup()
143 if ((vp->vfs_mountp != NULL) && in vfdup()
153 if ((vp->vfs_fstype != NULL) && in vfdup()
163 if ((vp->vfs_fsckpass != NULL) && in vfdup()
173 if ((vp->vfs_automnt != NULL) && in vfdup()
183 if ((vp->vfs_mntopts != NULL) && in vfdup()
189 *vp = vfsave; in vfdup()
200 return (vfdup(vp)); in mygetvfsent()
[all …]

12345678910>>...23