Searched refs:Time (Results 1 - 25 of 2274) sorted by relevance

1234567891011>>

/external/chromium_org/base/time/
H A Ddefault_clock.cc11 Time DefaultClock::Now() {
12 return Time::Now();
/external/chromium_org/base/
H A Dbuild_time.cc12 Time GetBuildTime() {
13 Time integral_build_time;
20 bool result = Time::FromString(kDateTime, &integral_build_time);
H A Dbuild_time.h21 Time BASE_EXPORT GetBuildTime();
/external/chromium_org/base/process/
H A Dprocess_info_win.cc15 const Time CurrentProcessInfo::CreationTime() {
20 return Time();
22 return Time::FromFileTime(creation_time);
H A Dprocess_info.h13 class Time;
20 static const Time CreationTime();
H A Dprocess_info_linux.cc16 const Time CurrentProcessInfo::CreationTime() {
22 Time boot_time = internal::GetBootTime();
24 return Time(boot_time + start_offset);
/external/chromium_org/base/i18n/
H A Dtime_formatting.h16 class Time;
31 BASE_I18N_EXPORT string16 TimeFormatTimeOfDay(const Time& time);
38 const Time& time,
43 BASE_I18N_EXPORT string16 TimeFormatShortDate(const Time& time);
46 BASE_I18N_EXPORT string16 TimeFormatShortDateNumeric(const Time& time);
49 BASE_I18N_EXPORT string16 TimeFormatShortDateAndTime(const Time& time);
53 BASE_I18N_EXPORT string16 TimeFormatFriendlyDateAndTime(const Time& time);
57 BASE_I18N_EXPORT string16 TimeFormatFriendlyDate(const Time& time);
/external/chromium_org/chrome/common/variations/
H A Duniformity_field_trials.h9 class Time;
17 void SetupUniformityFieldTrials(const base::Time install_date);
/external/chromium_org/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/
H A Dtime.h11 typedef base::Time Time; typedef in namespace:invalidation
/external/chromium_org/google_apis/drive/
H A Dtime_util_unittest.cc16 std::string FormatTime(const base::Time& time) {
24 base::Time::Exploded exploded = {2013, 1, 0, 15, 17, 11, 35, 374};
25 base::Time local_time = base::Time::FromLocalExploded(exploded);
30 base::Time test_time;
38 base::Time target_time;
39 base::Time test_time;
57 base::Time test_time;
60 base::Time::Exploded target_time1 = {2005, 1, 0, 7, 8, 2, 0, 0};
62 EXPECT_EQ(FormatTime(base::Time
[all...]
H A Dtime_util.h13 class Time;
19 // Parses an RFC 3339 date/time into a base::Time, returning true on success.
22 bool GetTimeFromString(const base::StringPiece& raw_value, base::Time* time);
24 // Formats a base::Time as an RFC 3339 date/time (in UTC).
26 std::string FormatTimeAsString(const base::Time& time);
28 // Formats a base::Time as an RFC 3339 date/time (in localtime).
30 std::string FormatTimeAsStringLocaltime(const base::Time& time);
/external/chromium_org/chrome/browser/history/android/
H A Dandroid_time.h13 // 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();
/external/chromium_org/base/test/
H A Dmock_time_provider.cc16 DCHECK(!DefaultValue<Time>::IsSet());
18 DefaultValue<Time>::Set(Time::FromInternalValue(0));
23 DefaultValue<Time>::Clear();
27 Time MockTimeProvider::StaticNow() {
H A Dmock_time_provider.h8 // A helper class used to mock out calls to the static method base::Time::Now.
12 // typedef base::Time(TimeProvider)();
25 // StopWatch watch(&base::Time::Now);
35 // .WillOnce(Return(Time::FromDoubleT(4)));
37 // .WillOnce(Return(Time::FromDoubleT(10)));
58 MOCK_METHOD0(Now, Time());
60 static Time StaticNow();
H A Dsimple_test_clock.h16 // the returned Time objects. All methods may be called from any
20 // Starts off with a clock set to Time().
24 virtual Time Now() OVERRIDE;
30 void SetNow(Time now);
36 Time now_;
/external/chromium_org/sync/util/
H A Dtime.cc12 int64 TimeToProtoTime(const base::Time& t) {
13 return (t - base::Time::UnixEpoch()).InMilliseconds();
16 base::Time ProtoTimeToTime(int64 proto_t) {
17 return base::Time::UnixEpoch() + base::TimeDelta::FromMilliseconds(proto_t);
20 std::string GetTimeDebugString(const base::Time& t) {
H A Dtime.h5 // Time-related sync functions.
20 SYNC_EXPORT int64 TimeToProtoTime(const base::Time& t);
23 SYNC_EXPORT_PRIVATE base::Time ProtoTimeToTime(int64 proto_t);
25 SYNC_EXPORT std::string GetTimeDebugString(const base::Time& t);
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
H A DTimeTest.java20 import java.sql.Time;
26 * JUnit Testcase for the java.sql.Time class
76 Time theTime = new Time(10, 45, 20);
83 Time theTime = new Time(TIME_TEST1);
103 // Create the Time object
104 Time theTime = new Time(theTimes[i]);
118 Time[] theReturn
[all...]
/external/chromium_org/ppapi/shared_impl/
H A Dtime_conversion.cc19 double wall_clock = TimeToPPTime(base::Time::Now());
28 PP_Time TimeToPPTime(base::Time t) { return t.ToDoubleT(); }
30 base::Time PPTimeToTime(PP_Time t) {
32 // a "null" Time object. But calling code would expect t==0 to represent the
36 return base::Time::UnixEpoch();
37 return base::Time::FromDoubleT(t);
42 base::Time::kMicrosecondsPerSecond;
53 double PPGetLocalTimeZoneOffset(const base::Time& time) {
57 base::Time::Exploded exploded = {0};
58 base::Time
[all...]
/external/chromium_org/v8/src/base/platform/
H A Dtime-unittest.cc55 TEST(Time, JsTime) {
56 Time t = Time::FromJsTime(700000.3);
62 TEST(Time, Timespec) {
63 Time null;
65 EXPECT_EQ(null, Time::FromTimespec(null.ToTimespec()));
66 Time now = Time::Now();
67 EXPECT_EQ(now, Time::FromTimespec(now.ToTimespec()));
68 Time now_sy
[all...]
/external/chromium_org/chrome/common/importer/
H A Dimporter_autofill_form_data_entry.h27 base::Time first_used;
30 base::Time last_used;
/external/chromium_org/content/renderer/
H A Dstats_collection_observer.h28 const base::Time& load_start_time() { return start_time_; }
29 const base::Time& load_stop_time() { return stop_time_; }
32 base::Time start_time_;
33 base::Time stop_time_;
/external/chromium_org/chrome/browser/extensions/
H A Dconvert_web_app.h14 class Time;
31 std::string ConvertTimeToExtensionVersion(const base::Time& time);
43 const base::Time& create_time,
/external/chromium_org/chrome/common/media/
H A Dwebrtc_logging_message_data.h15 WebRtcLoggingMessageData(base::Time time, const std::string& message);
20 std::string Format(base::Time start_time) const;
22 base::Time timestamp;
/external/chromium_org/remoting/base/
H A Drate_counter.h34 void SetCurrentTimeForTest(base::Time current_time);
38 typedef std::pair<base::Time, int64> DataPoint;
41 void EvictOldDataPoints(base::Time current_time);
43 // Returns the current time specified for test, if set, or base::Time::Now().
44 base::Time CurrentTime() const;
46 // Time window over which to calculate the rate.
56 base::Time current_time_for_test_;

Completed in 4787 milliseconds

1234567891011>>