Home
last modified time | relevance | path

Searched refs:today (Results 1 – 25 of 292) sorted by relevance

12345678910>>...12

/external/openssh/
Dauth-shadow.c58 time_t today; in auth_shadow_acctexpired() local
62 today = time(NULL) / DAY; in auth_shadow_acctexpired()
63 daysleft = spw->sp_expire - today; in auth_shadow_acctexpired()
64 debug3("%s: today %d sp_expire %d days left %d", __func__, (int)today, in auth_shadow_acctexpired()
92 time_t today; in auth_shadow_pwexpired() local
100 today = time(NULL) / DAY; in auth_shadow_pwexpired()
101 debug3("%s: today %d sp_lstchg %d sp_max %d", __func__, (int)today, in auth_shadow_pwexpired()
120 daysleft = spw->sp_lstchg + spw->sp_max - today; in auth_shadow_pwexpired()
/external/python/pybind11/tests/
Dtest_chrono.py12 date0 = datetime.datetime.today()
14 date2 = datetime.datetime.today()
32 date1 = datetime.datetime.today()
48 date1 = datetime.date.today()
86 datetime.datetime.today().time(),
134 date1 = datetime.datetime.today()
135 date2 = datetime.datetime.today()
150 date1 = datetime.datetime.today()
151 date2 = datetime.datetime.today()
163 date1 = datetime.date.today()
[all …]
/external/google-breakpad/src/client/windows/sender/
Dcrash_report_sender.cc63 int today = GetCurrentDate(); in SendCrashReport() local
64 if (today == last_sent_date_ && in SendCrashReport()
76 ReportSent(today); in SendCrashReport()
102 void CrashReportSender::ReportSent(int today) { in ReportSent() argument
104 if (today != last_sent_date_) { in ReportSent()
105 last_sent_date_ = today; in ReportSent()
/external/mockito/src/test/java/org/mockitousage/bugs/
DShouldMocksCompareToBeConsistentWithEqualsTest.java24 Date today = mock(Date.class); in should_compare_to_be_consistent_with_equals() local
29 set.add(today); in should_compare_to_be_consistent_with_equals()
39 Date today = mock(Date.class); in should_compare_to_be_consistent_with_equals_when_comparing_the_same_reference() local
43 set.add(today); in should_compare_to_be_consistent_with_equals_when_comparing_the_same_reference()
44 set.add(today); in should_compare_to_be_consistent_with_equals_when_comparing_the_same_reference()
/external/python/cpython2/Doc/includes/sqlite3/
Dpysqlite_datetime.py8 today = datetime.date.today() variable
11 cur.execute("insert into test(d, ts) values (?, ?)", (today, now))
14 print today, "=>", row[0], type(row[0])
/external/python/cpython3/Doc/includes/sqlite3/
Dpysqlite_datetime.py8 today = datetime.date.today() variable
11 cur.execute("insert into test(d, ts) values (?, ?)", (today, now))
14 print(today, "=>", row[0], type(row[0]))
/external/llvm-project/lldb/test/API/commands/command/source/
Dmy.py6 today = datetime.date.today()
7 print(today)
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowDateUtilsTest.java77 long today = java.util.Calendar.getInstance().getTimeInMillis(); in isToday_shouldReturnFalseForNotToday() local
78 ShadowSystemClock.setCurrentTimeMillis(today); in isToday_shouldReturnFalseForNotToday()
80 assertThat(DateUtils.isToday(today)).isTrue(); in isToday_shouldReturnFalseForNotToday()
81 assertThat(DateUtils.isToday(today + (86400 * 1000) /* 24 hours */)).isFalse(); in isToday_shouldReturnFalseForNotToday()
82 assertThat(DateUtils.isToday(today + (86400 * 10000) /* 240 hours */)).isFalse(); in isToday_shouldReturnFalseForNotToday()
/external/icu/android_icu4j/libcore_bridge/src/java/com/android/icu/text/
DDateSorterBridge.java33 private final String today; // "Today". field in DateSorterBridge
62 today = caseMap.apply(locale, breakIterator, todayStr); in DateSorterBridge()
72 return today; in getToday()
/external/python/dateutil/dateutil/test/
Dtest_utils.py20 self.assertEqual(utils.today(), datetime(2014, 12, 15, 0, 0, 0))
24 self.assertEqual(utils.today(NYC),
29 self.assertEqual(utils.today(UTC),
Dtest_relativedelta.py14 today = date(2003, 9, 17) variable in RelativeDeltaTest
69 self.assertEqual(self.today +
75 self.today),
109 self.assertEqual(self.today+relativedelta(weekday=FR),
113 self.assertEqual(self.today+relativedelta(weekday=calendar.FRIDAY),
117 self.assertEqual(self.today+relativedelta(day=31, weekday=FR(-1)),
121 self.assertEqual(self.today+relativedelta(weekday=WE),
125 self.assertEqual(self.today+relativedelta(days=+1, weekday=WE),
155 self.assertEqual(relativedelta(self.today,
167 self.assertEqual(self.today+relativedelta(yearday=261),
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatRegressionTestJ.java194 Date today = cal.getTime(); in Test4358730() local
197 logln(sdf.format(today)); in Test4358730()
199 logln(sdf.format(today)); in Test4358730()
202 logln(sdf.format(today)); in Test4358730()
205 logln(sdf.format(today)); in Test4358730()
208 logln(sdf.format(today)); in Test4358730()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatRegressionTestJ.java191 Date today = cal.getTime(); in Test4358730() local
194 logln(sdf.format(today)); in Test4358730()
196 logln(sdf.format(today)); in Test4358730()
199 logln(sdf.format(today)); in Test4358730()
202 logln(sdf.format(today)); in Test4358730()
205 logln(sdf.format(today)); in Test4358730()
/external/toolchain-utils/
Dbuildbot_test_llvm.py177 today = datetime.date.today()
178 delta = today - START_DATE
195 WriteRotatingReportsData(results_dict, today)
/external/rust/crates/chrono/src/offset/
Dlocal.rs95 pub fn today() -> Date<Local> { in today() method
211 let today = Local::today(); in test_leap_second() localVariable
213 let dt = today.and_hms_milli(1, 2, 59, 1000); in test_leap_second()
219 let dt = today.and_hms_milli(1, 2, 3, 1234); in test_leap_second()
/external/vulkan-validation-layers/build-android/
Dtest_APK.sh256 today=$(date +%Y%m%d-%H%M%S)
257 outFile="VulkanLayerValidationTests.$platform.$today.out.txt"
258 errFile="VulkanLayerValidationTests.$platform.$today.err.txt"
259 logFile="VulkanLayerValidationTests.$platform.$today.logcat.txt"
/external/python/dateutil/docs/
Drelativedelta.rst26 >>> TODAY = date.today()
128 Next wednesday (it's today!).
135 Next wednesday, but not today.
177 Obtain today's date using the yearday:
184 We can use today's date, since yearday should be absolute
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/
Ddeprecation.js25 var today = new Date();
29 if (today < expiry) {
/external/llvm-project/clang/docs/tools/
Dgenerate_formatted_state.py79 today = datetime.now().strftime("%B %d, %Y %H:%M:%S") variable
80 output.write(bytes(rst_prefix.format(today=today,
/external/autotest/server/site_tests/rlz_CheckPing/
Dcontrol.future_embargo_date14 This tests that no RLZ first-use event (CAF) ping is sent if today's date is
22 rlz_embargo_end_date = (datetime.date.today() + datetime.timedelta(days=2))
/external/grpc-grpc/tools/failures/
Ddetect_new_failures.py188 today = datetime.date.today()
189 a_week_ago = today - datetime.timedelta(days=7)
241 datetime.date.today() - datetime.timedelta(days=args.calibration_days) -
/external/exoplayer/
Dupdate.py82 today = datetime.date.today() variable
/external/python/dateutil/
DREADME.rst95 year with a Friday 13th in August, and you want to get today's
106 >>> today = now.date()
108 >>> rdelta = relativedelta(easter(year), today)
109 >>> print("Today is: %s" % today)
115 >>> print("And the Easter of that year is: %s" % (today+rdelta))
/external/deqp/scripts/
Dmake_release.py323 today = datetime.date.today()
324 return "dEQP-%s-%04d-%02d-%02d-%s" % (releaseName, today.year, today.month, today.day, configName)
/external/python/markupsafe/
DREADME.rst54 projects, `please donate today`_.
56 .. _please donate today: https://palletsprojects.com/donate

12345678910>>...12