Searched refs:ceil (Results 1 - 25 of 326) sorted by relevance

1234567891011>>

/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowFloatMath.java32 public static float ceil(float value) { method in class:ShadowFloatMath
33 return (float) Math.ceil(value);
/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-2326.js36 while (--iterations > 0) accumulator = Math.ceil(accumulator);
/external/openfst/src/extensions/far/
H A Dstrings.cc37 return nline ? ceil(log10(nline + 1)) : 1;
/external/chromium_org/ui/gfx/geometry/
H A Dsafe_integer_conversions.h30 return ClampToInt(std::ceil(value));
38 rounded = std::ceil(value - 0.5f);
H A Drect.h111 int r = rect.width() == 0 ? x : std::ceil(rect.right() * x_scale);
112 int b = rect.height() == 0 ? y : std::ceil(rect.bottom() * y_scale);
123 int x = std::ceil(rect.x() * x_scale);
124 int y = std::ceil(rect.y() * y_scale);
/external/apache-xml/src/main/java/org/apache/xpath/functions/
H A DFuncCeiling.java45 return new XNumber(Math.ceil(m_arg0.execute(xctxt).num()));
/external/iproute2/tc/
H A Dq_htb.c39 " [ceil R2] [cburst B2] [mtu MTU] [quantum Q]\n"
45 " ceil definite upper class rate (no borrows) {rate}\n"
46 " cburst burst but for ceil {computed}\n"
166 } else if (strcmp(*argv, "ceil") == 0) {
168 if (opt.ceil.rate) {
169 fprintf(stderr, "Double \"ceil\" spec\n");
172 if (get_rate(&opt.ceil.rate, *argv)) {
173 explain1("ceil");
206 /* if ceil params are missing, use the same as rate */
207 if (!opt.ceil
[all...]
/external/chromium_org/chrome/browser/resources/chromeos/login/
H A Doobe_screen_update.js71 var minutes = Math.ceil(seconds / 60);
79 Math.ceil(minutes / 5) * 5);
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
H A DRenderCoordinates.java197 public int getContentWidthPixInt() { return (int) Math.ceil(getContentWidthPix()); }
202 public int getContentHeightPixInt() { return (int) Math.ceil(getContentHeightPix()); }
232 return (int) Math.ceil(getLastFrameViewportWidthPix());
239 return (int) Math.ceil(getLastFrameViewportHeightPix());
/external/chromium_org/third_party/WebKit/Source/platform/
H A DLayoutUnitTest.cpp213 ASSERT_EQ(LayoutUnit(0).ceil(), 0);
214 ASSERT_EQ(LayoutUnit(0.1).ceil(), 1);
215 ASSERT_EQ(LayoutUnit(0.5).ceil(), 1);
216 ASSERT_EQ(LayoutUnit(0.9).ceil(), 1);
217 ASSERT_EQ(LayoutUnit(1.0).ceil(), 1);
218 ASSERT_EQ(LayoutUnit(1.1).ceil(), 2);
220 ASSERT_EQ(LayoutUnit(-0.1).ceil(), 0);
221 ASSERT_EQ(LayoutUnit(-0.5).ceil(), 0);
222 ASSERT_EQ(LayoutUnit(-0.9).ceil(), 0);
223 ASSERT_EQ(LayoutUnit(-1.0).ceil(),
[all...]
/external/libnl/lib/route/sch/
H A Dhtb.c118 rtnl_copy_ratespec(&d->ch_ceil, &opts.ceil);
120 d->ch_cbuffer = rtnl_tc_calc_bufsize(opts.cbuffer, opts.ceil.rate);
193 nl_dump(p, " ceil %.2f%s/s (%.0f%s) log %u",
298 /* if not set, configured rate is used as ceil, which implies no borrowing */
300 rtnl_rcopy_ratespec(&opts.ceil, &d->ch_ceil);
302 memcpy(&opts.ceil, &opts.rate, sizeof(struct tc_ratespec));
304 if (opts.ceil.cell_log == UINT8_MAX)
305 opts.ceil.cell_log = compute_cell(opts.ceil.rate, mtu);
317 cbuffer = opts.ceil
427 rtnl_htb_set_ceil(struct rtnl_class *class, uint32_t ceil) argument
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/
H A Dvp9_systemdependent.h15 # include <math.h> // the ceil() definition must precede intrin.h
39 return (int)ceil(x - 0.5);
/external/libvpx/libvpx/vp9/common/
H A Dvp9_systemdependent.h15 # include <math.h> // the ceil() definition must precede intrin.h
39 return (int)ceil(x - 0.5);
/external/openfst/src/include/fst/extensions/far/
H A Dinfo.h106 if (ceil(log10(info.nstate)) + 2 > wnstate)
107 wnstate = ceil(log10(info.nstate)) + 2;
108 if (ceil(log10(info.narc)) + 2 > wnarc)
109 wnarc = ceil(log10(info.narc)) + 2;
/external/valgrind/main/none/tests/mips32/
H A Dround_fpu64.stdout.exp1571 ceil.l.d 0 0.000000
1573 ceil.l.d 457 456.250000
1575 ceil.l.d 3 3.000000
1577 ceil.l.d -1 -1.000000
1579 ceil.l.d 1385 1384.500000
1581 ceil.l.d -7 -7.250000
1583 ceil.l.d 1000000000 1000000000.000000
1585 ceil.l.d -5786 -5786.250000
1587 ceil.l.d 1752 1752.000000
1589 ceil
[all...]
/external/chromium_org/v8/test/mjsunit/
H A Dparse-int-float.js83 assertEquals(Math.ceil(x), parseInt(x));
85 assertEquals(Math.ceil(x), parseInt(x));
/external/clang/test/CodeGen/
H A Dlibcalls-fno-builtin.c6 double ceil(double x);
31 double t1(double x) { return ceil(x); }
33 // CHECK: ceil
/external/chromium_org/cc/base/
H A Drolling_time_delta_history.cc47 static_cast<size_t>(std::ceil(fraction * sample_set_.size())) - 1;
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/gmail/
H A 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/chromium_org/content/browser/renderer_host/input/
H A Dsynthetic_smooth_scroll_gesture.cc14 int x = vector.x() > 0 ? floor(vector.x()) : ceil(vector.x());
15 int y = vector.y() > 0 ? floor(vector.y()) : ceil(vector.y());
20 int x = vector.x() > 0 ? ceil(vector.x()) : floor(vector.x());
21 int y = vector.y() > 0 ? ceil(vector.y()) : floor(vector.y());
/external/chromium_org/pdf/
H A Dfading_control.cc63 alpha_shift_ = static_cast<int>(ceil(shift));
/external/chromium_org/third_party/angle/src/common/
H A Dutilities.h44 template <typename outT> outT iround(GLfloat value) { return static_cast<outT>(value > 0.0f ? floor(value + 0.5f) : ceil(value - 0.5f)); }
/external/fonttools/Lib/fontTools/misc/
H A 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/fonttools/Tools/fontTools/misc/
H A 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/utils/lit/lit/
H A Dutil.py105 power = int(math.ceil(math.log(maxValue, 10)))
108 N = int(math.ceil(maxValue / barH))
127 pDigits = int(math.ceil(math.log(maxValue, 10)))
131 cDigits = int(math.ceil(math.log(len(items), 10)))

Completed in 1751 milliseconds

1234567891011>>