Searched defs:MAX_TYPES (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Drandom.c110 #define MAX_TYPES 5 /* max number of types above */ macro
113 int degrees[MAX_TYPES];
114 int seps[MAX_TYPES];
152 * MAX_TYPES*(rptr - state) + TYPE_3 == TYPE_3.
259 MAX_TYPES*(rp->rptr - rp->state) + rp->rand_type;
290 : MAX_TYPES * (rp->rptr - rp->state) + rp->rand_type;
319 type = new_state[0] % MAX_TYPES;
320 rear = new_state[0] / MAX_TYPES;
324 : MAX_TYPES*(rp->rptr - rp->state) + rp->rand_type;
/illumos-gate/usr/src/lib/libc/port/gen/
H A Drandom.c127 #define MAX_TYPES 5 /* max number of types above */ macro
130 unsigned int degrees[MAX_TYPES];
131 unsigned int seps[MAX_TYPES];
169 * MAX_TYPES*(rptr - state) + TYPE_3 == TYPE_3.
242 (unsigned int)(MAX_TYPES*(rp->rptr - rp->state) + rp->rand_type);
280 rp->state[-1] = (unsigned int)(MAX_TYPES*
311 type = new_state[0]%MAX_TYPES;
312 rear = new_state[0]/MAX_TYPES;
317 rp->state[-1] = (unsigned int)(MAX_TYPES*
/illumos-gate/usr/src/lib/libast/common/uwin/
H A Drandom.c142 #define MAX_TYPES 5 /* Max number of types above. */ macro
144 static int degrees[MAX_TYPES] = { DEG_0, DEG_1, DEG_2, DEG_3, DEG_4 };
145 static int seps[MAX_TYPES] = { SEP_0, SEP_1, SEP_2, SEP_3, SEP_4 };
156 (MAX_TYPES * (rptr - state)) + TYPE_3 == TYPE_3. */
245 state[-1] = (MAX_TYPES * (rptr - state)) + rand_type;
289 state[-1] = (MAX_TYPES * (rptr - state)) + rand_type;
306 register int type = new_state[0] % MAX_TYPES;
307 register int rear = new_state[0] / MAX_TYPES;
313 state[-1] = (MAX_TYPES * (rptr - state)) + rand_type;

Completed in 83 milliseconds