/external/llvm-project/libc/test/src/math/ |
D | ceil_test.cpp | 23 EXPECT_FP_EQ(zero, __llvm_libc::ceil(zero)); in TEST() 24 EXPECT_FP_EQ(negZero, __llvm_libc::ceil(negZero)); in TEST() 26 EXPECT_FP_EQ(inf, __llvm_libc::ceil(inf)); in TEST() 27 EXPECT_FP_EQ(negInf, __llvm_libc::ceil(negInf)); in TEST() 30 ASSERT_NE(isnan(__llvm_libc::ceil(nan)), 0); in TEST() 34 EXPECT_FP_EQ(1.0, __llvm_libc::ceil(1.0)); in TEST() 35 EXPECT_FP_EQ(-1.0, __llvm_libc::ceil(-1.0)); in TEST() 36 EXPECT_FP_EQ(10.0, __llvm_libc::ceil(10.0)); in TEST() 37 EXPECT_FP_EQ(-10.0, __llvm_libc::ceil(-10.0)); in TEST() 38 EXPECT_FP_EQ(1234.0, __llvm_libc::ceil(1234.0)); in TEST() [all …]
|
/external/bc/tests/bc/ |
D | lib2.txt | 27 ceil(0, 0) 28 ceil(0, 1) 29 ceil(0, 100) 30 ceil(1, 0) 31 ceil(1, 3) 32 ceil(1.4, 0) 33 ceil(1.5, 0) 34 ceil(34.45, 2) 35 ceil(64.1223, 4) 36 ceil(283.1983893, 6) [all …]
|
/external/jemalloc_new/test/unit/ |
D | extent_quantize.c | 60 size_t lextent_size, extent_size, floor, ceil; in TEST_BEGIN() local 69 ceil = extent_size_quantize_ceil(extent_size); in TEST_BEGIN() 75 assert_zu_eq(extent_size, ceil, in TEST_BEGIN() 109 size_t extent_size, floor, ceil; in TEST_BEGIN() local 113 ceil = extent_size_quantize_ceil(extent_size); in TEST_BEGIN() 117 floor, extent_size, ceil); in TEST_BEGIN() 118 assert_zu_ge(ceil, extent_size, in TEST_BEGIN() 120 "ceil=%zu)", floor, extent_size, ceil); in TEST_BEGIN() 124 floor_prev, floor, extent_size, ceil); in TEST_BEGIN() 125 assert_zu_le(ceil_prev, ceil, "Ceiling should be monotonic " in TEST_BEGIN() [all …]
|
/external/skia/resources/sksl/intrinsics/ |
D | Ceil.sksl | 7 return (ceil(testInputs.x) == expected.x && 8 ceil(testInputs.xy) == expected.xy && 9 ceil(testInputs.xyz) == expected.xyz && 10 ceil(testInputs.xyzw) == expected.xyzw && 11 ceil(constVal.x) == expected.x && 12 ceil(constVal.xy) == expected.xy && 13 ceil(constVal.xyz) == expected.xyz && 14 ceil(constVal.xyzw) == expected.xyzw) ? colorGreen : colorRed;
|
/external/llvm/test/Transforms/InstCombine/ |
D | ceil.ll | 3 declare float @llvm.ceil.f32(float) #0 4 declare double @llvm.ceil.f64(double) #0 5 declare <4 x float> @llvm.ceil.v4f32(<4 x float>) #0 10 %x = call float @llvm.ceil.f32(float 1.00) #0 17 %x = call float @llvm.ceil.f32(float 1.25) #0 24 %x = call float @llvm.ceil.f32(float -1.25) #0 31 …%x = call <4 x float> @llvm.ceil.v4f32(<4 x float> <float 1.00, float 1.25, float -1.25, float -1.… 38 %x = call double @llvm.ceil.f64(double 1.0) #0 45 %x = call double @llvm.ceil.f64(double 1.3) #0 52 %x = call double @llvm.ceil.f64(double -1.75) #0
|
/external/llvm-project/llvm/test/Transforms/InstCombine/ |
D | ceil.ll | 3 declare float @llvm.ceil.f32(float) #0 4 declare double @llvm.ceil.f64(double) #0 5 declare <4 x float> @llvm.ceil.v4f32(<4 x float>) #0 10 %x = call float @llvm.ceil.f32(float 1.00) #0 17 %x = call float @llvm.ceil.f32(float 1.25) #0 24 %x = call float @llvm.ceil.f32(float -1.25) #0 31 …%x = call <4 x float> @llvm.ceil.v4f32(<4 x float> <float 1.00, float 1.25, float -1.25, float -1.… 38 %x = call double @llvm.ceil.f64(double 1.0) #0 45 %x = call double @llvm.ceil.f64(double 1.3) #0 52 %x = call double @llvm.ceil.f64(double -1.75) #0
|
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | cppcoreguidelines-narrowing-conversions.cpp | 7 float ceil(float); 9 double ceil(double); 299 i = std::ceil(0.5); in ok() 302 using std::ceil; in ok() 303 i = ceil(0.5f); in ok() 305 i = ceil(0.5f); in ok() 314 i += std::ceil(0.5); in ok_binary_ops() 317 using std::ceil; in ok_binary_ops() 318 i += ceil(0.5f); in ok_binary_ops() 320 i += ceil(0.5f); in ok_binary_ops()
|
/external/llvm/test/CodeGen/AMDGPU/ |
D | fceil64.ll | 5 declare double @llvm.ceil.f64(double) nounwind readnone 6 declare <2 x double> @llvm.ceil.v2f64(<2 x double>) nounwind readnone 7 declare <3 x double> @llvm.ceil.v3f64(<3 x double>) nounwind readnone 8 declare <4 x double> @llvm.ceil.v4f64(<4 x double>) nounwind readnone 9 declare <8 x double> @llvm.ceil.v8f64(<8 x double>) nounwind readnone 10 declare <16 x double> @llvm.ceil.v16f64(<16 x double>) nounwind readnone 33 %y = call double @llvm.ceil.f64(double %x) nounwind readnone 42 %y = call <2 x double> @llvm.ceil.v2f64(<2 x double> %x) nounwind readnone 52 ; %y = call <3 x double> @llvm.ceil.v3f64(<3 x double> %x) nounwind readnone 63 %y = call <4 x double> @llvm.ceil.v4f64(<4 x double> %x) nounwind readnone [all …]
|
D | fceil.ll | 5 declare float @llvm.ceil.f32(float) nounwind readnone 6 declare <2 x float> @llvm.ceil.v2f32(<2 x float>) nounwind readnone 7 declare <3 x float> @llvm.ceil.v3f32(<3 x float>) nounwind readnone 8 declare <4 x float> @llvm.ceil.v4f32(<4 x float>) nounwind readnone 9 declare <8 x float> @llvm.ceil.v8f32(<8 x float>) nounwind readnone 10 declare <16 x float> @llvm.ceil.v16f32(<16 x float>) nounwind readnone 17 %y = call float @llvm.ceil.f32(float %x) nounwind readnone 29 %y = call <2 x float> @llvm.ceil.v2f32(<2 x float> %x) nounwind readnone 45 %y = call <3 x float> @llvm.ceil.v3f32(<3 x float> %x) nounwind readnone 61 %y = call <4 x float> @llvm.ceil.v4f32(<4 x float> %x) nounwind readnone [all …]
|
/external/llvm-project/llvm/test/CodeGen/AMDGPU/ |
D | fceil64.ll | 5 declare double @llvm.ceil.f64(double) nounwind readnone 6 declare <2 x double> @llvm.ceil.v2f64(<2 x double>) nounwind readnone 7 declare <3 x double> @llvm.ceil.v3f64(<3 x double>) nounwind readnone 8 declare <4 x double> @llvm.ceil.v4f64(<4 x double>) nounwind readnone 9 declare <8 x double> @llvm.ceil.v8f64(<8 x double>) nounwind readnone 10 declare <16 x double> @llvm.ceil.v16f64(<16 x double>) nounwind readnone 34 %y = call double @llvm.ceil.f64(double %x) nounwind readnone 43 %y = call <2 x double> @llvm.ceil.v2f64(<2 x double> %x) nounwind readnone 53 ; %y = call <3 x double> @llvm.ceil.v3f64(<3 x double> %x) nounwind readnone 64 %y = call <4 x double> @llvm.ceil.v4f64(<4 x double> %x) nounwind readnone [all …]
|
D | fceil.ll | 5 declare float @llvm.ceil.f32(float) nounwind readnone 6 declare <2 x float> @llvm.ceil.v2f32(<2 x float>) nounwind readnone 7 declare <3 x float> @llvm.ceil.v3f32(<3 x float>) nounwind readnone 8 declare <4 x float> @llvm.ceil.v4f32(<4 x float>) nounwind readnone 9 declare <8 x float> @llvm.ceil.v8f32(<8 x float>) nounwind readnone 10 declare <16 x float> @llvm.ceil.v16f32(<16 x float>) nounwind readnone 17 %y = call float @llvm.ceil.f32(float %x) nounwind readnone 29 %y = call <2 x float> @llvm.ceil.v2f32(<2 x float> %x) nounwind readnone 45 %y = call <3 x float> @llvm.ceil.v3f32(<3 x float> %x) nounwind readnone 61 %y = call <4 x float> @llvm.ceil.v4f32(<4 x float> %x) nounwind readnone [all …]
|
/external/rust/crates/libm/src/math/ |
D | ceil.rs | 9 pub fn ceil(x: f64) -> f64 { in ceil() function 50 assert_eq!(ceil(1.1), 2.0); in sanity_check() 51 assert_eq!(ceil(2.9), 3.0); in sanity_check() 58 assert!(ceil(NAN).is_nan()); in spec_tests() 60 assert_eq!(ceil(f), f); in spec_tests()
|
/external/skia/tests/sksl/intrinsics/ |
D | Ceil.glsl | 8 …return ((((((ceil(testInputs.x) == expected.x && ceil(testInputs.xy) == expected.xy) && ceil(testI…
|
D | Ceil.metal | 19 …ceil(_uniforms.testInputs.x) == expected.x && all(ceil(_uniforms.testInputs.xy) == expected.xy)) &…
|
/external/llvm/test/CodeGen/Mips/ |
D | call-optimization.ll | 56 ; O32-DAG: lw $25, %call16(ceil) 60 ; O32: lw $25, %call16(ceil) 64 ; O32: lw $25, %call16(ceil) 69 ; O32-LOADTGT-DAG: lw $25, %call16(ceil) 83 %call = tail call double @ceil(double %d) 84 %call1 = tail call double @ceil(double %call) 86 %call2 = tail call double @ceil(double %call1) 91 declare double @ceil(double)
|
/external/XNNPACK/eval/ |
D | f32-roundu.cc | 32 const uint32_t reference_output = fp32_to_bits(std::ceil(inputs[0])); in TEST() 44 const uint32_t reference_output = fp32_to_bits(std::ceil(inputs[0])); in TEST() 60 const uint32_t reference_output = fp32_to_bits(std::ceil(inputs[i])); in TEST() 78 const uint32_t reference_output = fp32_to_bits(std::ceil(inputs[i])); in TEST() 96 const uint32_t reference_output = fp32_to_bits(std::ceil(inputs[i])); in TEST() 114 const uint32_t reference_output = fp32_to_bits(std::ceil(inputs[i])); in TEST() 132 const uint32_t reference_output = fp32_to_bits(std::ceil(inputs[i])); in TEST() 150 const uint32_t reference_output = fp32_to_bits(std::ceil(inputs[i])); in TEST() 164 const uint32_t reference_output = fp32_to_bits(std::ceil(inputs[0])); in TEST() 176 const uint32_t reference_output = fp32_to_bits(std::ceil(inputs[0])); in TEST() [all …]
|
/external/libchrome/ui/gfx/geometry/ |
D | safe_integer_conversions.h | 21 return base::saturated_cast<int>(std::ceil(value)); in ToCeiledInt() 29 return base::saturated_cast<int>(std::ceil(value)); in ToCeiledInt() 37 rounded = std::ceil(value - 0.5f); in ToRoundedInt() 46 rounded = std::ceil(value - 0.5); in ToRoundedInt()
|
/external/llvm-project/llvm/test/CodeGen/PowerPC/ |
D | aix-external-sym-sdnode-lowering.ll | 11 %0 = call double @llvm.ceil.f64(double %n) 15 declare double @llvm.ceil.f64(double) 17 ; 32BIT: BL_NOP &".ceil[PR]" 18 ; 64BIT: BL8_NOP &".ceil[PR]"
|
/external/libcxx/test/std/utilities/time/time.duration/time.duration.cast/ |
D | ceil.pass.cpp | 30 typedef decltype(std::chrono::ceil<ToDuration>(f)) R; in test() 32 assert(std::chrono::ceil<ToDuration>(f) == d); in test() 46 …constexpr std::chrono::hours h1 = std::chrono::ceil<std::chrono::hours>(std::chrono::milliseconds(… in main() 48 …constexpr std::chrono::hours h2 = std::chrono::ceil<std::chrono::hours>(std::chrono::milliseconds(… in main()
|
/external/llvm-project/libcxx/test/std/utilities/time/time.duration/time.duration.cast/ |
D | ceil.pass.cpp | 31 typedef decltype(std::chrono::ceil<ToDuration>(f)) R; in test() 33 assert(std::chrono::ceil<ToDuration>(f) == d); in test() 47 …constexpr std::chrono::hours h1 = std::chrono::ceil<std::chrono::hours>(std::chrono::milliseconds(… in main() 49 …constexpr std::chrono::hours h2 = std::chrono::ceil<std::chrono::hours>(std::chrono::milliseconds(… in main()
|
/external/llvm-project/llvm/test/CodeGen/Mips/ |
D | call-optimization.ll | 56 ; O32-DAG: lw $25, %call16(ceil) 60 ; O32: lw $25, %call16(ceil) 64 ; O32: lw $25, %call16(ceil) 69 ; O32-LOADTGT-DAG: lw $25, %call16(ceil) 83 %call = tail call double @ceil(double %d) 84 %call1 = tail call double @ceil(double %call) 86 %call2 = tail call double @ceil(double %call1) 91 declare double @ceil(double)
|
/external/llvm-project/llvm/test/Analysis/CostModel/X86/ |
D | fround.ll | 16 define i32 @ceil(i32 %arg) { 17 ; SSE2-LABEL: 'ceil' 18 …Model: Found an estimated cost of 10 for instruction: %F32 = call float @llvm.ceil.f32(float undef) 19 … an estimated cost of 43 for instruction: %V4F32 = call <4 x float> @llvm.ceil.v4f32(<4 x float> u… 20 … an estimated cost of 86 for instruction: %V8F32 = call <8 x float> @llvm.ceil.v8f32(<8 x float> u… 21 … estimated cost of 172 for instruction: %V16F32 = call <16 x float> @llvm.ceil.v16f32(<16 x float>… 22 …del: Found an estimated cost of 10 for instruction: %F64 = call double @llvm.ceil.f64(double undef) 23 …an estimated cost of 21 for instruction: %V2F64 = call <2 x double> @llvm.ceil.v2f64(<2 x double> … 24 …an estimated cost of 42 for instruction: %V4F64 = call <4 x double> @llvm.ceil.v4f64(<4 x double> … 25 …an estimated cost of 84 for instruction: %V8F64 = call <8 x double> @llvm.ceil.v8f64(<8 x double> … [all …]
|
/external/llvm-project/llvm/test/Transforms/SLPVectorizer/X86/ |
D | alternate-calls.ll | 19 ; CHECK-NEXT: [[AB0:%.*]] = call float @llvm.ceil.f32(float [[A0]]) 22 ; CHECK-NEXT: [[AB3:%.*]] = call float @llvm.ceil.f32(float [[A3]]) 23 ; CHECK-NEXT: [[AB4:%.*]] = call float @llvm.ceil.f32(float [[A4]]) 24 ; CHECK-NEXT: [[AB5:%.*]] = call float @llvm.ceil.f32(float [[A5]]) 45 %ab0 = call float @llvm.ceil.f32(float %a0) 48 %ab3 = call float @llvm.ceil.f32(float %a3) 49 %ab4 = call float @llvm.ceil.f32(float %a4) 50 %ab5 = call float @llvm.ceil.f32(float %a5) 64 declare float @llvm.ceil.f32(float)
|
/external/llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/ |
D | legalize-ceil.mir | 4 define <8 x half> @test_v8f16.ceil(<8 x half> %a) { 8 define <4 x half> @test_v4f16.ceil(<4 x half> %a) { 14 name: test_v8f16.ceil 23 ; CHECK-LABEL: name: test_v8f16.ceil 57 name: test_v4f16.ceil 66 ; CHECK-LABEL: name: test_v4f16.ceil
|
/external/libnl/python/netlink/route/qdisc/ |
D | htb.py | 65 def ceil(self): member in HTBClass 66 ceil = capi.rtnl_htb_get_ceil(self._class._rtnl_class) 67 return util.Rate(ceil) 69 @ceil.setter 70 def ceil(self, value): member in HTBClass 125 if self.rate != self.ceil:
|