HomeSort by relevance Sort by last modified time
    Searched refs:time (Results 151 - 175 of 5571) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/skia/bench/
BenchSysTimer_c.h 11 //Time
12 #include <time.h>
BenchSysTimer_posix.h 11 //Time
12 #include <time.h>
  /system/core/toolbox/
uptime.c 32 #include <sys/time.h>
38 #include <time.h>
41 static void format_time(int time, char* buffer) {
44 seconds = time % 60;
45 time /= 60;
46 minutes = time % 60;
47 time /= 60;
48 hours = time % 24;
49 days = time / 24;
94 fprintf(stderr, "Could not get monotonic time\n")
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowTime.java 4 import android.text.format.Time;
16 @Implements(Time.class)
19 private Time time; field in class:ShadowTime
34 time.timezone = timezone;
35 time.year = 1970;
36 time.monthDay = 1;
37 time.isDst = -1;
40 public void __constructor__(Time other) {
45 public void set(Time other)
    [all...]
  /sdk/emulator/qtools/
read_pid.cpp 22 printf("t%lld fork tgid %d pid %d\n", event.time, event.tgid, event.pid);
25 printf("t%lld clone tgid %d pid %d\n", event.time, event.tgid, event.pid);
28 printf("t%lld switch %d\n", event.time, event.pid);
31 printf("t%lld exit %d\n", event.time, event.pid);
35 event.time, event.vstart, event.vend, event.offset, event.path);
40 event.time, event.vstart, event.vend);
44 event.time, event.vstart, event.path);
48 printf("t%lld remove %08x\n", event.time, event.vstart);
51 printf("t%lld argc: %d\n", event.time, event.argc);
60 event.time, event.tgid, event.pid, event.path)
    [all...]
  /external/chromium/base/third_party/nspr/
prtime.cc 42 * NSPR date and time functions
76 #include <time.h>
80 static void localtime_r(const time_t* secs, struct tm* time) {
81 (void) localtime_s(time, secs);
102 // Create the system struct representing our exploded time.
117 NOTREACHED() << "Unable to convert time";
127 // Adjust for time zone and dst. Convert from seconds to microseconds.
132 // Create the system struct representing our exploded time.
164 // If timegm returned -1. Since we don't pass it a time zone, the only
253 * 'time' should point to a normalized PRExplodedTime
    [all...]
  /external/chromium_org/base/third_party/nspr/
prtime.cc 42 * NSPR date and time functions
81 #include <time.h>
85 static void localtime_r(const time_t* secs, struct tm* time) {
86 (void) localtime_s(time, secs);
107 // Create the system struct representing our exploded time.
122 NOTREACHED() << "Unable to convert time";
132 // Adjust for time zone and dst. Convert from seconds to microseconds.
137 // Create the system struct representing our exploded time.
169 // If timegm returned -1. Since we don't pass it a time zone, the only
258 * 'time' should point to a normalized PRExplodedTime
    [all...]
  /bionic/tests/
time_benchmark.cpp 19 #include <time.h>
23 // Used by the horrible android.text.format.Time class, which is used by Calendar. http://b/8270865.
29 time_t now(time(NULL));
  /development/cmds/monkey/src/com/android/commands/monkey/
MonkeyUtils.java 34 * Return calendar time in pretty string.
36 public static synchronized String toCalendarTime(long time) {
37 DATE.setTime(time);
  /external/chromium_org/base/
value_conversions.h 24 BASE_EXPORT StringValue* CreateTimeDeltaValue(const TimeDelta& time);
25 BASE_EXPORT bool GetValueAsTimeDelta(const Value& value, TimeDelta* time);
value_conversions.cc 9 #include "base/time/time.h"
30 // precision, so we store the 64-bit time value as a string instead.
31 StringValue* CreateTimeDeltaValue(const TimeDelta& time) {
32 std::string string_value = base::Int64ToString(time.ToInternalValue());
36 bool GetValueAsTimeDelta(const Value& value, TimeDelta* time) {
41 if (time)
42 *time = TimeDelta::FromInternalValue(int_value);
  /external/chromium_org/chrome/browser/history/android/
android_time.h 8 #include "base/time/time.h"
12 // Android's system time is the milliseconds since January 1, 1970 00:00:00 UTC,
13 // the below 2 methods are used convert between base::Time and the milliseconds
15 inline base::Time FromDatabaseTime(int64 milliseconds) {
17 base::Time::UnixEpoch();
20 inline int64 ToDatabaseTime(const base::Time& time) {
21 return (time - base::Time::UnixEpoch()).InMilliseconds()
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/audio/
AudioUtilities.cpp 57 size_t timeToSampleFrame(double time, double sampleRate)
59 return static_cast<size_t>(round(time * sampleRate));
  /external/chromium_org/third_party/WebKit/Source/modules/vibration/
NavigatorVibration.idl 24 boolean vibrate(unsigned long time);
  /external/chromium_org/third_party/WebKit/Source/modules/webaudio/
AudioParamTimeline.h 47 void setValueAtTime(float value, double time);
48 void linearRampToValueAtTime(float value, double time);
49 void exponentialRampToValueAtTime(float value, double time);
50 void setTargetAtTime(float target, double time, double timeConstant);
51 void setValueCurveAtTime(Float32Array* curve, double time, double duration);
58 // Given the time range, calculates parameter values into the values buffer
79 ParamEvent(Type type, float value, double time, double timeConstant, double duration, PassRefPtr<Float32Array> curve)
82 , m_time(time)
91 double time() const { return m_time; } function in class:WebCore::AudioParamTimeline::ParamEvent
  /external/chromium_org/webkit/renderer/compositor_bindings/
web_to_cc_animation_delegate_adapter.h 22 virtual void NotifyAnimationStarted(double time) OVERRIDE;
23 virtual void NotifyAnimationFinished(double time) OVERRIDE;
  /external/compiler-rt/lib/asan/lit_tests/TestCases/
time_interceptor.cc 3 // Test the time() interceptor.
7 #include <time.h>
12 time_t t = time(tm);
13 printf("Time: %s\n", ctime(&t)); // NOLINT
  /external/jmonkeyengine/engine/src/test/jme3test/input/combomoves/
ComboMoveExecution.java 54 private boolean isStateSatisfied(HashSet<String> pressedMappings, float time,
58 // check if an appropriate amount of time has passed
60 if (moveTime + state.getTimeElapsed() >= time){
79 public void updateExpiration(float time){
80 if (!finalState && moveTime > 0 && moveTime + TIME_LIMIT < time){
93 * @param time Current time since start of app
96 public boolean updateState(HashSet<String> pressedMappings, float time){
98 if (isStateSatisfied(pressedMappings, time, currentState)){
100 moveTime = time;
    [all...]
  /external/proguard/src/proguard/gui/splash/
CompositeSprite.java 48 public void paint(Graphics graphics, long time)
53 sprites[index].paint(graphics, time);
LinearDouble.java 51 public double getDouble(long time)
53 return fromValue + timing.getTiming(time) * (toValue - fromValue);
LinearInt.java 51 public int getInt(long time)
53 return (int) (fromValue + timing.getTiming(time) * (toValue - fromValue));
RectangleSprite.java 94 public void paint(Graphics graphics, long time)
96 graphics.setColor(color.getColor(time));
98 int xt = x.getInt(time);
99 int yt = y.getInt(time);
100 int w = width.getInt(time);
101 int h = height.getInt(time);
102 int aw = arcWidth.getInt(time);
103 int ah = arcHeight.getInt(time);
SineTiming.java 24 * This Timing varies between 0 and 1, as a sine wave over time.
36 * @param period the time period for a full cycle.
37 * @param phase the phase of the cycle, which is added to the actual time.
48 public double getTiming(long time)
51 return 0.5 + 0.5 * Math.sin(2.0 * Math.PI * (time + phase) / period);
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
MockClock.java 20 /** Current time. Only updated with advance(). */
38 public void setCurrentTimeMillis(long time) {
39 mCurrentTimeMillis = time;
  /external/chromium_org/base/i18n/
time_formatting.cc 10 #include "base/time/time.h"
15 using base::Time;
20 const Time& time) {
24 formatter->format(static_cast<UDate>(time.ToDoubleT() * 1000), date_string);
30 const Time& time) {
36 static_cast<UDate>(time.ToDoubleT() * 1000), time_string, ampm_field);
53 string16 TimeFormatTimeOfDay(const Time& time)
    [all...]

Completed in 819 milliseconds

1 2 3 4 5 67 8 91011>>