/system/extras/tests/lib/testUtil/ |
testUtil.c | 72 rv.tv_sec = floor(amt); 88 rv.tv_sec = floor(amt);
|
/external/chromium_org/third_party/libxslt/libxslt/ |
numbers.c | [all...] |
/external/libxslt/libxslt/ |
numbers.c | [all...] |
/external/chromium_org/third_party/jinja2/ |
filters.py | 594 - ``'floor'`` always rounds down 602 {{ 42.55|round(1, 'floor') }} 613 if not method in ('common', 'ceil', 'floor'): 614 raise FilterArgumentError('method must be common, ceil or floor')
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/ |
TerrainQuad.java | [all...] |
/libcore/luni/src/main/java/java/lang/ |
Math.java | 312 * <li>{@code floor(+0.0) = +0.0}</li> 313 * <li>{@code floor(-0.0) = -0.0}</li> 314 * <li>{@code floor(+infinity) = +infinity}</li> 315 * <li>{@code floor(-infinity) = -infinity}</li> 316 * <li>{@code floor(NaN) = NaN}</li> 319 public static native double floor(double d); method in class:Math 656 * equivalent to {@code (long) Math.floor(d+0.5)}. 678 return (long) floor(d + 0.5d); 683 * equivalent to {@code (int) Math.floor(f+0.5)}. 705 return (int) floor(f + 0.5f) [all...] |
/external/chromium_org/ash/desktop_background/ |
desktop_background_view.cc | 35 return static_cast<int>(floor(x + 0.5));
|
wallpaper_resizer.cc | 23 return static_cast<int>(floor(x + 0.5));
|
/external/chromium_org/ash/wm/ |
session_state_animator.cc | 38 floor(0.5 * (1.0 - kSlowCloseSizeRatio) * root_size.width() + 0.5), 39 floor(0.5 * (1.0 - kSlowCloseSizeRatio) * root_size.height() + 0.5)); 49 transform.Translate(floor(0.5 * root_size.width() + 0.5), 50 floor(0.5 * root_size.height() + 0.5));
|
/external/chromium_org/base/json/ |
json_writer.cc | 96 std::floor(value) == value) {
|
/external/chromium_org/base/time/ |
time_mac.cc | 173 exploded->second = floor(date.second);
|
/external/chromium_org/cc/scheduler/ |
delay_based_time_source.cc | 165 // Then, when we post our task, we take the floor of (tick_target_ and Now()). 178 // PostDelayedTask(floor(33.333 - 16)) --> PostDelayedTask(17) 201 // tick(), PostDelayedTask(floor(33.333-18)) --> PostDelayedTask(15) 208 // tick(), PostDelayedTask(floor(50.000-37)) --> PostDelayedTask(13) 212 static_cast<int>(floor((now - next_parameters_.tick_target).InSecondsF() /
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
V8Binding.cpp | 223 numberValue = numberValue < 0 ? -floor(abs(numberValue)) : floor(abs(numberValue)); 261 numberValue = numberValue < 0 ? -floor(abs(numberValue)) : floor(abs(numberValue));
|
/external/chromium_org/third_party/WebKit/Source/core/platform/animation/ |
TimingFunction.h | 20 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 189 return std::min(1.0, (floor(m_steps * fraction) + m_stepAtStart) / m_steps);
|
/external/chromium_org/third_party/tlslite/scripts/ |
tlsdb.py | 183 return int(math.floor(math.log(n, 2))+1)
|
/external/chromium_org/third_party/tlslite/tlslite/utils/ |
compat.py | 80 return int(math.floor(math.log(n, 2))+1)
|
/external/chromium_org/v8/test/mjsunit/ |
readonly.js | 77 p = inherits[Math.floor(inherits.length * Math.random())](p)(); 81 p = constructs[Math.floor(constructs.length * Math.random())](p)();
|
/external/libvorbis/examples/ |
decoder_example.c | 251 int val=floor(mono[j]*32767.f+.5f);
|
/external/libvpx/libvpx/test/ |
idct8x8_test.cc | 33 return static_cast<int>(floor(x + 0.5));
|
/external/replicaisland/src/com/replica/replicaisland/ |
GameOverActivity.java | 96 int totalHours = (int)Math.floor(hours);
|
/external/valgrind/main/memcheck/tests/ |
vcpu_fnfns.c | 22 printf("floorD(%+20.13e) = %+20.13e\n", d, floor(d));
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
MetaDataTest.java | 55 Math.floor(md.getFloat("com.android.frameworks.coretests.float") * 10 + .5));
|
/frameworks/support/v4/java/android/support/v4/util/ |
TimeUtils.java | 101 int seconds = (int) Math.floor(duration / 1000);
|
/libcore/luni/src/main/native/ |
java_lang_StrictMath.cpp | 133 NATIVE_METHOD(StrictMath, floor, "!(D)D"),
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
e_lgamma_r.c | 174 z = floor(y); 177 y = 2.0*(y - floor(y)); /* y = |x| mod 2.0 */
|