Home
last modified time | relevance | path

Searched refs:half (Results 1 – 25 of 296) 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/contrib/llvm-project/clang/lib/Headers/hlsl/
H A Dhlsl_intrinsics.h63 __detail::is_same<half, T>::value,
72 __detail::is_same<half, T>::value,
126 __detail::is_same<half, T>::value,
135 __detail::is_same<half, T>::value,
153 __detail::is_same<half, T>::value,
167 const inline half distance(__detail::HLSL_FIXED_VECTOR<half, N> X, in distance() argument
168 __detail::HLSL_FIXED_VECTOR<half, N> Y) { in distance()
235 __detail::is_same<half, T>::value,
249 const inline __detail::HLSL_FIXED_VECTOR<half, L> faceforward( in faceforward() argument
250 __detail::HLSL_FIXED_VECTOR<half, L> N, in faceforward()
[all …]
H A Dhlsl_alias_intrinsics.h72 half abs(half);
139 half acos(half);
217 bool all(half);
351 bool any(half);
454 half asin(half);
484 half atan(half);
516 half atan2(half y, half x);
547 half ceil(half);
584 half clamp(half, half, half);
704 half cos(half);
[all …]
H A Dhlsl_basic_types.h28 typedef half float16_t;
89 typedef vector<half, 1> half1;
90 typedef vector<half, 2> half2;
91 typedef vector<half, 3> half3;
92 typedef vector<half, 4> half4;
/freebsd/crypto/openssl/test/
H A Dpoly1305_internal_test.c1135 size_t half = inlen / 2; in test_poly1305() local
1138 Poly1305_Update(&poly1305, in, half); in test_poly1305()
1139 Poly1305_Update(&poly1305, in + half, inlen - half); in test_poly1305()
1147 for (half = 16; half < inlen; half += 16) { in test_poly1305()
1149 Poly1305_Update(&poly1305, in, half); in test_poly1305()
1150 Poly1305_Update(&poly1305, in + half, inlen - half); in test_poly1305()
1155 idx, half, inlen - half); in test_poly1305()
H A Dsiphash_internal_test.c223 size_t half = inlen / 2;
228 SipHash_Update(&siphash, in, half);
229 SipHash_Update(&siphash, in + half, inlen - half);
238 for (half = 16; half < inlen; half += 16) {
242 SipHash_Update(&siphash, in, half);
243 SipHash_Update(&siphash, in + half, inlen - half);
1887 size_t half = inlen / 2; test_siphash() local
[all...]
/freebsd/usr.bin/m4/tests/
H A Dregress.quotes.out5 half quoted string
12 `half quoted STRING
19 `half quoted STRING
26 `half quoted STRING
32 half quoted stringgoing up to that STRING'
39 half quoted string
46 `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 Ds_rsqrtf.c72 static const float half = 0.5; in rsqrtf() local
140 _XADD(-ph, -pl, half, 0, rh, rl); in rsqrtf()
149 _XADD(-ph, -pl, half, 0, rh, rl); in rsqrtf()
155 _XADD(-ph, -pl, half, 0, rh, rl); in rsqrtf()
H A Ds_rsqrtl.c75 static const double half = 0.5; in rsqrtl() local
125 _XADD(-ph, -pl, half, 0, rh, rl); in rsqrtl()
144 static const double half = 0.5; in rsqrtl() local
195 _XADD(ph, pl, half, 0, rh, rl); in rsqrtl()
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.c56 int half = (halfp[0] << 8) + halfp[1]; in _cbor_decode_half() local
57 int exp = (half >> 10) & 0x1f; in _cbor_decode_half()
58 int mant = half & 0x3ff; in _cbor_decode_half()
66 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/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/crypto/openssl/doc/man3/
H A DBIO_s_bio.pod40 BIOs where data written to either half of the pair is buffered and can be read from
41 the other half. Both halves must usually by handled by the same application thread
45 one half of a BIO pair and have all the data processed by the chain under application
66 up any half of the pair will automatically destroy the association.
70 half of the pair will return any pending data or EOF when all pending data has
94 last read attempt at the other half of the BIO pair failed due to an
147 Both halves of a BIO pair should be freed. That is even if one half is implicit
148 freed due to a BIO_free_all() or SSL_free() call the other half needs to be freed.
152 on the other half of the pair and, if any data is pending, reading it and sending
/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