Searched refs:NV_INTEGER (Results 1 - 21 of 21) sorted by relevance

/illumos-gate/usr/src/lib/libshell/common/data/
H A Dvariables.c48 "MAILCHECK", NV_NOFREE|NV_INTEGER, (char*)0,
49 "RANDOM", NV_NOFREE|NV_INTEGER, (char*)0,
54 "HISTCMD", NV_NOFREE|NV_INTEGER, (char*)0,
63 "PPID", NV_NOFREE|NV_INTEGER, (char*)0,
65 "TMOUT", NV_NOFREE|NV_INTEGER, (char*)0,
66 "SECONDS", NV_NOFREE|NV_INTEGER|NV_DOUBLE, (char*)0,
67 "LINENO", NV_NOFREE|NV_INTEGER, (char*)0,
69 "OPTIND", NV_NOFREE|NV_INTEGER, (char*)0,
80 "JOBMAX", NV_NOFREE|NV_INTEGER, (char*)0,
95 ".sh.subshell", NV_INTEGER|NV_SHOR
[all...]
H A Doptions.c135 {"-llong", (NV_INTEGER|NV_LONG)},
136 {"-sshort", (NV_INTEGER|NV_SHORT)},
137 {"-uunsigned", (NV_INTEGER|NV_UNSIGN)},
138 {"-iinteger", NV_INTEGER},
/illumos-gate/usr/src/lib/libshell/common/include/
H A Dnval.h140 #define NV_INTEGER 0x2 /* integer attribute */ macro
141 /* The following attributes are valid only when NV_INTEGER is off */
156 /* The following are used with NV_INTEGER */
160 #define NV_DOUBLE (NV_INTEGER|NV_ZFILL) /* for floating point */
188 #define NV_INT16P (NV_LJUST|NV_SHORT|NV_INTEGER)
189 #define NV_INT16 (NV_SHORT|NV_INTEGER)
190 #define NV_UINT16 (NV_UNSIGN|NV_SHORT|NV_INTEGER)
191 #define NV_UINT16P (NV_LJUSTNV_UNSIGN|NV_SHORT|NV_INTEGER)
192 #define NV_INT32 (NV_INTEGER)
193 #define NV_UNT32 (NV_UNSIGN|NV_INTEGER)
[all...]
H A Dname.h135 #define nv_istable(n) (nv_isattr((n),NV_TABLE|NV_LJUST|NV_RJUST|NV_INTEGER)==NV_TABLE)
136 #define is_abuiltin(n) (nv_isattr(n,NV_BLTIN|NV_INTEGER)==NV_BLTIN)
160 #define nv_isnull(np) (!(np)->nvalue.cp && (nv_isattr(np,NV_SHORT|NV_INTEGER)!=(NV_SHORT|NV_INTEGER)) && !_nv_hasget(np))
/illumos-gate/usr/src/lib/libshell/amd64/include/ast/
H A Dnval.h149 #define NV_INTEGER 0x2 /* integer attribute */ macro
150 /* The following attributes are valid only when NV_INTEGER is off */
165 /* The following are used with NV_INTEGER */
169 #define NV_DOUBLE (NV_INTEGER|NV_ZFILL) /* for floating point */
197 #define NV_INT16P (NV_LJUST|NV_SHORT|NV_INTEGER)
198 #define NV_INT16 (NV_SHORT|NV_INTEGER)
199 #define NV_UINT16 (NV_UNSIGN|NV_SHORT|NV_INTEGER)
200 #define NV_UINT16P (NV_LJUSTNV_UNSIGN|NV_SHORT|NV_INTEGER)
201 #define NV_INT32 (NV_INTEGER)
202 #define NV_UNT32 (NV_UNSIGN|NV_INTEGER)
[all...]
/illumos-gate/usr/src/lib/libshell/i386/include/ast/
H A Dnval.h149 #define NV_INTEGER 0x2 /* integer attribute */ macro
150 /* The following attributes are valid only when NV_INTEGER is off */
165 /* The following are used with NV_INTEGER */
169 #define NV_DOUBLE (NV_INTEGER|NV_ZFILL) /* for floating point */
197 #define NV_INT16P (NV_LJUST|NV_SHORT|NV_INTEGER)
198 #define NV_INT16 (NV_SHORT|NV_INTEGER)
199 #define NV_UINT16 (NV_UNSIGN|NV_SHORT|NV_INTEGER)
200 #define NV_UINT16P (NV_LJUSTNV_UNSIGN|NV_SHORT|NV_INTEGER)
201 #define NV_INT32 (NV_INTEGER)
202 #define NV_UNT32 (NV_UNSIGN|NV_INTEGER)
[all...]
/illumos-gate/usr/src/lib/libshell/sparc/include/ast/
H A Dnval.h149 #define NV_INTEGER 0x2 /* integer attribute */ macro
150 /* The following attributes are valid only when NV_INTEGER is off */
165 /* The following are used with NV_INTEGER */
169 #define NV_DOUBLE (NV_INTEGER|NV_ZFILL) /* for floating point */
197 #define NV_INT16P (NV_LJUST|NV_SHORT|NV_INTEGER)
198 #define NV_INT16 (NV_SHORT|NV_INTEGER)
199 #define NV_UINT16 (NV_UNSIGN|NV_SHORT|NV_INTEGER)
200 #define NV_UINT16P (NV_LJUSTNV_UNSIGN|NV_SHORT|NV_INTEGER)
201 #define NV_INT32 (NV_INTEGER)
202 #define NV_UNT32 (NV_UNSIGN|NV_INTEGER)
[all...]
/illumos-gate/usr/src/lib/libshell/sparcv9/include/ast/
H A Dnval.h149 #define NV_INTEGER 0x2 /* integer attribute */ macro
150 /* The following attributes are valid only when NV_INTEGER is off */
165 /* The following are used with NV_INTEGER */
169 #define NV_DOUBLE (NV_INTEGER|NV_ZFILL) /* for floating point */
197 #define NV_INT16P (NV_LJUST|NV_SHORT|NV_INTEGER)
198 #define NV_INT16 (NV_SHORT|NV_INTEGER)
199 #define NV_UINT16 (NV_UNSIGN|NV_SHORT|NV_INTEGER)
200 #define NV_UINT16P (NV_LJUSTNV_UNSIGN|NV_SHORT|NV_INTEGER)
201 #define NV_INT32 (NV_INTEGER)
202 #define NV_UNT32 (NV_UNSIGN|NV_INTEGER)
[all...]
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dshiocmd_solaris.c64 if(flag&NV_INTEGER)
77 nv_putv(np, (char*)&t,NV_INTEGER, nfp);
136 if(flag&NV_INTEGER)
149 nv_putv(np,(char*)&mode,NV_INTEGER,nfp);
402 { "atime", NV_INTEGER|NV_RDONLY, offsetof(struct stat,st_atime), sizeof(Sp->st_atime), make_time},
403 { "ctime", NV_INTEGER|NV_RDONLY, offsetof(struct stat,st_ctime), sizeof(Sp->st_ctime), make_time},
404 { "dev", NV_INTEGER|NV_RDONLY, offsetof(struct stat,st_dev),sizeof(Sp->st_dev)},
405 { "fd", NV_INTEGER|NV_RDONLY, offsetof(struct filedata,fd), sizeof(int)},
406 { "gid", NV_INTEGER|NV_RDONLY, offsetof(struct stat,st_gid), sizeof(Sp->st_gid)},
407 { "ino", NV_LONG|NV_INTEGER|NV_RDONL
[all...]
H A Denum.c144 if(flags&NV_INTEGER)
234 nv_putval(tp, (char*)&i, NV_INTEGER);
H A Dtypeset.c301 flag |= NV_INTEGER;
355 if((flag&NV_INTEGER) && (flag&(NV_LJUST|NV_RJUST|NV_ZFILL)))
370 flag |= NV_SHORT|NV_INTEGER;
605 if(!(flag&NV_INTEGER))
629 if(tp->argnum==1 && newflag==NV_INTEGER && nv_isattr(np,NV_INTEGER))
1049 if(nv_isattr(np,NV_NOPRINT|NV_INTEGER)==NV_NOPRINT)
1176 if(flag&NV_INTEGER)
H A Dalarm.c203 nv_putv(np,(char*)&x,NV_INTEGER,fp);
H A Dtest.c446 return(!nv_isnull(np) || nv_isattr(np,NV_INTEGER));
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dnvtree.c289 if(nv_isnull(np) && !nv_isarray(np) && !nv_isattr(np,NV_INTEGER))
431 if((attr&NV_NOPRINT|NV_INTEGER)==NV_NOPRINT)
458 if(fp && (val&NV_INTEGER))
467 if(val&NV_INTEGER)
504 if ((val&(NV_LJUST|NV_RJUST|NV_ZFILL)) && !(val&NV_INTEGER) && val!=NV_HOST)
509 if(val==NV_INTEGER && nv_isattr(np,NV_INTEGER))
601 if(!ap && nv_isattr(np,NV_INTEGER|NV_LJUST)==NV_LJUST)
689 if(nv_isnull(np) && !nv_isarray(np) && !nv_isattr(np,NV_INTEGER))
1048 if(!nv_isattr(np,(NV_INTEGER|NV_BINAR
[all...]
H A Dnvdisc.c85 if(!fp->disc->getnum && nv_isattr(np,NV_INTEGER))
92 else if(nv_isattr(np,NV_INTEGER))
275 if(flags&NV_INTEGER)
277 nv_putval(SH_VALNOD, val, (flags&NV_INTEGER)?flags:NV_NOFREE);
302 else if(flags&NV_INTEGER)
373 nv_onattr(SH_VALNOD,NV_DOUBLE|NV_INTEGER);
920 if(mp->nvalue.cp==val && !nv_isattr(np,NV_INTEGER))
935 if(nv_isattr(np,NV_INTEGER))
950 if(nv_isattr(np,NV_INTEGER) && mp->nvalue.ip!=np->nvalue.ip)
H A Darith.c322 if(((lvalue->emode&2) || lvalue->level>1 || sh_isoption(SH_NOUNSET)) && nv_isnull(np) && !nv_isattr(np,NV_INTEGER))
331 if(nv_isattr(np,NV_INTEGER|NV_BINARY)==(NV_INTEGER|NV_BINARY))
H A Dname.c1353 * If <flags> contains NV_INTEGER, string is a pointer to a number
1412 if(nv_isattr (np, NV_INTEGER))
1419 if(flags&NV_INTEGER)
1439 if(flags&NV_INTEGER)
1462 if(flags&NV_INTEGER)
1503 if(flags&NV_INTEGER)
1571 if(flags&NV_INTEGER)
1596 if(nv_isattr(np, NV_HOST|NV_INTEGER)==NV_HOST && sp)
1869 flag = nv_isattr(np,NV_RDONLY|NV_UTOL|NV_LTOU|NV_RJUST|NV_LJUST|NV_ZFILL|NV_INTEGER);
1874 stakputc(c+NV_INTEGER|(fla
[all...]
H A Dinit.c600 if(flags&NV_INTEGER)
658 if(flags&NV_INTEGER)
684 if(flags&NV_INTEGER)
995 if(flag&NV_INTEGER)
1006 nv_putv(np,(char*)&mode,NV_INTEGER,nfp);
1407 nv_onattr(SHLVL,NV_INTEGER|NV_EXPORT|NV_NOFREE);
1519 nv_onattr(np,NV_RDONLY|NV_MINIMAL|NV_NOFREE|NV_INTEGER);
1703 if(nv_isattr(np,NV_INTEGER))
1756 if((flag&NV_INTEGER) && size==0)
H A Dnvtype.c154 if(nv_isattr(np,NV_INTEGER))
426 if(nv_isattr(nq,NV_RDONLY) && (nq->nvalue.cp || nv_isattr(nq,NV_INTEGER)))
470 else if(nv_isattr(nq,NV_RDONLY) && !nq->nvalue.cp && !nv_isattr(nq,NV_INTEGER))
1123 if(nv_isattr(nq,NV_INTEGER))
1214 nv_onattr(mp,NV_NOFREE|NV_RDONLY|NV_INTEGER|NV_EXPORT);
1498 nv_onattr(nq,NV_NOFREE|NV_RDONLY|NV_INTEGER);
H A Darray.c429 else if(nv_isattr(np,NV_INTEGER))
693 else if(nv_isattr(np,NV_INTEGER) && !nv_isnull(np))
/illumos-gate/usr/src/lib/libshell/common/edit/
H A Dedit.c1565 nv_putval(ED_COLNOD,(char*)&ep->e_col,NV_NOFREE|NV_INTEGER); local

Completed in 112 milliseconds