/device/linaro/bootloader/edk2/StdLib/LibC/Time/ |
D | strptime.c | 85 strptime(const char *buf, const char *fmt, struct tm *tm) in strptime() argument 172 new_fmt, tm); in strptime() 181 bp = find_string(bp, &tm->tm_wday, _ctloc(day), in strptime() 189 bp = find_string(bp, &tm->tm_mon, _ctloc(mon), in strptime() 200 i += tm->tm_year % 100; in strptime() 202 tm->tm_year = i; in strptime() 208 bp = conv_num(bp, &tm->tm_mday, 1, 31); in strptime() 216 bp = conv_num(bp, &tm->tm_hour, 0, 23); in strptime() 224 bp = conv_num(bp, &tm->tm_hour, 1, 12); in strptime() 225 if (tm->tm_hour == 12) in strptime() [all …]
|
D | timegm.c | 82 time2(struct tm * const tmp, void (* const funcp)(const time_t*, long, struct tm*), 92 struct tm * const tmp 102 time_t timegm( struct tm * tmp ) in timegm()
|
D | Time.c | 82 localsub(const time_t * const timep, const long offset, struct tm * const tmp); 95 struct tm * const tmp in timesub() 231 tmcomp(const struct tm * const atmp, const struct tm * const btmp) in tmcomp() 246 struct tm * const tmp, in time2sub() 247 void (* const funcp)(const time_t*, long, struct tm*), in time2sub() argument 260 struct tm yourtm, mytm; in time2sub() 402 time2(struct tm * const tmp, void (* const funcp)(const time_t*, long, struct tm*), in time2() argument 418 struct tm * const tmp, in time1() 419 void (* const funcp)(const time_t *, long, struct tm *), in time1() argument 514 mktime(struct tm *timeptr) in mktime() [all …]
|
D | strftime.c | 77 static char * _fmt(const char *, const struct tm * const, char *, const char * const, int *); 96 const struct tm * __restrict timeptr in strftime() 132 const struct tm * const t, in _fmt() 289 struct tm tm; in _fmt() local 294 tm = *t; in _fmt() 295 mkt = mktime(&tm); in _fmt() 513 struct tm tmp; in _fmt()
|
D | TimeEfi.c | 30 OUT struct tm *BT in Efi2Tm() 69 IN struct tm *BT, in Tm2Efi() 99 struct tm *IT; in Time2Efi()
|
/device/linaro/bootloader/arm-trusted-firmware/include/stdlib/ |
D | time.h | 125 struct tm { struct 144 char *asctime(const struct tm *); 149 struct tm *gmtime(const time_t *); 150 struct tm *localtime(const time_t *); 151 time_t mktime(struct tm *); 153 const struct tm *__restrict); 181 char *asctime_r(const struct tm *, char *); 183 struct tm *gmtime_r(const time_t *, struct tm *); 184 struct tm *localtime_r(const time_t *, struct tm *); 189 struct tm *__restrict); [all …]
|
/device/linaro/bootloader/edk2/StdLib/Include/ |
D | time.h | 141 struct tm { struct 200 time_t mktime(struct tm *timeptr); 229 char * asctime(const struct tm *timeptr); 251 struct tm * gmtime(const time_t *timer); 260 time_t timegm(struct tm*); 271 struct tm * localtime(const time_t *timer); 425 const struct tm * __restrict timeptr); 427 char *strptime(const char *, const char * format, struct tm*);
|
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/ |
D | EmuThunk.c | 359 struct tm *tm; in SecGetTime() local 363 tm = localtime (&t); in SecGetTime() 365 Time->Year = 1900 + tm->tm_year; in SecGetTime() 366 Time->Month = tm->tm_mon + 1; in SecGetTime() 367 Time->Day = tm->tm_mday; in SecGetTime() 368 Time->Hour = tm->tm_hour; in SecGetTime() 369 Time->Minute = tm->tm_min; in SecGetTime() 370 Time->Second = tm->tm_sec; in SecGetTime() 374 | (tm->tm_isdst > 0 ? EFI_TIME_IN_DAYLIGHT : 0); in SecGetTime()
|
D | PosixFileSystem.c | 218 struct tm *tm; in PosixSystemTimeToEfiTime() local 220 tm = gmtime (&SystemTime); in PosixSystemTimeToEfiTime() 221 Time->Year = tm->tm_year; in PosixSystemTimeToEfiTime() 222 Time->Month = tm->tm_mon + 1; in PosixSystemTimeToEfiTime() 223 Time->Day = tm->tm_mday; in PosixSystemTimeToEfiTime() 224 Time->Hour = tm->tm_hour; in PosixSystemTimeToEfiTime() 225 Time->Minute = tm->tm_min; in PosixSystemTimeToEfiTime() 226 Time->Second = tm->tm_sec; in PosixSystemTimeToEfiTime() 230 …Time->Daylight = (daylight ? EFI_TIME_ADJUST_DAYLIGHT : 0) | (tm->tm_isdst > 0 ? EFI_TIME_IN_DAYLI… in PosixSystemTimeToEfiTime() 1083 struct tm NewLastAccessSystemTime; in PosixFileSetInfo() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
D | lvm.c | 113 const TValue *tm; in luaV_gettable() local 118 (tm = fasttm(L, h->metatable, TM_INDEX)) == NULL) { /* or no TM? */ in luaV_gettable() 124 else if (ttisnil(tm = luaT_gettmbyobj(L, t, TM_INDEX))) in luaV_gettable() 126 if (ttisfunction(tm)) { in luaV_gettable() 127 callTM(L, tm, t, key, val, 1); in luaV_gettable() 130 t = tm; /* else repeat with 'tm' */ in luaV_gettable() 139 const TValue *tm; in luaV_settable() local 147 ((tm = fasttm(L, h->metatable, TM_NEWINDEX)) == NULL && in luaV_settable() 162 if (ttisnil(tm = luaT_gettmbyobj(L, t, TM_NEWINDEX))) in luaV_settable() 165 if (ttisfunction(tm)) { in luaV_settable() [all …]
|
D | ldebug.c | 446 TMS tm; in getfuncname() local 461 case OP_GETTABLE: tm = TM_INDEX; break; in getfuncname() 463 case OP_SETTABLE: tm = TM_NEWINDEX; break; in getfuncname() 464 case OP_EQ: tm = TM_EQ; break; in getfuncname() 465 case OP_ADD: tm = TM_ADD; break; in getfuncname() 466 case OP_SUB: tm = TM_SUB; break; in getfuncname() 467 case OP_MUL: tm = TM_MUL; break; in getfuncname() 468 case OP_DIV: tm = TM_DIV; break; in getfuncname() 469 case OP_MOD: tm = TM_MOD; break; in getfuncname() 470 case OP_POW: tm = TM_POW; break; in getfuncname() [all …]
|
D | ltm.c | 53 const TValue *tm = luaH_getstr(events, ename); in luaT_gettm() local 55 if (ttisnil(tm)) { /* no tag method? */ in luaT_gettm() 59 else return tm; in luaT_gettm()
|
/device/generic/goldfish/libqemu/ |
D | test_util.c | 30 struct timespec tm; in now_secs() local 31 clock_gettime(CLOCK_MONOTONIC, &tm); in now_secs() 32 return (double)tm.tv_sec + (double)tm.tv_nsec/1e9; in now_secs()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/ |
D | _parseaddr.py | 74 [dd, mm, yy, tm, tz] = data 87 yy, tm = tm, yy 92 if tm[-1] == ',': 93 tm = tm[:-1] 94 tm = tm.split(':') 95 if len(tm) == 2: 96 [thh, tmm] = tm 98 elif len(tm) == 3: 99 [thh, tmm, tss] = tm
|
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/SysCall/ |
D | TimerWrapper.c | 108 struct tm * gmtime (const time_t *timer) in gmtime() 110 struct tm *GmTime; in gmtime() 122 GmTime = malloc (sizeof (struct tm)); in gmtime() 127 ZeroMem ((VOID *) GmTime, (UINTN) sizeof (struct tm)); in gmtime()
|
D | ConstantTimeClock.c | 38 struct tm * gmtime (const time_t *timer) in gmtime()
|
/device/linaro/bootloader/arm-trusted-firmware/include/stdlib/xlocale/ |
D | _time.h | 46 const struct tm *__restrict, locale_t) __strftimelike(3, 0); 55 struct tm *__restrict, locale_t);
|
/device/generic/goldfish/gps/ |
D | gps_qemu.c | 196 struct tm tm_local; in nmea_reader_update_utc_diff() 197 struct tm tm_utc; in nmea_reader_update_utc_diff() 252 struct tm tm; in nmea_reader_update_time() local 261 gmtime_r( &now, &tm ); in nmea_reader_update_time() 262 r->utc_year = tm.tm_year + 1900; in nmea_reader_update_time() 263 r->utc_mon = tm.tm_mon + 1; in nmea_reader_update_time() 264 r->utc_day = tm.tm_mday; in nmea_reader_update_time() 271 tm.tm_hour = hour; in nmea_reader_update_time() 272 tm.tm_min = minute; in nmea_reader_update_time() 273 tm.tm_sec = (int) seconds; in nmea_reader_update_time() [all …]
|
/device/linaro/bootloader/edk2/CryptoPkg/Include/ |
D | OpenSslSupport.h | 125 struct tm { struct 236 struct tm *localtime (const time_t *); 237 struct tm *gmtime (const time_t *); 238 struct tm *gmtime_r (const time_t *, struct tm *);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | rfc822.py | 880 [dd, mm, yy, tm, tz] = data 892 yy, tm = tm, yy 897 if tm[-1] == ',': 898 tm = tm[:-1] 899 tm = tm.split(':') 900 if len(tm) == 2: 901 [thh, tmm] = tm 903 elif len(tm) == 3: 904 [thh, tmm, tss] = tm
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
D | timemodule.c | 248 tmtotuple(struct tm *p) in tmtotuple() 275 time_convert(double when, struct tm * (*function)(const time_t *)) in time_convert() 277 struct tm *p; in time_convert() 349 gettmarg(PyObject *args, struct tm *p) in gettmarg() 352 memset((void *) p, '\0', sizeof(struct tm)); in gettmarg() 396 struct tm buf; in time_strftime() 565 struct tm buf; in time_asctime() 631 struct tm buf; in time_mktime() 732 struct tm *p; in inittimezone()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | timemodule.c | 248 tmtotuple(struct tm *p) in tmtotuple() 275 time_convert(double when, struct tm * (*function)(const time_t *)) in time_convert() 277 struct tm *p; in time_convert() 349 gettmarg(PyObject *args, struct tm *p) in gettmarg() 352 memset((void *) p, '\0', sizeof(struct tm)); in gettmarg() 396 struct tm buf; in time_strftime() 565 struct tm buf; in time_asctime() 631 struct tm buf; in time_mktime() 732 struct tm *p; in inittimezone()
|
/device/generic/goldfish/camera/ |
D | Exif.cpp | 45 #define TIMESTAMP_TO_TM(timestamp, tm) gmtime_r(timestamp, tm) argument 49 #define TIMESTAMP_TO_TM(timestamp, tm) gmtime64_r(timestamp, tm) argument 256 struct tm utcTime; in convertTimestampToTimeAndDate()
|
/device/linaro/bootloader/edk2/StdLib/Include/sys/ |
D | time.h | 189 void Efi2Tm( EFI_TIME *EfiBDtime, struct tm *NewTime); 190 void Tm2Efi( struct tm *BdTime, EFI_TIME *ETime);
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/SetStamp/ |
D | SetStamp.c | 84 struct tm stime; in GetDateTime() 85 struct tm *now; in GetDateTime()
|