Home
last modified time | relevance | path

Searched refs:lo (Results 1 – 25 of 328) sorted by relevance

12345678910>>...14

/illumos-gate/usr/src/common/unicode/
H A Duconv.c323 uint32_t lo; in uconv_u16tou32() local
382 if (lo >= UCONV_U16_HI_MIN && lo <= UCONV_U16_HI_MAX) { in uconv_u16tou32()
385 hi = lo; in uconv_u16tou32()
387 } else if (lo >= UCONV_U16_LO_MIN && lo <= UCONV_U16_LO_MAX) { in uconv_u16tou32()
401 u32s[u32l++] = (outendian) ? lo : BSWAP_32(lo); in uconv_u16tou32()
433 uint32_t lo; in uconv_u16tou8() local
461 if (lo >= UCONV_U16_HI_MIN && lo <= UCONV_U16_HI_MAX) { in uconv_u16tou8()
464 hi = lo; in uconv_u16tou8()
527 uint32_t lo; in uconv_u32tou16() local
609 uint32_t lo; in uconv_u32tou8() local
[all …]
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dmachclock.h58 ldx [scr1 + %lo(native_stick_offset)], scr2; \
60 ldx [scr1 + %lo(native_stick_offset)], scr1; \
85 ldx [scr1 + %lo(native_stick_offset)], scr1; \
106 ldx [scr1 + %lo(native_tick_offset)], scr2; \
108 ldx [scr1 + %lo(native_tick_offset)], scr1; \
118 ldx [scr1 + %lo(native_tick_offset)], scr1; \
153 lduw [scr1 + %lo(use_stick)], scr1; \
233 ldx [scr + %lo(hres_last_tick)], nslt; \
235 add scr, %lo(hrestime), hrestnsec; \
249 or nano, %lo(NANOSEC), nano;
[all …]
/illumos-gate/usr/src/lib/libc/sparc/fp/
H A D_Q_qtod.c63 u.l.lo = (x->l.frac2 << 4) | in _Q_qtod()
79 u.l.lo = 0; in _Q_qtod()
85 u.l.lo = 0; in _Q_qtod()
88 u.l.lo = 0xffffffff; in _Q_qtod()
106 u.l.lo = 0; in _Q_qtod()
131 round = u.l.lo & 0x80000000; in _Q_qtod()
132 u.l.lo = u.l.hi; in _Q_qtod()
138 round = u.l.lo & (1 << (e - 1)); in _Q_qtod()
139 u.l.lo = (u.l.lo >> e) | (u.l.hi << (32 - e)); in _Q_qtod()
159 (u.l.lo & 1)))) { in _Q_qtod()
[all …]
H A D_Q_dtoq.c61 if ((u.l.hi & 0xfffff) | u.l.lo) { in _Qp_dtoq()
65 llo = u.l.lo; in _Qp_dtoq()
72 u.l.lo = llo; in _Qp_dtoq()
79 if (((u.l.hi & 0x7ffff) | u.l.lo) && (u.l.hi & 0x80000) == 0) { in _Qp_dtoq()
93 Z.l.frac2 = (u.l.hi << 28) | (u.l.lo >> 4); in _Qp_dtoq()
94 Z.l.frac3 = u.l.lo << 28; in _Qp_dtoq()
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_utils.h56 (x).lo = DMA_LO_LE((val))
58 #define HILO_GEN(hi, lo, type) ((((type)(hi)) << 32) + (lo)) argument
59 #define HILO_DMA(hi, lo) HILO_GEN(hi, lo, dma_addr_t) argument
60 #define HILO_64(hi, lo) HILO_GEN(hi, lo, u64) argument
61 #define HILO_DMA_REGPAIR(regpair) (HILO_DMA(regpair.hi, regpair.lo))
62 #define HILO_64_REGPAIR(regpair) (HILO_64(regpair.hi, regpair.lo))
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dcatgets.c44 int hi, lo, mid; in catgets() local
69 lo = 0; in catgets()
75 while (hi >= lo) { in catgets()
76 mid = (hi + lo) / 2; in catgets()
82 lo = q->__first_msg_hdr; in catgets()
83 hi = lo + q->__nmsgs - 1; in catgets()
84 while (hi >= lo) { in catgets()
85 mid = (hi + lo) / 2; in catgets()
113 lo = mid + 1; in catgets()
122 lo = mid + 1; in catgets()
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dwnoutref.c55 maxx, lo, hi; in wnoutrefresh() local
135 if (ISCBIT(wc[lo])) { in wnoutrefresh()
136 for (x = lo - 1; x >= minx; --x) in wnoutrefresh()
146 lo = x; in wnoutrefresh()
151 for (x = hi; x >= lo; --x) in wnoutrefresh()
161 if (hi < lo) in wnoutrefresh()
166 if (ISMBIT(sc[lo + xorg])) in wnoutrefresh()
176 if (*sbch > lo+xorg) in wnoutrefresh()
177 *sbch = lo+xorg; in wnoutrefresh()
187 wc = *wcp + lo; in wnoutrefresh()
[all …]
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dmachclock.h39 jmp %g1 + %lo(cpu_clearticknpt); \
117 lduw [scr + %lo(hres_lock)], hrlock; /* load clock lock */ \
118 lduw [scr + %lo(nsec_scale)], nano; /* tick-to-ns factor */ \
120 ldx [scr + %lo(hres_last_tick)], nslt; \
122 add scr, %lo(hrestime), hrestnsec; \
129 lduw [scr + %lo(hres_lock)], scr; /* load clock lock */ \
135 or nano, %lo(NANOSEC), nano;
142 lduw [scr + %lo(hres_lock)], hrlock; /* load clock lock */ \
145 ldx [scr + %lo(hres_last_tick)], nslt; \
146 ldx [scr + %lo(hrtime_base)], base; /* load hrtime_base */ \
[all …]
/illumos-gate/usr/src/lib/efcode/jupiter/
H A Djupiter.c43 PUSH(DS, lo); \
63 offset = lo & PAGEOFFSET; in mem_map_in()
64 lo &= PAGEMASK; in mem_map_in()
172 fstack_t hi, lo; in do_encode_unit() local
179 lo = POP(DS); in do_encode_unit()
183 DO_GET_IO_PORTID(env, lo, hi, id); in do_encode_unit()
201 long long lo; in do_decode_unit() local
213 lo = 0; in do_decode_unit()
223 PUSH(DS, (fstack_t)lo); in do_decode_unit()
233 long long lo; in do_device_id() local
[all …]
/illumos-gate/usr/src/lib/libc/port/fp/
H A Dfpparts.h50 unsigned lo :32; member
57 unsigned lo :32; member
61 unsigned lo; member
90 unsigned lo :32; member
96 unsigned lo :32; member
103 unsigned lo :32; member
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/efcode/gp2/
H A Dgp2.c51 offset = lo & PAGEOFFSET; in mem_map_in()
52 lo &= PAGEMASK; in mem_map_in()
154 fstack_t hi, mid, lo; in do_encode_unit() local
159 lo = POP(DS); in do_encode_unit()
178 uint32_t lo, hi; in do_decode_unit() local
190 lo = offset | (agent << 23); in do_decode_unit()
193 hi, lo); in do_decode_unit()
194 PUSH(DS, lo); in do_decode_unit()
202 fc_cell_t lo, hi; in do_claim_addr() local
218 &lo, &hi); in do_claim_addr()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dstrsearch.c42 char* lo = (char *)tab; in strsearch() local
43 char* hi = lo + (num - 1) * siz; in strsearch()
48 while (lo <= hi) in strsearch()
50 mid = lo + (((hi - lo) / siz) / 2) * siz; in strsearch()
54 lo = mid + siz; in strsearch()
H A Dstrpsearch.c55 register char* lo = (char*)tab; in strpsearch() local
56 register char* hi = lo + (num - 1) * siz; in strpsearch()
71 while (lo <= hi) in strpsearch()
73 mid = lo + (sequential ? 0 : (((hi - lo) / siz) / 2) * siz); in strpsearch()
99 …while ((mid -= siz) >= lo && (s = *((unsigned char**)mid)) && ((c == MAP(m, *s)) || *s == '[' && c… in strpsearch()
120 lo = mid + siz; in strpsearch()
/illumos-gate/usr/src/common/bzip2/
H A Dblocksort.c40 if (lo == hi) return; in fallbackSimpleSort()
42 if (hi - lo > 3) { in fallbackSimpleSort()
99 Int32 sp, lo, hi; in fallbackQSort3() local
113 fpop ( lo, hi ); in fallbackQSort3()
132 unLo = ltLo = lo; in fallbackQSort3()
166 n = fmin(ltLo-lo, unLo-ltLo); fvswap(lo, unLo-n, n); in fallbackQSort3()
173 fpush ( lo, n ); in fallbackQSort3()
497 bigN = hi - lo + 1; in mainSimpleSort()
507 i = lo + h; in mainSimpleSort()
631 Int32 sp, lo, hi, d; in mainQSort3() local
[all …]
/illumos-gate/usr/src/cmd/localedef/
H A Dctype.c263 _FileRuneEntry *lo = NULL; in dump_ctype() local
397 lo[rl.maplower_ext_nranges-1].max = wc; in dump_ctype()
401 lo = realloc(lo, in dump_ctype()
402 sizeof (*lo) * rl.maplower_ext_nranges); in dump_ctype()
403 if (lo == NULL) in dump_ctype()
405 lo[rl.maplower_ext_nranges - 1].min = wc; in dump_ctype()
406 lo[rl.maplower_ext_nranges - 1].max = wc; in dump_ctype()
407 lo[rl.maplower_ext_nranges - 1].map = ctn->tolower; in dump_ctype()
432 (wr_category(lo, sizeof (*lo) * rl.maplower_ext_nranges, f) == 0) && in dump_ctype()
442 free(lo); in dump_ctype()
/illumos-gate/usr/src/lib/libm/common/complex/
H A Dk_cexp.c120 double hi = 0.0L, lo = 0.0L, c, t; in __k_cexp() local
148 lo = ln2LO[xsb]; in __k_cexp()
155 lo = t * ln2LO[0]; in __k_cexp()
157 x = hi - lo; in __k_cexp()
170 t = one - ((lo - (x * c) / (2.0 - c)) - hi); in __k_cexp()
/illumos-gate/usr/src/uts/sun4/vm/
H A Dvm_dep.c275 caddr_t hi, lo; in valid_va_range_aligned() local
282 lo = *basep; in valid_va_range_aligned()
283 hi = lo + *lenp; in valid_va_range_aligned()
287 if (hi < lo) { in valid_va_range_aligned()
291 hi = lo + *lenp; in valid_va_range_aligned()
315 lo = hole_end; in valid_va_range_aligned()
323 lo = hole_end; in valid_va_range_aligned()
333 if (lo < hole_end) in valid_va_range_aligned()
334 lo = hole_end; in valid_va_range_aligned()
352 *basep = lo; in valid_va_range_aligned()
[all …]
/illumos-gate/usr/src/cmd/modload/
H A Dplcysubr.c201 *lo = tmp; in parse_minor_range()
209 if (*lo > *hi) in parse_minor_range()
232 minor_t lo, minor_t hi, char type) in put_minor_range() argument
239 put_minor_range(fp, NULL, devn, tail, lo, hi, 'b'); in put_minor_range()
241 } else if (lo == hi) { in put_minor_range()
348 minor_t lo, hi; in delete_one_entry() local
359 lo <= rhi && hi >= rlo) { in delete_one_entry()
363 if (lo >= rlo && hi <= rhi) in delete_one_entry()
367 if (lo < rlo) in delete_one_entry()
374 newlo = lo; in delete_one_entry()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/lofs/
H A Dlofs.c214 lnode_t lo; in lnode() local
216 (void) mdb_vread(&lo, sizeof (lo), addr); in lnode()
217 return (lnode_format(addr, &lo, NULL)); in lnode()
230 lnode_t lo; in lnode2dev() local
237 (void) mdb_vread(&lo, sizeof (lo), addr); in lnode2dev()
238 (void) mdb_vread(&vno, sizeof (vno), (uintptr_t)lo.lo_vnode); in lnode2dev()
/illumos-gate/usr/src/lib/libm/common/C/
H A Dexpm1.c163 double y, hi, lo, c = 0.0L, t, e, hxs, hfx, r1; in expm1() local
202 lo = ln2_lo; in expm1()
207 lo = -ln2_lo; in expm1()
215 lo = t * ln2_lo; in expm1()
217 x = hi - lo; in expm1()
218 c = (hi - x) - lo; /* still at |x| > 0.5 ln2 */ in expm1()
/illumos-gate/usr/src/common/bignum/amd64/
H A Dbignum_amd64_asm.s257 movq %rax, 0(%rdi) / r[0] = lo(p)
268 movq %rax, 8(%rdi) / r[1] = lo(p)
279 movq %rax, 16(%rdi) / r[2] = lo(p)
290 movq %rax, 24(%rdi) / r[3] = lo(p)
301 movq %rax, 32(%rdi) / r[4] = lo(p)
312 movq %rax, 40(%rdi) / r[5] = lo(p)
323 movq %rax, 48(%rdi) / r[6] = lo(p)
332 movq %rax, 56(%rdi) / r[7] = lo(p)
350 movq %rax, 0(%rdi) / r[0] = lo(p)
362 movq %rax, 8(%rdi) / r[1] = lo(p)
[all …]
/illumos-gate/usr/src/uts/sun4v/cpu/
H A Dcommon_asm.s293 add %o1, %lo(hrestime), %o4
391 ldx [%l4 + %lo(hrtime_base)], %l1
426 or %l4, %lo(hrestime), %l2
439 st %l5, [%i1 + %lo(one_sec)]
446 ld [%l4 + %lo(hres_lock)], %i1
457 ld [%l4 + %lo(hres_lock)], %i1
459 st %i1, [%l4 + %lo(hres_lock)]
463 or %o0, %lo(hrtime_base_panic), %o0
475 or %o0, %lo(kstat_q_panic_msg), %o0
995 ldx [%o0 + %lo(fp_zero_zero)], %fsr
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/regex/
H A Dregdecomp.c101 sfprintf(sp, "\\%d", e->lo); in decomp()
130 if (!e->lo) in decomp()
132 else if (e->lo == 1) in decomp()
135 sfprintf(sp, "{%d,}", e->lo); in decomp()
138 sfprintf(sp, "{%d,%d}", e->lo, e->hi); in decomp()
139 else if (e->lo == 0) in decomp()
275 if (!e->lo) in decomp()
277 else if (e->lo == 1 && ismeta('+', type, 0, delimiter)) in decomp()
282 sfprintf(sp, "%d,", e->lo); in decomp()
289 sfprintf(sp, "%d,%d", e->lo, e->hi); in decomp()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/uwin/
H A Dexp.c126 double z,hi,lo,c; variable
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
189 x= hi - (lo = k*ln2lo-c);
195 return scalb(1.+(hi-(lo - c)), k);
/illumos-gate/usr/src/lib/libipmi/common/
H A Dipmi_util.c245 uint8_t tmp, lo; in ipmi_decode_string() local
285 lo = BITX(*(data+j++), 7, 6); in ipmi_decode_string()
287 tmp = (tmp << 2) | lo; in ipmi_decode_string()
290 lo = BITX(*(data+j++), 7, 4); in ipmi_decode_string()
292 tmp = (tmp << 4) | lo; in ipmi_decode_string()
307 lo = BITX(*(data+j++), 7, 6); in ipmi_decode_string()
309 tmp = (tmp << 2) | lo; in ipmi_decode_string()

12345678910>>...14