/external/openssh/ |
auth-shadow.c | 58 time_t today; local 62 today = time(NULL) / DAY; 63 daysleft = spw->sp_expire - today; 64 debug3("%s: today %d sp_expire %d days left %d", __func__, (int)today, 93 time_t today; local 101 today = time(NULL) / DAY; 102 debug3("%s: today %d sp_lstchg %d sp_max %d", __func__, (int)today, 121 daysleft = spw->sp_lstchg + spw->sp_max - today; [all...] |
/external/google-breakpad/src/client/windows/sender/ |
crash_report_sender.cc | 63 int today = GetCurrentDate(); local 64 if (today == last_sent_date_ && 76 ReportSent(today); 102 void CrashReportSender::ReportSent(int today) { 104 if (today != last_sent_date_) { 105 last_sent_date_ = today;
|
/external/mockito/src/test/java/org/mockitousage/bugs/ |
ShouldMocksCompareToBeConsistentWithEqualsTest.java | 24 Date today = mock(Date.class); local 29 set.add(today); 39 Date today = mock(Date.class); local 43 set.add(today); 44 set.add(today);
|
/development/samples/Wiktionary/src/com/example/android/wiktionary/ |
WordWidget.java | 53 // Build the widget update for today 84 Time today = new Time(); local 85 today.setToNow(); 87 // Build the page title for today, such as "March 21" 89 monthNames[today.month], today.monthDay); 93 // Try querying the Wiktionary API for today's word
|
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/ |
WordWidget.java | 54 // Build the widget update for today 73 Time today = new Time(); local 74 today.setToNow(); 76 // Build today's page title, like "Wiktionary:Word of the day/March 21" 78 monthNames[today.month], today.monthDay); 83 // Try querying the Wiktionary API for today's word
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
DateUtils.java | 231 final Calendar today = Calendar.getInstance(); local 232 today.setTime(new Date()); 234 // Round the current time to the exact start of today so that when we compare 235 // today against the target date, both dates are set to exactly 0000H. 236 today.set(Calendar.HOUR_OF_DAY, 0); 237 today.set(Calendar.MINUTE, 0); 238 today.set(Calendar.SECOND, 0); 239 today.set(Calendar.MILLISECOND, 0); 247 // Convert from the UTC date to the local date. Set the year to today's year if the 249 anniversary.set(!isYearSet ? today.get(Calendar.YEAR) : targetYear [all...] |
/packages/apps/Dialer/java/com/android/contacts/common/util/ |
DateUtils.java | 227 final Calendar today = Calendar.getInstance(); local 228 today.setTime(new Date()); 230 // Round the current time to the exact start of today so that when we compare 231 // today against the target date, both dates are set to exactly 0000H. 232 today.set(Calendar.HOUR_OF_DAY, 0); 233 today.set(Calendar.MINUTE, 0); 234 today.set(Calendar.SECOND, 0); 235 today.set(Calendar.MILLISECOND, 0); 243 // Convert from the UTC date to the local date. Set the year to today's year if the 245 anniversary.set(!isYearSet ? today.get(Calendar.YEAR) : targetYear, targetMonth, targetDay) [all...] |
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Stitch/ |
IFWIStitch.bat | 30 for /f "tokens=1" %%i in ("%date%") do set today=%%i
variable 33 set IFWI_Suffix=%today%_%hour:~0,2%%time:~3,2%
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/classes/ |
Dates.py | 25 # The Dates module also supplies function today(), which returns the
172 def today():
function
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
Utils.java | 98 * Default seed of the random is today's date. 128 String today = dateFormat.format(new Date()); local 129 Log.d(TAG, "Today's random seed is " + today); 130 return Long.valueOf(today);
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
SimpleWeekView.java | 141 // If this view contains the today 145 // Which day is today [0-6] or -1 if no day is today 157 // The timezone to display times/dates in (used for determining when Today 276 // Figure out what day today is 277 Time today = new Time(tz); local 278 today.setToNow(); 296 if (time.year == today.year && time.yearDay == today.yearDay) {
|
/cts/tests/tests/text/src/android/text/format/cts/ |
DateUtilsTest.java | 304 long today = now; local 311 assertEquals("Today", DateUtils.getRelativeTimeSpanString(today, now,
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/ |
BuildPreferencePage.java | 318 Date today = new Date(); local 319 if (certificate.getNotAfter().compareTo(today) < 0) { 324 if (certificate.getNotBefore().compareTo(today) > 0) {
|
/test/vts/web/dashboard/src/test/java/com/android/vts/servlet/ |
VtsPerformanceJobServletTest.java | 106 // Add today's data 107 PerformanceSummary today = new PerformanceSummary(); local 118 today.insertProfilingPointSummary("p1", summary); 130 today.insertProfilingPointSummary("p2", summary); 131 dailySummaries.add(today); 132 legendLabels.add("today"); 216 PerformanceSummary today = dailySummaries.get(0); local 222 today.insertProfilingPointSummary("p3", summary);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
DateFormatRegressionTestJ.java | 188 Date today = cal.getTime(); local 191 logln(sdf.format(today)); 193 logln(sdf.format(today)); 196 logln(sdf.format(today)); 199 logln(sdf.format(today)); 202 logln(sdf.format(today));
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
DateFormatRegressionTestJ.java | 187 Date today = cal.getTime(); local 190 logln(sdf.format(today)); 192 logln(sdf.format(today)); 195 logln(sdf.format(today)); 198 logln(sdf.format(today)); 201 logln(sdf.format(today));
|
/libcore/luni/src/main/java/libcore/icu/ |
LocaleData.java | 68 public String today; // "Today". field in class:LocaleData
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/export/ |
KeyCheckPage.java | 227 Calendar today = Calendar.getInstance(); local 229 if (expirationCalendar.before(today)) { 248 int thisYear = today.get(Calendar.YEAR);
|
/test/vts/web/dashboard/src/main/java/com/android/vts/servlet/ |
ShowPerformanceDigestServlet.java | 192 // Add today to the list of time intervals to analyze 194 TimeInterval today = new TimeInterval(startTime - ONE_DAY, startTime); local 195 timeIntervals.add(today);
|
VtsPerformanceJobServlet.java | 218 // Add today to the list of time intervals to analyze 222 TimeInterval today = new TimeInterval(now - ONE_DAY / MILLI_TO_MICRO, now, dateString); local 223 timeIntervals.add(today);
|
/external/icu/icu4c/source/test/cintltst/ |
cdtrgtst.c | 57 UDate today, d1; local 63 today = ucal_getNow(); 84 fmdt = myFormatit(df, today); 86 log_verbose("today: %s\n", austrdup(fmdt)); 96 todayS =myFormatit(df, today); 97 log_verbose("After the pattern is applied\n today: %s\n", austrdup(todayS) ); 106 log_verbose("today: %s\n", austrdup(rt) );
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
ObjectStreamFieldTest.java | 216 assertEquals(SerializableObject2.today, getField.get("d", null)); 329 public static Date today = new Date(1172632429156l); field in class:SerializableObject2 338 putField.put("d", today);
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
MonthView.java | 155 // If this view contains the today 159 // Which day is today [0-6] or -1 if no day is today 361 // Figure out what day today is 362 final Time today = new Time(Time.getCurrentTimezone()); local 363 today.setToNow(); 381 if (sameDay(day, today)) { 408 private boolean sameDay(int day, Time today) { 409 return mYear == today.year && 410 mMonth == today.month & [all...] |
/external/icu/icu4c/source/test/intltest/ |
dtfmrgts.cpp | 77 UDate today = Calendar::getNow(); local 78 logln((UnicodeString) "today: " + today); 95 fmtd = sdf->format(today, fmtd, pos); 96 logln("today: " + fmtd); 100 todayS = sdf->format(today, todayS, pos); 101 logln("today: " + todayS); 103 today = sdf->parse(todayS, status); 105 logln((UnicodeString)"today date: " + today); [all...] |
/frameworks/base/services/core/java/com/android/server/ |
GraphicsStatsService.java | 297 long today = normalizeDate(System.currentTimeMillis()).getTimeInMillis(); local 303 if (buffer.mInfo.startTime < today) {
|