/ast/src/cmd/vczip/tests/ |
H A D | tvcqsort.c | 26 int intcmp(Void_t* one, Void_t* two, Void_t* disc) argument 28 int i1 = *((int*)one), i2 = *((int*)two);
|
/ast/src/lib/libast/uwin/ |
H A D | asinh.c | 93 one =1.0 ; local 98 if((t=copysign(x,one))>small) 100 s=one/t; return(copysign(log1p(t+t/(s+sqrt(one+s*s))),x)); }
|
H A D | expm1.c | 115 const static double one=1.0, half=1.0/2.0; local 147 { x=one-scalb(one,-k); z += __exp__E(z,c);} 149 { x = __exp__E(z,c)-scalb(one,-k); x+=z; z=one;} 151 { x = __exp__E(z,c)+z; z=one;} 161 { ln2hi+ln2lo; return(-one);} 164 else return(-one); 170 return( finite(x) ? scalb(one,5000) : x);
|
H A D | erf.c | 87 * is close to one. The interval is chosen because the fixed 90 * guarantee the error is less than one ulp for erf. 170 one = 1.0, variable 276 return (x > 0 ? one : -one); /* erf(+/-inf)= +/-1 */ 292 s = fabs(x)-one; 294 Q = one+s*(qa1+s*(qa2+s*(qa3+s*(qa4+s*(qa5+s*qa6))))); 302 return (one-tiny); 304 return (tiny-one); 308 s = -one/ [all...] |
H A D | gamma.c | 131 static const double zero = 0., one = 1.0, tiny = 1e-300; variable 150 endian = (*(int *) &one) ? 1 : 0; 154 return(one/zero); 164 else return (one/x); 165 one+1e-20; /* Raise inexact flag. */ 166 return (one/x); 185 z = one/(x*x); 190 u.a -= one; 213 y = x - one; 214 ym1 = y - one; [all...] |
H A D | exp__E.c | 117 const static double zero=0.0, one=1.0, half=1.0/2.0, small=1.0E-19; local 119 if(copysign(x,one)>small) { 131 c += x*((xh*w-(q-(p+xp)))/(one-w)+c); 137 if(x!=zero) one+small; /* raise the inexact flag */
|
H A D | log1p.c | 121 const static double zero=0.0, negone= -1.0, one=1.0, local 134 if(copysign(x,one)<small) return(x); 135 k=(int)logb(one+x); z=scalb(x,-k); t=scalb(one,-k);
|
H A D | log.c | 87 #define endian (((*(int *) &one)) ? 1 : 0) 382 double F, f, g, q, u, u2, v, zero = 0.0, one = 1.0; local 388 return (-one/zero); 459 double F, f, g, q, u, v, u2, one = 1.0; local
|
H A D | lgamma.c | 71 * Two approximations are used, one centered at the 72 * minimum to ensure monotonicity; one centered at 2 95 static double zero = 0.0, one = 1.0; variable 155 endian = ((*(int *) &one)) ? 1 : 0; 279 double y, z, one = 1.0, zero = 0.0; local 287 return(one/zero); 298 return (one/zero);
|
/ast/src/lib/libvcodex/Vchuff/ |
H A D | vchbits.c | 29 static int sizecmp(Void_t* one, Void_t* two, Void_t* disc) argument 31 static int sizecmp(one,two,disc) 32 Void_t* one; 38 ssize_t *o = *((ssize_t**)one), *t = *((ssize_t**)two);
|
H A D | vchsize.c | 42 static int huffcmp(Void_t* one, Void_t* two, Void_t* disc) argument 44 static int huffcmp(one, two, disc) 45 Void_t* one; 51 Vchtree_t *o = *((Vchtree_t**)one);
|
H A D | vchtrie.c | 137 static int bitscmp(Void_t* one, Void_t* two, Void_t* disc) argument 139 static int bitscmp(one, two, disc) 140 Void_t* one; 145 Vcbit_t *o = *((Vcbit_t**)one), *t = *((Vcbit_t**)two);
|
/ast/src/cmd/ksh93/tests/ |
H A D | recttype.sh | 65 r[one]=(ur=(x=4 y=4)) 66 (( r[one].area == 16 )) || err_exit 'area of r[one] should be 16' 67 [[ ${r[one].area} == 16 ]] || err_exit '${r[one].area} should be 16'
|
H A D | append.sh | 41 iarray=( one two three ) 43 if [[ ${iarray[@]} != 'one two three four five six' ]] 47 iarray=one 49 if [[ ${iarray[@]} != 'one four five six' ]] 70 foo=one 72 if [[ ${foo[@]} != 'one two' ]]
|
H A D | treemove.sh | 77 node.one="hello" 91 node.one="hello" 99 [[ "${tree1.subtree["a_node"].one}" == "hello" ]] || err_exit "expected tree1.subtree[\"a_node\"].one == 'hello', got ${tree1.subtree["a_node"].one}"
|
H A D | arrays.sh | 43 set -A x zero one two three four 'five six' 189 foo=(one two) 239 ( set -A list one two three four) 248 foo=( zero one '' three four '' six) 258 foo=one 286 for i in one three four five 302 x=( [one]=1 [two]=2 [three]=3) 306 x=( [one]=1 [two]=2 [three]=3) 342 foo=one 356 foo=(one tw [all...] |
H A D | cubetype.sh | 170 Cube_t cc[one] 181 (( cc[two].len == cc[one].len )) || err_exit 'cc[two].len != cc[one].len' 184 [[ ${cc[one]} == "${cc[two]}" ]] || err_exit '${cc[one]} != ${cc[two]}' 188 [one]= 200 (( cc[two].len == cc[one].len )) || err_exit 'cc[two].len != cc[one].len'
|
/ast/src/lib/libvcodex/Vcwindow/ |
H A D | vcwfile.c | 48 static int sigcmp(Void_t* one, Void_t* two, Void_t* disc) argument 50 static int sigcmp(one, two, disc) 51 Void_t* one; 55 { Grint_t **o = (Grint_t**)one; 62 static int votecmp(Void_t* one, Void_t* two, Void_t* disc) argument 64 static int votecmp(one, two, disc) 65 Void_t* one; 69 { Cand_t *o = (Cand_t*)one; 76 static int idxcmp(Void_t* one, Void_t* two, Void_t* disc) argument 78 static int sigcmp(one, tw [all...] |
/ast/src/lib/librecsort/ |
H A D | rs-rasp.c | 42 #define SPLAYCMP(one,two,o,t,endo,mp,cr) \ 43 { if(one->order != two->order) \ 44 cr = one->order < two->order ? -1 : 1; \ 46 { if((mp = (cr = one->keylen) - two->keylen) > 0) cr -= mp; \ 47 o = one->key+PREFIX; t = two->key+PREFIX; \ 48 for(endo = one->key+cr;; ) \ 307 static Rsobj_t* listmerge(reg Rsobj_t* one, reg Rsobj_t* two, reg int n) argument 309 static Rsobj_t* listmerge(one, two, n) 310 reg Rsobj_t* one; 319 endone = one [all...] |
H A D | rshdr.h | 134 #define OBJCMP(one,two,cmp) \ 135 { if((one)->order != (two)->order ) \ 136 cmp = (one)->order < (two)->order ? -1 : 1; \ 139 ok = (one)->key+SIZEOF_LONG; tk = (two)->key+SIZEOF_LONG; \ 140 if((d = (l = (one)->keylen) - (two)->keylen) > 0) l -= d; \
|
/ast/src/lib/libtk/library/demos/ |
H A D | dialog2.tcl | 13 set i [tk_dialog .dialog2 "Dialog with local grab" {This dialog box uses a global grab, so it prevents you from interacting with anything on your display until you invoke one of the buttons below. Global grabs are almost always a bad idea; don't use them unless you're truly desperate.} warning 0 OK Cancel {Show Code}]
|
H A D | dialog1.tcl | 8 set i [tk_dialog .dialog1 "Dialog with local grab" {This is a modal dialog box. It uses Tk's "grab" command to create a "local grab" on the dialog box. The grab prevents any pointer-related events from getting to any other windows in the application until you have answered the dialog by invoking one of the buttons below. However, you can still interact with other applications.} \
|
/ast/src/lib/libast/vmalloc/ |
H A D | vmprofile.c | 256 reg Pfobj_t *one, *two, *next; local 263 one = two = NIL(Pfobj_t*); 266 pf->next = one; 267 one = pf; 278 one = pfsort(one); 282 if(PFLINE(one) == 0 && PFLINE(two) == 0) 283 cmp = PFVM(one) > PFVM(two) ? 1 : -1; 284 else if(PFLINE(one) == 0) 288 else if((cmp = strcmp(PFFILE(one),PFFIL [all...] |
/ast/src/cmd/ksh93/ |
H A D | Makefile | 15 * override SHOPT_foo=1 can be placed one per line in the build dir Makeargs 24 SHOPT_BGX == 1 /* one SIGCHLD trap per completed job */
|
/ast/src/lib/libast/comp/ |
H A D | tsearch.c | 25 * implementation? that's what happens when one slimes their 77 static int treecompare(Dt_t* dt, char* one, char* two, Dtdisc_t* disc) argument 79 static int treecompare(dt, one, two, disc) 81 char* one; 86 return (*((Treedisc_t*)disc)->comparf)((Void_t*)one,(Void_t*)two); 159 ** in the tree if there is one. Since we are using a splay tree, a deleted
|