Home
last modified time | relevance | path

Searched refs:days (Results 1 – 25 of 27) sorted by relevance

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/
Dunbirthday.py61 days = todaydate - bdaydate
62 print 'You have lived', days, 'days'
76 print nth(days - age), 'unbirthday'
91 days = year*365 # years, roughly
92 days = days + (year+3)//4 # plus leap years, roughly
93 days = days - (year+99)//100 # minus non-leap years every century
94 days = days + (year+399)//400 # plus leap years every 4 centirues
97 days = days + 29
99 days = days + calendar.mdays[i]
100 days = days + day
[all …]
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dns_ttl.c82 int secs, mins, hours, days, weeks, x; in ns_format_ttl() local
88 days = (int)(src % 7); src /= 7; in ns_format_ttl()
96 if (days) { in ns_format_ttl()
97 T(fmt1(days, 'D', &dst, &dstlen)); in ns_format_ttl()
108 if (secs || !(weeks || days || hours || mins)) { in ns_format_ttl()
/device/linaro/bootloader/edk2/StdLib/LibC/Time/
DTime.c99 time_t /*INTN*/ days; in timesub() local
135 days = *timep / SECSPERDAY; in timesub()
140 --days; in timesub()
144 ++days; in timesub()
154 tmp->tm_wday = (int) ((EPOCH_WDAY + days) % DAYSPERWEEK); in timesub()
158 while (days < 0 || days >= (LONG32) year_lengths[yleap = isleap(y)]) { in timesub()
161 newy = (y + days / DAYSPERNYEAR); in timesub()
162 if (days < 0) in timesub()
164 days -= (newy - y) * DAYSPERNYEAR + in timesub()
170 tmp->tm_yday = (int) days; in timesub()
[all …]
DTheory.txt368 reverted to the 7-day week. With the 6-day week the usual days
405 they gave it up and went back to Julian, putting 30 days in February that
540 sequential count of Mars solar days elapsed since about 1873-12-29
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dcalendar.py159 days = (date.weekday() - self.firstweekday) % 7
160 date -= datetime.timedelta(days=days)
161 oneday = datetime.timedelta(days=1)
209 days = list(self.itermonthdays2(year, month))
210 return [ days[i:i+7] for i in range(0, len(days), 7) ]
217 days = list(self.itermonthdays(year, month))
218 return [ days[i:i+7] for i in range(0, len(days), 7) ]
613 days = datetime.date(year, month, 1).toordinal() - _EPOCH_ORD + day - 1
614 hours = days*24 + hour
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dcalendar.py159 days = (date.weekday() - self.firstweekday) % 7
160 date -= datetime.timedelta(days=days)
161 oneday = datetime.timedelta(days=1)
205 days = list(self.itermonthdays2(year, month))
206 return [ days[i:i+7] for i in range(0, len(days), 7) ]
213 days = list(self.itermonthdays(year, month))
214 return [ days[i:i+7] for i in range(0, len(days), 7) ]
608 days = datetime.date(year, month, 1).toordinal() - _EPOCH_ORD + day - 1
609 hours = days*24 + hour
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Pkcs7Sign/
DReadme.md40 openssl req -new -x509 -days 3650 -key TestRoot.key -out TestRoot.crt
52 openssl req -new -days 3650 -key TestSub.key -out TestSub.csr
53 …openssl ca -extensions v3_ca -in TestSub.csr -days 3650 -out TestSub.crt -cert TestRoot.crt -keyfi…
65 openssl req -new -days 3650 -key TestCert.key -out TestCert.csr
66 openssl ca -in TestCert.csr -days 3650 -out TestCert.crt -cert TestSub.crt -keyfile TestSub.key`
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Ddatetime.h38 int days; /* -MAX_DELTA_DAYS <= days <= MAX_DELTA_DAYS */ member
221 #define PyDelta_FromDSU(days, seconds, useconds) \ argument
222 PyDateTimeAPI->Delta_FromDelta(days, seconds, useconds, 1, \
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Ddatetime.h38 int days; /* -MAX_DELTA_DAYS <= days <= MAX_DELTA_DAYS */ member
221 #define PyDelta_FromDSU(days, seconds, useconds) \ argument
222 PyDateTimeAPI->Delta_FromDelta(days, seconds, useconds, 1, \
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_datetime.py175 eq(td(), td(weeks=0, days=0, hours=0, minutes=0, seconds=0,
177 eq(td(1), td(days=1))
180 eq(td(weeks=1), td(days=7))
181 eq(td(days=1), td(hours=24))
188 eq(td(weeks=1.0/7), td(days=1))
189 eq(td(days=1.0/24), td(hours=1))
267 days, seconds, us = 1, 7, 31
268 td = timedelta(days, seconds, us)
269 self.assertEqual(td.days, days)
274 td = timedelta(days=365)
[all …]
Dtest_inspect.py97 self.assertFalse(inspect.ismemberdescriptor(datetime.timedelta.days))
/device/linaro/bootloader/arm-trusted-firmware/tools/cert_create/include/
Dcert.h51 int cert_new(int key_alg, cert_t *cert, int days, int ca, STACK_OF(X509_EXTENSION) * sk);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Ddatetimemodule.c82 #define GET_TD_DAYS(o) (((PyDateTime_Delta *)(o))->days)
86 #define SET_TD_DAYS(o, v) ((o)->days = (v))
204 int days; in days_before_month() local
208 days = _days_before_month[month]; in days_before_month()
210 ++days; in days_before_month()
211 return days; in days_before_month()
365 check_delta_day_range(int days) in check_delta_day_range() argument
367 if (-MAX_DELTA_DAYS <= days && days <= MAX_DELTA_DAYS) in check_delta_day_range()
371 days, MAX_DELTA_DAYS); in check_delta_day_range()
731 new_delta_ex(int days, int seconds, int microseconds, int normalize, in new_delta_ex() argument
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Ddatetimemodule.c82 #define GET_TD_DAYS(o) (((PyDateTime_Delta *)(o))->days)
86 #define SET_TD_DAYS(o, v) ((o)->days = (v))
204 int days; in days_before_month() local
208 days = _days_before_month[month]; in days_before_month()
210 ++days; in days_before_month()
211 return days; in days_before_month()
365 check_delta_day_range(int days) in check_delta_day_range() argument
367 if (-MAX_DELTA_DAYS <= days && days <= MAX_DELTA_DAYS) in check_delta_day_range()
371 days, MAX_DELTA_DAYS); in check_delta_day_range()
731 new_delta_ex(int days, int seconds, int microseconds, int normalize, in new_delta_ex() argument
[all …]
/device/linaro/bootloader/arm-trusted-firmware/tools/cert_create/src/
Dcert.c82 int cert_new(int key_alg, cert_t *cert, int days, int ca, STACK_OF(X509_EXTENSION) * sk) in cert_new() argument
157 X509_gmtime_adj(X509_get_notAfter(x), (long)60*60*24*days); in cert_new()
/device/google/cuttlefish/host/frontend/gcastv2/webrtc/certs/
Dcreate_certs.sh14 openssl x509 -req -sha256 -days 365 -in server.csr -signkey server.key -out server.crt
/device/google/cuttlefish/host/frontend/gcastv2/https/certs/
Dcreate_certs.sh14 openssl x509 -req -sha256 -days 365 -in server.csr -signkey server.key -out server.crt
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/faqwiz/
Dfaqwiz.py551 if not self.ui.days:
552 days = 1
554 days = float(self.ui.days)
556 cutoff = now - days * 24 * 3600
570 if days <= 1:
571 period = "%.2g hours" % (days*24)
573 period = "%.6g days" % days
/device/amlogic/yukawa/gpu/
DEND_USER_LICENCE_AGREEMENT.txt145 thirty (30) days written notice without cause. You may terminate this
173 business hours on seven (7) days' notice. ARM shall bear the auditors'
/device/linaro/hikey/mali/bifrost/
DEND_USER_LICENCE_AGREEMENT.txt145 thirty (30) days written notice without cause. You may terminate this
173 business hours on seven (7) days' notice. ARM shall bear the auditors'
/device/linaro/hikey/mali/utgard/
DEND_USER_LICENCE_AGREEMENT.txt145 thirty (30) days written notice without cause. You may terminate this
173 business hours on seven (7) days' notice. ARM shall bear the auditors'
/device/linaro/hikey/self-extractors_hikey960/hisilicon/
DLICENSE111 business hours on seven (7) days’ notice. HISILICON shall bear the auditors’ costs for that audit u…
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/python-mappings/
DTIS-620.TXT29 # days of receipt.
DCP1140.TXT27 # days of receipt.
/device/linaro/poplar/proprietary/hisilicon/
DLICENSE50 …LICON by prior appointment during your normal business hours on seven (7) days’ notice. HISILICON …

12