Home
last modified time | relevance | path

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

12345678910>>...13

/titanic_41/usr/src/common/unicode/
H A Duconv.c323 uint32_t lo; in uconv_u16tou32() local
380 lo = (uint32_t)((inendian) ? u16s[u16l] : BSWAP_16(u16s[u16l])); in uconv_u16tou32()
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()
390 lo = (((hi - UCONV_U16_HI_MIN) * UCONV_U16_BIT_SHIFT + in uconv_u16tou32()
391 lo - UCONV_U16_LO_MIN) & UCONV_U16_BIT_MASK) in uconv_u16tou32()
401 u32s[u32l++] = (outendian) ? lo : BSWAP_32(lo); in uconv_u16tou32()
433 uint32_t lo; in uconv_u16tou8() local
459 lo = (uint32_t)((inendian) ? u16s[u16l] : BSWAP_16(u16s[u16l])); in uconv_u16tou8()
[all …]
/titanic_41/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; \
158 ldx [scr1 + %lo(native_stick_offset)], scr1; \
162 ldx [scr1 + %lo(native_tick_offset)], scr1; \
170 ldx [scr1 + %lo(native_stick_offset)], scr2; \
[all …]
/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A Dqsort.c58 char c, *i, *j, *lo, *hi; in qsort() local
80 for (j = lo = base; (lo += qsz) < hi; ) in qsort()
81 if (qcmp(j, lo) > 0) in qsort()
82 j = lo; in qsort()
102 for (lo = min + qsz; --lo >= min; ) { in qsort()
103 c = *lo; in qsort()
104 for (i = j = lo; (j -= qsz) >= hi; i = j) in qsort()
133 int lo, hi; in qst() local
144 lo = max - base; /* number of elements as chars */ in qst()
146 mid = i = base + qsz * ((lo / qsz) >> 1); in qst()
[all …]
/titanic_41/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()
111 u.l.lo = ((rm == FSR_RP)? 1 : 0); in _Q_qtod()
125 u.l.lo = (x->l.frac2 << 3) | (x->l.frac3 >> 29); in _Q_qtod()
130 sticky |= round | (u.l.lo & 0x7fffffff); in _Q_qtod()
131 round = u.l.lo & 0x80000000; in _Q_qtod()
132 u.l.lo = u.l.hi; 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()
/titanic_41/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()
/titanic_41/usr/src/lib/libcurses/screen/
H A Dwnoutref.c57 boty, sminy, smaxy, minx, maxx, lo, hi; in wnoutrefresh() local
130 lo = (doall || *bch == _REDRAW || *bch < minx) ? minx : *bch; in wnoutrefresh()
137 if (ISCBIT(wc[lo])) { in wnoutrefresh()
138 for (x = lo - 1; x >= minx; --x) in wnoutrefresh()
142 for (x = lo+1; x <= maxx; ++x) in wnoutrefresh()
148 lo = x; in wnoutrefresh()
153 for (x = hi; x >= lo; --x) in wnoutrefresh()
163 if (hi < lo) in wnoutrefresh()
168 if (ISMBIT(sc[lo + xorg])) in wnoutrefresh()
169 (void) _mbclrch(_virtscr, y + yorg, lo + xorg); in wnoutrefresh()
[all …]
/titanic_41/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; \
121 ldn [scr + %lo(hrestime)], hrestsec; /* load hrestime.sec */\
122 add scr, %lo(hrestime), hrestnsec; \
127 ldx [scr + %lo(hrestime_adj)], adj; /* load hrestime_adj */ \
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 */ \
[all …]
/titanic_41/usr/src/lib/efcode/jupiter/
H A Djupiter.c44 #define DO_GET_IO_PORTID(env, lo, hi, portid) \ argument
45 PUSH(DS, lo); \
51 mem_map_in(fcode_env_t *env, fstack_t hi, fstack_t lo, fstack_t len) in mem_map_in() argument
65 offset = lo & PAGEOFFSET; in mem_map_in()
66 lo &= PAGEMASK; in mem_map_in()
70 fc_uint32_t2cell(hi), fc_uint32_t2cell(lo), &virt); in mem_map_in()
174 fstack_t hi, lo; in do_encode_unit() local
181 lo = POP(DS); in do_encode_unit()
182 off = (long long)(((hi & 0x1F) << 32) | lo); in do_encode_unit()
185 DO_GET_IO_PORTID(env, lo, hi, id); in do_encode_unit()
[all …]
/titanic_41/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)
/titanic_41/usr/src/lib/efcode/gp2/
H A Dgp2.c39 mem_map_in(fcode_env_t *env, fstack_t hi, fstack_t lo, fstack_t len) in mem_map_in() argument
53 offset = lo & PAGEOFFSET; in mem_map_in()
54 lo &= PAGEMASK; in mem_map_in()
58 fc_uint32_t2cell(hi), fc_uint32_t2cell(lo), &virt); in mem_map_in()
156 fstack_t hi, mid, lo; in do_encode_unit() local
161 lo = POP(DS); in do_encode_unit()
164 id = (hi << 9) | (lo >> 23); /* build extended agent id */ in do_encode_unit()
165 off = lo & 0x7fffff; /* build config offset */ in do_encode_unit()
173 (int)hi, (int)lo, enc_buf); in do_encode_unit()
180 uint32_t lo, hi; in do_decode_unit() local
[all …]
/titanic_41/usr/src/lib/libast/common/string/
H A Dstrsearch.c42 register char* lo = (char*)tab; in strsearch() local
43 register char* hi = lo + (num - 1) * siz; in strsearch()
47 while (lo <= hi) in strsearch()
49 mid = lo + (((hi - lo) / siz) / 2) * siz; in strsearch()
53 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()
/titanic_41/usr/src/common/bzip2/
H A Dblocksort.c34 Int32 lo, in fallbackSimpleSort() argument
40 if (lo == hi) return; in fallbackSimpleSort()
42 if (hi - lo > 3) { in fallbackSimpleSort()
43 for ( i = hi-4; i >= lo; i-- ) { in fallbackSimpleSort()
52 for ( i = hi-1; i >= lo; i-- ) { in fallbackSimpleSort()
99 Int32 sp, lo, hi; in fallbackQSort3() local
113 fpop ( lo, hi ); in fallbackQSort3()
114 if (hi - lo < FALLBACK_QSORT_SMALL_THRESH) { in fallbackQSort3()
115 fallbackSimpleSort ( fmap, eclass, lo, hi ); in fallbackQSort3()
128 if (r3 == 0) med = eclass[fmap[lo]]; else in fallbackQSort3()
[all …]
/titanic_41/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/base/
H A DUtil.java571 int lo = p; in partition() local
576 lo < hi) { in partition()
579 while (list[lo].compareTo(pivot) < 0 && in partition()
580 lo < hi) { in partition()
581 lo++; in partition()
583 if (lo < hi) { in partition()
584 String T = list[lo]; in partition()
585 list[lo] = list[hi]; in partition()
616 int lo = p; in partition() local
621 lo < hi) { in partition()
[all …]
/titanic_41/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()
/titanic_41/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()
/titanic_41/usr/src/cmd/mdb/common/modules/lofs/
H A Dlofs.c216 lnode_t lo; in lnode() local
218 (void) mdb_vread(&lo, sizeof (lo), addr); in lnode()
219 return (lnode_format(addr, &lo, NULL)); in lnode()
232 lnode_t lo; in lnode2dev() local
239 (void) mdb_vread(&lo, sizeof (lo), addr); in lnode2dev()
240 (void) mdb_vread(&vno, sizeof (vno), (uintptr_t)lo.lo_vnode); in lnode2dev()
/titanic_41/usr/src/uts/sun4/vm/
H A Dvm_dep.c272 caddr_t hi, lo; in valid_va_range_aligned() local
279 lo = *basep; in valid_va_range_aligned()
280 hi = lo + *lenp; in valid_va_range_aligned()
284 if (hi < lo) { in valid_va_range_aligned()
285 *lenp = 0UL - (uintptr_t)lo - 1UL; in valid_va_range_aligned()
288 hi = lo + *lenp; in valid_va_range_aligned()
299 if (lo < hole_start) { in valid_va_range_aligned()
309 if (hole_start - lo >= tot_len) in valid_va_range_aligned()
312 lo = hole_end; in valid_va_range_aligned()
320 lo = hole_end; in valid_va_range_aligned()
[all …]
/titanic_41/usr/src/cmd/modload/
H A Dplcysubr.c188 parse_minor_range(const char *range, minor_t *lo, minor_t *hi, char *type) in parse_minor_range() argument
201 *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()
240 put_minor_range(fp, NULL, devn, tail, lo, hi, 'c'); in put_minor_range()
241 } else if (lo == hi) { in put_minor_range()
242 (void) fprintf(fp, "%s:(%d)%c%s", devn, (int)lo, type, tail); in put_minor_range()
244 (void) fprintf(fp, "%s:(%d-%d)%c%s", devn, (int)lo, (int)hi, in put_minor_range()
348 minor_t lo, hi; in delete_one_entry() local
[all …]
/titanic_41/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 …]
/titanic_41/usr/src/lib/libast/common/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);
/titanic_41/usr/src/lib/libast/common/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()
286 else if (e->hi != 1 || e->lo == 0 && !ismeta('?', type, 0, delimiter)) in decomp()
[all …]
/titanic_41/usr/src/uts/sun4v/cpu/
H A Dcommon_asm.s159 or %i1, %lo(tick_write_delta_panic), %o0
443 lduw [%o1 + %lo(hres_lock)], %o2 ! Load lock value
446 ldn [%o1 + %lo(hrestime)], %g1 ! Seconds.
447 add %o1, %lo(hrestime), %o4
450 lduw [%o1 + %lo(hres_lock)], %o3 ! Reload lock value
521 ldstub [%l4 + %lo(hres_lock + HRES_LOCK_OFFSET)], %l5 ! try locking
524 ld [%l4 + %lo(nsec_scale)], %l5 ! delay: %l5 = scaling factor
525 ldub [%l4 + %lo(hres_lock + HRES_LOCK_OFFSET)], %l5
528 ldstub [%l4 + %lo(hres_lock + HRES_LOCK_OFFSET)], %l5
530 ldub [%l4 + %lo(hres_lock + HRES_LOCK_OFFSET)], %l5
[all …]
/titanic_41/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>>...13