/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | _ftoll.c | 49 int exp; /* exponent */ in __dtoll() local 67 exp = ((i0 >> 20) & 0x7ff) - 0x3ff; in __dtoll() 68 if (exp < 0) { in __dtoll() 70 } else if (exp > 62) { in __dtoll() 74 if (i0 >= 0 || exp != 63 || (i0 & 0xfffff) != 0 || i1 != 0) { in __dtoll() 97 switch (exp) { in __dtoll() 105 if (exp > 30) { in __dtoll() 106 m1 = (m0 << (exp - 30)) | in __dtoll() 107 (m1 >> (62 - exp)) & ~(-1 << (exp - 30)); in __dtoll() 108 m0 >>= 62 - exp; in __dtoll() [all …]
|
H A D | _ftoull.c | 53 int exp; /* exponent */ in __dtoull() local 71 exp = ((i0 >> 20) & 0x7ff) - 0x3ff; in __dtoull() 72 if (exp < 0) { in __dtoull() 75 } else if (exp > 63) { in __dtoull() 97 switch (exp) { in __dtoull() 105 if (exp > 31) { in __dtoull() 106 m1 = (m0 << (exp - 31)) | (m1 >> (63 - exp)); in __dtoull() 107 m0 = (m0 >> (63 - exp)); in __dtoull() 109 m1 = (m0 >> (31 - exp)); in __dtoull() 141 int exp; /* exponent */ in __ftoull() local [all …]
|
H A D | lexp10.c | 37 lexp10(dl_t exp) in lexp10() argument 43 while (exp.dl_hop != 0 || exp.dl_lop != 0) { in lexp10() 45 exp = lsub(exp, lone); in lexp10()
|
/titanic_41/usr/src/lib/libc/port/i18n/ |
H A D | plural_parser.c | 91 stack_push(struct stack *stk, struct expr *exp) in stack_push() argument 95 printf(" type: %s\n", type_name[GETTYPE(exp->op)]); in stack_push() 96 printf(" flag: %s\n", type_name[GETTYPE(exp->flag)]); in stack_push() 99 stk->ptr[stk->index++] = exp; in stack_push() 102 freeexpr(exp); in stack_push() 107 return (exp); in stack_push() 246 reduce(struct expr **nexp, unsigned int n, struct expr *exp, struct stack *stk) in reduce() argument 260 exp1 = exp; in reduce() 274 exp2 = exp; in reduce() 291 exp3 = exp; in reduce() [all …]
|
/titanic_41/usr/src/lib/libshell/common/tests/ |
H A D | path.sh | 166 do exp="$cmd found" 167 print print $exp > $cmd 170 [[ $got == $exp ]] && err_exit "$cmd as last command should not find ./$cmd with PATH=/dev/null" 172 [[ $got == $exp ]] && err_exit "$cmd should not find ./$cmd with PATH=/dev/null" 173 exp=$PWD/./$cmd 175 [[ $got == $exp ]] || err_exit "whence $cmd should find ./$cmd with PATH=/dev/null" 176 exp=$PWD/$cmd 178 [[ $got == $exp ]] || err_exit "whence \$PWD/$cmd should find ./$cmd with PATH=/dev/null" 181 exp='' 183 [[ $got == $exp ]] || err_exit "whence ./$cmd failed -- expected '$exp', got '$got'" [all …]
|
H A D | subshell.sh | 166 exp=$3 173 elif [[ "$got" != "$exp" ]] 174 then EXP=$(printf %q "$exp") 258 exp=0 265 exit '$exp$' 268 [[ $got == $exp ]] || err_exit "getopts --man runtime callout with nonzero exit terminates shell --… 269 exp=ok 276 print '$exp$' 278 [[ $got == $exp ]] || err_exit "getopts --man runtime callout with nonzero exit terminates shell --… 291 exp=ok [all …]
|
H A D | cubetype.sh | 57 exp=3 got=${b.x} 58 [[ "$got" == "$exp" ]] || err_exit "\${b.x} incorrect for iteration $i -- expected $exp, got '$got'" 59 exp=5 got=$(( b.len )) 60 (( got == exp )) || err_exit "b.len incorrect for iteration $i -- expected $exp, got '$got = sqrt($… 61 exp=5 got=${b.len} 62 [[ "$got" == "$exp" ]] || err_exit "\${b.len} incorrect for iteration $i -- expected $exp, got '$go… 63 exp=box1 got=${b.name} 64 [[ "$got" == "${exp}" ]] || err_exit "\${b.name} incorrect for iteration $i -- expected $exp, got '… 65 exp=2 got=$(( b.count )) 66 (( got == exp )) || err_exit "b.count incorrect for iteration $i -- expected $exp, got '$got'" [all …]
|
H A D | coprocess.sh | 106 exp=Done 107 print -p $'print hello | cat\nprint '$exp 111 if [[ $got != $exp ]] 112 then err_exit "${SHELL-ksh} coprocess io failed -- got '$got', expected '$exp'" 245 exp=ksh 251 [[ $got == $exp ]] || err_exit "coshell(3) identification sequence failed -- expected '$exp', got '… 259 exp=ok 267 [[ $got == $exp ]] || err_exit "main coprocess main query failed -- expected $exp, got '$got'" 278 [[ $got == $exp ]] || err_exit "main coprocess subshell query failed -- expected $exp, got '$got'" 283 exp='no coprocess' [all …]
|
H A D | sigchld.sh | 84 exp='running=0 maxrunning='$jobmax 85 [[ $got == $exp ]] || err_exit "SIGCHLD trap queueing failed -- expected '$exp', got '$got'" 108 exp='c\nc 3 3\nb\nb 2 2\na\na 1 1' 109 …[[ $got == $exp ]] || err_exit "SIGCHLD trap queueing failed -- expected $(printf %q "$exp"), got …
|
H A D | builtins.sh | 187 exp=$'trap -- \'print TERM\' TERM\ntrap -- \'cd /; rm -rf '$tmp$'\' EXIT' 189 [[ $got == $exp ]] || err_exit "\$(trap) failed -- expected \"$exp\", got \"$got\"" 190 exp='print TERM' 192 [[ $got == $exp ]] || err_exit "\$(trap -p TERM) failed -- expected \"$exp\", got \"$got\"" 309 exp=a 310 if [[ $y != $exp ]] 311 then err_exit "read -n1 failed -- expected '$exp', got '$y'" 411 exp=abc 412 [[ $a == $exp ]] || err_exit "read -N3 here-document failed -- expected '$exp', got '$a'" 413 exp=d [all …]
|
H A D | io.sh | 62 exp=foo 63 if [[ $line != $exp ]] 64 then err_exit "read on <> fd failed -- expected '$exp', got '$line'" 85 exp='foo|bar' 91 …fs].dir}/3' $semantics semantics instead of ${FDFS[fdfs].semantics} -- expected '$exp', got '$got'" 103 exp='1234|4' 109 …dfs].dir}/N $semantics semantics instead of ${FDFS[fdfs].semantics} -- expected '$exp', got '$got'" 429 exp=$'This is a test\nOK' 431 [[ $got == $exp ]] || err_exit "output garbled when stderr is duped -- expected $(printf %q "$exp")… 444 exp=$':1:A:\n:1:Z:' [all …]
|
/titanic_41/usr/src/lib/libnsl/rpc/ |
H A D | xdr_float.c | 139 int exp = 0; in xdr_float() local 155 --exp; in xdr_float() 159 ++exp; in xdr_float() 161 if ((exp > 128) || (exp < -127)) { in xdr_float() 167 val += 127 + exp; /* 127 is the bias */ in xdr_float() 186 exp = (val & 0x7f800000) >> 23; in xdr_float() 187 exp -= 127; /* subtract exponent base */ in xdr_float() 192 while (exp != 0) { in xdr_float() 193 if (exp < 0) { in xdr_float() 195 ++exp; in xdr_float() [all …]
|
/titanic_41/usr/src/lib/libbc/libc/gen/common/ |
H A D | ldexp.c | 56 ldexp(value, exp) in ldexp() argument 58 register int exp; 62 if (exp == 0 || value == 0.0) /* nothing to do for zero */ 69 if (exp > 0) { 70 if (exp + old_exp > MAXBEXP) { /* overflow */ 77 for ( ; exp > MAXSHIFT; exp -= MAXSHIFT) 79 return (value * (1L << exp)); 81 if (exp + old_exp < MINBEXP) { /* underflow */ 85 for ( ; exp < -MAXSHIFT; exp += MAXSHIFT) 87 return (value / (1L << -exp));
|
/titanic_41/usr/src/lib/libc/port/fp/ |
H A D | fpparts.h | 48 unsigned exp :11; member 54 unsigned exp :11; member 70 unsigned exp :8; member 75 unsigned exp :8; member 92 unsigned exp :11; member 99 unsigned exp :11; member 113 unsigned exp :8; member 119 unsigned exp :8; member 129 #define EXPONENT(X) (((_dval *)&(X))->fparts.exp) 147 #define FEXPONENT(X) (((_fval *)&(X))->fparts.exp)
|
H A D | aconvert.c | 56 __aconvert(double arg, int ndigits, int *exp, int *sign, char *buf) in __aconvert() argument 72 *exp = 0; in __aconvert() 81 *exp = 0; in __aconvert() 99 *exp = (ha >> 20) - 0x3ff - 1074; in __aconvert() 101 *exp = (ha >> 20) - 0x3ff; in __aconvert() 116 (*exp)++; in __aconvert() 137 __qaconvert(long double *arg, int ndigits, int *exp, int *sign, char *buf) in __qaconvert() argument 153 *exp = 0; in __qaconvert() 162 *exp = 0; in __qaconvert() 185 *exp = -0x3ffe - i; in __qaconvert() [all …]
|
/titanic_41/usr/src/lib/libsqlite/src/ |
H A D | printf.c | 225 int exp; /* exponent of real numbers */ in vxprintf() local 416 exp = 0; in vxprintf() 418 while( realvalue>=1e8 && exp<=350 ){ realvalue *= 1e-8; exp+=8; } in vxprintf() 419 while( realvalue>=10.0 && exp<=350 ){ realvalue *= 0.1; exp++; } in vxprintf() 420 while( realvalue<1e-8 && exp>=-350 ){ realvalue *= 1e8; exp-=8; } in vxprintf() 421 while( realvalue<1.0 && exp>=-350 ){ realvalue *= 10.0; exp--; } in vxprintf() 422 if( exp>350 || exp<-350 ){ in vxprintf() 436 if( realvalue>=10.0 ){ realvalue *= 0.1; exp++; } in vxprintf() 440 if( exp<-4 || exp>precision ){ in vxprintf() 443 precision = precision - exp; in vxprintf() [all …]
|
H A D | util.c | 803 int exp; in sqliteRealToSortable() local 822 exp = 0; in sqliteRealToSortable() 825 exp = -1024; in sqliteRealToSortable() 827 while( r < 0.5/_64e64 && exp > -961 ){ r *= _64e64; exp -= 64; } in sqliteRealToSortable() 828 while( r < 0.5/_64e16 && exp > -1009 ){ r *= _64e16; exp -= 16; } in sqliteRealToSortable() 829 while( r < 0.5/_64e4 && exp > -1021 ){ r *= _64e4; exp -= 4; } in sqliteRealToSortable() 830 while( r < 0.5/64.0 && exp > -1024 ){ r *= 64.0; exp -= 1; } in sqliteRealToSortable() 832 while( r >= 0.5*_64e63 && exp < 960 ){ r *= 1.0/_64e64; exp += 64; } in sqliteRealToSortable() 833 while( r >= 0.5*_64e15 && exp < 1008 ){ r *= 1.0/_64e16; exp += 16; } in sqliteRealToSortable() 834 while( r >= 0.5*_64e3 && exp < 1020 ){ r *= 1.0/_64e4; exp += 4; } in sqliteRealToSortable() [all …]
|
/titanic_41/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/ |
H A D | Expression.java | 97 Expression exp = null; in valueOf() local 102 if ((exp = KVOpExpression.valueOf(raw)) == null) in valueOf() 103 if ((exp = KVExpression.valueOf(raw)) == null) in valueOf() 104 exp = KExpression.valueOf(raw); in valueOf() 105 if (exp == null) in valueOf() 108 return (exp); in valueOf() 252 KVOpExpression exp = null; in valueOf() local 267 exp = new KVOpExpression(imp, m.group(3), in valueOf() 270 return (exp); in valueOf() 428 KVExpression exp = null; in valueOf() local [all …]
|
/titanic_41/usr/src/lib/libm/common/m9x/ |
H A D | frexpl.c | 37 __frexpl(long double x, int *exp) { in __frexpl() argument 49 *exp = 0; in __frexpl() 56 *exp = 0; in __frexpl() 81 *exp = e + (hx >> 16) - 0x3ffe; in __frexpl() 88 __frexpl(long double x, int *exp) { in __frexpl() argument 100 *exp = 0; in __frexpl() 107 *exp = 0; in __frexpl() 119 *exp = e + hx - 0x3ffe; in __frexpl()
|
/titanic_41/usr/src/lib/krb5/kadm5/srv/ |
H A D | svr_iters.c | 59 char *exp; member 202 char *exp, in kadm5_get_either() argument 215 if (exp == NULL) in kadm5_get_either() 216 exp = "*"; in kadm5_get_either() 220 if ((ret = glob_to_regexp(exp, princ ? handle->params.realm : NULL, in kadm5_get_either() 252 ret = kdb_iter_entry(handle, exp, get_princs_iter, (void *) &data); in kadm5_get_either() 254 ret = krb5_db_iter_policy(handle->context, exp, get_pols_iter, (void *)&data); in kadm5_get_either() 276 char *exp, in kadm5_get_principals() argument 280 return kadm5_get_either(1, server_handle, exp, princs, count); in kadm5_get_principals() 284 char *exp, in kadm5_get_policies() argument [all …]
|
/titanic_41/usr/src/cmd/sgs/prof/common/ |
H A D | debug.h | 43 #define DEBUG_EXP(exp) exp; fflush(stdout) argument 46 #define NO_DEBUG(exp) argument 51 #define DEBUG_EXP(exp) argument 54 #define NO_DEBUG(exp) argument
|
/titanic_41/usr/src/uts/sun4u/starcat/sys/post/ |
H A D | scat_const.h | 54 #define IS_VALID_EXP(exp) ((exp) >= 0 && (exp) < EXP_COUNT) argument 89 #define EXP2PROC(exp, spm) ((exp) * (spm)) argument 90 #define EXPSLTBBC2SRAM(exp, slt, bbc) ((exp * 3) + (slt * 2) + (bbc)) argument 132 #define EPWE2PFP(exp, pwe) (((exp) * 6) + (pwe)) argument 133 #define ESL2PFP(exp, slot, lport) (EPWE2PFP((exp), SL2PWE((slot), (lport)))) argument 176 #define SAFARI_ID(exp, slot, lport, is_ioport) \ argument 177 (SAFAGENT(slot, lport, is_ioport) | ((exp) << 5))
|
/titanic_41/usr/src/lib/libast/common/port/ |
H A D | astmath.c | 45 int exp = 0; in main() local 49 return ldexpl(value, exp) != 0; in main() 52 return ldexp(value, exp) != 0; in main() 55 return frexpl(value, &exp) != 0; in main() 58 return frexp(value, &exp) != 0; in main()
|
/titanic_41/usr/src/cmd/dtrace/test/tst/common/aggs/ |
H A D | tst.clearlquantize.d.out | 13 exp 33 exp 52 exp 70 exp 88 exp
|
/titanic_41/usr/src/lib/libm/common/R/ |
H A D | logf.c | 118 int hx, ix, i, exp, iy; in logf() local 126 exp = 0; in logf() 136 exp = -149; in logf() 139 exp += (ix - 0x3f320000) >> 23; in logf() 143 t = ln2 * (double)exp + TBL[i]; in logf()
|