Home
last modified time | relevance | path

Searched refs:low (Results 1 – 25 of 386) sorted by relevance

12345678910>>...16

/illumos-gate/usr/src/common/bitext/
H A Dbitext.c27 bitx8(uint8_t reg, uint_t high, uint_t low) in bitx8() argument
31 ASSERT3U(high, >=, low); in bitx8()
33 ASSERT3U(low, <, 8); in bitx8()
35 mask = (1 << (high - low + 1)) - 1; in bitx8()
36 return ((reg >> low) & mask); in bitx8()
40 bitx16(uint16_t reg, uint_t high, uint_t low) in bitx16() argument
44 ASSERT3U(high, >=, low); in bitx16()
46 ASSERT3U(low, <, 16); in bitx16()
48 mask = (1 << (high - low + 1)) - 1; in bitx16()
49 return ((reg >> low) & mask); in bitx16()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dbitops.h44 #define BF32_DECODE(x, low, len) P2PHASE((x) >> (low), 1U << (len)) argument
45 #define BF64_DECODE(x, low, len) P2PHASE((x) >> (low), 1ULL << (len)) argument
46 #define BF32_ENCODE(x, low, len) (P2PHASE((x), 1U << (len)) << (low)) argument
47 #define BF64_ENCODE(x, low, len) (P2PHASE((x), 1ULL << (len)) << (low)) argument
49 #define BF32_GET(x, low, len) BF32_DECODE(x, low, len) argument
50 #define BF64_GET(x, low, len) BF64_DECODE(x, low, len) argument
52 #define BF32_SET(x, low, len, val) do { \ argument
54 ASSERT3U(low + len, <=, 32); \
55 (x) ^= BF32_ENCODE((x >> low) ^ (val), low, len); \
58 #define BF64_SET(x, low, len, val) do { \ argument
[all …]
/illumos-gate/usr/src/common/ficl/
H A Ddouble.c89 x.low = ~x.low; in ficl2IntegerNegate()
90 x.low ++; in ficl2IntegerNegate()
91 if (x.low == 0) in ficl2IntegerNegate()
109 ficl2Unsigned resultLo = ficl2UnsignedMultiply(u.low, mul); in ficl2UnsignedMultiplyAccumulate()
111 resultLo.high += resultHi.low; in ficl2UnsignedMultiplyAccumulate()
112 resultHi.low = resultLo.low + add; in ficl2UnsignedMultiplyAccumulate()
114 if (resultHi.low < resultLo.low) in ficl2UnsignedMultiplyAccumulate()
117 resultLo.low = resultHi.low; in ficl2UnsignedMultiplyAccumulate()
155 if (x.low == INTMAX_MIN) in ficl2IntegerDecrement()
157 x.low--; in ficl2IntegerDecrement()
[all …]
/illumos-gate/usr/src/cmd/geniconvtbl/
H A Ditm_comp.l266 int low; in at_name_to_token() local
270 for (low = 0, high = (sizeof (at_table) / in at_name_to_token()
272 low < high; /* NOP */) { in at_name_to_token()
273 mid = (low + high) / 2; in at_name_to_token()
278 low = mid + 1; in at_name_to_token()
296 int low; in hexadecimal_data() local
312 low = *(seq); in hexadecimal_data()
313 if (('0' <= low) && (low <= '9')) { in hexadecimal_data()
314 val = (low - '0'); in hexadecimal_data()
315 } else if (('a' <= low) && (low <= 'f')) { in hexadecimal_data()
[all …]
/illumos-gate/usr/src/grub/grub-0.97/stage2/zfs-include/
H A Dspa.h36 #define BF32_DECODE(x, low, len) P2PHASE((x) >> (low), 1U << (len)) argument
37 #define BF64_DECODE(x, low, len) P2PHASE((x) >> (low), 1ULL << (len)) argument
38 #define BF32_ENCODE(x, low, len) (P2PHASE((x), 1U << (len)) << (low)) argument
39 #define BF64_ENCODE(x, low, len) (P2PHASE((x), 1ULL << (len)) << (low)) argument
41 #define BF32_GET(x, low, len) BF32_DECODE(x, low, len) argument
42 #define BF64_GET(x, low, len) BF64_DECODE(x, low, len) argument
44 #define BF32_SET(x, low, len, val) \ argument
45 ((x) ^= BF32_ENCODE((x >> low) ^ (val), low, len))
46 #define BF64_SET(x, low, len, val) \ argument
47 ((x) ^= BF64_ENCODE((x >> low) ^ (val), low, len))
[all …]
/illumos-gate/usr/src/common/util/
H A Dmulti3.c19 du_int low; member
23 du_int low;
36 r.s.low = (a & lower_mask) * (b & lower_mask); in __mulddi3()
37 du_int t = r.s.low >> bits_in_dword_2; in __mulddi3()
38 r.s.low &= lower_mask; in __mulddi3()
40 r.s.low += (t & lower_mask) << bits_in_dword_2; in __mulddi3()
42 t = r.s.low >> bits_in_dword_2; in __mulddi3()
43 r.s.low &= lower_mask; in __mulddi3()
45 r.s.low += (t & lower_mask) << bits_in_dword_2; in __mulddi3()
60 r.all = __mulddi3(x.s.low, y.s.low); in __multi3()
[all …]
H A Dctzdi2.c54 unsigned low; member
58 unsigned low;
68 const int f = -(x.s.low == 0); in __ctzdi2()
69 return (__builtin_ctz((x.s.high & f) | (x.s.low & ~f)) + in __ctzdi2()
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ssldap/
H A Derrormap.c163 PRInt32 low = 0; in SECU_Strerror() local
174 for (i = low; i <= high; ++i) { in SECU_Strerror()
211 while (low + 1 < high) { in SECU_Strerror()
212 i = (low + high) / 2; in SECU_Strerror()
219 low = i; in SECU_Strerror()
221 if (errNum == errStrings[low].errNum) in SECU_Strerror()
222 return errStrings[low].errString; in SECU_Strerror()
267 PRInt32 low = 0; in SECU_Strerror() local
277 while (low + 1 < high) { in SECU_Strerror()
278 i = (low + high) / 2; in SECU_Strerror()
[all …]
/illumos-gate/usr/src/lib/libc/port/fp/
H A Dmuldi3.c104 union uu u, v, low, prod; in ___muldi3() local
140 low.q = __lmulq(u0, v0); in ___muldi3()
157 prod.ul[H] = high + (negmid ? -mid : mid) + low.ul[L] + in ___muldi3()
158 low.ul[H]; in ___muldi3()
159 prod.ul[L] = low.ul[L]; in ___muldi3()
188 ulong_t u1, u0, v1, v0, udiff, vdiff, high, mid, low; in __lmulq() local
198 low = u0 * v0; in __lmulq()
202 return (low); in __lmulq()
233 prodl += LHUP(low); in __lmulq()
234 prodh += HHALF(low) + (prodl < was); in __lmulq()
[all …]
/illumos-gate/usr/src/compat/bhyve/amd64/machine/
H A Dcpufunc.h121 uint32_t low, high; in rdmsr() local
123 __asm __volatile("rdmsr" : "=a" (low), "=d" (high) : "c" (msr)); in rdmsr()
124 return (low | ((uint64_t)high << 32)); in rdmsr()
130 uint32_t low, high; in wrmsr() local
132 low = newval; in wrmsr()
134 __asm __volatile("wrmsr" : : "a" (low), "d" (high), "c" (msr)); in wrmsr()
179 u_int low, high; in rxcr() local
181 __asm __volatile("xgetbv" : "=a" (low), "=d" (high) : "c" (reg)); in rxcr()
182 return (low | ((uint64_t)high << 32)); in rxcr()
188 u_int low, high; in load_xcr() local
[all …]
/illumos-gate/usr/src/common/idspace/
H A Did_space.c71 id_space_create(const char *name, id_t low, id_t high) in id_space_create() argument
78 ASSERT(low >= 0); in id_space_create()
79 ASSERT(low < high); in id_space_create()
81 return (vmem_create(name, ID_TO_ADDR(low), high - low, 1, in id_space_create()
96 id_space_extend(id_space_t *isp, id_t low, id_t high) in id_space_extend() argument
103 (void) vmem_add(isp, ID_TO_ADDR(low), high - low, flag); in id_space_extend()
/illumos-gate/usr/src/lib/iconv_modules/ko/common/
H A Dc2p.c56 short low = 0 ; local
69 Ci_val = (low + high) / 2 ;
70 if (low >= high)
76 else low = Ci_val + 1 ;
128 short low = 0 ; local
141 Ci_val = (low + high) / 2 ;
142 if (low >= high)
148 else low = Ci_val + 1 ;
/illumos-gate/usr/src/boot/sys/amd64/include/
H A Dcpufunc.h354 uint32_t low, high; in rdmsr() local
356 __asm __volatile("rdmsr" : "=a" (low), "=d" (high) : "c" (msr)); in rdmsr()
357 return (low | ((uint64_t)high << 32)); in rdmsr()
363 uint32_t low; in rdmsr32() local
365 __asm __volatile("rdmsr" : "=a" (low) : "c" (msr) : "rdx"); in rdmsr32()
366 return (low); in rdmsr32()
372 uint32_t low, high; in rdpmc() local
374 __asm __volatile("rdpmc" : "=a" (low), "=d" (high) : "c" (pmc)); in rdpmc()
375 return (low | ((uint64_t)high << 32)); in rdpmc()
381 uint32_t low, high; in rdtsc() local
[all …]
/illumos-gate/usr/src/cmd/sgs/gprof/common/
H A Dlookup.c40 size_t low = 0, middle, high = module->nname - 1; in nllookup() local
53 if (keyval < mnl[low].value) { in nllookup()
56 (mnl[low].value - module->txt_origin); in nllookup()
67 while (low != high) { in nllookup()
68 middle = (high + low) >> 1; in nllookup()
83 low = middle + 1; in nllookup()
/illumos-gate/usr/src/uts/common/io/bnx/include/
H A Dlm_defs.h559 u32_t low; member
561 u32_t low;
578 u32_t low; \
580 low = (result)->as_u32.low; \
581 (result)->as_u32.low += (addend32); \
582 if ((result)->as_u32.low < low) \
592 u32_t low; \
594 low = (result)->as_u32.low; \
595 (result)->as_u32.low -= (addend32); \
596 if ((result)->as_u32.low > low) \
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/include/
H A Dlm_defs.h555 u32_t low; member
557 u32_t low;
574 u32_t low; \
576 low = (result)->as_u32.low; \
577 (result)->as_u32.low += (addend32); \
578 if((result)->as_u32.low < low) \
588 u32_t low; \
590 low = (result)->as_u32.low; \
591 (result)->as_u32.low -= (addend32); \
592 if((result)->as_u32.low > low) \
/illumos-gate/usr/src/lib/iconv_modules/vi/common/
H A Dtcvn%UCS-2.c178 int low = 0; in binsearch() local
182 low = 0; in binsearch()
183 while (low <= high) { in binsearch()
184 mid = ((high - low)>>1) + low; in binsearch()
188 low = mid + 1; in binsearch()
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dmoddiv.c38 struct DWstruct {Wtype low, high;}; member
81 d0 = dd.s.low; in __udivmoddi4()
83 n0 = nn.s.low; in __udivmoddi4()
112 rr.s.low = n0; in __udivmoddi4()
131 rr.s.low = n0; in __udivmoddi4()
163 rr.s.low = n0; in __udivmoddi4()
196 rr.s.low = (n1 << b) | (n0 >> bm); in __udivmoddi4()
204 const DWunion ww = {{.low = q0, .high = q1}}; in __udivmoddi4()
/illumos-gate/usr/src/lib/libproc/common/
H A Dproc_arg.c306 proc_lwp_get_range(char *range, id_t *low, id_t *high) in proc_lwp_get_range() argument
309 *low = 0; in proc_lwp_get_range()
311 *low = (id_t)strtol(range, &range, 10); in proc_lwp_get_range()
314 *high = *low; in proc_lwp_get_range()
331 if (*high < *low) { in proc_lwp_get_range()
333 *high = *low; in proc_lwp_get_range()
334 *low = tmp; in proc_lwp_get_range()
357 id_t low, high; in proc_lwp_in_set() local
372 if (proc_lwp_get_range(range, &low, &high) != 0) { in proc_lwp_in_set()
383 if (id >= low && id <= high) in proc_lwp_in_set()
[all …]
/illumos-gate/usr/src/lib/iconv_modules/common/
H A Dtab_lookup.c205 int low, high, mid; in bisearch() local
211 low = 0; in bisearch()
213 while ( low <= high ) { in bisearch()
214 mid = (low + high) / 2; in bisearch()
219 low = mid + 1; in bisearch()
226 low = mid + 1; in bisearch()
/illumos-gate/usr/src/contrib/zlib/
H A Dinftrees.c47 unsigned low; /* low bits for current root entry */ in inflate_table() local
200 low = (unsigned)(-1); /* trigger new sub-table when len > root */ in inflate_table()
254 if (len > root && (huff & mask) != low) { in inflate_table()
279 low = huff & mask; in inflate_table()
280 (*table)[low].op = (unsigned char)curr; in inflate_table()
281 (*table)[low].bits = (unsigned char)root; in inflate_table()
282 (*table)[low].val = (unsigned short)(next - *table); in inflate_table()
/illumos-gate/usr/src/lib/libm/i386/src/
H A Datan2.S36 movl 4(%esp),%eax / low part of y
37 movl 12(%esp),%ecx / low part of x
60 pushl 8(%ebp) / low y
62 pushl 16(%ebp) / low x
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_scf.h135 #define CHK_BDRY_QLOWATER(low, high) !((low) < AQ_MINLOW || (low) >= (high)) argument
136 #define CHK_BDRY_QHIWATER(low, high) !((high) <= (low) || \ argument
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfsimpl.h100 #define BF32_DECODE(x, low, len) P2PHASE((x) >> (low), 1U << (len)) argument
101 #define BF64_DECODE(x, low, len) P2PHASE((x) >> (low), 1ULL << (len)) argument
102 #define BF32_ENCODE(x, low, len) (P2PHASE((x), 1U << (len)) << (low)) argument
103 #define BF64_ENCODE(x, low, len) (P2PHASE((x), 1ULL << (len)) << (low)) argument
105 #define BF32_GET(x, low, len) BF32_DECODE(x, low, len) argument
106 #define BF64_GET(x, low, len) BF64_DECODE(x, low, len) argument
108 #define BF32_SET(x, low, len, val) \ argument
109 ((x) ^= BF32_ENCODE((x >> low) ^ (val), low, len))
110 #define BF64_SET(x, low, len, val) \ argument
111 ((x) ^= BF64_ENCODE((x >> low) ^ (val), low, len))
[all …]
/illumos-gate/usr/src/lib/libc/i386/gen/
H A Dlmul.S44 mull rop(%esp) / high(lop) * low(rop)
48 mull lop(%esp) / high(rop) * low(lop)
52 mull lop(%esp) / low(rop) * low(lop)

12345678910>>...16