Home
last modified time | relevance | path

Searched refs:half (Results 1 – 25 of 285) sorted by relevance

12345678910>>...12

/freebsd/contrib/libdivsufsort/lib/
H A Dutils.c36 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 Dsssort.c507 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 Dpoly1305_internal_test.c1135 size_t half = inlen / 2;
1138 Poly1305_Update(&poly1305, in, half);
1139 Poly1305_Update(&poly1305, in + half, inlen - half);
1147 for (half = 16; half < inlen; half += 16) {
1149 Poly1305_Update(&poly1305, in, half);
1150 Poly1305_Update(&poly1305, in + half, inlen - half);
1542 size_t half = inlen / 2; test_poly1305() local
[all...]
H A Dsiphash_internal_test.c1887 size_t half = inlen / 2;
1892 SipHash_Update(&siphash, in, half);
1893 SipHash_Update(&siphash, in + half, inlen - half);
1902 for (half = 16; half < inlen; half += 16) {
1906 SipHash_Update(&siphash, in, half);
1907 SipHash_Update(&siphash, in + half, inlen - half);
222 size_t half = inlen / 2; test_siphash() local
[all...]
/freebsd/contrib/llvm-project/clang/lib/Headers/hlsl/
H A Dhlsl_intrinsics.h63 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 Dhlsl_basic_types.h61 typedef vector<half, 2> half2;
62 typedef vector<half, 3> half3;
63 typedef vector<half, 4> half4;
/freebsd/usr.bin/m4/tests/
H A Dregress.quotes.out7 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 Dquotes.m48 `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 Dopencl-c.h5465 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 …]
/freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/
H A Dcirrus,clps711x-intc.txt24 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 De_coshf.c19 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 De_cosh.c39 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 Dk_sin.c47 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 Dloaders.c52 /* 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 Dstrcspn.S238 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/contrib/netbsd-tests/lib/libc/gen/
H A Dt_closefrom.c84 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/sys/contrib/openzfs/include/sys/
H A Dbtree.h155 uint32_t half = nelems / 2; \
156 nelems -= half; \
157 i += (COMP(&i[half - 1], value) < 0) * half; \
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoZfh.td10 // 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 DBuiltinsWebAssembly.def138 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 DBIO_s_bio.pod34 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
H A DBIO_s_dgram_pair.pod45 The BIO datagram pair allows each half of a pair to signal to the other half
58 Freeing either half of the pair will automatically destroy the association.
93 truncation mode for the given half of a BIO datagram pair. When no-truncate mode
109 when receiving on the other half of the pair. If the BIO is used in a call to
129 other L<BIO_ctrl(3)> operation, on either half of a BIO datagram pair while any
130 other BIO call is also in progress to either half of the same BIO datagram pair
142 Each half of a BIO datagram pair can have capability flags set on it which
196 indicate that the application using that half of a BIO datagram pair promises to
198 that half of the BIO datagram pair. However, these capability flags do not
/freebsd/lib/msun/ld80/
H A Dk_sinl.c20 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 Dk_sinl.c20 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 Dfp_div_impl.inc20 // 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 Dvs_split.c46 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()

12345678910>>...12