/external/chromium_org/base/process/ |
process_info.h | 13 class Time; 18 // Returns the time at which the process was launched. May be empty if an 20 static const Time CreationTime();
|
process_info_win.cc | 10 #include "base/time/time.h" 15 const Time CurrentProcessInfo::CreationTime() { 20 return Time(); 22 return Time::FromFileTime(creation_time);
|
/external/chromium_org/base/time/ |
default_clock.cc | 5 #include "base/time/default_clock.h" 11 Time DefaultClock::Now() { 12 return Time::Now();
|
clock.h | 9 #include "base/time/time.h" 15 // time. 17 // See DefaultClock (base/time/default_clock.h) for the default 18 // implementation that simply uses Time::Now(). 20 // (An implementation that uses Time::SystemTime() should be added as 26 // See TickClock (base/time/tick_clock.h) for the equivalent interface for 33 // make any ordering assumptions about the returned Time. For 34 // example, the system clock may change to an earlier time. 35 virtual Time Now() = 0 [all...] |
time.cc | 5 #include "base/time/time.h" 20 return static_cast<int>(delta_ / Time::kMicrosecondsPerDay); 24 return static_cast<int>(delta_ / Time::kMicrosecondsPerHour); 28 return static_cast<int>(delta_ / Time::kMicrosecondsPerMinute); 32 return static_cast<double>(delta_) / Time::kMicrosecondsPerSecond; 36 return delta_ / Time::kMicrosecondsPerSecond; 40 return static_cast<double>(delta_) / Time::kMicrosecondsPerMillisecond; 44 return delta_ / Time::kMicrosecondsPerMillisecond; 48 return (delta_ + Time::kMicrosecondsPerMillisecond - 1) 143 Time time; local [all...] |
/external/chromium/base/i18n/ |
time_formatting.h | 5 // Basic time formatting methods. These methods use the current locale 6 // formatting for displaying the time. 16 class Time; 24 // Returns the time of day, e.g., "3:07 PM". 25 string16 TimeFormatTimeOfDay(const Time& time); 27 // Returns the time of day in the specified hour clock type. e.g. 30 string16 TimeFormatTimeOfDayWithHourClockType(const Time& time, 34 string16 TimeFormatShortDate(const Time& time) [all...] |
/external/chromium_org/chrome/common/metrics/variations/ |
uniformity_field_trials.h | 9 class Time; 14 // A collection of one-time-randomized and session-randomized field trials 17 void SetupUniformityFieldTrials(const base::Time install_date);
|
/external/chromium_org/base/ |
build_time.cc | 8 #include "base/time/time.h" 12 Time GetBuildTime() { 13 Time integral_build_time; 20 bool result = Time::FromString(kDateTime, &integral_build_time);
|
build_time.h | 9 #include "base/time/time.h" 13 // GetBuildTime returns the time at which the current binary was built. 21 Time BASE_EXPORT GetBuildTime();
|
/external/chromium_org/base/test/ |
simple_test_clock.h | 10 #include "base/time/clock.h" 11 #include "base/time/time.h" 16 // 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; 29 // Sets the clock to the given time. 30 void SetNow(Time now); 36 Time now_;
|
mock_time_provider.cc | 16 DCHECK(!DefaultValue<Time>::IsSet()); 18 DefaultValue<Time>::Set(Time::FromInternalValue(0)); 23 DefaultValue<Time>::Clear(); 27 Time MockTimeProvider::StaticNow() {
|
mock_time_provider.h | 8 // 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))); 48 #include "base/time/time.h" 58 MOCK_METHOD0(Now, Time()); 60 static Time StaticNow();
|
/external/chromium_org/base/i18n/ |
time_formatting.h | 5 // Basic time formatting methods. These methods use the current locale 6 // formatting for displaying the time. 16 class Time; 30 // Returns the time of day, e.g., "3:07 PM". 31 BASE_I18N_EXPORT string16 TimeFormatTimeOfDay(const Time& time); 33 // Returns the time of day in the specified hour clock type. e.g. 38 const Time& time, 43 BASE_I18N_EXPORT string16 TimeFormatShortDate(const Time& time) [all...] |
/external/chromium_org/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/ |
time.h | 8 #include "base/time/time.h" 11 typedef base::Time Time;
|
/external/chromium_org/chrome/browser/google_apis/ |
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...] |
time_util.h | 13 class Time; 19 // Parses an RFC 3339 date/time into a base::Time, returning true on success. 20 // The time string must be in the format "yyyy-mm-ddThh:mm:ss.dddTZ" (TZ is 22 bool GetTimeFromString(const base::StringPiece& raw_value, base::Time* time); 24 // Formats a base::Time as an RFC 3339 date/time (in UTC). 25 // If |time| is null, returns "null". 26 std::string FormatTimeAsString(const base::Time& time) [all...] |
/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/base/ |
time.cc | 5 #include "base/time.h" 16 return static_cast<int>(delta_ / Time::kMicrosecondsPerDay); 20 return static_cast<int>(delta_ / Time::kMicrosecondsPerHour); 24 return static_cast<int>(delta_ / Time::kMicrosecondsPerMinute); 28 return static_cast<double>(delta_) / Time::kMicrosecondsPerSecond; 32 return delta_ / Time::kMicrosecondsPerSecond; 36 return static_cast<double>(delta_) / Time::kMicrosecondsPerMillisecond; 40 return delta_ / Time::kMicrosecondsPerMillisecond; 44 return (delta_ + Time::kMicrosecondsPerMillisecond - 1) / 45 Time::kMicrosecondsPerMillisecond 85 Time time; local [all...] |
/external/chromium_org/sync/util/ |
time.cc | 5 #include "sync/util/time.h" 12 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) {
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
TimeTest.java | 20 import java.sql.Time; 26 * JUnit Testcase for the java.sql.Time class 77 Time theTime = new Time(10, 45, 20); 84 Time theTime = new Time(TIME_TEST1); 104 // Create the Time object 105 Time theTime = new Time(theTimes[i]); 106 // Convert to a time string ... and compar [all...] |
/external/chromium_org/ppapi/shared_impl/ |
time_conversion.cc | 12 // the time ticks would be assuming the wall clock time doesn't change. 19 double wall_clock = TimeToPPTime(base::Time::Now()); 28 PP_Time TimeToPPTime(base::Time t) { 32 base::Time PPTimeToTime(PP_Time t) { 33 // The time code handles exact "0" values as special, and produces 34 // a "null" Time object. But calling code would expect t==0 to represent the 38 return base::Time::UnixEpoch(); 39 return base::Time::FromDoubleT(t); 44 base::Time::kMicrosecondsPerSecond [all...] |
/external/chromium/chrome/browser/history/ |
history_publisher_none.cc | 11 #include "base/time.h" 29 void HistoryPublisher::DeleteUserHistoryBetween(const base::Time& begin_time, 30 const base::Time& end_time)
|
/external/chromium/net/ftp/ |
ftp_directory_listing_parser_ls.h | 14 class Time; 23 const base::Time& current_time,
|
ftp_directory_listing_parser_netware.h | 14 class Time; 24 const base::Time& current_time,
|
ftp_response_info.h | 9 #include "base/time.h" 23 // The time at which the request was made that resulted in this response. 24 // For cached responses, this time could be "far" in the past. 25 base::Time request_time; 27 // The time at which the response headers were received. For cached 28 // responses, this time could be "far" in the past. 29 base::Time response_time;
|