/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | random.c | 54 long x, hi, lo, t; local 64 lo = x % 127773; 65 t = 16807 * lo - 2836 * hi;
|
/illumos-gate/usr/src/lib/efcode/upa/ |
H A D | upa.c | 47 fstack_t hi, mid, lo; local 52 lo = POP(DS); 54 sprintf(buf, "%x,%x", hi, lo);
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | catgets.c | 44 int hi, lo, mid; local 69 lo = 0; 75 while (hi >= lo) { 76 mid = (hi + lo) / 2; 82 lo = q->__first_msg_hdr; 83 hi = lo + q->__nmsgs - 1; 84 while (hi >= lo) { 85 mid = (hi + lo) / 2; 113 lo = mid + 1; 122 lo [all...] |
/illumos-gate/usr/src/lib/libast/common/string/ |
H A D | strpsearch.c | 55 register char* lo = (char*)tab; local 56 register char* hi = lo + (num - 1) * siz; 71 while (lo <= hi) 73 mid = lo + (sequential ? 0 : (((hi - lo) / siz) / 2) * siz); 99 while ((mid -= siz) >= lo && (s = *((unsigned char**)mid)) && ((c == MAP(m, *s)) || *s == '[' && c == MAP(m, *(s + 1)))); 120 lo = mid + siz;
|
H A D | strsearch.c | 42 register char* lo = (char*)tab; local 43 register char* hi = lo + (num - 1) * siz; 47 while (lo <= hi) 49 mid = lo + (((hi - lo) / siz) / 2) * siz; 53 lo = mid + siz;
|
/illumos-gate/usr/src/lib/libast/common/uwin/ |
H A D | expm1.c | 116 double z,hi,lo,c; local 134 z=hi-(lo=k*ln2lo); 135 c=(hi-z)-lo;
|
H A D | exp.c | 126 double z,hi,lo,c; local 139 /* express x-k*ln2 as hi-lo and let x=hi-lo rounded */ 142 x=hi-(lo=k*ln2lo); 147 return scalb(1.0+(hi-(lo-(x*c)/(2.0-c))),k); 173 double z,hi,lo; local 186 /* express (x+c)-k*ln2 as hi-lo and let x=hi-lo rounded */ 189 x= hi - (lo = k*ln2lo-c); 195 return scalb(1.+(hi-(lo [all...] |
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | charsets.c | 82 unsigned hi, lo; local 90 if ((hi = xtoi(s[1])) > 15 || (lo = xtoi(s[2])) > 15) 92 s[0] = hi*16 + lo;
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | wnoutref.c | 57 boty, sminy, smaxy, minx, maxx, lo, hi; local 130 lo = (doall || *bch == _REDRAW || *bch < minx) ? minx : *bch; 135 /* adjust lo and hi so they contain whole characters */ 137 if (ISCBIT(wc[lo])) { 138 for (x = lo - 1; x >= minx; --x) 142 for (x = lo+1; x <= maxx; ++x) 148 lo = x; 153 for (x = hi; x >= lo; --x) 163 if (hi < lo) 168 if (ISMBIT(sc[lo [all...] |
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | qsort.c | 58 char c, *i, *j, *lo, *hi; local 80 for (j = lo = base; (lo += qsz) < hi; ) 81 if (qcmp(j, lo) > 0) 82 j = lo; 102 for (lo = min + qsz; --lo >= min; ) { 103 c = *lo; 104 for (i = j = lo; (j -= qsz) >= hi; i = j) 133 int lo, h local [all...] |
/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | expm1.c | 163 double y, hi, lo, c = 0.0L, t, e, hxs, hfx, r1; local 202 lo = ln2_lo; 207 lo = -ln2_lo; 215 lo = t * ln2_lo; 217 x = hi - lo; 218 c = (hi - x) - lo; /* still at |x| > 0.5 ln2 */
|
/illumos-gate/usr/src/lib/libm/common/complex/ |
H A D | k_cexp.c | 42 * Here r will be represented as r = hi-lo for better 120 double hi = 0.0L, lo = 0.0L, c, t; local 148 lo = ln2LO[xsb]; 155 lo = t * ln2LO[0]; 157 x = hi - lo; 170 t = one - ((lo - (x * c) / (2.0 - c)) - hi);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | trace.c | 86 struct nd_opt_lla *lo; local 130 lo = (struct nd_opt_lla *)opt; 135 lo->nd_opt_lla_hdw_addr, 142 lo = (struct nd_opt_lla *)opt; 147 lo->nd_opt_lla_hdw_addr,
|
/illumos-gate/usr/src/lib/efcode/engine/ |
H A D | interface.c | 119 fstack_t lo, hi; local 121 lo = DFORTH_LO(d); 123 PUSH(DS, lo); 133 fstack_t lo, hi; local 136 lo = POP(DS); 137 return (MAKE_DFORTH(hi, lo));
|
/illumos-gate/usr/src/lib/libc/port/fp/ |
H A D | fpparts.h | 50 unsigned lo :32; member in struct:__anon2969::__anon2970 57 unsigned lo :32; member in struct:__anon2969::__anon2971 61 unsigned lo; member in struct:__anon2969::__anon2972 90 unsigned lo :32; member in struct:__anon2976::__anon2977 96 unsigned lo :32; member in struct:__anon2976::__anon2978 103 unsigned lo :32; member in struct:__anon2976::__anon2979 132 #define LOFRACTION(X) (((_dval *)&(X))->fparts.lo) 135 #define LOWORD(X) (((_dval *)&(X))->fwords.lo) 143 #define LOQNAN(X) ((((_dval *)&(X))->fwords.lo) = 0x0)
|
/illumos-gate/usr/src/lib/libc/sparc/fp/ |
H A D | quad.h | 114 unsigned int lo; member in struct:xdouble::__anon3080
|
/illumos-gate/usr/src/lib/libipmi/common/ |
H A D | ipmi_util.c | 245 uint8_t tmp, lo; local 285 lo = BITX(*(data+j++), 7, 6); 287 tmp = (tmp << 2) | lo; 290 lo = BITX(*(data+j++), 7, 4); 292 tmp = (tmp << 4) | lo; 307 lo = BITX(*(data+j++), 7, 6); 309 tmp = (tmp << 2) | lo;
|
/illumos-gate/usr/src/cmd/mdb/common/modules/lofs/ |
H A D | lofs.c | 216 lnode_t lo; local 218 (void) mdb_vread(&lo, sizeof (lo), addr); 219 return (lnode_format(addr, &lo, NULL)); 232 lnode_t lo; local 239 (void) mdb_vread(&lo, sizeof (lo), addr); 240 (void) mdb_vread(&vno, sizeof (vno), (uintptr_t)lo.lo_vnode);
|
/illumos-gate/usr/src/tools/pmodes/ |
H A D | binsearch.c | 130 int lo = 0; local 138 while (lo <= hi) { 139 int mid = (lo + hi) / 2; 147 lo = mid + 1;
|
/illumos-gate/usr/src/uts/sun4/io/px/ |
H A D | px_fdvma.c | 141 ulong_t lo = lim_p->dlim_addr_lo; local 153 if ((lo >= hi) || (hi < mmu_p->mmu_dvma_base)) 178 counter_max, (void *)lo, (void *)(hi + 1),
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | iocache.c | 198 uint_t hi, lo; local 200 lo = (uint_t)(reg & 0xffffffff); 204 (void *)reg_addr, hi, lo));
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci_fdvma.c | 188 ulong_t lo = lim_p->dlim_addr_lo; local 200 if ((lo >= hi) || (hi < iommu_p->iommu_dvma_base)) 226 counter_max, (void *)lo, (void *)(hi + 1),
|
/illumos-gate/usr/src/lib/efcode/gp2/ |
H A D | gp2.c | 39 mem_map_in(fcode_env_t *env, fstack_t hi, fstack_t lo, fstack_t len) argument 49 * The calculation of the offset, lo and len are left here 53 offset = lo & PAGEOFFSET; 54 lo &= PAGEMASK; 58 fc_uint32_t2cell(hi), fc_uint32_t2cell(lo), &virt); 87 * The calculation of the offset, lo and len are left here 156 fstack_t hi, mid, lo; local 161 lo = POP(DS); 164 id = (hi << 9) | (lo >> 23); /* build extended agent id */ 165 off = lo 180 uint32_t lo, hi; local 204 fc_cell_t lo, hi; local [all...] |
/illumos-gate/usr/src/lib/efcode/jupiter/ |
H A D | jupiter.c | 44 #define DO_GET_IO_PORTID(env, lo, hi, portid) \ 45 PUSH(DS, lo); \ 51 mem_map_in(fcode_env_t *env, fstack_t hi, fstack_t lo, fstack_t len) argument 61 * The calculation of the offset, lo and len are left here 65 offset = lo & PAGEOFFSET; 66 lo &= PAGEMASK; 70 fc_uint32_t2cell(hi), fc_uint32_t2cell(lo), &virt); 99 * The calculation of the offset, lo and len are left here 174 fstack_t hi, lo; local 181 lo 203 long long lo; local 235 long long lo; local [all...] |
/illumos-gate/usr/src/lib/efcode/pci/ |
H A D | pci.c | 39 mem_map_in(fcode_env_t *env, fstack_t hi, fstack_t mid, fstack_t lo, argument 50 pa_offset = lo & PAGEOFFSET; 51 lo &= PAGEMASK; 58 fc_uint32_t2cell(mid), fc_uint32_t2cell(lo), &requested_virt); 258 int lo, hi, unit; local 263 if (sscanf(buf, "%x,%x", &hi, &lo) != 2) { 267 unit |= ((lo & 0x7) << 8);
|