OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:timeptr
(Results
1 - 6
of
6
) sorted by relevancy
/src/lib/libc/time/
asctime.c
86
asctime_r(struct tm const *restrict
timeptr
, char *restrict buf)
102
if (
timeptr
== NULL) {
109
if (
timeptr
->tm_wday < 0 ||
timeptr
->tm_wday >= DAYSPERWEEK)
111
else wn = wday_name[
timeptr
->tm_wday];
112
if (
timeptr
->tm_mon < 0 ||
timeptr
->tm_mon >= MONSPERYEAR)
114
else mn = mon_name[
timeptr
->tm_mon];
116
year =
timeptr
->tm_year;
117
mday =
timeptr
->tm_mday
[
all
...]
zdump.c
1213
dumptime(const struct tm *
timeptr
)
1232
((0 <=
timeptr
->tm_wday
1233
&&
timeptr
->tm_wday < (int) (sizeof wday_name / sizeof wday_name[0]))
1234
? wday_name[
timeptr
->tm_wday] : "???"),
1235
((0 <=
timeptr
->tm_mon
1236
&&
timeptr
->tm_mon < (int) (sizeof mon_name / sizeof mon_name[0]))
1237
? mon_name[
timeptr
->tm_mon] : "???"),
1238
timeptr
->tm_mday,
timeptr
->tm_hour,
1239
timeptr
->tm_min, timeptr->tm_sec)
[
all
...]
/src/lib/libc/locale/
wcsftime.c
59
const wchar_t *format, const struct tm *
timeptr
)
61
return wcsftime_l(wcs, maxsize, format,
timeptr
, _current_locale());
66
const wchar_t *format, const struct tm *
timeptr
, locale_t loc)
99
if (strftime_l(dst, maxsize, sformat,
timeptr
, loc) == 0)
/src/usr.bin/xlint/llib/
llib-lstdc
247
time_t (mktime)(struct tm *
timeptr
);
249
char *(asctime)(const struct tm *
timeptr
);
254
const struct tm *
timeptr
);
llib-lposix
71
char *(asctime)(const struct tm *
timeptr
);
201
time_t (mktime)(struct tm *
timeptr
);
268
const struct tm *
timeptr
);
/src/usr.bin/pr/
pr.c
1303
struct tm *
timeptr
= NULL;
local in function:nxtfile
1331
timeptr
= localtime(&curtime);
1355
timeptr
= localtime(&curtime);
1387
timeptr
= localtime(&curtime);
1397
timeptr
= localtime(&(statbuf.st_mtime));
1408
if (strftime(buf, HDBUF, timefrmt,
timeptr
) <= 0) {
Completed in 17 milliseconds
Indexes created Sun Oct 12 20:09:57 GMT 2025