Home
last modified time | relevance | path

Searched refs:exp (Results 1 – 25 of 226) sorted by relevance

12345678910

/illumos-gate/usr/src/lib/libc/port/gen/
H A D_ftoll.c66 if (exp < 0) { in __dtoll()
95 switch (exp) { in __dtoll()
103 if (exp > 30) { in __dtoll()
105 (m1 >> (62 - exp)) & ~(UINT_MAX << (exp - 30)); in __dtoll()
150 if (exp < 0) { in __ftoll()
179 switch (exp) { in __ftoll()
187 if (exp > 30) { in __ftoll()
235 if (exp < 0) { in _Q_qtoll()
266 switch (exp) { in _Q_qtoll()
274 if (exp > 30) { in _Q_qtoll()
[all …]
H A D_ftoull.c72 if (exp < 0) { in __dtoull()
97 switch (exp) { in __dtoull()
105 if (exp > 31) { in __dtoull()
106 m1 = (m0 << (exp - 31)) | (m1 >> (63 - exp)); in __dtoull()
159 if (exp < 0) { in __ftoull()
184 switch (exp) { in __ftoull()
192 if (exp > 31) { in __ftoull()
246 if (exp < 0) { in _Q_qtoull()
270 switch (exp) { in _Q_qtoull()
278 if (exp > 31) { in _Q_qtoull()
[all …]
H A Dlexp10.c37 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()
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dplural_parser.c107 return (exp); in stack_push()
260 exp1 = exp; in reduce()
274 exp2 = exp; in reduce()
504 if (!exp) in plural_expr()
525 if (!exp) in plural_expr()
545 if (!exp) in plural_expr()
566 if (!exp) in plural_expr()
596 if (!exp) in plural_expr()
818 if (!exp) in plural_expr()
844 *e = exp; in plural_expr()
[all …]
/illumos-gate/usr/src/cmd/bhyve/test/tests/mevent/
H A Dtestlib.h62 if (!(got cmp exp)) { \
66 #got, got, #cmp, #exp, exp); \
70 #define ASSERT_CHAR_EQ(msg, got, exp) ASSERT_CMP(msg, got, ==, exp, "%c") argument
71 #define ASSERT_INT_EQ(msg, got, exp) ASSERT_CMP(msg, got, ==, exp, "%d") argument
72 #define ASSERT_INT_NEQ(msg, got, exp) ASSERT_CMP(msg, got, !=, exp, "%d") argument
73 #define ASSERT_INT64_EQ(msg, got, exp) ASSERT_CMP(msg, got, ==, exp, "%ld") argument
74 #define ASSERT_INT64_NEQ(msg, got, exp) ASSERT_CMP(msg, got, !=, exp, "%ld") argument
75 #define ASSERT_PTR_EQ(msg, got, exp) ASSERT_CMP(msg, got, ==, exp, "%p") argument
76 #define ASSERT_PTR_NEQ(msg, got, exp) ASSERT_CMP(msg, got, !=, exp, "%p") argument
79 if (strcmp(got, exp) != 0) { \
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Dlocale.sh109 exp="6 2 6"
166 do exp=$1
182 [[ $got == $exp ]] || err_exit "${T} sequence failed -- expected '$exp', got '$got'"
201 exp="f1"
203 [[ $got == "$exp" ]] || err_exit "LC_ALL test script failed -- expected '$exp', got '$got'"
207 exp=OK
230 exp=2
238 exp=121
255 [[ $got == $exp ]] || err_exit "'$tst' failed -- expected '$exp', got '$got'"
259 exp=123
[all …]
H A Dpath.sh166 do exp="$cmd found"
167 print print $exp > $cmd
173 exp=$PWD/./$cmd
176 exp=$PWD/$cmd
181 exp=''
190 do exp="$cmd found"
191 print print $exp > $cmd
197 exp=$PWD/./$cmd
200 exp=$PWD/$cmd
204 exp=''
[all …]
H A Dcubetype.sh57 exp=3 got=${b.x}
59 exp=5 got=$(( b.len ))
61 exp=5 got=${b.len}
63 exp=box1 got=${b.name}
65 exp=2 got=$(( b.count ))
67 exp=2 got=${b.count}
71 exp=3 got=${#b.colors[@]}
76 exp=3 got=${#b.items[@]}
80 exp=4 got=${#b.colors[@]}
86 exp=2 got=${#b.items[@]}
[all …]
H A Dcoprocess.sh114 exp=Done
119 if [[ $got != $exp ]]
220 exp=hi
221 print -u6 $exp; read -u5
258 exp=ksh
272 exp=ok
280 [[ $got == $exp ]] || err_exit "main coprocess main query failed -- expected $exp, got '$got'"
296 exp='no coprocess'
305 else got=$exp
319 else got=$exp
[all …]
H A Dsubshell.sh167 exp=$3
259 exp=0
266 exit '$exp$'
270 exp=ok
277 print '$exp$'
292 exp=ok
397 else exp=$n
434 exp=''
459 exp=ok
464 exp=$'x\nx'
[all …]
H A Dio.sh62 exp=foo
63 if [[ $line != $exp ]]
85 exp='foo|bar'
103 exp='1234|4'
346 exp=a
348 [[ $got == "$exp" ]] || err_exit "read -n3 from fifo failed -- expected '$exp', got '$got'"
349 exp=b
360 exp=abc
363 exp=d
440 exp=$'This is a test\nOK'
[all …]
H A Dcomvar.sh353 exp='(
372 [[ $got == "$exp" ]] || {
373 exp=$(printf %q "$exp")
388 [[ $got == "$exp" ]] || {
389 exp=$(printf %q "$exp")
404 [[ $got == "$exp" ]] || {
405 exp=$(printf %q "$exp")
576 exp=$'typeset -C x=(z=a\\=\'b c\')'
578 [[ $got == "$exp" ]] || err_exit "typeset -p failed -- expected '$exp', got '$got'"
613 exp='([0]=(b=2) [1]=(a=1))'
[all …]
H A Dappend.sh89 exp='typeset -a x=(a b c d)'
90 [[ $(typeset -p x) == "$exp" ]] || err_exit 'append (c d) to index array not working'
94 exp='typeset -a arr=(a\=b b\=c c\=d d\=e)'
95 [[ $(typeset -p arr) == "$exp" ]] || err_exit 'append (c=d d=e) to index array not working'
97 exp='typeset -a z=(a\=b b\=c d\=3 e f\=l)'
100 [[ $(typeset -p z) == "$exp" ]] || err_exit 'append (d=3 e f=l) to index array not working'
103 exp='typeset -a arr2=(b\=c :)'
106 [[ $(typeset -p arr2) == "$exp" ]] || err_exit 'append (b=c :) to index array not working'
109 exp='typeset -a arr2=(b\=c xxxxx)'
114 [[ $(typeset -p arr2) == "$exp" ]] || err_exit 'append (b=c xxxxx) to index array not working'
H A Dtreemove.sh108 exp=$'(\n\ttypeset -C -a ar=(\n\t\t[5]=(\n\t\t\ta4=1\n\t\t)\n\t)\n)'
109 [[ $(print -v c) == "$exp" ]] || err_exit 'typeset -m "c.ar[5]=c.ar[4]" not working'
119exp=$'(\n\ttypeset -C -a x=(\n\t\t[4]=(\n\t\t\t[5]=(\n\t\t\t\t[8]=(\n\t\t\t\t\tx_t field=(\n\t\t\t…
120 …[[ $(print -v c) == "$exp" ]] || err_exit "typeset -m c.x[4][6][9].field=x where x is a type is no…
134 exp=$'(\n\t[4]=(\n\t\taa=1\n\t)\n)'
135 …[[ $(print -v ar) == "$exp" ]] || err_exit 'typeset -m dest=src where dest and src are name refere…
151exp=$'(\n\ttypeset -C -a board=(\n\t\t[1]=(\n\t\t\t(\n\t\t\t\tid=pawn\n\t\t\t)\n\t\t\t(\n\t\t\t\ti…
152 [[ $(print -v c) == "$exp" ]] || exit 1
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dxdr_float.c139 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()
195 ++exp; in xdr_float()
198 --exp; in xdr_float()
246 --exp; in xdr_double()
250 ++exp; in xdr_double()
252 if ((exp > 1024) || (exp < -1023)) { in xdr_double()
291 ++exp; in xdr_double()
[all …]
/illumos-gate/usr/src/lib/libc/port/fp/
H A Daconvert.c72 *exp = 0; in __aconvert()
81 *exp = 0; in __aconvert()
116 (*exp)++; in __aconvert()
153 *exp = 0; in __qaconvert()
162 *exp = 0; in __qaconvert()
185 *exp = -0x3ffe - i; in __qaconvert()
255 (*exp)++; in __qaconvert()
309 *exp = 0; in __qaconvert()
318 *exp = 0; in __qaconvert()
328 *exp = ea - 0x403f; in __qaconvert()
[all …]
H A Dfpparts.h48 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)
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dprintf.c416 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()
440 if( exp<-4 || exp>precision ){ in vxprintf()
458 else for(; exp>=0; exp--) *(bufpt++) = et_getdigit(&realvalue,&nsd); in vxprintf()
460 for(exp++; exp<0 && precision>0; precision--, exp++){ in vxprintf()
484 if( exp<0 ){ *(bufpt++) = '-'; exp = -exp; } /* sign of exp */ in vxprintf()
[all …]
H A Dutil.c803 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()
834 while( r >= 0.5*_64e3 && exp < 1020 ){ r *= 1.0/_64e4; exp += 4; } in sqliteRealToSortable()
835 while( r >= 0.5 && exp < 1023 ){ r *= 1.0/64.0; exp += 1; } in sqliteRealToSortable()
838 exp = -exp; in sqliteRealToSortable()
[all …]
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/
H A DExpression.java97 Expression exp = null; in valueOf() local
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
270 return (exp); in valueOf()
428 KVExpression exp = null; in valueOf() local
440 return (exp); in valueOf()
579 KExpression exp = null; in valueOf() local
589 exp = new KExpression(imp, m.group(3)); in valueOf()
[all …]
/illumos-gate/usr/src/lib/libm/common/m9x/
H A Dfrexpl.c37 __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()
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_iters.c59 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 …]
/illumos-gate/usr/src/cmd/sgs/prof/common/
H A Ddebug.h40 #define DEBUG_EXP(exp) exp; fflush(stdout) argument
43 #define NO_DEBUG(exp) argument
48 #define DEBUG_EXP(exp) argument
51 #define NO_DEBUG(exp) argument
/illumos-gate/usr/src/contrib/ast/src/lib/libast/port/
H A Dastmath.c45 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()
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/aggs/
H A Dtst.clearlquantize.d.out13 exp
33 exp
52 exp
70 exp
88 exp

12345678910