/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/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);
|
/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;
|
crash_report_sender.h | 100 void ReportSent(int today); 102 // Returns today's date (UTC) formatted as YYYYMMDD.
|
/external/clang/docs/analyzer/ |
conf.py | 45 copyright = u'2013-%d, Analyzer Team' % date.today().year 60 # There are two options for replacing |today|: either, you set today to some 62 #today = ''
|
/external/autotest/frontend/health/ |
passing_experimental_unittest.py | 67 self.mox.StubOutWithMock(MockDatetime, 'today') 84 datetime.datetime.today().AndReturn(self._datetime(2013, 3, 20)) 85 datetime.datetime.today().AndReturn(self._datetime(2013, 3, 20)) 103 datetime.datetime.today().AndReturn(self._datetime(2013, 3, 20)) 104 datetime.datetime.today().AndReturn(self._datetime(2013, 3, 20)) 122 datetime.datetime.today().AndReturn(self._datetime(2013, 3, 20)) 123 datetime.datetime.today().AndReturn(self._datetime(2013, 3, 20)) 141 datetime.datetime.today().AndReturn(self._datetime(2013, 3, 20)) 142 datetime.datetime.today().AndReturn(self._datetime(2013, 3, 20)) 160 datetime.datetime.today().AndReturn(self._datetime(2013, 3, 20) [all...] |
complete_failures.py | 73 cutoff_date = datetime.datetime.today() - cutoff_delta 138 cutoff = (datetime.datetime.today() -
|
passing_experimental.py | 49 failure_cutoff_date = (datetime.datetime.today() - 51 pass_cutoff_date = (datetime.datetime.today() -
|
complete_failures_unittest.py | 153 self.mox.StubOutWithMock(MockDatetime, 'today') 185 datetime.datetime.today().AndReturn(self.datetime(2012, 1, 4)) 212 datetime.datetime.today().AndReturn(self.datetime(2012, 1, 3)) 257 self.mox.StubOutWithMock(MockDatetime, 'today') 273 datetime.datetime.today().AndReturn(self.datetime(2012, 1, 21)) 286 datetime.datetime.today().AndReturn(self.datetime(2012, 1, 21))
|
manual_check_passing_experimental.py | 61 started_time=datetime.datetime.today())
|
complete_failures_functional_test.py | 58 # so that the today class method can be directly mocked out. It is necesarry 78 # All of our tests will involve mocking out the datetime.today() class 80 self.mox.StubOutWithMock(MockDatetime, 'today') 122 MockDatetime.today().AndReturn(self.datetime(2012, 1, 21)) 123 MockDatetime.today().AndReturn(self.datetime(2012, 1, 21))
|
/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...] |
/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
|
/external/toolchain-utils/ |
buildbot_test_llvm.py | 89 date_str = datetime.date.today() 148 today = datetime.date.today() 149 delta = today - START_DATE
|
/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));
|
/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/autotest/site_utils/ |
collect_host_stats.py | 130 today = datetime.combine(date.today(), datetime.min.time()) 131 end_time = time_utils.to_epoch_time(today)
|
/libcore/luni/src/test/java/libcore/icu/ |
LocaleDataTest.java | 26 // System.err.format("%20s %s %s %s\n", l, d.yesterday, d.today, d.tomorrow); 55 assertEquals("Today", l.today); 63 assertEquals("Heute", l.today); 84 assertEquals("??", l.today);
|
/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);
|
/external/clang/docs/ |
conf.py | 45 copyright = u'2007-%d, The Clang Team' % date.today().year 60 # There are two options for replacing |today|: either, you set today to some 62 #today = ''
|
/external/llvm/docs/ |
conf.py | 44 copyright = u'2003-%d, LLVM Project' % date.today().year 59 # There are two options for replacing |today|: either, you set today to some 61 #today = ''
|
/external/skia/tools/copyright/ |
fileparser.py | 61 DEFAULT_YEAR = datetime.date.today().year
|