/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...] |
/external/chromium_org/chrome/common/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/google_apis/drive/ |
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_org/content/renderer/ |
stats_collection_observer.h | 8 #include "base/time/time.h" 27 // a null time value under various circumstances. 28 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/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 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]); 105 // 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) { return t.ToDoubleT(); } 30 base::Time PPTimeToTime(PP_Time t) { 31 // The time code handles exact "0" values as special, and produces 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 [all...] |
/external/chromium_org/v8/src/base/platform/ |
time-unittest.cc | 5 #include "src/base/platform/time.h" 11 #include <sys/time.h> 55 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() [all...] |
/development/ndk/sources/android/ndk_helper/ |
perfMonitor.cpp | 48 struct timeval Time; 49 gettimeofday( &Time, NULL ); 51 double time = Time.tv_sec + Time.tv_usec * 1.0 / 1000000.0; local 52 double tick = time - last_tick_; 54 last_tick_ = time; 56 if( Time.tv_sec - tv_last_sec_ >= 1 ) 58 double time = Time.tv_sec + Time.tv_usec * 1.0 / 1000000.0 local [all...] |
/external/chromium_org/chrome/common/importer/ |
importer_autofill_form_data_entry.h | 9 #include "base/time/time.h" 26 // The date of the first time when this name-value pair was used. 27 base::Time first_used; 29 // The date of the last time when this name-value pair was used. 30 base::Time last_used;
|
/external/chromium_org/chrome/installer/util/ |
google_update_experiment_util.h | 11 class Time; 31 base::string16 BuildExperimentDateString(const base::Time& current_time);
|
/external/chromium_org/google_apis/gaia/ |
oauth2_access_token_consumer.h | 13 class Time; 24 const base::Time& expiration_time) {}
|
/external/chromium_org/net/ftp/ |
ftp_response_info.h | 8 #include "base/time/time.h" 22 // The time at which the request was made that resulted in this response. 23 // For cached responses, this time could be "far" in the past. 24 base::Time request_time; 26 // The time at which the response headers were received. For cached 27 // responses, this time could be "far" in the past. 28 base::Time response_time;
|