Home
last modified time | relevance | path

Searched refs:hi (Results 1 – 25 of 389) sorted by relevance

12345678910>>...16

/titanic_44/usr/src/lib/libilb/common/
H A Dilb_comm.c43 ilb_handle_impl_t *hi = (ilb_handle_impl_t *)h; in i_ilb_socket_set_err() local
47 hi->h_valid = B_FALSE; in i_ilb_socket_set_err()
48 hi->h_error = err; in i_ilb_socket_set_err()
54 ilb_handle_impl_t *hi = NULL; in ilb_open() local
63 hi = calloc(sizeof (*hi), 1); in ilb_open()
64 if (hi == NULL) in ilb_open()
67 if (cond_init(&hi->h_cv, USYNC_THREAD, NULL) != 0) { in ilb_open()
72 if (mutex_init(&hi->h_lock, USYNC_THREAD | LOCK_ERRORCHECK, NULL) in ilb_open()
78 hi->h_busy = B_FALSE; in ilb_open()
102 hi->h_socket = s; in ilb_open()
[all …]
/titanic_44/usr/src/cmd/sendmail/libsm/
H A Dheap.c480 SM_HEAP_ITEM_T *hi; local
492 for (hi = SmHeapTable[i]; hi != NULL; hi = hi->hi_next)
494 if (hi->hi_ptr == ptr)
496 ptr, hi->hi_tag, hi->hi_num);
500 hi = (SM_HEAP_ITEM_T *) malloc(sizeof(SM_HEAP_ITEM_T));
502 if (hi == NULL)
504 hi->hi_ptr = ptr;
505 hi->hi_size = size;
506 hi->hi_tag = tag;
507 hi->hi_num = num;
[all …]
/titanic_44/usr/src/common/unicode/
H A Duconv.c322 uint32_t hi; in uconv_u16tou32() local
344 hi = 0; in uconv_u16tou32()
383 if (hi) in uconv_u16tou32()
385 hi = lo; in uconv_u16tou32()
388 if (! hi) in uconv_u16tou32()
390 lo = (((hi - UCONV_U16_HI_MIN) * UCONV_U16_BIT_SHIFT + in uconv_u16tou32()
393 hi = 0; in uconv_u16tou32()
394 } else if (hi) { in uconv_u16tou32()
408 if (hi) in uconv_u16tou32()
432 uint32_t hi; in uconv_u16tou8() local
[all …]
/titanic_44/usr/src/cmd/cpio/
H A Dutils.c293 free_holesdata(holes_info_t *hi) in free_holesdata() argument
297 for (hl = hi->holes_list; hl != NULL; hl = nhl) { in free_holesdata()
301 hi->holes_list = NULL; in free_holesdata()
303 if (hi->holesdata != NULL) in free_holesdata()
304 free(hi->holesdata); in free_holesdata()
305 hi->holesdata = NULL; in free_holesdata()
323 holes_info_t *hi; in get_holes_info() local
331 hi = e_zalloc(E_EXIT, sizeof (holes_info_t)); in get_holes_info()
332 hi->holes_list = hl; in get_holes_info()
352 hi->data_size = get_compressed_filesz(hl); in get_holes_info()
[all …]
/titanic_44/usr/src/lib/libc/sparc/fp/
H A D_Q_dtoq.c58 m = ((u.l.hi & 0x7ff00000) >> 4) + 0x3c000000; in _Qp_dtoq()
61 if ((u.l.hi & 0xfffff) | u.l.lo) { in _Qp_dtoq()
64 lhi = u.l.hi & 0xfffff; in _Qp_dtoq()
71 u.l.hi = (u.l.hi & 0x80000000) | lhi; in _Qp_dtoq()
79 if (((u.l.hi & 0x7ffff) | u.l.lo) && (u.l.hi & 0x80000) == 0) { in _Qp_dtoq()
89 u.l.hi |= 0x80000; in _Qp_dtoq()
92 Z.l.msw = m | (u.l.hi & 0x80000000) | ((u.l.hi & 0xffff0) >> 4); in _Qp_dtoq()
93 Z.l.frac2 = (u.l.hi << 28) | (u.l.lo >> 4); in _Qp_dtoq()
H A D_Q_qtod.c60 u.l.hi = (x->l.msw & 0x80000000) | 0x7ff80000; in _Q_qtod()
61 u.l.hi |= ((xm & 0x7fff) << 4) | in _Q_qtod()
78 u.l.hi = (x->l.msw & 0x80000000) | 0x7ff00000; in _Q_qtod()
84 u.l.hi = 0x7ff00000; in _Q_qtod()
87 u.l.hi = 0x7fefffff; in _Q_qtod()
90 u.l.hi |= (x->l.msw & 0x80000000); in _Q_qtod()
105 u.l.hi = (x->l.msw & 0x80000000); in _Q_qtod()
110 u.l.hi = (x->l.msw & 0x80000000); in _Q_qtod()
124 u.l.hi = 0x80000 | ((xm & 0xffff) << 3) | (x->l.frac2 >> 29); in _Q_qtod()
132 u.l.lo = u.l.hi; in _Q_qtod()
[all …]
/titanic_44/usr/src/uts/common/io/
H A Dhook.c217 static void hook_int_free(hook_int_t *hi, netstackid_t);
231 hook_int_t *hi);
802 hook_int_t *hi; in hook_run() local
818 TAILQ_FOREACH(hi, &hei->hei_head, hi_entry) { in hook_run()
819 ASSERT(hi->hi_hook.h_func != NULL); in hook_run()
823 hook_int_t *, hi); in hook_run()
824 rval = (*hi->hi_hook.h_func)(token, info, hi->hi_hook.h_arg); in hook_run()
828 hook_int_t *, hi, in hook_run()
830 hi->hi_kstats.hook_hits.value.ui64++; in hook_run()
842 hook_int_t *, hi); in hook_run()
[all …]
/titanic_44/usr/src/lib/libbc/libc/gen/common/
H A Dqsort.c58 char c, *i, *j, *lo, *hi; in qsort() local
70 hi = base + thresh; in qsort()
72 hi = max; in qsort()
80 for (j = lo = base; (lo += qsz) < hi; ) in qsort()
85 for (i = base, hi = base + qsz; i < hi; ) { in qsort()
98 for (min = base; (hi = min += qsz) < max; ) { in qsort()
99 while (qcmp(hi -= qsz, min) > 0) in qsort()
101 if ((hi += qsz) != min) { in qsort()
104 for (i = j = lo; (j -= qsz) >= hi; i = j) in qsort()
133 int lo, hi; in qst() local
[all …]
/titanic_44/usr/src/cmd/sgs/libelf/common/
H A Dupdate.c95 test_size(Lword hi) in test_size() argument
110 if (hi > INT_MAX) { /* Bigger than 2GB */ in test_size()
113 if (hi > UINT_MAX) { in test_size()
132 if (hi > UINT_MAX) { in test_size()
159 Lword hi; in _elf_upd_lib()
178 hi = elf_fsize(ELF_T_EHDR, 1, ver); in _elf_upd_lib()
180 eh->e_ehsize = (Half)hi; in _elf_upd_lib()
185 eh->e_phoff = (Off)hi; in _elf_upd_lib()
186 hi += eh->e_phentsize * eh->e_phnum; in _elf_upd_lib()
270 hibit = hi; in _elf_upd_lib()
[all …]
/titanic_44/usr/src/lib/libc/port/gen/
H A Dcatgets.c44 int hi, lo, mid; in catgets() local
68 hi = p->__nsets - 1; in catgets()
75 while (hi >= lo) { in catgets()
76 mid = (hi + lo) / 2; in catgets()
83 hi = lo + q->__nmsgs - 1; in catgets()
84 while (hi >= lo) { in catgets()
85 mid = (hi + lo) / 2; in catgets()
115 hi = mid - 1; in catgets()
124 hi = mid - 1; in catgets()
H A Derrlist.awk54 hi = 0
76 if ($1 > hi)
77 hi = $1
85 if (hi > mx)
92 for (j = 0; j <= hi; ++j)
105 for (j = 0; j <= hi; ++j)
112 print "const int _sys_num_err = " hi + 1 ";\n" >newfile
/titanic_44/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
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
160 hi = POP(DS); in do_encode_unit()
163 hi = (hi & 0x00000001); /* get high order agent id bit */ in do_encode_unit()
164 id = (hi << 9) | (lo >> 23); /* build extended agent id */ 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
193 hi = (agent >> 9) | 0x400; in do_decode_unit()
195 hi, lo); in do_decode_unit()
[all …]
/titanic_44/usr/src/lib/libc/port/fp/
H A Dfpparts.h49 unsigned hi :20; member
56 unsigned hi :19; member
60 unsigned hi; member
91 unsigned hi :20; member
97 unsigned hi :19; member
104 unsigned hi :32; member
131 #define HIFRACTION(X) (((_dval *)&(X))->fparts.hi)
134 #define HIWORD(X) (((_dval *)&(X))->fwords.hi)
/titanic_44/usr/src/lib/libcurses/screen/
H A Dwnoutref.c57 boty, sminy, smaxy, minx, maxx, lo, hi; in wnoutrefresh() local
131 hi = (doall || *bch == _REDRAW || *ech > maxx) ? maxx : *ech; in wnoutrefresh()
150 if (ISMBIT(wc[hi])) { in wnoutrefresh()
153 for (x = hi; x >= lo; --x) in wnoutrefresh()
159 hi = (x+w) <= maxx+1 ? x+w-1 : x; in wnoutrefresh()
163 if (hi < lo) in wnoutrefresh()
170 if (ISMBIT(sc[hi + xorg])) in wnoutrefresh()
171 (void) _mbclrch(_virtscr, y + yorg, hi + xorg); in wnoutrefresh()
180 if (*sech < hi+xorg) in wnoutrefresh()
181 *sech = hi+xorg; in wnoutrefresh()
[all …]
/titanic_44/usr/src/lib/efcode/jupiter/
H A Djupiter.c44 #define DO_GET_IO_PORTID(env, lo, hi, portid) \ argument
46 PUSH(DS, hi); \
51 mem_map_in(fcode_env_t *env, fstack_t hi, fstack_t lo, fstack_t len) in mem_map_in() argument
70 fc_uint32_t2cell(hi), fc_uint32_t2cell(lo), &virt); in mem_map_in()
174 fstack_t hi, lo; in do_encode_unit() local
180 hi = 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()
194 (uint32_t)hi, (uint32_t)lo, enc_buf); in do_encode_unit()
202 uint32_t hi; in do_decode_unit() local
[all …]
/titanic_44/usr/src/common/bzip2/
H A Dblocksort.c35 Int32 hi ) 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()
46 for ( j = i+4; j <= hi && ec_tmp > eclass[fmap[j]]; j += 4 ) in fallbackSimpleSort()
52 for ( i = hi-1; i >= lo; i-- ) { in fallbackSimpleSort()
55 for ( j = i+1; j <= hi && ec_tmp > eclass[fmap[j]]; j++ ) 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()
[all …]
/titanic_44/usr/src/lib/efcode/upa/
H A Dupa.c47 fstack_t hi, mid, lo; in do_encode_unit() local
51 hi = POP(DS); in do_encode_unit()
53 hi = ((hi >> 1) & 0x1f); in do_encode_unit()
54 sprintf(buf, "%x,%x", hi, lo); in do_encode_unit()
/titanic_44/usr/src/uts/sun4v/sys/
H A Dmachclock.h57 sethi %hi(native_stick_offset), scr1; \
84 sethi %hi(native_stick_offset), scr1; \
105 sethi %hi(native_tick_offset), scr1; \
117 sethi %hi(native_tick_offset), scr1; \
152 sethi %hi(use_stick), scr1; \
157 sethi %hi(native_stick_offset), scr1; \
161 sethi %hi(native_tick_offset), scr1; \
169 sethi %hi(native_stick_offset), scr1; \
179 sethi %hi(native_stick_offset), scr1; \
229 5: sethi %hi(hres_lock), scr; \
[all …]
/titanic_44/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/base/
H A DUtil.java572 int hi = r; in partition() local
575 while (list[hi].compareTo(pivot) >= 0 && in partition()
576 lo < hi) { in partition()
577 hi--; in partition()
580 lo < hi) { in partition()
583 if (lo < hi) { in partition()
585 list[lo] = list[hi]; in partition()
586 list[hi] = T; in partition()
587 } else return hi; in partition()
617 int hi = r; in partition() local
[all …]
/titanic_44/usr/src/lib/libast/common/uwin/
H A Dexp.c126 double z,hi,lo,c; variable
141 hi=x-k*ln2hi;
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
188 hi=(x-k*ln2hi); /* Exact. */
189 x= hi - (lo = k*ln2lo-c);
195 return scalb(1.+(hi-(lo - c)), k);
/titanic_44/usr/src/lib/libm/sparcv9/src/
H A Dlocallibm.il51 sethi %hi(0x43300000),%o0
60 sethi %hi(0x3ff00000),%o0
80 sethi %hi(0x3ff00000),%o0
93 sethi %hi(0x43300000),%o0
102 sethi %hi(0x3ff00000),%o0
122 sethi %hi(0x3ff00000),%o0
137 sethi %hi(0x7ff00000),%o1
141 sethi %hi(0x43500000),%o0
151 sethi %hi(0x80000001),%o0
164 sethi %hi(0x7fffffff),%o0
[all …]
/titanic_44/usr/src/lib/libast/common/string/
H A Dstrsearch.c43 register char* hi = lo + (num - 1) * siz; in strsearch() local
47 while (lo <= hi) in strsearch()
49 mid = lo + (((hi - lo) / siz) / 2) * siz; in strsearch()
54 else hi = mid - siz; in strsearch()
/titanic_44/usr/src/lib/libm/common/complex/
H A Dk_cexp.c120 double hi = 0.0L, lo = 0.0L, c, t; in __k_cexp() local
147 hi = x - ln2HI[xsb]; in __k_cexp()
153 hi = x - t * ln2HI[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_44/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
201 hi = x - ln2_hi; in expm1()
206 hi = x + ln2_hi; in expm1()
214 hi = x - t * ln2_hi; /* t*ln2_hi is exact here */ in expm1()
217 x = hi - lo; in expm1()
218 c = (hi - x) - lo; /* still at |x| > 0.5 ln2 */ in expm1()
/titanic_44/usr/src/common/bignum/amd64/
H A Dbignum_amd64_asm.s258 movq %rdx, %r9 / cy = hi(p)
269 movq %rdx, %r9 / cy = hi(p)
280 movq %rdx, %r9 / cy = hi(p)
291 movq %rdx, %r9 / cy = hi(p)
302 movq %rdx, %r9 / cy = hi(p)
313 movq %rdx, %r9 / cy = hi(p)
324 movq %rdx, %r9 / cy = hi(p)
333 movq %rdx, %r9 / cy = hi(p)
351 movq %rdx, %r9 / cy = hi(p)
363 movq %rdx, %r9 / cy = hi(p)
[all …]

12345678910>>...16