/illumos-gate/usr/src/lib/libshell/common/data/ |
H A D | variables.c | 48 "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 D | options.c | 135 {"-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 D | nval.h | 140 #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 D | name.h | 135 #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 D | nval.h | 149 #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 D | nval.h | 149 #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 D | nval.h | 149 #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 D | nval.h | 149 #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 D | shiocmd_solaris.c | 64 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 D | enum.c | 144 if(flags&NV_INTEGER) 234 nv_putval(tp, (char*)&i, NV_INTEGER);
|
H A D | typeset.c | 301 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 D | alarm.c | 203 nv_putv(np,(char*)&x,NV_INTEGER,fp);
|
H A D | test.c | 446 return(!nv_isnull(np) || nv_isattr(np,NV_INTEGER));
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | nvtree.c | 289 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 D | nvdisc.c | 85 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 D | arith.c | 322 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 D | name.c | 1353 * 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 D | init.c | 600 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 D | nvtype.c | 154 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 D | array.c | 429 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 D | edit.c | 1565 nv_putval(ED_COLNOD,(char*)&ep->e_col,NV_NOFREE|NV_INTEGER); local
|