/illumos-gate/usr/src/common/bitext/ |
H A D | bitext.c | 27 bitx8(uint8_t reg, uint_t high, uint_t low) in bitx8() argument 31 ASSERT3U(high, >=, low); in bitx8() 32 ASSERT3U(high, <, 8); in bitx8() 35 mask = (1 << (high - low + 1)) - 1; in bitx8() 40 bitx16(uint16_t reg, uint_t high, uint_t low) in bitx16() argument 44 ASSERT3U(high, >=, low); in bitx16() 45 ASSERT3U(high, <, 16); in bitx16() 48 mask = (1 << (high - low + 1)) - 1; in bitx16() 54 bitx32(uint32_t reg, uint_t high, uint_t low) in bitx32() argument 58 ASSERT3U(high, >=, low); in bitx32() [all …]
|
/illumos-gate/usr/src/common/ficl/ |
H A D | double.c | 78 return (x.high < 0); in ficl2IntegerIsNegative() 88 x.high = ~x.high; in ficl2IntegerNegate() 92 x.high++; in ficl2IntegerNegate() 110 ficl2Unsigned resultHi = ficl2UnsignedMultiply(u.high, mul); in ficl2UnsignedMultiplyAccumulate() 111 resultLo.high += resultHi.low; in ficl2UnsignedMultiplyAccumulate() 115 resultLo.high++; in ficl2UnsignedMultiplyAccumulate() 156 x.high--; in ficl2IntegerDecrement() 167 result.high = x.high + y.high; in ficl2UnsignedAdd() 171 result.high++; in ficl2UnsignedAdd() 188 addend.high = 0; /* No sign extension--arguments are unsigned */ in ficl2UnsignedMultiply() [all …]
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ssldap/ |
H A D | errormap.c | 164 PRInt32 high = numStrings - 1; 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() 217 high = i; in SECU_Strerror() 223 if (errNum == errStrings[high].errNum) in SECU_Strerror() 224 return errStrings[high].errString; in SECU_Strerror() 268 PRInt32 high = numStrings - 1; 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/cmd/geniconvtbl/ |
H A D | itm_comp.l | 264 int high; 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() 276 high = mid; in at_name_to_token() 295 int high; in hexadecimal_data() local 325 high = *(seq + j); in hexadecimal_data() 327 if (('0' <= high) && (high <= '9')) { in hexadecimal_data() 328 val = ((high - '0') << 4); in hexadecimal_data() 329 } else if (('a' <= high) && (high <= 'f')) { in hexadecimal_data() [all …]
|
/illumos-gate/usr/src/compat/bhyve/amd64/machine/ |
H A D | cpufunc.h | 121 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 133 high = newval >> 32; 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/util/ |
H A D | multi3.c | 20 di_int high; member 22 di_int high; 41 r.s.high = t >> bits_in_dword_2; in __mulddi3() 46 r.s.high += t >> bits_in_dword_2; in __mulddi3() 47 r.s.high += (a >> bits_in_dword_2) * (b >> bits_in_dword_2); in __mulddi3() 61 r.s.high += x.s.high * y.s.low + x.s.low * y.s.high; in __multi3()
|
H A D | ctzdi2.c | 55 int high; member 57 int high; 69 return (__builtin_ctz((x.s.high & f) | (x.s.low & ~f)) + in __ctzdi2()
|
/illumos-gate/usr/src/lib/iconv_modules/ko/common/ |
H A D | c2p.c | 55 short high = CI_CNT ; local 69 Ci_val = (low + high) / 2 ; 70 if (low >= high) 73 high = Ci_val - 1 ; 127 short high = CI_CNT ; local 141 Ci_val = (low + high) / 2 ; 142 if (low >= high) 145 high = Ci_val - 1 ;
|
/illumos-gate/usr/src/lib/libc/port/fp/ |
H A D | muldi3.c | 105 ulong_t high, mid, udiff, vdiff; in ___muldi3() local 152 high = u1 * v1; in ___muldi3() 157 prod.ul[H] = high + (negmid ? -mid : mid) + low.ul[L] + in ___muldi3() 188 ulong_t u1, u0, v1, v0, udiff, vdiff, high, mid, low; in __lmulq() local 214 high = u1 * v1; in __lmulq() 217 prodh = high + HHALF(high); in __lmulq() 218 prodl = LHUP(high); in __lmulq()
|
/illumos-gate/usr/src/cmd/sgs/gprof/common/ |
H A D | lookup.c | 40 size_t low = 0, middle, high = module->nname - 1; in nllookup() local 61 if (keyval >= mnl[high].value) { in nllookup() 64 return (&mnl[high]); in nllookup() 67 while (low != high) { in nllookup() 68 middle = (high + low) >> 1; in nllookup() 81 high = middle; in nllookup()
|
/illumos-gate/usr/src/lib/libc/i386/gen/ |
H A D | lmul.S | 44 mull rop(%esp) / high(lop) * low(rop) 45 movl %eax,%ecx / partial high(product) 48 mull lop(%esp) / high(rop) * low(lop) 49 addl %eax,%ecx / partial sum of high(product) 53 addl %edx,%ecx / final high(product)
|
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | audit_scf.h | 135 #define CHK_BDRY_QLOWATER(low, high) !((low) < AQ_MINLOW || (low) >= (high)) argument 136 #define CHK_BDRY_QHIWATER(low, high) !((high) <= (low) || \ argument 137 (high) < AQ_LOWATER || \ 138 (high) > AQ_MAXHIGH)
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | moddiv.c | 38 struct DWstruct {Wtype low, high;}; member 82 d1 = dd.s.high; in __udivmoddi4() 84 n1 = nn.s.high; in __udivmoddi4() 113 rr.s.high = 0; in __udivmoddi4() 132 rr.s.high = n1; in __udivmoddi4() 164 rr.s.high = n1; in __udivmoddi4() 197 rr.s.high = n1 >> bm; in __udivmoddi4() 204 const DWunion ww = {{.low = q0, .high = q1}}; in __udivmoddi4()
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | proc_arg.c | 306 proc_lwp_get_range(char *range, id_t *low, id_t *high) in proc_lwp_get_range() argument 314 *high = *low; in proc_lwp_get_range() 323 *high = INT_MAX; in proc_lwp_get_range() 325 *high = (id_t)strtol(range, &range, 10); in proc_lwp_get_range() 331 if (*high < *low) { in proc_lwp_get_range() 332 id_t tmp = *high; in proc_lwp_get_range() 333 *high = *low; 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/boot/sys/amd64/include/ |
H A D | cpufunc.h | 354 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() 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 383 __asm __volatile("rdtsc" : "=a" (low), "=d" (high)); in rdtsc() 384 return (low | ((uint64_t)high << 32)); in rdtsc() 411 uint32_t low, high; in wrmsr() local [all …]
|
/illumos-gate/usr/src/lib/iconv_modules/common/ |
H A D | tab_lookup.c | 205 int low, high, mid; in bisearch() local 212 high = n - 1; in bisearch() 213 while ( low <= high ) { in bisearch() 214 mid = (low + high) / 2; in bisearch() 217 high = mid - 1; in bisearch() 224 high = mid - 1; in bisearch()
|
/illumos-gate/usr/src/common/idspace/ |
H A D | id_space.c | 71 id_space_create(const char *name, id_t low, id_t high) in id_space_create() argument 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/cmd/zonestat/zonestat/ |
H A D | zonestat.c | 628 uint64_t high; in format_uint64() local 640 high = val / 1024; in format_uint64() 641 low = val * 10 / 1024 - (high * 10); in format_uint64() 642 (void) snprintf(str, len, "%llu%1.1lluK", high, low); in format_uint64() 647 high = val; in format_uint64() 648 (void) snprintf(str, len, "%lluK", high); in format_uint64() 652 high = val / 1024; in format_uint64() 653 low = val * 10 / 1024 - (high * 10); in format_uint64() 654 (void) snprintf(str, len, "%llu.%1.1lluM", high, low); in format_uint64() 659 high = val; in format_uint64() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/nopwrite/ |
H A D | nopwrite.shlib | 28 typeset high=99 47 high=98 56 within_percent $origin_used $clone_refer $high || return 1 57 within_percent $origin_used $snap_refer $high || return 1 64 within_percent $deadlist $clone_written $high || return 1 65 within_percent $snap_refer $snap_written $high || return 1
|
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/ |
H A D | acpidev_resource.c | 433 uint_t high; in acpidev_resource_address64() local 442 high = ACPIDEV_REG_TYPE_MEMORY; in acpidev_resource_address64() 444 high |= ACPIDEV_REG_SUB_DEC; in acpidev_resource_address64() 447 high |= ACPIDEV_REG_TRANSLATED; in acpidev_resource_address64() 450 high |= ACPIDEV_REG_MEM_COHERENT_NC; in acpidev_resource_address64() 452 high |= ACPIDEV_REG_MEM_COHERENT_CA; in acpidev_resource_address64() 455 high |= ACPIDEV_REG_MEM_COHERENT_WC; in acpidev_resource_address64() 458 high |= ACPIDEV_REG_MEM_COHERENT_PF; in acpidev_resource_address64() 467 high |= ACPIDEV_REG_MEM_WRITABLE; in acpidev_resource_address64() 475 reg.phys_hi = high; in acpidev_resource_address64() [all …]
|
/illumos-gate/usr/src/lib/iconv_modules/zh/common/ |
H A D | zh_CN.euc%zh_TW-big5.c | 198 int low, high, mid; in binsearch() local 201 high = n - 1; in binsearch() 202 while (low <= high) { in binsearch() 203 mid = (low + high) >> 1; in binsearch() 205 high = mid - 1; in binsearch()
|
H A D | zh_HK.hkscs%zh_TW-big5p.c | 199 int low, high, mid; in binsearch() local 202 high = n - 1; in binsearch() 203 while (low <= high) { in binsearch() 204 mid = (low + high) >> 1; in binsearch() 206 high = mid - 1; in binsearch()
|
H A D | zh_TW-big5%zh_CN.gbk.c | 198 int low, high, mid; in binsearch() local 201 high = n - 1; in binsearch() 202 while (low <= high) { in binsearch() 203 mid = (low + high) >> 1; in binsearch() 205 high = mid - 1; in binsearch()
|
H A D | zh_TW-big5p%zh_CN.gbk.c | 198 int low, high, mid; in binsearch() local 201 high = n - 1; in binsearch() 202 while (low <= high) { in binsearch() 203 mid = (low + high) >> 1; in binsearch() 205 high = mid - 1; in binsearch()
|
H A D | zh_TW-big5p%zh_HK.hkscs.c | 197 int low, high, mid; in binsearch() local 200 high = n - 1; in binsearch() 201 while (low <= high) { in binsearch() 202 mid = (low + high) >> 1; in binsearch() 204 high = mid - 1; in binsearch()
|