Searched refs:days (Results 1 - 14 of 14) sorted by relevance

/PHP_TRUNK/ext/date/tests/
H A DDateTime_data-dates.inc12 * Particular days
41 * Particular days, negative
H A Dexamine_diff.inc4 * Helper for the DateTime diff/days/math tests
29 * @param int $expect_days the number of days to compare with the
30 * interval's "days" property
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dcdf_time.c49 * Return the number of days between jan 01 1601 and jan 01 of year.
54 int days = 0; local
58 days += isleap(y) + 365;
60 return days;
67 cdf_getday(int year, int days) argument
73 if (days < sub)
74 return days;
75 days -= sub;
77 return days;
84 cdf_getmonth(int year, int days) argument
[all...]
H A Dcdf.c1039 int days, hours, mins, secs; local
1048 days = (int)ts;
1050 if (days) {
1051 len += snprintf(buf + len, bufsiz - len, "%dd+", days);
1056 if (days || hours) {
/PHP_TRUNK/ext/date/lib/
H A Dinterval.c69 rt->days = abs(floor((one->sse - two->sse - (dst_h_corr * 3600) - (dst_m_corr * 60)) / 86400));
H A Dparse_iso_intervals.c1086 in.period->days = TIMELIB_UNSET;
H A Dparse_iso_intervals.re480 in.period->days = TIMELIB_UNSET;
H A Dtimelib.c274 printf("%3lldY %3lldM %3lldD / %3lldH %3lldM %3lldS (days: %lld)%s",
275 d->y, d->m, d->d, d->h, d->i, d->s, d->days, d->invert ? " inverted" : "");
H A Dtimelib_structs.h109 timelib_sll days; /* Contains the number of *days*, instead of Y-M-D differences */ member in struct:timelib_rel_time
191 /* 400*365 days + 97 leap days */
H A Dunixtime2tm.c42 timelib_sll days, remainder, tmp_days; local
48 days = ts / SECS_PER_DAY;
49 remainder = ts - (days * SECS_PER_DAY);
51 days++;
54 TIMELIB_DEBUG(printf("days=%lld, rem=%lld\n", days, remainder););
57 tmp_days = days + 1;
73 tmp_days = days;
H A Dtm2unixtime.c65 timelib_sll days; local
73 printf( "S: Y%d M%d %d %d %d %d\n", year, month, *y, *m, *d, days);
79 days = leapyear ? days_in_month_leap[month] : days_in_month[month];
81 /* printf( "I Y%d M%d %d %d %d %d\n", year, month, *y, *m, *d, days); */
83 *d += days;
89 days = leapyear ? days_in_month_leap[month] : days_in_month[month];
91 /* printf( "I Y%d M%d %d %d %d %d\n", year, month, *y, *m, *d, days); */
93 *d += days;
99 printf( "E: Y%d M%d %d %d %d %d\n", year, month, *y, *m, *d, days);
H A Dparse_date.re198 { "days", TIMELIB_DAY, 1 },
1803 in.time->relative.days = TIMELIB_UNSET;
/PHP_TRUNK/ext/date/
H A Dphp_date.c2434 if (intervalobj->diff->days != -99999) {
2435 PHP_DATE_INTERVAL_ADD_PROPERTY("days", days);
2439 zend_hash_update(props, "days", 5, &zv, sizeof(zv), NULL);
4058 GET_VALUE_FROM_STRUCT(days, "days");
4206 PHP_DATE_INTERVAL_READ_PROPERTY_I64("days", days);
4310 if ((int) t->days != -99999) {
4311 length = slprintf(buffer, 32, "%d", (int) t->days);
[all...]
/PHP_TRUNK/ext/openssl/
H A Dopenssl.c206 ZEND_ARG_INFO(0, days)
2969 /* {{{ proto resource openssl_csr_sign(mixed csr, mixed x509, mixed priv_key, long days [, array config_args [, long serial]])

Completed in 40 milliseconds