/external/compiler-rt/test/asan/TestCases/ |
time_interceptor.cc | 3 // Test the time() interceptor. 5 // There's no interceptor for time() on Windows yet. 10 #include <time.h> 15 time_t t = time(tm); 16 printf("Time: %s\n", ctime(&t)); // NOLINT
|
/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);
|
ImageSprite.java | 63 public void paint(Graphics graphics, long time) 65 int xt = x.getInt(time); 66 int yt = y.getInt(time); 68 double scale_x = scaleX.getDouble(time); 69 double scale_y = scaleY.getDouble(time);
|
TextSprite.java | 76 public void paint(Graphics graphics, long time) 79 int xt = x.getInt(time); 80 int yt = y.getInt(time); 82 int spacingt = spacing.getInt(time); 86 graphics.drawString(text[index].getString(time), xt, yt + index * spacingt);
|
ShadowedSprite.java | 67 public void paint(Graphics graphics, long time) 69 double l = alpha.getDouble(time); 70 int b = blur.getInt(time) + 1; 87 int xo = xOffset.getInt(time) - b/2; 88 int yo = yOffset.getInt(time) - b/2; 98 sprite.paint(graphics, time); 107 sprite.paint(graphics, time);
|
/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" 19 const Time& time) { 23 formatter->format(static_cast<UDate>(time.ToDoubleT() * 1000), date_string); 29 const Time& time) { 35 static_cast<UDate>(time.ToDoubleT() * 1000), time_string, ampm_field); 50 string16 TimeFormatTimeOfDay(const Time& time) { [all...] |
/external/chromium_org/base/ |
value_conversions.cc | 12 #include "base/time/time.h" 33 // precision, so we store the 64-bit time value as a string instead. 34 StringValue* CreateTimeDeltaValue(const TimeDelta& time) { 35 std::string string_value = base::Int64ToString(time.ToInternalValue()); 39 bool GetValueAsTimeDelta(const Value& value, TimeDelta* time) { 44 if (time) 45 *time = TimeDelta::FromInternalValue(int_value);
|
/frameworks/base/services/core/java/com/android/server/notification/ |
DowntimeCalendar.java | 45 public long nextDowntimeStart(long time) { 47 final long start = getTime(time, mInfo.startHour, mInfo.startMinute); 50 if (t > time && isInDowntime(t)) { 62 final long time = getTime(now, hr, min); local 63 return time <= now ? addDays(time, 1) : time; 75 public boolean isInDowntime(long time) { 77 final long start = getTime(time, mInfo.startHour, mInfo.startMinute); 78 long end = getTime(time, mInfo.endHour, mInfo.endMinute) [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
AudioParam.h | 82 void setValueAtTime(float value, double time, ExceptionState& exceptionState) 84 m_timeline.setValueAtTime(value, time, exceptionState); 86 void linearRampToValueAtTime(float value, double time, ExceptionState& exceptionState) 88 m_timeline.linearRampToValueAtTime(value, time, exceptionState); 90 void exponentialRampToValueAtTime(float value, double time, ExceptionState& es) 92 m_timeline.exponentialRampToValueAtTime(value, time, es); 94 void setTargetAtTime(float target, double time, double timeConstant, ExceptionState& exceptionState) 96 m_timeline.setTargetAtTime(target, time, timeConstant, exceptionState); 98 void setValueCurveAtTime(Float32Array* curve, double time, double duration, ExceptionState& exceptionState) 100 m_timeline.setValueCurveAtTime(curve, time, duration, exceptionState) [all...] |
/external/chromium_org/third_party/webrtc/base/ |
timing.cc | 17 #include <sys/time.h> 52 struct timeval time; local 53 gettimeofday(&time, NULL); 55 return (static_cast<double>(time.tv_sec) + 56 static_cast<double>(time.tv_usec) * 1.0e-6); 59 struct _timeb time; 60 _ftime(&time); 62 return (static_cast<double>(time.time) + 63 static_cast<double>(time.millitm) * 1.0e-3) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
DERUTCTime.java | 13 * UTC time object. 18 private byte[] time; field in class:DERUTCTime 21 * return an UTC Time from the passed in object. 35 return new ASN1UTCTime(((DERUTCTime)obj).time); 54 * return an UTC Time from a tagged object. 86 * @param time the time string. 89 String time) 91 this.time = Strings.toByteArray(time); [all...] |
/external/blktrace/btt/ |
trace_issue.c | 37 aqd_issue(d_iop->dip->aqd_handle, BIT_TIME(d_iop->t.time)); 44 update_i2d(q_iop, tdelta(q_iop->i_time, d_iop->t.time)); 46 update_m2d(q_iop, tdelta(q_iop->m_time, d_iop->t.time)); 51 q_iop->d_time = d_iop->t.time; 57 d_iop->t.time - q_iop->t.time); 58 latency_q2d(q_iop->dip, d_iop->t.time, 59 d_iop->t.time - q_iop->t.time);
|
trace_plug.c | 32 dip_unplug(u_iop->t.device, BIT_TIME(u_iop->t.time), get_nio_up(u_iop)); 38 dip_unplug_tm(ut_iop->t.device, BIT_TIME(ut_iop->t.time), 45 dip_plug(p_iop->t.device, BIT_TIME(p_iop->t.time));
|
/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; 105 fprintf(stderr, "Could not get monotonic time\n") [all...] |
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/ |
date_time_options_browsertest.js | 8 * DateTimeOptionsWebUITest tests the date and time section of the options page. 18 * Browse to date/time options. 29 expectTrue($('time-synced-explanation').hidden); 30 expectFalse($('set-time').hidden); 34 expectFalse($('time-synced-explanation').hidden); 35 expectTrue($('set-time').hidden);
|
/external/chromium_org/content/test/ |
web_gesture_curve_mock.cc | 20 bool WebGestureCurveMock::apply(double time, 22 blink::WebSize displacement(velocity_.x * time, velocity_.y * time);
|
/external/chromium_org/net/socket/ |
client_socket_pool_histograms.h | 11 #include "base/time/time.h" 26 void AddRequestTime(base::TimeDelta time) const; 27 void AddUnusedIdleTime(base::TimeDelta time) const; 28 void AddReusedIdleTime(base::TimeDelta time) const;
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
FileMetadata.h | 38 #include <time.h> 43 inline bool isValidFileTime(double time) { return std::isfinite(time); } 46 // The last modification time of the file, in seconds. 47 // The value 0.0 means that the time is not set.
|
/external/iproute2/tc/ |
tc_core.h | 16 int tc_core_time2big(unsigned time); 17 unsigned tc_core_time2tick(unsigned time); 19 unsigned tc_core_time2ktime(unsigned time);
|
/packages/apps/Mms/src/com/android/mms/dom/smil/ |
TimeListImpl.java | 22 import org.w3c.dom.smil.Time; 26 private final ArrayList<Time> mTimes; 31 TimeListImpl(ArrayList<Time> times) { 43 public Time item(int index) { 44 Time time = null; local 46 time = mTimes.get(index); 50 return time;
|