/external/chromium/chrome/browser/sync/glue/ |
typed_url_model_associator.cc | 89 std::vector<base::Time> added_visits; 110 std::pair<GURL, std::vector<base::Time> >(ix->url(), 144 std::pair<GURL, std::vector<base::Time> >( 146 std::vector<base::Time>())); 147 std::vector<base::Time>& visits = new_visits.back().second; 162 visits.push_back(base::Time::FromInternalValue(typed_url.visit(c))); 165 new_url.set_last_visit(base::Time::FromInternalValue( 332 std::vector<base::Time>* new_visits) { 342 base::Time typed_visit = 343 base::Time::FromInternalValue [all...] |
/external/openssl/apps/ |
s_time.c | 141 static int exitNow = 0; /* Set when it's time to exit main */ 165 exitNow = 0; /* Set when it's time to exit main */ 175 -time arg - max number of seconds to collect data, default %d\n\ 192 printf("-new - Just time new connections\n"); 193 printf("-reuse - Just time connection reuse\n"); 293 else if( strcmp(*argv,"-time") == 0) { 320 * TIME - time functions 394 /* Loop and time how long it takes to make connections */ 397 finishtime=(long)time(NULL)+maxTime [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
SpriteTextRenderer.java | 62 * Some one-time OpenGL initialization can be made here 74 * Create our texture. This has to be done each time the 176 long time = SystemClock.uptimeMillis(); local 178 long delta = time - mLastTime; 179 Log.w("time", Long.toString(delta)); 181 mLastTime = time; 184 long time = SystemClock.uptimeMillis() % 4000L; local 185 float angle = 0.090f * ((int) time); 205 long time = SystemClock.uptimeMillis(); local 207 mStartTime = time; [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
TimeZoneTest.java | 75 // Test for method int java.util.TimeZone.getOffset(long time) 111 assertEquals("Must return GMT when given an invalid TimeZone time GMT+28:70.", 113 assertEquals("Must return GMT when given an invalid TimeZone time GMT+28:30.", 115 assertEquals("Must return GMT when given an invalid TimeZone time GMT+8:70.", 117 assertEquals("Must return GMT when given an invalid TimeZone time GMT+3:.", 119 assertEquals("Must return GMT when given an invalid TimeZone time GMT+3:0.", 121 assertEquals("Must return GMT when given an invalid TimeZone time GMT+2360.", 123 assertEquals("Must return GMT when given an invalid TimeZone time GMT+892.", 125 assertEquals("Must return GMT when given an invalid TimeZone time GMT+082.", 127 assertEquals("Must return GMT when given an invalid TimeZone time GMT+28." [all...] |
/external/chromium/chrome/browser/password_manager/ |
login_database_unittest.cc | 11 #include "base/time.h" 25 base::Int64ToString(base::Time::Now().ToInternalValue()) + ".db"; 179 const base::Time& time) { 188 form.date_created = time; 210 base::Time now = base::Time::Now(); 213 // Create one with a 0 time. 214 EXPECT_TRUE(AddTimestampedLogin(db.get(), "1", "foo1", base::Time())); 226 EXPECT_TRUE(db->GetLoginsCreatedBetween(now, base::Time(), &result)) [all...] |
/external/chromium/chrome/browser/webdata/ |
logins_table_unittest.cc | 8 #include "base/time.h" 15 using base::Time; 28 base::Int64ToString(Time::Now().ToTimeT()) + 179 const Time& time) { 188 form.date_created = time; 210 Time now = Time::Now(); 213 // Create one with a 0 time. 214 EXPECT_TRUE(AddTimestampedLogin(&db, "1", "foo1", Time())); [all...] |
/external/qemu/distrib/sdl-1.2.12/src/timer/macos/ |
FastTimes.c | 5 /* Updated 2/15/00 - Check for native Time Manager, no need to calibrate */ 6 /* Updated 2/19/00 - Fixed default value for gScale under native Time Mgr */ 35 * The PowerPC 601 has a built-in "real time clock" RTC, and we fall 37 * Later PowerPCs have an accurate "time base register" TBR, and we 50 accurate, and it's the basis for the Time Manager and Microseconds(). 61 Time Manager implementation: UpTime(), Microseconds(), and TickCount() are 75 it always work on those systems that don't have a native Time Manager (ie, 123 a native implementation of the Time Manager. If so, then it's 151 /* Poll the selected timer and prepare it (since we have time) */ 185 /* Initialize globals the first time we are called * [all...] |
/hardware/ril/mock-ril/src/cpp/ |
worker.cpp | 21 #include <time.h> 153 ((wq->delayed_q_.top()->time - now) <= 0)) { 155 DBG("WorkerQueueThread::Worker move p=%p time=%lldms", 156 r->p, r->time); 166 int64_t delay_ms = r->time - now; 168 " p=%p time=%lldms delay_ms=%lldms", 169 r->p, r->time, delay_ms); 248 r->time = android::elapsedRealtime() + delay_in_ms; 250 r->time = 0; 290 " top->time=%lldms diff=%lldms" [all...] |
/packages/apps/Mms/src/com/android/mms/dom/smil/ |
ElementTimeImpl.java | 25 import org.w3c.dom.smil.Time; 74 ArrayList<Time> beginTimeList = new ArrayList<Time>(); 75 // Initialize Time instances and add them to Vector 90 * 2 - ElementParallelTimeContainer (A Time-Child of the SMILDocument, which is a seq) 93 * 1 - In the first case, the default start time is obviously 0. 123 ArrayList<Time> endTimeList = new ArrayList<Time>(); 128 // Initialize Time instances and add them to Vector 135 Log.e(TAG, "Malformed time value.", e) [all...] |
/external/bluetooth/glib/gio/ |
gfileinfo.h | 373 /* Time attributes */ 378 * A key in the "time" namespace for getting the time the file was last 380 * %G_FILE_ATTRIBUTE_TYPE_UINT64, and contains the UNIX time since the 383 #define G_FILE_ATTRIBUTE_TIME_MODIFIED "time::modified" /* uint64 */ 388 * A key in the "time" namespace for getting the miliseconds of the time 393 #define G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC "time::modified-usec" /* uint32 */ 398 * A key in the "time" namespace for getting the time the file was las [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
ProcessStats.java | 63 /** Stores user time and system time in 100ths of a second. */ 65 /** Stores user time and system time in 100ths of a second. */ 104 PROC_SPACE_TERM|PROC_OUT_LONG, // 1: user time 105 PROC_SPACE_TERM|PROC_OUT_LONG, // 2: nice time 106 PROC_SPACE_TERM|PROC_OUT_LONG, // 3: sys time 107 PROC_SPACE_TERM|PROC_OUT_LONG, // 4: idle time 108 PROC_SPACE_TERM|PROC_OUT_LONG, // 5: iowait time 109 PROC_SPACE_TERM|PROC_OUT_LONG, // 6: irq time [all...] |
/dalvik/tools/dmtracedump/ |
CreateTestTrace.c | 31 #include <sys/time.h> 32 #include <time.h> 64 unsigned int time; member in struct:dataRecord 102 * where the first column is the time, the second column is the thread id, 106 * more space. In the example above, A is called at time 4, A calls B at 107 * time 6, B returns at time 8, and A returns at time 10. Thread 1 is the 116 * In this file format, the thread id is always 1, and the time starts at 121 unsigned int time = 0, threadId local 145 int time = strtoul(cp, &cp, 0); local [all...] |
/external/chromium/chrome/browser/history/ |
visit_database.cc | 58 // should be created and dropped at the same time. 73 // Create an index over time so that we can efficiently find the visits in a 74 // given time range (most history views are time-based). Ignore failures 92 visit->visit_time = base::Time::FromInternalValue(statement.ColumnInt64(2)); 246 void VisitDatabase::GetAllVisitsInRange(base::Time begin_time, 247 base::Time end_time, 270 base::Time begin_time, 271 base::Time end_time, 298 void VisitDatabase::GetVisibleVisitsInRange(base::Time begin_time [all...] |
/external/grub/stage2/ |
ufs2.h | 82 * The size of physical and logical block numbers and time fields in UFS. 129 grub_int32_t di_atime; /* 16: Last access time. */ 130 grub_int32_t di_atimensec; /* 20: Last access time. */ 131 grub_int32_t di_mtime; /* 24: Last modified time. */ 132 grub_int32_t di_mtimensec; /* 28: Last modified time. */ 133 grub_int32_t di_ctime; /* 32: Last inode change time. */ 134 grub_int32_t di_ctimensec; /* 36: Last inode change time. */ 153 ufs_time_t di_atime; /* 32: Last access time. */ 154 ufs_time_t di_mtime; /* 40: Last modified time. */ 155 ufs_time_t di_ctime; /* 48: Last inode change time. * [all...] |
/external/icu4c/i18n/ |
astro.cpp | 94 * The average number of solar days from one new moon to the next. This is the time 148 // Time-related constants 239 * the current date and time. 250 * the specified date and time. 260 * latitude and longitude. The object's time is set to the current 261 * date and time. 286 // Time and date getters and setters 290 * Set the current date and time of this <code>CalendarAstronomer</code> object. All 291 * astronomical calculations are performed based on this time setting. 293 * @param aTime the date and time, expressed as the number of milliseconds sinc [all...] |
hebrwcal.h | 55 * However, in order to keep the time fields in this class 56 * synchronized with those of the other calendars and with local clock time, 157 * Constructs a HebrewCalendar based on the current time in the default time zone 234 * of time to the given time field, based on the calendar's rules. For more 237 * @param field The time field. 238 * @param amount The amount of date or time to be added to the field. 240 * previously set in the time field is invalid, this will be set to 254 * @param field The time field [all...] |
/external/webkit/Source/WebCore/platform/graphics/avfoundation/ |
MediaPlayerPrivateAVFoundation.cpp | 291 void MediaPlayerPrivateAVFoundation::seek(float time) 293 LOG(Media, "MediaPlayerPrivateAVFoundation::seek(%p) - seeking to %f", this, time); 297 if (time > duration()) 298 time = duration(); 300 m_seekTo = time; 302 seekToTime(time); 582 void MediaPlayerPrivateAVFoundation::timeChanged(double time) 584 LOG(Media, "MediaPlayerPrivateAVFoundation::timeChanged(%p) - time = %f", this, time); 590 // if we will be able to seek to an exact time, so assume that we are done seeking if we ar [all...] |
/external/wpa_supplicant_8/src/utils/ |
eloop.c | 35 struct os_time time; member in struct:eloop_timeout 308 if (os_get_time(&timeout->time) < 0) { 312 now_sec = timeout->time.sec; 313 timeout->time.sec += secs; 314 if (timeout->time.sec < now_sec) { 324 timeout->time.usec += usecs; 325 while (timeout->time.usec >= 1000000) { 326 timeout->time.sec++; 327 timeout->time.usec -= 1000000; 336 /* Maintain timeouts in order of increasing time */ [all...] |
/libcore/luni/src/main/java/java/util/ |
Calendar.java | 34 * specific instant in time with millisecond precision. See {@link Date} for 45 * returns a calendar whose locale is based on system settings and whose time fields 46 * have been initialized with the current date and time: <blockquote> 53 * A {@code Calendar} object can produce all the time field values needed 54 * to implement the date-time formatting for a particular language and calendar 95 * When computing a {@code Date} from time fields, two special 125 * For the time of day: 142 * three consecutive minutes in time. 150 * The date or time format strings are not part of the definition of a calendar, 205 * A smaller field represents a smaller unit of time. {@code HOUR} is 332 protected long time; field in class:Calendar [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/pulse/ |
def.h | 29 #include <sys/time.h> 30 #include <time.h> 91 * record/playback time based on 92 * the local time that passed 98 * playback/recording time is 109 PA_STREAM_NOT_MONOTONOUS = 4, /**< Don't force the time to 114 * monotonically increasing time 117 * cannot deal with time going 121 * caused the time to to jump 130 * current time and latency wit [all...] |
/development/samples/AndroidBeamDemo/src/com/example/android/beam/ |
Beam.java | 32 import android.text.format.Time; 72 Time time = new Time(); local 73 time.setToNow(); 75 "Beam Time: " + time.format("%H:%M:%S"));
|
/development/samples/GlobalTime/src/com/android/globaltime/ |
City.java | 30 * A class representing a city, with an associated position, time zone name, 111 * savings time. This requires reading the entire time zone database 145 * savings time. This does not require reading the time zone database 167 * Constructs a city with the given name, time zone name, raw offset, 225 * time into account.
|
/external/apache-http/src/org/apache/http/impl/conn/ |
IdleConnectionHandler.java | 56 /** Holds connections and the time they were added. */ 110 * Closes connections that have been idle for at least the given amount of time. 112 * @param idleTime the minimum idle time, in milliseconds, for connections to be closed 117 // the latest time for which connections will be closed 133 log.debug("Closing connection, connection time: " + connectionTime); 177 * @param now The current time in milliseconds 179 * @param validUnit The unit of time the duration is specified in.
|
/external/chromium/chrome/browser/visitedlink/ |
visitedlink_perftest.cc | 78 // to query the database with different numbers of things in it. The time 79 // is the total time to do all the operations, and as such, it is only 118 // time init with empty table 126 // many time and this is the actual bottleneck of this test. The file should 130 // time writing the file out out 134 // know really how much time it took to write the file. 182 // We discard the max and return the average time.
|
/external/chromium/net/base/ |
bandwidth_metrics.h | 13 #include "base/time.h" 17 // Tracks statistics about the bandwidth metrics over time. In order to 19 // so that it can know when to discount idle time. The BandwidthMetrics 26 // point in time. 29 // Imagine 4 streams opening and closing with overlapping time. 34 // Time ---------------------------------------> 71 // If we're the only stream, we've finished some idle time. Record a new
|