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

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/isofs/
H A Dutil.c20 int crtime, days, i; local
36 days = year * 365;
38 days += (year+1) / 4;
40 days += monlen[i-1];
42 days++;
43 days += day - 1;
44 crtime = ((((days * 24) + hour) * 60 + minute) * 60)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/rtc/
H A Drtc-lib.c32 * The number of days in the month.
41 * The number of days since January 1. (0 to 365)
54 register int days, month, year; local
56 days = time / 86400;
57 time -= days * 86400;
60 tm->tm_wday = (days + 4) % 7;
62 year = 1970 + days / 365;
63 days -= (year - 1970) * 365
66 if (days < 0) {
68 days
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-parisc/
H A Drtc.h38 /* How many days come before each month (0-12). */
50 long int days, rem, y; local
63 days = tod_data.tod_sec / SECS_PER_DAY;
76 while (days < 0 || days >= (__isleap (y) ? 366 : 365))
78 /* Guess a corrected year, assuming 365 days per year. */
79 long int yg = y + days / 365 - (days % 365 < 0);
82 days -= ((yg - y) * 365
90 for (y = 11; days < (lon
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavformat/
H A Dcutils.c69 int days, y, ny, m; local
72 days = secs / 86400;
80 while (days > 365) {
81 ny = (y + days/366);
82 days -= (ny - y) * 365 + LEAPS_COUNT(ny - 1) - LEAPS_COUNT(y - 1);
85 if (days==365 && !ISLEAP(y)) { days=0; y++; }
87 for (m=0; days >= md[m]; m++)
88 days -= md[m];
92 tm->tm_mday = days
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/udf/
H A Dudftime.c48 /* How many days come before each month (0-12). */
126 long int days, rem, y; local
138 days = ts.tv_sec / SECS_PER_DAY;
149 while (days < 0 || days >= (__isleap(y) ? 366 : 365))
151 long int yg = y + days / 365 - (days % 365 < 0);
154 days -= ((yg - y) * 365
161 for (y = 11; days < (long int) ip[y]; --y)
163 days
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ia64/hp/sim/boot/
H A Dfw-emu.c55 long int days, rem, y; local
58 days = t / SECS_PER_DAY;
62 --days;
66 ++days;
80 while (days < 0 || days >= (__isleap (y) ? 366 : 365)) {
81 /* Guess a corrected year, assuming 365 days per year. */
82 long int yg = y + days / 365 - (days % 365 < 0);
85 days
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/coreutils/
H A Dcal.c129 unsigned row, len, days[MAXDAYS]; local
130 unsigned *dp = days;
144 unsigned row, which_cal, week_len, days[12][MAXDAYS]; local
156 day_array(i + 1, year, days[i]);
173 dp = days[month + which_cal] + row;
192 static void day_array(unsigned month, unsigned year, unsigned *days) argument
198 memset(days, SPACE, MAXDAYS * sizeof(int));
208 days[oday+2] = sep1752[oday] + j_offset;
231 * missing days.
250 days[d
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/src/
H A Dpo-time.c37 long days = ( local
40 /* + intervening leap days */
47 return 60l * (60l * (24l * days + (a->tm_hour - b->tm_hour))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/x509/
H A Dx509_r2x.c68 X509 *X509_REQ_to_X509(X509_REQ *r, int days, EVP_PKEY *pkey) argument
97 if (X509_gmtime_adj(xi->validity->notAfter,(long)60*60*24*days) == NULL)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/x509/
H A Dx509_r2x.c68 X509 *X509_REQ_to_X509(X509_REQ *r, int days, EVP_PKEY *pkey) argument
99 if (X509_gmtime_adj(xi->validity->notAfter,(long)60*60*24*days) == NULL)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/netconf/
H A Dmain.c137 char *days[] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" }; local
138 if (fw->match.days[0] < 7 && fw->match.days[1] < 7)
140 days[fw->match.days[0]], days[fw->match.days[1]]);
141 if (fw->match.secs[0] < (24 * 60 * 60) && fw->match.days[1] < (24 * 60 * 60))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/scripts/
H A Dautopppd27 my $days = $total;
28 if ($days > 0) {
29 return(sprintf("%d-%02d:%02d:%02d",$days,$hours,$minutes,$seconds));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/demos/
H A Dselfsign.c11 int mkit(X509 **x509p, EVP_PKEY **pkeyp, int bits, int serial, int days);
67 int mkit(x509p,pkeyp,bits,serial,days)
72 int days;
112 X509_gmtime_adj(X509_get_notAfter(x),(long)60*60*24*days);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/test/
H A Dtestss38 $x509cmd -CAcreateserial -in $CAreq -days 30 -req -out $CAcert -signkey $CAkey >err.ss
80 $x509cmd -CAcreateserial -in $Ureq -days 30 -req -out $Ucert -CA $CAcert -CAkey $CAkey >err.ss
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/demos/
H A Dselfsign.c11 int mkit(X509 **x509p, EVP_PKEY **pkeyp, int bits, int serial, int days);
67 int mkit(x509p,pkeyp,bits,serial,days)
72 int days;
112 X509_gmtime_adj(X509_get_notAfter(x),(long)60*60*24*days);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/test/
H A Dtestss50 $x509cmd -CAcreateserial -in $CAreq -days 30 -req -out $CAcert -signkey $CAkey -extfile $CAconf -extensions v3_ca >err.ss
92 $x509cmd -CAcreateserial -in $Ureq -days 30 -req -out $Ucert -CA $CAcert -CAkey $CAkey -extfile $Uconf -extensions v3_ee >err.ss
113 $x509cmd -CAcreateserial -in $P1req -days 30 -req -out $P1cert -CA $Ucert -CAkey $Ukey -extfile $P1conf -extensions v3_proxy >err.ss
135 $x509cmd -CAcreateserial -in $P2req -days 30 -req -out $P2cert -CA $P1cert -CAkey $P1key -extfile $P2conf -extensions v3_proxy >err.ss
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/util/
H A Dmkcerts.sh43 $SSLEAY x509 -md5 -days 1461 \
79 $SSLEAY x509 -md5 -days 1461 \
116 $SSLEAY x509 -md5 -days 365 \
153 $SSLEAY x509 -md5 -days 365 \
190 $SSLEAY x509 -md5 -days 365 \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/util/
H A Dmkcerts.sh43 $SSLEAY x509 -md5 -days 1461 \
79 $SSLEAY x509 -md5 -days 1461 \
116 $SSLEAY x509 -md5 -days 365 \
153 $SSLEAY x509 -md5 -days 365 \
190 $SSLEAY x509 -md5 -days 365 \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/m68k/mac/
H A Dmisc.c627 /* How many days come before each month (0-12). */
635 long int days, rem, y, wday, yday; local
638 days = time / SECS_PER_DAY;
643 --days;
647 ++days;
654 wday = (4 + days) % 7; /* Day in the week. Not currently used */
663 while (days < 0 || days >= (__isleap (y) ? 366 : 365))
665 /* Guess a corrected year, assuming 365 days per year. */
666 long int yg = y + days / 36
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/input/misc/
H A Dhp_sdc_rtc.c194 unsigned int days; local
200 days = (unsigned int)(raw >> 24) & 0xffff;
203 res->tv_sec = (time_t)(tenms / 100) + days * 86400;
281 unsigned int days; local
293 days = setto->tv_sec / 86400;
295 days += ((setto->tv_sec % 86400) + setto->tv_usec / 1000000) / 86400;
296 if (days > 0xffff) return -1;
308 tseq[9] = (uint8_t)(days & 0xff);
309 tseq[10] = (uint8_t)((days >> 8) & 0xff);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/demos/x509/
H A Dmkcert.c16 int mkcert(X509 **x509p, EVP_PKEY **pkeyp, int bits, int serial, int days);
61 int mkcert(X509 **x509p, EVP_PKEY **pkeyp, int bits, int serial, int days) argument
98 X509_gmtime_adj(X509_get_notAfter(x),(long)60*60*24*days);
H A Dmkreq.c15 int mkreq(X509_REQ **x509p, EVP_PKEY **pkeyp, int bits, int serial, int days);
59 int mkreq(X509_REQ **req, EVP_PKEY **pkeyp, int bits, int serial, int days) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/demos/x509/
H A Dmkcert.c16 int mkcert(X509 **x509p, EVP_PKEY **pkeyp, int bits, int serial, int days);
61 int mkcert(X509 **x509p, EVP_PKEY **pkeyp, int bits, int serial, int days) argument
98 X509_gmtime_adj(X509_get_notAfter(x),(long)60*60*24*days);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/demos/ssltest-ecc/
H A DECCcertgen.sh24 # The certificate will expire these many days after the issue date.
65 # Make the certificate valid for 1500 days from the time of signing.
67 $OPENSSL_CMD x509 -req -days $DAYS \
104 # file for this CA, create one. Make the certificate valid for $DAYS days
107 $OPENSSL_CMD x509 -req -days $DAYS \
143 # file for this CA, create one. Make the certificate valid for $DAYS days
146 $OPENSSL_CMD x509 -req -days $DAYS \
H A DRSAcertgen.sh24 # The certificate will expire these many days after the issue date.
54 $OPENSSL_CMD x509 -req -days $DAYS \
80 $OPENSSL_CMD x509 -req -days $DAYS \
105 $OPENSSL_CMD x509 -req -days $DAYS \

Completed in 241 milliseconds

123