/external/chromium_org/webkit/renderer/compositor_bindings/ |
web_float_animation_curve_unittest.cc | 61 // Tests that a float animation with multiple keys at a given time works sanely. 131 const double time = i * 0.25; local 132 EXPECT_FLOAT_EQ(timing_function->GetValue(time), curve->getValue(time)); 145 const double time = i * 0.25; local 146 EXPECT_FLOAT_EQ(time, curve->getValue(time)); 161 const double time = i * 0.25; local 162 EXPECT_FLOAT_EQ(timing_function->GetValue(time), curve->getValue(time)); 177 const double time = i * 0.25; local 193 const double time = i * 0.25; local 212 const double time = i * 0.25; local 227 const double time = i * 0.25; local [all...] |
/external/chromium_org/third_party/WebKit/Tools/GardeningServer/scripts/ |
base_unittests.js | 373 var time = new Date(); 374 equals(base.relativizeTime(time), "Just now"); 375 time.setMinutes(time.getMinutes() - 1); 376 equals(base.relativizeTime(time), "1 minute ago"); 377 time.setMinutes(time.getMinutes() - 1); 378 equals(base.relativizeTime(time), "2 minutes ago"); 379 time.setMinutes(time.getMinutes() - 1) [all...] |
/external/chromium_org/chrome/browser/google_apis/ |
time_util.cc | 13 #include "base/time/time.h" 45 base::Time* parsed_time) { 48 base::StringPiece time; local 49 base::Time::Exploded exploded = {0}; 53 // Splits the string into "date" part and "time" part. 62 // Parses timezone suffix on the time part if available. 69 time = time_and_tz; 70 time.remove_suffix(1); 76 time = parts[0] [all...] |
time_util_unittest.cc | 9 #include "base/time/time.h" 16 std::string FormatTime(const base::Time& time) { 17 return base::UTF16ToUTF8(base::TimeFormatShortDateAndTime(time)); 23 // Creates local time objects from exploded structure. 24 base::Time::Exploded exploded = {2013, 1, 0, 15, 17, 11, 35, 374}; 25 base::Time local_time = base::Time::FromLocalExploded(exploded); 27 // Creates local time object, parsing time string. Note that if there i 81 base::Time time = base::Time::FromUTCExploded(exploded_time); local 89 base::Time time = base::Time::FromLocalExploded(exploded_time); local [all...] |
/external/eigen/bench/btl/generic_bench/timers/ |
portable_timer.hh | 28 #include <time.h> 36 // A timer object measures CPU time. 69 LARGE_INTEGER time; local 70 time.QuadPart = stopVal.QuadPart - startVal.QuadPart; 71 return LIToSecs(time); 92 #include <sys/time.h>
|
/external/jmonkeyengine/engine/src/test/jme3test/material/ |
TestColoredTexture.java | 44 private float time = 0; field in class:TestColoredTexture 71 time += tpf; 72 if (time > 1f){ 73 time -= 1f; 78 currentColor.interpolate(prevColor, nextColor, time);
|
/external/jmonkeyengine/engine/src/test/jme3test/network/ |
TestThroughput.java | 67 long time = System.currentTimeMillis(); local 68 //System.out.println( "total:" + total + " counter:" + counter + " lastTime:" + lastTime + " time:" + time ); 70 lastTime = time; 71 } else if (time - lastTime > 1000) { 72 long delta = time - lastTime; 77 lastTime = time;
|
/external/netperf/ |
hist.h | 2 # include <sys/time.h> 3 # include <time.h> 6 # include <sys/time.h> 8 # include <time.h> 14 Given a time difference in microseconds, increment one of 61 27 This will allow any time to be recorded to within an accuracy of 29 distribution of a large number of time differences (e.g. 39 #include <sys/time.h> 74 HIST_add - add a time difference to a histogram. Time should be i [all...] |
/sdk/emulator/qtools/ |
q2dm.cpp | 27 void push(int stackLevel, uint64_t time, CallStackBase *base); 28 void pop(int stackLevel, uint64_t time, CallStackBase *base); 71 void MyFrame::push(int stackLevel, uint64_t time, CallStackBase *base) 78 stack->getGlobalTime(time), pid, stackLevel, 89 thread_time[pid] = time; 90 dmtrace->addFunctionEntry(function->id, time, pid); 93 void MyFrame::pop(int stackLevel, uint64_t time, CallStackBase *base) 100 stack->getGlobalTime(time), pid, stackLevel, 112 fprintf(stderr, "Error: q2dm function mismatch at time %llu pid %d sym %s\n", 113 stack->getGlobalTime(time), pid, sym->name) [all...] |
parse_options-inl.h | 54 uint64_t time) 56 symbol_type *sym = trace->LookupFunction(pid, addr, time); 104 first_ignored_event->time = 0; 112 if (first_ignored_event->time == 0) 119 if (first_ignored_event->time == 0) 127 sym = GetSymbol(trace, event->pid, event->bb_addr, event->time); 129 if (first_ignored_event->time == 0) 134 sym = GetSymbol(trace, event->pid, event->bb_addr, event->time); 137 sym = GetSymbol(trace, event->pid, event->bb_addr, event->time); 139 if (first_ignored_event->time == 0 [all...] |
/external/blktrace/btt/ |
trace_queue.c | 26 update_qregion(&all_regions, q_iop->t.time); 30 update_lq(&last_q, &all_avgs.q2q_dm, q_iop->t.time); 33 update_lq(&last_q, &all_avgs.q2q, q_iop->t.time);
|
trace.c | 25 time_t now = time(NULL); 28 iostat_check_time(iop->t.time); 70 (int)SECONDS(iop->t.time), 71 (unsigned long)NANO_SECONDS(iop->t.time), msg); 94 if (BIT_TIME(iop->t.time) < t_astart) { 97 } else if (BIT_TIME(iop->t.time) > t_aend) {
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/notifications/ |
background.js | 6 Displays a notification with the current time. Requires "notifications" 11 var time = /(..)(:..)/.exec(new Date()); // The prettyprinted time. 12 var hour = time[1] % 12 || 12; // The prettyprinted hour. 13 var period = time[1] < 12 ? 'a.m.' : 'p.m.'; // The period of the day. 16 hour + time[2] + ' ' + period, // The title. 17 'Time to make the toast.' // The body.
|
/external/chromium_org/media/base/ |
media_log_event.h | 8 #include "base/time/time.h" 25 time = event.time; 98 base::TimeTicks time; member in struct:media::MediaLogEvent
|
/external/chromium_org/third_party/WebKit/Source/core/platform/chromium/support/ |
WebActiveGestureAnimation.cpp | 56 bool WebActiveGestureAnimation::animate(double time) 59 m_startTime = time; 62 // All WebGestureCurves assume zero-based time, so we subtract 63 // the animation start time before passing to the curve. 64 return m_curve->apply(time - m_startTime, m_target);
|
/external/chromium_org/third_party/skia/src/ports/ |
SkTime_Unix.cpp | 12 #include <sys/time.h> 13 #include <time.h> 20 time(&m_time);
|
/external/replicaisland/src/com/replica/replicaisland/ |
GameObject.java | 121 final TimeSystem time = sSystemRegistry.timeSystem; local 122 final float gameTime = time.getGameTime(); 124 Utils.close(mLastTouchedFloorTime, time.getGameTime(), COLLISION_SURFACE_DECAY_TIME); 129 final TimeSystem time = sSystemRegistry.timeSystem; local 130 final float gameTime = time.getGameTime(); 132 Utils.close(mLastTouchedCeilingTime, time.getGameTime(), COLLISION_SURFACE_DECAY_TIME); 137 final TimeSystem time = sSystemRegistry.timeSystem; local 138 final float gameTime = time.getGameTime(); 140 Utils.close(mLastTouchedLeftWallTime, time.getGameTime(), COLLISION_SURFACE_DECAY_TIME); 145 final TimeSystem time = sSystemRegistry.timeSystem local [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowLocation.java | 18 private long time; field in class:ShadowLocation 50 time = System.currentTimeMillis(); 55 time = l.getTime(); 82 return time; 86 public void setTime(long time) { 87 this.time = time; 211 if (time != that.time) return false; 221 result = (int) (time ^ (time >>> 32)) [all...] |
/external/skia/src/ports/ |
SkTime_Unix.cpp | 12 #include <sys/time.h> 13 #include <time.h> 20 time(&m_time);
|
/external/valgrind/main/none/tests/s390x/ |
stcke.c | 9 unsigned long long time; member in struct:stcke::reader 46 unsigned long c = clockticks_in_msec(end.reader.time, 47 start.reader.time);
|
/external/webrtc/src/system_wrappers/source/ |
event_win.cc | 55 bool EventWindows::StartTimer(bool periodic, unsigned long time) 64 _timerID=timeSetEvent(time, 0,(LPTIMECALLBACK)HANDLE(_event),0, 67 _timerID=timeSetEvent(time, 0,(LPTIMECALLBACK)HANDLE(_event),0,
|
/system/extras/tests/bionic/libstdc++/ |
test_ctime.cpp | 56 #ifdef time 78 using std::time; 90 volatile std::time_t time; local
|
/external/chromium_org/cc/input/ |
top_controls_manager_unittest.cc | 8 #include "base/time/time.h" 134 base::TimeTicks time = base::TimeTicks::Now(); local 137 time = base::TimeDelta::FromMicroseconds(100) + time; 138 manager->Animate(time); 164 base::TimeTicks time = base::TimeTicks::Now(); local 167 time = base::TimeDelta::FromMicroseconds(100) + time; 168 manager->Animate(time); 190 base::TimeTicks time = base::TimeTicks::Now(); local 216 base::TimeTicks time = base::TimeTicks::Now(); local 246 base::TimeTicks time = base::TimeTicks::Now(); local 276 base::TimeTicks time = base::TimeTicks::Now(); local [all...] |
/external/chromium_org/chrome/browser/performance_monitor/ |
key_builder.h | 21 const std::string time; member in struct:performance_monitor::RecentKey 43 const std::string time; member in struct:performance_monitor::MetricKey 59 // Key Schema: <Time> 60 std::string CreateActiveIntervalKey(const base::Time& time); 62 // Key Schema: <Metric>-<Time>-<Activity> 63 std::string CreateMetricKey(const base::Time& time, 67 // Key Schema: <Time>-<Event Type> 68 std::string CreateEventKey(const base::Time& time, const EventType type) [all...] |
/external/chromium_org/content/renderer/media/ |
websourcebuffer_impl.cc | 12 static base::TimeDelta DoubleToTimeDelta(double time) { 13 DCHECK(!base::IsNaN(time)); 14 DCHECK_GE(time, 0); 15 if (time == std::numeric_limits<double>::infinity()) 21 if (time >= max_time_in_seconds) 25 time * base::Time::kMicrosecondsPerSecond); 63 offset * base::Time::kMicrosecondsPerSecond);
|