Home
last modified time | relevance | path

Searched refs:halfway (Results 1 – 25 of 34) sorted by relevance

12

/third_party/mbedtls/tests/suites/
Dtest_suite_md.function205 size_t halfway;
215 halfway = src_len / 2;
228 TEST_EQUAL(0, mbedtls_md_update(&ctx, src, halfway));
231 TEST_EQUAL(0, mbedtls_md_update(&ctx, src + halfway, src_len - halfway));
238 TEST_EQUAL(0, mbedtls_md_update(&ctx_copy, src + halfway, src_len - halfway));
255 int halfway;
271 halfway = src_str->len / 2;
275 TEST_EQUAL(0, mbedtls_md_update(&ctx, src_str->x, halfway));
278 TEST_EQUAL(0, mbedtls_md_update(&ctx, src_str->x + halfway, src_str->len - halfway));
285 TEST_EQUAL(0, mbedtls_md_update(&ctx_copy, src_str->x + halfway, src_str->len - halfway));
[all …]
/third_party/skia/third_party/externals/angle2/include/CL/
Dcl_half.h185 uint32_t halfway = 1 << (lsb_pos - 1); in cl_half_from_float() local
186 uint32_t mask = (halfway << 1) - 1; in cl_half_from_float()
190 if ((f_mant & mask) > halfway) in cl_half_from_float()
195 else if ((f_mant & mask) == halfway) in cl_half_from_float()
311 uint64_t halfway = (uint64_t)1 << (lsb_pos - 1); in cl_half_from_double() local
312 uint64_t mask = (halfway << 1) - 1; in cl_half_from_double()
316 if ((d_mant & mask) > halfway) in cl_half_from_double()
321 else if ((d_mant & mask) == halfway) in cl_half_from_double()
/third_party/opencl-headers/CL/
Dcl_half.h185 uint32_t halfway = 1 << (lsb_pos - 1); in cl_half_from_float() local
186 uint32_t mask = (halfway << 1) - 1; in cl_half_from_float()
190 if ((f_mant & mask) > halfway) in cl_half_from_float()
195 else if ((f_mant & mask) == halfway) in cl_half_from_float()
311 uint64_t halfway = (uint64_t)1 << (lsb_pos - 1); in cl_half_from_double() local
312 uint64_t mask = (halfway << 1) - 1; in cl_half_from_double()
316 if ((d_mant & mask) > halfway) in cl_half_from_double()
321 else if ((d_mant & mask) == halfway) in cl_half_from_double()
/third_party/skia/third_party/externals/libjpeg-turbo/
Dtjunittest.c109 int index, row, col, halfway = 16; in initBuf() local
118 buf[index] = (row < halfway) ? 255 : 0; in initBuf()
119 else buf[index] = (row < halfway) ? 76 : 226; in initBuf()
129 if (row >= halfway) buf[index * ps + 3] = 0; in initBuf()
132 if (row < halfway) buf[index * ps + 1] = 0; in initBuf()
143 if (row < halfway) { in initBuf()
150 if (row >= halfway) buf[index * ps + goffset] = 255; in initBuf()
192 int halfway = 16 * sf.num / sf.denom; in checkBuf() local
210 if (row < halfway) CHECKVAL255(k) in checkBuf()
214 if (row < halfway) CHECKVAL0(m) in checkBuf()
[all …]
/third_party/rust/crates/minimal-lexical/src/
Drounding.rs92 let halfway = lower_n_halfway(shift as u64); in round_nearest_tie_even() localVariable
94 let is_above = truncated_bits > halfway; in round_nearest_tie_even()
95 let is_halfway = truncated_bits == halfway; in round_nearest_tie_even()
Dbellerophon.rs260 let halfway = lower_n_halfway(maskbits); in error_is_accurate() localVariable
261 let cmp1 = halfway.wrapping_sub(errors) < extra; in error_is_accurate()
262 let cmp2 = extra < halfway.wrapping_add(errors); in error_is_accurate()
/third_party/python/Lib/test/
Dtest_long.py445 halfway = (int_dbl_max + top_power)//2
448 self.assertEqual(float(halfway-1), DBL_MAX)
449 self.assertRaises(OverflowError, float, halfway)
450 self.assertEqual(float(1-halfway), -DBL_MAX)
451 self.assertRaises(OverflowError, float, -halfway)
472 halfway-1, halfway, halfway + 1,
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-unittests/
Drust_parse_tests.toml362 # 2^-1022 - 2^-1075 : halfway case between normal and subnormal numbers
731 # The following tests check round-down, halfway conditions.
805 # The following tests check round-up, halfway conditions.
879 # The following tests check round-up, above-halfway conditions.
Dstrtod_tests.toml392 # 2^-1022 - 2^-1075 : halfway case between normal and subnormal numbers
/third_party/skia/third_party/externals/abseil-cpp/absl/hash/
Dhash_test.cc283 size_t halfway = sv.size() / 2; in FragmentedCord() local
284 std::vector<absl::string_view> parts = {sv.substr(0, halfway), in FragmentedCord()
285 sv.substr(halfway)}; in FragmentedCord()
/third_party/EGL/extensions/NOK/
DEGL_NOK_texture_from_pixmap.txt119 for a texturing operation, it could be in a state halfway through a
122 other OpenGL application could be halfway through a frame of rendering
/third_party/skia/third_party/externals/egl-registry/extensions/NOK/
DEGL_NOK_texture_from_pixmap.txt119 for a texturing operation, it could be in a state halfway through a
122 other OpenGL application could be halfway through a frame of rendering
/third_party/skia/tests/
DPathTest.cpp4175 SkPoint halfway; in test_contains() local
4177 SkEvalQuadAt(&qPts[index], 0.5f, &halfway, nullptr); in test_contains()
4178 REPORTER_ASSERT(reporter, p.contains(halfway.fX, halfway.fY)); in test_contains()
4193 halfway = conic.evalAt(0.5f); in test_contains()
4194 REPORTER_ASSERT(reporter, p.contains(halfway.fX, halfway.fY)); in test_contains()
4213 SkEvalCubicAt(&pts[i], 0.5f, &halfway, nullptr, nullptr); in test_contains()
4214 REPORTER_ASSERT(reporter, p.contains(halfway.fX, halfway.fY)); in test_contains()
4215 SkEvalCubicAt(&pts[i + 3], 0.5f, &halfway, nullptr, nullptr); in test_contains()
4216 REPORTER_ASSERT(reporter, p.contains(halfway.fX, halfway.fY)); in test_contains()
/third_party/ffmpeg/doc/
Dsnow.txt467 linearly with rounding to nearest and halfway values rounded up.
495 nearest and halfway values rounded up
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_int64.c732 nir_ssa_def *halfway = nir_iand(b, COND_LOWER_CMP(b, ieq, rem, half), in lower_2f() local
736 nir_iand(b, halfway, is_odd)); in lower_2f()
/third_party/openGLES/extensions/EXT/
DGLX_EXT_texture_from_pixmap.txt152 for a texturing operation, it could be in a state halfway through a
155 other OpenGL application could be halfway through a frame of rendering
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DGLX_EXT_texture_from_pixmap.txt152 for a texturing operation, it could be in a state halfway through a
155 other OpenGL application could be halfway through a frame of rendering
/third_party/python/Doc/library/
Dmath.rst283 y``. If ``x / y`` is exactly halfway between two consecutive integers, the
/third_party/openGLES/extensions/ARB/
DARB_clip_control.txt938 to the near value instead of halfway between near and far as in
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_clip_control.txt928 to the near value instead of halfway between near and far as in
/third_party/python/Doc/whatsnew/
D3.0.rst813 changed. Exact halfway cases are now rounded to the nearest even
/third_party/rust/crates/memchr/bench/data/opensubtitles/
Den-medium.txt537 She was halfway up the grade when I left.
1968 She was halfway up the grade when I left.
/third_party/gptfdisk/
DNEWS551 disks, so I'm starting Midnight BSD's numbering halfway through the
/third_party/musl/
DWHATSNEW1168 - rounding errors in printf in some just-over-halfway cases
/third_party/icu/icu4j/perf-tests/data/collation/
Dnvsbl10.txt2296 Behind him as he was halfway up the inn steps he heard a sudden
2809 the street before Marvel was halfway there. They were bolting into
4533 go that way, because of the crowd halfway down it opposite to the

12