/freebsd/contrib/libdivsufsort/lib/ |
H A D | utils.c | 36 saidx_t half, i; in binarysearch_lower() local 37 for(i = 0, half = size >> 1; in binarysearch_lower() 39 size = half, half >>= 1) { in binarysearch_lower() 40 if(A[i + half] < value) { in binarysearch_lower() 41 i += half + 1; in binarysearch_lower() 42 half -= (size & 1) ^ 1; in binarysearch_lower() 263 saidx_t size, lsize, rsize, half; in sa_search() local 275 for(i = j = k = 0, lmatch = rmatch = 0, size = SAsize, half = size >> 1; in sa_search() 277 size = half, half >>= 1) { in sa_search() 279 r = _compare(T, Tsize, P, Psize, SA[i + half], &match); in sa_search() [all …]
|
H A D | sssort.c | 507 saidx_t len, half; in ss_inplacemerge() local 514 for(a = first, len = middle - first, half = len >> 1, r = -1; in ss_inplacemerge() 516 len = half, half >>= 1) { in ss_inplacemerge() 517 b = a + half; in ss_inplacemerge() 521 half -= (len & 1) ^ 1; in ss_inplacemerge() 671 saidx_t m, len, half; in ss_swapmerge() local 694 for(m = 0, len = MIN(middle - first, last - middle), half = len >> 1; in ss_swapmerge() 696 len = half, half >>= 1) { in ss_swapmerge() 697 if(ss_compare(T, PA + GETIDX(*(middle + m + half)), in ss_swapmerge() 698 PA + GETIDX(*(middle - m - half - 1)), depth) < 0) { in ss_swapmerge() [all …]
|
/freebsd/crypto/openssl/test/ |
H A D | poly1305_internal_test.c | 1542 size_t half = inlen / 2; in test_poly1305() local 1545 Poly1305_Update(&poly1305, in, half); in test_poly1305() 1546 Poly1305_Update(&poly1305, in+half, inlen-half); in test_poly1305() 1554 for (half = 16; half < inlen; half += 16) { in test_poly1305() 1556 Poly1305_Update(&poly1305, in, half); in test_poly1305() 1557 Poly1305_Update(&poly1305, in+half, inlen-half); in test_poly1305() 1562 idx, half, inlen-half); in test_poly1305()
|
H A D | siphash_internal_test.c | 222 size_t half = inlen / 2; in test_siphash() local 227 SipHash_Update(&siphash, in, half); in test_siphash() 228 SipHash_Update(&siphash, in+half, inlen-half); in test_siphash() 237 for (half = 16; half < inlen; half += 16) { in test_siphash() 241 SipHash_Update(&siphash, in, half); in test_siphash() 242 SipHash_Update(&siphash, in+half, inlen-half); in test_siphash() 248 idx, half, inlen-half); in test_siphash()
|
/freebsd/contrib/llvm-project/clang/lib/Headers/hlsl/ |
H A D | hlsl_intrinsics.h | 63 half abs(half); 120 half acos(half); 175 bool all(half); 287 bool any(half); 372 half asin(half); 400 half atan(half); 429 half ceil(half); 466 half clamp(half, half, half); 569 half cos(half); 599 half cosh(half); [all …]
|
H A D | hlsl_basic_types.h | 61 typedef vector<half, 2> half2; 62 typedef vector<half, 3> half3; 63 typedef vector<half, 4> half4;
|
/freebsd/usr.bin/m4/tests/ |
H A D | regress.quotes.out | 7 half quoted string 14 `half quoted STRING 21 `half quoted STRING 28 `half quoted STRING 34 half quoted stringgoing up to that STRING' 41 half quoted string 48 `half quoted string
|
H A D | quotes.m4 | 8 `half quoted string 16 `half quoted string 24 `half quoted string 32 `half quoted string 40 `half quoted string 48 `half quoted string 56 `half quoted string
|
/freebsd/contrib/llvm-project/clang/lib/Headers/ |
H A D | opencl-c.h | 5465 uchar __ovld __cnfn convert_uchar(half); 5466 uchar __ovld __cnfn convert_uchar_rte(half); 5467 uchar __ovld __cnfn convert_uchar_rtp(half); 5468 uchar __ovld __cnfn convert_uchar_rtn(half); 5469 uchar __ovld __cnfn convert_uchar_rtz(half); 5470 uchar __ovld __cnfn convert_uchar_sat(half); 5471 uchar __ovld __cnfn convert_uchar_sat_rte(half); 5472 uchar __ovld __cnfn convert_uchar_sat_rtp(half); 5473 uchar __ovld __cnfn convert_uchar_sat_rtn(half); 5474 uchar __ovld __cnfn convert_uchar_sat_rtz(half); [all …]
|
H A D | opencl-c-base.h | 214 typedef half half2 __attribute__((ext_vector_type(2))); 215 typedef half half3 __attribute__((ext_vector_type(3))); 216 typedef half half4 __attribute__((ext_vector_type(4))); 217 typedef half half8 __attribute__((ext_vector_type(8))); 218 typedef half half16 __attribute__((ext_vector_type(16))); 232 #define __half half 639 #define as_half(x) __builtin_astype((x), half)
|
/freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/ |
H A D | cirrus,clps711x-intc.txt | 24 12: UTXINT1 UART1 transmit FIFO half empty 25 13: URXINT1 UART1 receive FIFO half full 29 17: SS2RX SSI2 receive FIFO half or greater full 30 18: SS2TX SSI2 transmit FIFO less than half empty 31 28: UTXINT2 UART2 transmit FIFO half empty 32 29: URXINT2 UART2 receive FIFO half full
|
/freebsd/lib/msun/src/ |
H A D | e_coshf.c | 19 static const float one = 1.0, half=0.5, huge = 1.0e30; variable 44 return half*t+half/t; in coshf() 48 if (ix < 0x42b17217) return half*expf(fabsf(x)); in coshf()
|
H A D | e_cosh.c | 39 static const double one = 1.0, half=0.5, huge = 1.0e300; variable 65 return half*t+half/t; in cosh() 69 if (ix < 0x40862E42) return half*exp(fabs(x)); in cosh()
|
H A D | k_sin.c | 47 half = 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */ variable 65 else return x-((z*(half*y-v*r)-y)-v*S1); in __kernel_sin()
|
/freebsd/contrib/libcbor/src/cbor/internal/ |
H A D | loaders.c | 52 /* As per https://www.rfc-editor.org/rfc/rfc8949.html#name-half-precision */ 54 int half = (halfp[0] << 8) + halfp[1]; in _cbor_decode_half() local 55 int exp = (half >> 10) & 0x1f; in _cbor_decode_half() 56 int mant = half & 0x3ff; in _cbor_decode_half() 64 return (float)(half & 0x8000 ? -val : val); in _cbor_decode_half()
|
/freebsd/lib/libc/amd64/string/ |
H A D | strcspn.S | 238 3: lea -16(%rax), %rax # go back to second half 263 pcmpistri $0, %xmm0, %xmm3 # match in second set half? 264 cmp %ecx, %eax # before the first half match? 273 pcmpistri $0, %xmm0, %xmm2 # match in first set half? 275 pcmpistri $0, %xmm0, %xmm3 # match in second set half or end of string? 281 jb 4f # match in first set half? 283 jbe 1f # match in second set half or end of string? 287 jb 3f # match in first set half? 289 ja 0b # neither match in 2nd half nor string end? 292 lea -16(%rax), %rax # go back to second half [all …]
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | btree.h | 154 uint32_t half = nelems / 2; \ 155 nelems -= half; \ 156 i += (COMP(&i[half - 1], value) < 0) * half; \
|
/freebsd/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_closefrom.c | 84 int buf[16], cur, half; in ATF_TC_BODY() local 104 half = STDERR_FILENO + __arraycount(buf) / 2; in ATF_TC_BODY() 105 ATF_REQUIRE(closefrom(half) == 0); in ATF_TC_BODY() 108 ATF_REQUIRE(cur == half - 1); in ATF_TC_BODY()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVInstrInfoZfh.td | 10 // half-precision floating-point extension, version 1.0. 465 // half->[u]int. Round-to-zero must be used. 469 // Saturating half->[u]int32. 473 // half->int32 with current rounding mode. 476 // half->int32 rounded to nearest with ties rounded away from zero. 479 // [u]int->half. Match GCC and default to using dynamic rounding mode. 485 // half->[u]int. Round-to-zero must be used. 493 // half->int32 with current rounding mode. 496 // half->int32 rounded to nearest with ties rounded away from zero. 499 // [u]int->half. Match GCC and default to using dynamic rounding mode. [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | BuiltinsWebAssembly.def | 138 TARGET_BUILTIN(__builtin_wasm_min_f16x8, "V8hV8hV8h", "nc", "half-precision") 139 TARGET_BUILTIN(__builtin_wasm_max_f16x8, "V8hV8hV8h", "nc", "half-precision") 140 TARGET_BUILTIN(__builtin_wasm_pmin_f16x8, "V8hV8hV8h", "nc", "half-precision") 141 TARGET_BUILTIN(__builtin_wasm_pmax_f16x8, "V8hV8hV8h", "nc", "half-precision") 173 TARGET_BUILTIN(__builtin_wasm_relaxed_madd_f16x8, "V8hV8hV8hV8h", "nc", "half-precision") 174 TARGET_BUILTIN(__builtin_wasm_relaxed_nmadd_f16x8, "V8hV8hV8hV8h", "nc", "half-precision") 200 TARGET_BUILTIN(__builtin_wasm_loadf16_f32, "fh*", "nU", "half-precision") 201 TARGET_BUILTIN(__builtin_wasm_storef16_f32, "vfh*", "n", "half-precision") 202 TARGET_BUILTIN(__builtin_wasm_splat_f16x8, "V8hf", "nc", "half-precision") 203 TARGET_BUILTIN(__builtin_wasm_extract_lane_f16x8, "fV8hi", "nc", "half-precision")
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | BIO_s_bio.pod | 34 BIOs where data written to either half of the pair is buffered and can be read from 35 the other half. Both halves must usually by handled by the same application thread 39 one half of a BIO pair and have all the data processed by the chain under application 60 up any half of the pair will automatically destroy the association. 64 half of the pair will return any pending data or EOF when all pending data has 88 last read attempt at the other half of the BIO pair failed due to an 103 Both halves of a BIO pair should be freed. That is even if one half is implicit 104 freed due to a BIO_free_all() or SSL_free() call the other half needs to be freed. 108 on the other half of the pair and, if any data is pending, reading it and sending
|
/freebsd/lib/msun/ld80/ |
H A D | k_sinl.c | 20 half = 0.5; variable 57 else return x-((z*(half*y-v*r)-y)-v*S1); in __kernel_sinl()
|
/freebsd/lib/msun/ld128/ |
H A D | k_sinl.c | 20 half = 0.5; variable 54 else return x-((z*(half*y-v*r)-y)-v*S1); in __kernel_sinl()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/ |
H A D | fp_div_impl.inc | 20 // it is done for float32 by default) and (N-1) half-width iteration plus one 21 // final full-width iteration. It is expected that half-width integer 28 // rep_t-sized bitmask with lower half of bits set to ones 131 // rep_t-sized iterations may be slower than the corresponding half-width 134 // NB: Using half-width iterations increases computation errors due to 138 // Starting with (n-1) half-width iterations 146 // Use 16-bit initial estimation in case we are using half-width iterations 179 // For half-width iterations, b_hw is used instead of b. 219 // For initial half-width iterations, U = 2^-HW 267 // <--- higher half ---><--- lower half ---> [all …]
|
/freebsd/contrib/nvi/vi/ |
H A D | vs_split.c | 46 size_t half; in vs_split() local 71 half = sp->rows / 2; in vs_split() 72 if (ccl && half > 6) in vs_split() 73 half = 6; in vs_split() 96 !ccl && (vs_sm_cursor(sp, &smp) ? 0 : (smp - HMAP) + 1) >= half; in vs_split() 98 new->rows = sp->rows - half; /* New. */ in vs_split() 100 sp->rows = half; /* Old. */ in vs_split() 110 new->rows = half; /* New. */ in vs_split() 111 sp->rows -= half; /* Old. */ in vs_split()
|