Home
last modified time | relevance | path

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

123456789

/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()
93 time_t today; in auth_shadow_pwexpired() local
101 today = time(NULL) / DAY; in auth_shadow_pwexpired()
102 debug3("%s: today %d sp_lstchg %d sp_max %d", __func__, (int)today, in auth_shadow_pwexpired()
121 daysleft = spw->sp_lstchg + spw->sp_max - today; in auth_shadow_pwexpired()
/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/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/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/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),
147 self.assertEqual(relativedelta(self.today,
159 self.assertEqual(self.today+relativedelta(yearday=261),
[all …]
/external/toolchain-utils/
Dbuildbot_test_llvm.py181 today = datetime.date.today()
182 delta = today - START_DATE
199 WriteRotatingReportsData(results_dict, today)
/external/vulkan-validation-layers/build-android/
Dtest_APK.sh243 today=$(date +%Y-%m-%d.%H:%M:%S)
244 outFile="VulkanLayerValidationTests.$platform.$today.out.txt"
245 errFile="VulkanLayerValidationTests.$platform.$today.err.txt"
246 logFile="VulkanLayerValidationTests.$platform.$today.logcat.txt"
/external/syzkaller/vendor/cloud.google.com/go/internal/version/
Dupdate_version.sh3 today=$(date +%Y%m%d)
5 sed -i -r -e 's/const Repo = "([0-9]{8})"/const Repo = "'$today'"/' $GOFILE
/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/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/python/dateutil/
DREADME.rst72 year with a Friday 13th in August, and you want to get today's
83 >>> today = now.date()
85 >>> rdelta = relativedelta(easter(year), today)
86 >>> print("Today is: %s" % today)
92 >>> 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/jsilver/src/com/google/clearsilver/jsilver/examples/basic/
Dhello-world.cs2 How are you today?
/external/clang/docs/analyzer/
Dconf.py45 copyright = u'2013-%d, Analyzer Team' % date.today().year
/external/python/cpython2/Doc/library/
Dxmlrpclib.rst285 def today():
286 today = datetime.datetime.today()
287 return xmlrpclib.DateTime(today)
291 server.register_function(today, "today")
301 today = proxy.today()
303 converted = datetime.datetime.strptime(today.value, "%Y%m%dT%H:%M:%S")
/external/swiftshader/third_party/subzero/docs/
Dconf.py44 copyright = u'2014-%d, Subzero Project' % date.today().year
/external/libunwind_llvm/docs/
Dconf.py44 copyright = u'2011-%d, LLVM Project' % date.today().year
/external/python/dateutil/dateutil/
Dutils.py7 def today(tzinfo=None): function
/external/python/mock/docs/
Dconf.py82 today = '' variable
/external/icu/icu4c/source/test/cintltst/
Dcdtrgtst.c57 UDate today, d1; in Test4029195() local
63 today = ucal_getNow(); in Test4029195()
84 fmdt = myFormatit(df, today); in Test4029195()
96 todayS =myFormatit(df, today); in Test4029195()

123456789