Home
last modified time | relevance | path

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

12345678910>>...14

/external/chromium_org/third_party/mesa/src/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/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/iproute2/tc/
Dq_htb.c168 if (opt.ceil.rate) { in htb_parse_class_opt()
172 if (get_rate(&opt.ceil.rate, *argv)) { in htb_parse_class_opt()
207 if (!opt.ceil.rate) opt.ceil = opt.rate; in htb_parse_class_opt()
212 if (!cbuffer) cbuffer = opt.ceil.rate / get_hz() + mtu; in htb_parse_class_opt()
214 opt.ceil.overhead = overhead; in htb_parse_class_opt()
217 opt.ceil.mpu = mpu; in htb_parse_class_opt()
226 if (tc_calc_rtable(&opt.ceil, ctab, ccell_log, mtu, linklayer) < 0) { in htb_parse_class_opt()
230 opt.cbuffer = tc_calc_xmittime(opt.ceil.rate, cbuffer); in htb_parse_class_opt()
268 fprintf(f, "ceil %s ", sprint_rate(hopt->ceil.rate, b1)); in htb_print_opt()
269 cbuffer = tc_calc_xmitsize(hopt->ceil.rate, hopt->cbuffer); in htb_print_opt()
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/
DLayoutUnitTest.cpp213 ASSERT_EQ(LayoutUnit(0).ceil(), 0); in TEST()
214 ASSERT_EQ(LayoutUnit(0.1).ceil(), 1); in TEST()
215 ASSERT_EQ(LayoutUnit(0.5).ceil(), 1); in TEST()
216 ASSERT_EQ(LayoutUnit(0.9).ceil(), 1); in TEST()
217 ASSERT_EQ(LayoutUnit(1.0).ceil(), 1); in TEST()
218 ASSERT_EQ(LayoutUnit(1.1).ceil(), 2); in TEST()
220 ASSERT_EQ(LayoutUnit(-0.1).ceil(), 0); in TEST()
221 ASSERT_EQ(LayoutUnit(-0.5).ceil(), 0); in TEST()
222 ASSERT_EQ(LayoutUnit(-0.9).ceil(), 0); in TEST()
223 ASSERT_EQ(LayoutUnit(-1.0).ceil(), -1); in TEST()
[all …]
/external/chromium_org/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/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)
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
DRenderCoordinates.java196 public int getContentWidthPixInt() { return (int) Math.ceil(getContentWidthPix()); } in getContentWidthPixInt()
201 public int getContentHeightPixInt() { return (int) Math.ceil(getContentHeightPix()); } in getContentHeightPixInt()
231 return (int) Math.ceil(getLastFrameViewportWidthPix()); in getLastFrameViewportWidthPixInt()
238 return (int) Math.ceil(getLastFrameViewportHeightPix()); in getLastFrameViewportHeightPixInt()
/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)
/external/eigen/unsupported/Eigen/src/MatrixFunctions/
DMatrixExponential.h293 using std::ceil; in computeUV()
300 m_squarings = (max)(0, (int)ceil(log2(m_l1norm / maxnorm))); in computeUV()
311 using std::ceil; in computeUV()
322 m_squarings = (max)(0, (int)ceil(log2(m_l1norm / maxnorm))); in computeUV()
333 using std::ceil; in computeUV()
347 m_squarings = (max)(0, (int)ceil(log2(m_l1norm / maxnorm))); in computeUV()
364 m_squarings = (max)(0, (int)ceil(log2(m_l1norm / maxnorm))); in computeUV()
381 m_squarings = (max)(0, (int)ceil(log2(m_l1norm / maxnorm))); in computeUV()
/external/llvm/utils/lit/lit/
DUtil.py103 power = int(math.ceil(math.log(maxValue, 10)))
106 N = int(math.ceil(maxValue / barH))
125 pDigits = int(math.ceil(math.log(maxValue, 10)))
129 cDigits = int(math.ceil(math.log(len(items), 10)))
/external/openfst/src/include/fst/extensions/far/
Dinfo.h106 if (ceil(log10(info.nstate)) + 2 > wnstate) in FarInfo()
107 wnstate = ceil(log10(info.nstate)) + 2; in FarInfo()
108 if (ceil(log10(info.narc)) + 2 > wnarc) in FarInfo()
109 wnarc = ceil(log10(info.narc)) + 2; in FarInfo()
/external/llvm/test/Transforms/InstSimplify/
Dcall.ll57 declare float @llvm.ceil.f32(float) nounwind readnone
76 ; CHECK: ceil
77 ; CHECK-NOT: ceil
78 %c0 = call float @llvm.ceil.f32(float %a)
79 %c1 = call float @llvm.ceil.f32(float %c0)
/external/robolectric/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/chromium_org/ui/gfx/
Drect.h116 int r = rect.width() == 0 ? x : std::ceil(rect.right() * x_scale); in ScaleToEnclosingRect()
117 int b = rect.height() == 0 ? y : std::ceil(rect.bottom() * y_scale); in ScaleToEnclosingRect()
128 int x = std::ceil(rect.x() * x_scale); in ScaleToEnclosedRect()
129 int y = std::ceil(rect.y() * y_scale); in ScaleToEnclosedRect()
Dsafe_integer_conversions.h30 return ClampToInt(std::ceil(value)); in ToCeiledInt()
38 rounded = std::ceil(value - 0.5f); in ToRoundedInt()
/external/qemu/android/skin/
Dscaler.c101 drect->size.w = (int)(ceil((sx + sw) * scale + scaler->xdisp)) - drect->pos.x; in skin_scaler_get_scaled_rect()
102 drect->size.h = (int)(ceil((sy + sh) * scale + scaler->ydisp)) - drect->pos.y; in skin_scaler_get_scaled_rect()
133 op.rd.w = (int)(ceil((sx + sw) * scaler->scale + scaler->xdisp)) - op.rd.x; in skin_scaler_scale()
134 op.rd.h = (int)(ceil((sy + sh) * scaler->scale + scaler->ydisp)) - op.rd.y; in skin_scaler_scale()
/external/llvm/test/Analysis/CostModel/X86/
Dintrinsic-cost.ll15 %2 = call <4 x float> @llvm.ceil.v4f32(<4 x float> %wide.load)
25 …d an estimated cost of 400 for instruction: %2 = call <4 x float> @llvm.ceil.v4f32(<4 x float> %…
28 …und an estimated cost of 1 for instruction: %2 = call <4 x float> @llvm.ceil.v4f32(<4 x float> %…
32 declare <4 x float> @llvm.ceil.v4f32(<4 x float>) nounwind readnone
/external/chromium_org/content/browser/renderer_host/input/
Dsynthetic_smooth_scroll_gesture.cc16 int x = vector.x() > 0 ? floor(vector.x()) : ceil(vector.x()); in FloorTowardZero()
17 int y = vector.y() > 0 ? floor(vector.y()) : ceil(vector.y()); in FloorTowardZero()
22 int x = vector.x() > 0 ? ceil(vector.x()) : floor(vector.x()); in CeilFromZero()
23 int y = vector.y() > 0 ? ceil(vector.y()) : floor(vector.y()); in CeilFromZero()
/external/chromium_org/content/browser/resources/media/
Dtimeline_graph_view.js222 var time = Math.ceil(startTime / timeStep) * timeStep;
420 if (Math.ceil(maxValue / stepSize) + 1 <= maxLabels)
423 if (Math.ceil(maxValue / (stepSize * 2)) + 1 <= maxLabels) {
428 if (Math.ceil(maxValue / (stepSize * 5)) + 1 <= maxLabels) {
438 this.max_ = Math.ceil(maxValue / stepSize) * stepSize;
/external/chromium_org/chrome/browser/resources/chromeos/login/
Doobe_screen_update.js71 var minutes = Math.ceil(seconds / 60);
79 Math.ceil(minutes / 5) * 5);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DTimelineGrid.js101 var logGridSliceTime = Math.ceil(Math.log(gridSliceTime) / Math.LN10);
109 …var firstDividerTime = Math.ceil((calculator.minimumBoundary() - calculator.zeroTime()) / gridSlic…
115 dividersCount = Math.ceil((lastDividerTime - firstDividerTime) / gridSliceTime);
/external/chromium_org/third_party/WebKit/Source/wtf/
DMathExtras.h55 inline double wtf_ceil(double x) { return copysign(ceil(x), x); } in wtf_ceil()
57 #define ceil(x) wtf_ceil(x) macro
81 double integer = ceil(num); in round()
97 inline double trunc(double num) { return num > 0 ? floor(num) : ceil(num); } in trunc()
/external/clang/test/CodeGen/
Dlibcall-declarations.c17 double ceil(double);
81 atan2f, ceil, ceill, ceilf, copysign, copysignl, copysignf, cos, cosl, cosf,
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/gmail/
Dbackground.js238 Math.ceil(canvas.width/2),
239 Math.ceil(canvas.height/2));
242 -Math.ceil(canvas.width/2),
243 -Math.ceil(canvas.height/2));
/external/v8/test/mjsunit/
Dparse-int-float.js83 assertEquals(Math.ceil(x), parseInt(x));
85 assertEquals(Math.ceil(x), parseInt(x));

12345678910>>...14