Home
last modified time | relevance | path

Searched refs:ceil (Results 1 – 25 of 450) sorted by relevance

12345678910>>...18

/external/jemalloc/test/unit/
Drun_quantize.c60 size_t lrun_size, run_size, floor, ceil; in TEST_BEGIN() local
68 ceil = run_quantize_ceil(run_size); in TEST_BEGIN()
73 assert_zu_eq(run_size, ceil, in TEST_BEGIN()
115 size_t run_size, floor, ceil; in TEST_BEGIN() local
119 ceil = run_quantize_ceil(run_size); in TEST_BEGIN()
123 floor, run_size, ceil); in TEST_BEGIN()
124 assert_zu_ge(ceil, run_size, in TEST_BEGIN()
126 floor, run_size, ceil); in TEST_BEGIN()
130 floor_prev, floor, run_size, ceil); in TEST_BEGIN()
131 assert_zu_le(ceil_prev, ceil, "Ceiling should be monotonic " in TEST_BEGIN()
[all …]
/external/llvm/test/Transforms/InstCombine/
Dceil.ll3 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/test/CodeGen/AMDGPU/
Dfceil64.ll5 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 …]
Dfceil.ll5 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/test/CodeGen/Mips/
Dcall-optimization.ll56 ; 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/libcxx/test/std/utilities/time/time.duration/time.duration.cast/
Dceil.pass.cpp30 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/libnl/python/netlink/route/qdisc/
Dhtb.py65 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:
/external/llvm/test/CodeGen/ARM/
Dno-tail-call.ll8 declare float @llvm.ceil.f32(float)
10 ; Check that we are not emitting a tail call for the last call to ceil.
38 %5 = call float @llvm.ceil.f32(float 5.000000e+00)
42 %7 = call float @llvm.ceil.f32(float %6)
48 ; Check that we are not emitting a tail call for the last call to ceil.
76 %5 = call float @llvm.ceil.f32(float 5.000000e+00)
80 %7 = call float @llvm.ceil.f32(float %6)
/external/llvm/test/CodeGen/SystemZ/
Dfp-round-01.ll83 ; Test ceil for f32.
84 declare float @llvm.ceil.f32(float %f)
89 %res = call float @llvm.ceil.f32(float %f)
93 ; Test ceil for f64.
94 declare double @llvm.ceil.f64(double %f)
97 ; CHECK: brasl %r14, ceil@PLT
99 %res = call double @llvm.ceil.f64(double %f)
103 ; Test ceil for f128: omitted for now because we cannot handle
Dfp-round-02.ll105 ; Test ceil for f32.
106 declare float @llvm.ceil.f32(float %f)
111 %res = call float @llvm.ceil.f32(float %f)
115 ; Test ceil for f64.
116 declare double @llvm.ceil.f64(double %f)
121 %res = call double @llvm.ceil.f64(double %f)
125 ; Test ceil for f128.
126 declare fp128 @llvm.ceil.f128(fp128 %f)
132 %res = call fp128 @llvm.ceil.f128(fp128 %src)
/external/iproute2/tc/
Dq_htb.c223 opt.ceil.rate = (ceil64 >= (1ULL << 32)) ? ~0U : ceil64; in htb_parse_class_opt()
232 opt.ceil.overhead = overhead; in htb_parse_class_opt()
235 opt.ceil.mpu = mpu; in htb_parse_class_opt()
244 if (tc_calc_rtable(&opt.ceil, ctab, ccell_log, mtu, linklayer) < 0) { in htb_parse_class_opt()
300 ceil64 = hopt->ceil.rate; in htb_print_opt()
323 1<<hopt->ceil.cell_log, in htb_print_opt()
324 sprint_size(hopt->ceil.mpu&0xFF, b2), in htb_print_opt()
325 sprint_size((hopt->ceil.mpu>>8)&0xFF, b3)); in htb_print_opt()
/external/llvm/test/CodeGen/PowerPC/
Dvec_rounding.ll31 declare <2 x double> @llvm.ceil.v2f64(<2 x double> %p)
34 %t = call <2 x double> @llvm.ceil.v2f64(<2 x double> %p)
41 declare <4 x double> @llvm.ceil.v4f64(<4 x double> %p)
44 %t = call <4 x double> @llvm.ceil.v4f64(<4 x double> %p)
117 declare <4 x float> @llvm.ceil.v4f32(<4 x float> %p)
120 %t = call <4 x float> @llvm.ceil.v4f32(<4 x float> %p)
126 declare <8 x float> @llvm.ceil.v8f32(<8 x float> %p)
129 %t = call <8 x float> @llvm.ceil.v8f32(<8 x float> %p)
Dqpx-rounding-ops.ll59 %call = tail call <4 x float> @llvm.ceil.v4f32(<4 x float> %x) nounwind readnone
69 declare <4 x float> @llvm.ceil.v4f32(<4 x float>) nounwind readnone
72 %call = tail call <4 x double> @llvm.ceil.v4f64(<4 x double> %x) nounwind readnone
82 declare <4 x double> @llvm.ceil.v4f64(<4 x double>) nounwind readnone
/external/llvm/test/ExecutionEngine/Interpreter/
Dintrinsics.ll10 declare float @llvm.ceil.f32(float)
11 declare double @llvm.ceil.f64(double)
26 %ceil32 = call float @llvm.ceil.f32(float 0.000000e+00)
27 %ceil64 = call double @llvm.ceil.f64(double 0.000000e+00)
/external/swiftshader/third_party/LLVM/utils/lit/lit/
DUtil.py102 power = int(math.ceil(math.log(maxValue, 10)))
105 N = int(math.ceil(maxValue / barH))
124 pDigits = int(math.ceil(math.log(maxValue, 10)))
128 cDigits = int(math.ceil(math.log(len(items), 10)))
/external/libnl/lib/route/qdisc/
Dhtb.c88 rtnl_copy_ratespec(&htb->ch_ceil, &opts.ceil); in htb_class_msg_parser()
92 opts.ceil.rate); in htb_class_msg_parser()
233 rtnl_rcopy_ratespec(&opts.ceil, &htb->ch_ceil); in htb_class_msg_fill()
239 memcpy(&opts.ceil, &opts.rate, sizeof(struct tc_ratespec)); in htb_class_msg_fill()
252 cbuffer = opts.ceil.rate / nl_get_psched_hz() + mtu; /* XXX */ in htb_class_msg_fill()
254 opts.cbuffer = nl_us2ticks(rtnl_tc_calc_txtime(cbuffer, opts.ceil.rate)); in htb_class_msg_fill()
438 int rtnl_htb_set_ceil(struct rtnl_class *class, uint32_t ceil) in rtnl_htb_set_ceil() argument
446 htb->ch_ceil.rs_rate = ceil; in rtnl_htb_set_ceil()
/external/swiftshader/third_party/LLVM/test/Transforms/SimplifyLibCalls/
Dfloor.ll4 ; RUN: not grep {call.*ceil(} %t
12 declare double @ceil(double)
27 %E = call double @ceil( double %D ) ; <double> [#uses=1]
/external/libcxx/test/std/utilities/time/time.point/time.point.cast/
Dceil.pass.cpp33 typedef decltype(std::chrono::ceil<ToDuration>(f)) R; in test()
35 assert(std::chrono::ceil<ToDuration>(f) == t); in test()
48 static_assert(std::chrono::ceil<ToDuration>(f) == t, ""); in test_constexpr()
/external/fonttools/Lib/fontTools/misc/
DarrayTools.py27 xMax = int(math.ceil(xMax))
29 yMax = int(math.ceil(yMax))
122 xMax = int(math.ceil(xMax))
123 yMax = int(math.ceil(yMax))
/external/llvm/test/Transforms/LICM/
Dhoist-round.ll6 ; This test verifies that ceil, floor, nearbyint, trunc, rint, round,
11 ; CHECK: call float @llvm.ceil.f32
33 %tmp.1 = call float @llvm.ceil.f32(float %arg1)
53 declare float @llvm.ceil.f32(float)
/external/llvm/test/CodeGen/AArch64/
Darm64-vfloatintrinsics.ll84 ; CHECK: test_v2f32.ceil:
85 define %v2f32 @test_v2f32.ceil(%v2f32 %a) {
87 %1 = call %v2f32 @llvm.ceil.v2f32(%v2f32 %a)
122 declare %v2f32 @llvm.ceil.v2f32(%v2f32) #0
208 ; CHECK: test_v4f32.ceil:
209 define %v4f32 @test_v4f32.ceil(%v4f32 %a) {
211 %1 = call %v4f32 @llvm.ceil.v4f32(%v4f32 %a)
246 declare %v4f32 @llvm.ceil.v4f32(%v4f32) #0
332 ; CHECK: test_v2f64.ceil:
333 define %v2f64 @test_v2f64.ceil(%v2f64 %a) {
[all …]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowFloatMath.java32 public static float ceil(float value) { in ceil() method in ShadowFloatMath
33 return (float) Math.ceil(value); in ceil()
/external/pdfium/xfa/fxbarcode/
DBC_TwoDimWriter.cpp119 ceil((FX_FLOAT)m_Width / (FX_FLOAT)outputWidth)); in RenderResult()
121 outputHeight * ceil((FX_FLOAT)m_Height / (FX_FLOAT)outputHeight)); in RenderResult()
124 int32_t multiX = (int32_t)ceil((FX_FLOAT)outputWidth / (FX_FLOAT)tempWidth); in RenderResult()
125 int32_t multiY = (int32_t)ceil((FX_FLOAT)outputHeight / (FX_FLOAT)tempHeight); in RenderResult()
/external/autotest/client/common_lib/cros/
Dperf_stat_lib.py5 from math import ceil, floor, sqrt
22 c, f = int(ceil(i)), int(floor(i))
/external/eigen/unsupported/test/
Dcxx11_tensor_roundings.cpp48 Tensor<float, 2> result = ftensor.ceil(); in test_float_ceiling()
52 VERIFY_IS_EQUAL(result(i,j), numext::ceil(ftensor(i,j))); in test_float_ceiling()

12345678910>>...18