Home
last modified time | relevance | path

Searched refs:ndays (Results 1 – 10 of 10) sorted by relevance

/trueos/lib/libcalendar/
HDcalendar.c67 jdate(int ndays, date *dt) in jdate() argument
77 idt.y = ndays / 365; in jdate()
80 while ((r = ndaysji(&idt)) > ndays) in jdate()
88 r = ndays - r; in jdate()
131 gdate(int ndays, date *dt) in gdate() argument
142 idt.y = ndays / 365; in gdate()
145 while ((r = ndaysgi(&idt)) > ndays) in gdate()
158 ndays = ndays - r; in gdate()
164 for (idt.m = 11; montht[idt.m] > ndays; idt.m--) in gdate()
167 idt.d = ndays - montht[idt.m]; /* the rest is the day in month */ in gdate()
/trueos/usr.bin/calendar/
HDlocale.c66 struct fixs ndays[8]; /* short national days names */ variable
88 if (ndays[i].name != NULL) in setnnames()
89 free(ndays[i].name); in setnnames()
90 if ((ndays[i].name = strdup(buf)) == NULL) in setnnames()
92 ndays[i].len = strlen(buf); in setnnames()
HDparsedata.c920 if (ndays[i].len != 0 && ndays[i].name != NULL) in getdayofweekname()
921 return (ndays[i].name); in getdayofweekname()
940 for (i = 0; ndays[i].name != NULL; i++) { in checkdayofweek()
941 n = ndays + i; in checkdayofweek()
HDcalendar.h148 extern struct fixs ndays[8]; /* short national days names */
/trueos/crypto/heimdal/lib/asn1/
HDtimegm.c45 static const unsigned ndays[2][12] ={ variable
71 if (tm->tm_mday < 1 || tm->tm_mday > (int)ndays[is_leap(tm->tm_year)][tm->tm_mon]) in _der_timegm()
84 res += ndays[is_leap(tm->tm_year)][i]; in _der_timegm()
127 unsigned daysinmonth = ndays[is_leap(tm->tm_year)][tm->tm_mon]; in _der_gmtime()
/trueos/crypto/heimdal/lib/roken/
HDtimegm.c53 static const unsigned ndays[2][12] ={ in rk_timegm() local
63 if (tm->tm_mday < 1 || tm->tm_mday > ndays[is_leap(tm->tm_year)][tm->tm_mon]) in rk_timegm()
76 res += ndays[is_leap(tm->tm_year)][i]; in rk_timegm()
/trueos/usr.sbin/newsyslog/
HDptimes.c94 int ndays; in days_pmonth() local
96 ndays = mtab[month]; in days_pmonth()
112 ndays++; /* not multiple of 100 */ in days_pmonth()
114 ndays++; /* is multiple of 100 and 400 */ in days_pmonth()
117 return (ndays); in days_pmonth()
/trueos/crypto/openssl/apps/
HDocsp.c114 unsigned long flags, int nmin, int ndays);
172 int nmin = 0, ndays = -1; in MAIN() local
426 if (ndays == -1) in MAIN()
427 ndays = 0; in MAIN()
443 ndays = atol(*args); in MAIN()
444 if (ndays < 0) { in MAIN()
709 rother, rflags, nmin, ndays); in MAIN()
988 unsigned long flags, int nmin, int ndays) in make_ocsp_response() argument
1005 if (ndays != -1) in make_ocsp_response()
1006 nextupd = X509_gmtime_adj(NULL, nmin * 60 + ndays * 3600 * 24); in make_ocsp_response()
/trueos/usr.bin/ncal/
HDncal.c183 static date *sdater(int ndays, struct date * d);
184 static date *sdateb(int ndays, struct date * d);
/trueos/crypto/openssl/doc/apps/
HDocsp.pod53 [B<-ndays n>]
282 =item B<-nmin minutes>, B<-ndays days>