Searched refs:year (Results 1 - 25 of 522) sorted by last modified time

1234567891011>>

/macosx-10.10/xnu-2782.1.97/iokit/Kernel/
H A DIOPMrootDomain.cpp1261 if (cs->year)
/macosx-10.10/ICU-531.30/icuSources/test/intltest/
H A Dtztest.cpp39 // when year/rule are changed. Although we want to keep our eyes on test failures
222 errln("FAIL: Start year broken");
1442 // PST zone that has DST all year long.
1880 int32_t year, month, day, hour, minute, second; member in struct:__anon1201
1913 gc.set(data[i].year, data[i].month, data[i].day,
1919 data[i].year, data[i].month + 1, data[i].day,
1928 data[i].year, data[i].month + 1, data[i].day,
1935 data[i].year, data[i].month + 1, data[i].day,
/macosx-10.10/cups-408/cups/cups/
H A Dhttp-support.c71 { /* Months of the year */
829 int day, year; /* Day of month and year */ local
844 if (sscanf(s, "%*s%d%15s%d%d:%d:%d", &day, mon, &year, &hour, &min, &sec) < 6)
847 DEBUG_printf(("4httpGetDateTime: day=%d, mon=\"%s\", year=%d, hour=%d, "
848 "min=%d, sec=%d", day, mon, year, hour, min, sec));
869 if ((year & 3) == 0 && ((year % 100) != 0 || (year % 400) == 0))
876 days += (year
[all...]
/macosx-10.10/Security-57031.1.35/Security/include/security_smime/
H A Dcmssiginfo.c94 long year, month, mday, hour, minute, second, hourOff, minOff; local
101 CAPTURE(year,string+0,loser);
102 if (year < 50) {
103 /* ASSUME that year # is in the 2000's, not the 1900's */
104 year += 100;
135 gdate.year = (SInt32)(year + 1900);
172 if (gdate.year < 1950)
175 /* remove the century since it's added to the year by the
177 gdate.year
[all...]
H A DtsaSupport.c1167 (int)greg.year, greg.month, greg.day, greg.hour, greg.minute, (int)greg.second))
/macosx-10.10/Security-57031.1.35/Security/libsecurity_smime/lib/
H A Dcmssiginfo.c94 long year, month, mday, hour, minute, second, hourOff, minOff; local
101 CAPTURE(year,string+0,loser);
102 if (year < 50) {
103 /* ASSUME that year # is in the 2000's, not the 1900's */
104 year += 100;
135 gdate.year = (SInt32)(year + 1900);
172 if (gdate.year < 1950)
175 /* remove the century since it's added to the year by the
177 gdate.year
[all...]
H A DtsaSupport.c1167 (int)greg.year, greg.month, greg.day, greg.hour, greg.minute, (int)greg.second))
/macosx-10.10/Security-57031.1.35/Security/include/security_cdsa_utilities/
H A Dcssmdates.cpp42 year = y; month = m; day = d;
73 int CssmDate::year() const function in class:CssmDate
118 mTime = CFGregorianDateGetAbsoluteTime(Gregorian(date.year(), date.month(), date.day()),
125 return CssmDate(greg.year, greg.month, greg.day);
145 int(greg.year), greg.month, greg.day, greg.hour, greg.minute, int(greg.second)))
166 int(greg.year), greg.month, greg.day, greg.hour, greg.minute, int(greg.second)))
186 long year;
190 &year, &month, &day, &hour, &minute, &second))
194 mTime = Gregorian((int)year, month, day, hour, minute, second);
H A Dcssmdates.h55 int year() const;
/macosx-10.10/Security-57031.1.35/Security/include/security_cdsa_utils/
H A DcuTimeStr.cpp55 case UTC_TIME_NOSEC_LEN: // 2-digit year, no seconds, not y2K compliant
59 case UTC_TIME_STRLEN: // 2-digit year, not Y2K compliant
62 case GENERALIZED_TIME_STRLEN: // 4-digit year
97 * 2-digit year.
98 * 0 <= year < 50 : assume century 21
99 * 50 <= year < 70 : illegal per PKIX, though we tolerate
100 * 70 < year <= 99 : assume century 20
115 /* by definition - tm_year is year - 1900 */
200 /* UTC - 2 year digits - code which parses this assumes that
211 /* note year i
252 int year; local
[all...]
/macosx-10.10/Security-57031.1.35/Security/include/security_keychain/
H A DSecCertificateP.c1857 SInt32 year = parseDecimalPair(&cp); local
1858 if (year < 50) {
1859 /* 0 <= year < 50 : assume century 21 */
1860 gdate.year = 2000 + year;
1861 } else if (year < 70) {
1862 /* 50 <= year < 70 : illegal per PKIX */
1865 /* 70 < year <= 99 : assume century 20 */
1866 gdate.year = 1900 + year;
[all...]
H A Dcssmdatetime.cpp102 case UTC_TIME_STRLEN: // 2-digit year, not Y2K compliant
105 case GENERALIZED_TIME_STRLEN: // 4-digit year
141 * 2-digit year.
142 * 0 <= year <= 50 : assume century 21
143 * 50 < year < 70 : illegal per PKIX
144 * 70 < year <= 99 : assume century 20
154 /* bug fix... we need to end up with a 4-digit year! */
157 /* by definition - tm_year is year - 1900 */
159 date.year = x;
255 int(date.year
284 unsigned int year, month, day, hour, minute, second; local
[all...]
/macosx-10.10/Security-57031.1.35/Security/include/security_ocspd/
H A DocspdUtils.cpp55 * Convert a generalized time string, with a 4-digit year and no trailing
86 greg.year = atoi(szTemp);
257 * Convert CFAbsoluteTime to generalized time string, GMT format (4 digit year,
269 (int)greg.year, greg.month, greg.day, greg.hour,
/macosx-10.10/Security-57031.1.35/Security/libsecurity_apple_x509_tp/lib/
H A DtpTime.c42 bool isUtc = false; // 2-digit year
62 case UTC_TIME_NOSEC_LEN: // 2-digit year, no seconds, not y2K compliant
66 case UTC_TIME_STRLEN: // 2-digit year, not Y2K compliant
72 case GENERALIZED_TIME_STRLEN: // 4-digit year
120 * 2-digit year.
121 * 0 <= year < 50 : assume century 21
122 * 50 <= year < 70 : illegal per PKIX
124 * 70 < year <= 99 : assume century 20
139 gd.year = x;
262 * year forma
325 int year; local
[all...]
/macosx-10.10/Security-57031.1.35/Security/libsecurity_cdsa_utilities/lib/
H A Dcssmdates.cpp42 year = y; month = m; day = d;
73 int CssmDate::year() const function in class:CssmDate
118 mTime = CFGregorianDateGetAbsoluteTime(Gregorian(date.year(), date.month(), date.day()),
125 return CssmDate(greg.year, greg.month, greg.day);
145 int(greg.year), greg.month, greg.day, greg.hour, greg.minute, int(greg.second)))
166 int(greg.year), greg.month, greg.day, greg.hour, greg.minute, int(greg.second)))
186 long year;
190 &year, &month, &day, &hour, &minute, &second))
194 mTime = Gregorian((int)year, month, day, hour, minute, second);
H A Dcssmdates.h55 int year() const;
/macosx-10.10/Security-57031.1.35/Security/libsecurity_cdsa_utils/lib/
H A DcuTimeStr.cpp55 case UTC_TIME_NOSEC_LEN: // 2-digit year, no seconds, not y2K compliant
59 case UTC_TIME_STRLEN: // 2-digit year, not Y2K compliant
62 case GENERALIZED_TIME_STRLEN: // 4-digit year
97 * 2-digit year.
98 * 0 <= year < 50 : assume century 21
99 * 50 <= year < 70 : illegal per PKIX, though we tolerate
100 * 70 < year <= 99 : assume century 20
115 /* by definition - tm_year is year - 1900 */
200 /* UTC - 2 year digits - code which parses this assumes that
211 /* note year i
252 int year; local
[all...]
/macosx-10.10/Security-57031.1.35/Security/libsecurity_keychain/Security/
H A DSecCertificateP.c1857 SInt32 year = parseDecimalPair(&cp); local
1858 if (year < 50) {
1859 /* 0 <= year < 50 : assume century 21 */
1860 gdate.year = 2000 + year;
1861 } else if (year < 70) {
1862 /* 50 <= year < 70 : illegal per PKIX */
1865 /* 70 < year <= 99 : assume century 20 */
1866 gdate.year = 1900 + year;
[all...]
H A Dcssmdatetime.cpp102 case UTC_TIME_STRLEN: // 2-digit year, not Y2K compliant
105 case GENERALIZED_TIME_STRLEN: // 4-digit year
141 * 2-digit year.
142 * 0 <= year <= 50 : assume century 21
143 * 50 < year < 70 : illegal per PKIX
144 * 70 < year <= 99 : assume century 20
154 /* bug fix... we need to end up with a 4-digit year! */
157 /* by definition - tm_year is year - 1900 */
159 date.year = x;
255 int(date.year
284 unsigned int year, month, day, hour, minute, second; local
[all...]
/macosx-10.10/Security-57031.1.35/Security/libsecurity_keychain/lib/
H A DSecCertificateP.c1857 SInt32 year = parseDecimalPair(&cp); local
1858 if (year < 50) {
1859 /* 0 <= year < 50 : assume century 21 */
1860 gdate.year = 2000 + year;
1861 } else if (year < 70) {
1862 /* 50 <= year < 70 : illegal per PKIX */
1865 /* 70 < year <= 99 : assume century 20 */
1866 gdate.year = 1900 + year;
[all...]
H A Dcssmdatetime.cpp102 case UTC_TIME_STRLEN: // 2-digit year, not Y2K compliant
105 case GENERALIZED_TIME_STRLEN: // 4-digit year
141 * 2-digit year.
142 * 0 <= year <= 50 : assume century 21
143 * 50 < year < 70 : illegal per PKIX
144 * 70 < year <= 99 : assume century 20
154 /* bug fix... we need to end up with a 4-digit year! */
157 /* by definition - tm_year is year - 1900 */
159 date.year = x;
255 int(date.year
284 unsigned int year, month, day, hour, minute, second; local
[all...]
/macosx-10.10/Security-57031.1.35/Security/libsecurity_ocspd/common/
H A DocspdUtils.cpp55 * Convert a generalized time string, with a 4-digit year and no trailing
86 greg.year = atoi(szTemp);
257 * Convert CFAbsoluteTime to generalized time string, GMT format (4 digit year,
269 (int)greg.year, greg.month, greg.day, greg.hour,
/macosx-10.10/Security-57031.1.35/Security/sec/SOSCircle/Regressions/
H A DSOSRegressionUtilities.c59 (int)greg.year, greg.month, greg.day, greg.hour, greg.minute, (int)greg.second))
/macosx-10.10/Security-57031.1.35/Security/sec/Security/
H A DSecCertificateRequest.c933 int year; local
940 if (!CFCalendarDecomposeAbsoluteTime(SecCFCalendarGetZulu(), date, "yMdHms", &year, &month, &day, &hour, &minute, &second))
945 if (year < 1950)
948 /* remove the century since it's added to the year by the
950 year %= 100;
952 d[0] = HIDIGIT(year);
953 d[1] = LODIGIT(year);
/macosx-10.10/Security-57031.1.35/Security/utilities/src/
H A DSecCFWrappers.h645 static inline CFAbsoluteTime CFAbsoluteTimeForCalendarMoment(CFCalendarRef cal, int year, int month, int day, int hour, int minute, int second) { argument
647 CFCalendarComposeAbsoluteTime(cal, &at, "yMdHms", year, month, day, hour, minute, second);
651 static inline CFAbsoluteTime CFAbsoluteTimeForCalendarDay(CFCalendarRef cal, int year, int month, int day) { argument
653 CFCalendarComposeAbsoluteTime(cal, &at, "yMd", year, month, day);
657 static inline CFAbsoluteTime CFAbsoluteTimeForGregorianMoment(CFTimeZoneRef tz, int year, int month, int day, int hour, int minute, int second) argument
661 CFAbsoluteTime at = CFAbsoluteTimeForCalendarMoment(cal, year, month, day, hour, minute, second);
666 static inline CFAbsoluteTime CFAbsoluteTimeForGregorianDay(CFTimeZoneRef tz, int year, int month, int day) argument
670 CFAbsoluteTime at = CFAbsoluteTimeForCalendarDay(cal, year, month, day);
675 static inline CFAbsoluteTime CFAbsoluteTimeForGregorianZuluMoment(int year, int month, int day, int hour, int minute, int second) argument
677 return CFAbsoluteTimeForCalendarMoment(SecCFCalendarGetZulu(), year, mont
681 CFAbsoluteTimeForGregorianZuluDay(int year, int month, int day) argument
692 CFDateCreateForGregorianMoment(CFAllocatorRef allocator, CFTimeZoneRef tz, int year, int month, int day, int hour, int minute, int second) argument
697 CFDateCreateForGregorianDay(CFAllocatorRef allocator, CFTimeZoneRef tz, int year, int month, int day, int hour, int minute, int second) argument
702 CFDateCreateForGregorianZuluMoment(CFAllocatorRef allocator, int year, int month, int day, int hour, int minute, int second) argument
707 CFDateCreateForGregorianZuluDay(CFAllocatorRef allocator, int year, int month, int day) argument
[all...]

Completed in 469 milliseconds

1234567891011>>