Home
last modified time | relevance | path

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

12345678910>>...17

/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
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 …]
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/mesa3d/src/glsl/builtins/ir/
Dceil.ir1 ((function ceil
5 ((return (expression float ceil (var_ref arg0)))))
10 ((return (expression vec2 ceil (var_ref arg0)))))
15 ((return (expression vec3 ceil (var_ref arg0)))))
20 ((return (expression vec4 ceil (var_ref arg0)))))
/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/libnl/lib/route/sch/
Dhtb.c118 rtnl_copy_ratespec(&d->ch_ceil, &opts.ceil); in htb_class_msg_parser()
120 d->ch_cbuffer = rtnl_tc_calc_bufsize(opts.cbuffer, opts.ceil.rate); in htb_class_msg_parser()
300 rtnl_rcopy_ratespec(&opts.ceil, &d->ch_ceil); in htb_class_get_opts()
302 memcpy(&opts.ceil, &opts.rate, sizeof(struct tc_ratespec)); in htb_class_get_opts()
304 if (opts.ceil.cell_log == UINT8_MAX) in htb_class_get_opts()
305 opts.ceil.cell_log = compute_cell(opts.ceil.rate, mtu); in htb_class_get_opts()
317 cbuffer = opts.ceil.rate / nl_get_hz() + mtu; in htb_class_get_opts()
319 opts.cbuffer = rtnl_tc_calc_txtime(cbuffer, opts.ceil.rate); in htb_class_get_opts()
331 opts.ceil.mpu = mpu | (overhead << 8); in htb_class_get_opts()
341 1 << opts.ceil.cell_log, in htb_class_get_opts()
[all …]
/external/v8/test/webkit/
Dmath-expected.txt71 PASS Math.ceil(NaN) is NaN
72 PASS Math.ceil(0) is 0
73 PASS Math.ceil(-0) is -0
74 PASS Math.ceil(-0.5) is -0
75 PASS Math.ceil(1) is 1
76 PASS Math.ceil(-1) is -1
77 PASS Math.ceil(1.1) is 2
78 PASS Math.ceil(-1.1) is -1
79 PASS Math.ceil(Number.MIN_VALUE) is 1
80 PASS Math.ceil(-Number.MIN_VALUE) is -0
[all …]
/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)
Dvec-round-01.ll8 declare double @llvm.ceil.f64(double)
14 declare <2 x double> @llvm.ceil.v2f64(<2 x double>)
46 %res = call <2 x double> @llvm.ceil.v2f64(<2 x double> %val)
98 %res = call double @llvm.ceil.f64(double %scalar)
/external/v8/test/mjsunit/asm/
Dmath-ceil.js8 var ceil = stdlib.Math.ceil;
13 return ceil(a);
/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/CodeGen/X86/
Dvec_floor.ll44 %t = call <2 x double> @llvm.ceil.v2f64(<2 x double> %p)
47 declare <2 x double> @llvm.ceil.v2f64(<2 x double> %p)
53 %t = call <4 x float> @llvm.ceil.v4f32(<4 x float> %p)
56 declare <4 x float> @llvm.ceil.v4f32(<4 x float> %p)
62 %t = call <4 x double> @llvm.ceil.v4f64(<4 x double> %p)
65 declare <4 x double> @llvm.ceil.v4f64(<4 x double> %p)
71 %t = call <8 x float> @llvm.ceil.v8f32(<8 x float> %p)
74 declare <8 x float> @llvm.ceil.v8f32(<8 x float> %p)
205 %t = call <2 x double> @llvm.ceil.v2f64(<2 x double> <double -1.5, double 2.5>)
212 %t = call <4 x float> @llvm.ceil.v4f32(<4 x float> <float -3.5, float 6.0, float -9.0, float 2.5>)
/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/chromium-trace/catapult/third_party/gsutil/third_party/rsa/rsa/
D_version133.py105 nbytes = ceil(nbits/8.)
109 def ceil(x): function
112 return int(math.ceil(x))
125 rangebytes = ceil(math.log(range, 2) / 8.)
182 t = ceil(k / math.log(1/q, 2))
225 nbytes = int(math.ceil(nbits/8.))
/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/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/pdfium/xfa/src/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/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/llvm/utils/lit/lit/
Dutil.py120 power = int(math.ceil(math.log(maxValue, 10)))
123 N = int(math.ceil(maxValue / barH))
142 pDigits = int(math.ceil(math.log(maxValue, 10)))
146 cDigits = int(math.ceil(math.log(len(items), 10)))
/external/llvm/test/MC/Mips/
Dmips-reginfo-fp32.s29 # ceil.w.s - Reads $f8 and writes to $f10.
30 ceil.w.s $f10, $f8

12345678910>>...17