/illumos-gate/usr/src/lib/libshell/common/ |
H A D | llib-lshell | 33 #include <nval.h>
|
/illumos-gate/usr/src/cmd/eeprom/sparc/ |
H A D | loadlogo.c | 56 int nval; local 64 if ((c = fscanf(f, "epth=%d", &nval)) == 1 && 65 nval != 1) 69 if ((c = fscanf(f, "ormat_version=%d", &nval)) == 1 && 70 nval != 1)
|
/illumos-gate/usr/src/lib/libtnf/ |
H A D | access.c | 126 caddr_t val, nval, bval, blim; local 135 nval = val + size; 138 if (nval < tnf->data_start) 140 else if (nval >= tnf->file_end) 144 * OK, nval is in data area, start looking in block 146 bhdr = _GET_BLOCK(tnf, nval); 152 /* sequentially examine valid cells in block from nval onwards */ 153 while (nval < blim) { 155 cell = (tnf_ref32_t *)nval; 160 nval [all...] |
/illumos-gate/usr/src/cmd/oawk/ |
H A D | tran.c | 126 xfree(cp->nval); 145 dprintf("setsymtab found %o: %ws\n", p, p->nval, NULL); 152 p->nval = tostring(n); 159 dprintf("setsymtab set %o: %ws\n", p, p->nval, NULL); 185 if (wscmp(s, p->nval) == 0 && 198 error(FATAL, "illegal reference to array %s", vp->nval); 200 error(FATAL, "funny variable %o: %ws %ws %g %o", vp, vp->nval, 207 if ((vp->tval & FLD) && vp->nval == 0) { 213 * this property and with a NULL "nval" are fields. 233 error(FATAL, "illegal reference to array %ws", vp->nval); [all...] |
H A D | awk.def | 64 wchar_t *nval; /* name, for variables only */ 154 n->nval==0) 156 n->nval!=0)
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | rctlsys.c | 223 rctl_val_t *nval; local 266 nval = kmem_cache_alloc(rctl_val_cache, KM_SLEEP); 306 if (ret = rctl_local_get(hndl, NULL, nval, curproc)) { 308 kmem_cache_free(rctl_val_cache, nval); 323 kmem_cache_free(rctl_val_cache, nval); 333 ret = rctl_local_get(hndl, oval, nval, curproc); 340 kmem_cache_free(rctl_val_cache, nval); 348 rctlsys_rblk_xfrm(nblk, krde, nval, RBX_TO_BLK | RBX_VAL | RBX_CTL); 351 kmem_cache_free(rctl_val_cache, nval); 388 rctl_val_t *nval; local [all...] |
/illumos-gate/usr/src/cmd/awk/ |
H A D | tran.c | 81 recloc->nval = (uchar *)"$0"; 210 xfree(cp->nval); 231 if (strcmp((char *)s, (char *)p->nval) == 0) { 238 free(p->nval); 252 dprintf(("setsymtab found %p: n=%s", (void *)p, p->nval)); 260 p->nval = tostring(n); 272 dprintf(("setsymtab set %p: n=%s", (void *)p, p->nval)); 300 nh = hash(cp->nval, nsz); 318 if (strcmp((char *)s, (char *)p->nval) == 0) 344 vp->nval [all...] |
H A D | parse.c | 213 ERROR "%s is a function, not an array", cp->nval SYNTAX; 259 v->nval SYNTAX; 268 dprintf(("defining func %s (%d args)\n", v->nval, n)); 279 if (strcmp((char *)((Cell *)(p->narg[0]))->nval,
|
H A D | run.c | 192 s = fcn->nval; 222 i, y->nval, y->fval, 226 y->nval, s FATAL; 296 y->nval = x->nval; 314 n+1, fp->fcncell->nval FATAL; 451 dprintf(("making %s into an array\n", x->nval)); 515 ERROR "%s is not an array", ap->nval FATAL; 1226 dprintf(("split: s=|%s|, a=%s, sep=|%s|\n", s, ap->nval, fs)); 1459 ERROR "%s is not an array", arrayp->nval FATA [all...] |
H A D | awk.g.y | 441 ERROR "%s is an array, not a function", p->nval SYNTAX; 443 ERROR "you can't define function %s more than once", p->nval SYNTAX; 444 curfname = p->nval;
|
/illumos-gate/usr/src/lib/libshell/ |
H A D | Makefile | 49 nval.h \
|
/illumos-gate/usr/src/cmd/sendmail/db/hash/ |
H A D | hash_dup.c | 78 * Called from hash_access to add a duplicate key. nval is the new 93 __ham_add_dup(dbc, nval, flags) 95 DBT *nval; 113 (int32_t)DUP_SIZE(nval->size) - (int32_t)del_len)) != 0) 124 new_size = DUP_SIZE(nval->size) - del_len + LEN_HKEYDATA(hcp->pagep, 134 DUP_SIZE(nval->size) - del_len > P_FREESPACE(hcp->pagep))) { 158 if ((ret = __ham_make_dup(nval, 167 __ham_dsearch(dbc, nval, &tmp_val.doff, &cmp); 183 if (dbp->dup_compare(nval, &dbt) != 0) 226 sorted_dups: if ((ret = __db_dsearch(dbc, 1, nval, [all...] |
H A D | hash.c | 1081 __ham_overwrite(dbc, nval) 1083 DBT *nval; 1091 return (__ham_add_dup(dbc, nval, DB_KEYLAST)); 1092 else if (!F_ISSET(nval, DB_DBT_PARTIAL)) { 1094 memcpy(&tmp_val, nval, sizeof(*nval)); 1106 myval = nval;
|
/illumos-gate/usr/src/lib/libshell/common/include/ |
H A D | path.h | 30 #include <nval.h>
|
H A D | shell.h | 35 # include <nval.h>
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.time.c | 72 int nval; local 80 nval = 4; 82 nval = getn(cp); 84 (void) setpriority(PRIO_PROCESS, 0, nval);
|
/illumos-gate/usr/src/uts/i86pc/cpu/amd_opteron/ |
H A D | ao_mca.c | 296 uint64_t val, nval; local 319 nval = val; 320 nval |= AMD_NB_MISC_CNTEN; /* enable ECC error counting */ 321 nval &= ~AMD_NB_MISC_ERRCOUNT_MASK; /* clear ErrCount */ 322 nval &= ~AMD_NB_MISC_OVRFLW; /* clear Ovrflw */ 323 nval &= ~AMD_NB_MISC_INTTYPE_MASK; /* no interrupt on overflow */ 324 nval |= AMD_NB_MISC_LOCKED; 326 if (nval != val) { 332 (void) cmi_hdl_wrmsr(hdl, AMD_MSR_NB_MISC, nval);
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_handle.c | 412 uint64_t nval = *((uint64_t *)naddr); local 415 if (nval == oval) 428 (void) snprintf(s, size, "%llu %s%s%s\n", nval - oval, 429 _dt_droptab[i].dtdrt_str, (nval - oval > 1) ? "s" : "", 434 drop.dtdda_total = nval; 435 drop.dtdda_drops = nval - oval;
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_attr.c | 105 if ((ntovp->nval != FATTR4_TIME_ACCESS) || 117 if ((ntovp->nval != FATTR4_TIME_MODIFY) || 194 if ((ntovp->nval != FATTR4_TIME_ACCESS_SET) || 202 if ((ntovp->nval != FATTR4_TIME_MODIFY_SET) || 339 if ((nfs4_ntov_map[i].nval == FATTR4_TIME_ACCESS_SET || 340 nfs4_ntov_map[i].nval == FATTR4_TIME_MODIFY_SET) && 388 amap[attrcnt] = (uint8_t)nfs4_ntov_map[i].nval; 544 * nval, xdr_size, xfunc,
|
/illumos-gate/usr/src/cmd/dtrace/ |
H A D | dtrace.c | 1115 dtrace_optval_t nval; local 1121 (void) dtrace_getopt(g_dtp, rates[i].optname, &nval); 1123 if (nval == DTRACEOPT_UNSET || nval == 0) 1126 if (rates[i].val == nval) 1129 dir = nval > rates[i].val ? "reduced" : "increased"; 1131 if (nval <= NANOSEC && (NANOSEC % nval) == 0) { 1133 (long long)NANOSEC / (long long)nval); 1137 if ((nval [all...] |
/illumos-gate/usr/src/cmd/ksh/builtins/ |
H A D | alias.c | 35 #include <nval.h>
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | ldap_val.c | 1663 __nis_single_value_t *nval; local 1674 nval = val->val; 1692 nval[i].value = trimWhiteSpaces(nval[i].value, 1693 &nval[i].length, 1); 1695 str = nval[i].value; 1697 if (nval[i].value == 0) 1700 for (s = 0; s < nval[i].length; s = e+1) { 1718 sfree(nval[n].value); 1720 free(nval); 2228 __nis_single_value_t *nval; local [all...] |
/illumos-gate/usr/src/lib/pyzfs/common/ |
H A D | ioctl.c | 87 nvlist_t *nval; local 101 (void) nvpair_value_nvlist(nvp, &nval); 102 pyval = nvl2py(nval);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | rctl.c | 1560 rctl_local_op(rctl_hndl_t hndl, rctl_val_t *oval, rctl_val_t *nval, argument 1589 ret = cbop(hndl, p, &e, rctl, oval, nval); 1598 rctl_t *rctl, rctl_val_t *oval, rctl_val_t *nval) 1604 bcopy(rctl->rc_values, nval, sizeof (rctl_val_t)); 1616 bcopy(tval->rcv_next, nval, sizeof (rctl_val_t)); 1632 rctl_local_get(rctl_hndl_t hndl, rctl_val_t *oval, rctl_val_t *nval, argument 1635 return (rctl_local_op(hndl, oval, nval, rctl_local_get_cb, p)); 1641 rctl_t *rctl, rctl_val_t *oval, rctl_val_t *nval) 1643 if ((oval = rctl_val_list_find(&rctl->rc_values, nval)) == NULL) 1690 rctl_t *rctl, rctl_val_t *oval, rctl_val_t *nval) 1597 rctl_local_get_cb(rctl_hndl_t hndl, struct proc *p, rctl_entity_p_t *e, rctl_t *rctl, rctl_val_t *oval, rctl_val_t *nval) argument 1640 rctl_local_delete_cb(rctl_hndl_t hndl, struct proc *p, rctl_entity_p_t *e, rctl_t *rctl, rctl_val_t *oval, rctl_val_t *nval) argument 1689 rctl_local_insert_cb(rctl_hndl_t hndl, struct proc *p, rctl_entity_p_t *e, rctl_t *rctl, rctl_val_t *oval, rctl_val_t *nval) argument 1979 rctl_local_replace_cb(rctl_hndl_t hndl, struct proc *p, rctl_entity_p_t *e, rctl_t *rctl, rctl_val_t *oval, rctl_val_t *nval) argument 2022 rctl_local_replace(rctl_hndl_t hndl, rctl_val_t *oval, rctl_val_t *nval, struct proc *p) argument [all...] |
/illumos-gate/usr/src/uts/sun/io/ttymux/ |
H A D | ttymux_ioctl.c | 357 char *nval, *alias = NULL; local 425 nval = kmem_zalloc(len, KM_SLEEP); 427 ASSERT(strlen(nval) + strlen(aliases[i]) + 1 <= len); 429 (void) strcat(nval, aliases[i]); 432 (void) strcat(nval, " "); 435 sm_dbg('I', ("setprop: %s=%s (%d)\n", pname, nval, len)); 437 (void) prom_setprop(onode, pname, nval, len); 439 kmem_free(nval, len);
|