OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:timeptr
(Results
1 - 14
of
14
) sorted by relevancy
/src/crypto/external/bsd/heimdal/dist/lib/roken/
strptime.c
187
* Set `
timeptr
' given `wnum' (week number [0, 53])
191
set_week_number_sun (struct tm *
timeptr
, int wnum)
193
int fday = first_day (
timeptr
->tm_year + tm_year_base);
195
timeptr
->tm_yday = wnum * 7 +
timeptr
->tm_wday - fday;
196
if (
timeptr
->tm_yday < 0) {
197
timeptr
->tm_wday = fday;
198
timeptr
->tm_yday = 0;
203
* Set `
timeptr
' given `wnum' (week number [0, 53])
207
set_week_number_mon (struct tm *
timeptr
, int wnum
[
all
...]
strpftime-test.h
55
strptime (const char *buf, const char *format, struct tm *
timeptr
);
/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
1164
dumptime(const struct tm *
timeptr
)
1183
((0 <=
timeptr
->tm_wday
1184
&&
timeptr
->tm_wday < (int) (sizeof wday_name / sizeof wday_name[0]))
1185
? wday_name[
timeptr
->tm_wday] : "???"),
1186
((0 <=
timeptr
->tm_mon
1187
&&
timeptr
->tm_mon < (int) (sizeof mon_name / sizeof mon_name[0]))
1188
? mon_name[
timeptr
->tm_mon] : "???"),
1189
timeptr
->tm_mday,
timeptr
->tm_hour,
1190
timeptr
->tm_min, timeptr->tm_sec)
[
all
...]
/src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/stdc/
time.d
35
@system time_t mktime(scope tm*
timeptr
); // @system: MT-Safe env locale
40
@system char* asctime(const scope tm*
timeptr
); // @system: MT-Unsafe race:asctime locale
48
@system size_t strftime(scope char* s, size_t maxsize, const scope char* format, const scope tm*
timeptr
); // @system: MT-Safe env locale
wchar_.d
260
size_t wcsftime(wchar_t* s, size_t maxsize, const scope wchar_t* format, const scope tm*
timeptr
);
/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
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) {
/src/external/bsd/tcpdump/dist/
util-print.c
452
const struct tm *
timeptr
)
454
if (
timeptr
!= NULL) {
455
if (strftime(buf, bufsize, format,
timeptr
) != 0)
netdissect.h
449
const char *format, const struct tm *
timeptr
);
/src/external/gpl3/binutils/dist/gprofng/src/
collector_module.h
70
time_t (*mktime)(struct tm *
timeptr
);
/src/external/gpl3/binutils.old/dist/gprofng/src/
collector_module.h
70
time_t (*mktime)(struct tm *
timeptr
);
Completed in 28 milliseconds
Indexes created Wed Sep 16 00:24:39 UTC 2026