Home
last modified time | relevance | path

Searched refs:local_time (Results 1 – 8 of 8) sorted by relevance

/external/libchrome/base/time/
Dpr_time_unittest.cc79 struct tm local_time = {0}; in TEST_F() local
82 localtime_s(&local_time, &current_time); in TEST_F()
83 asctime_s(time_buf, arraysize(time_buf), &local_time); in TEST_F()
85 localtime_r(&current_time, &local_time); in TEST_F()
86 asctime_r(&local_time, time_buf); in TEST_F()
Dtime_unittest.cc221 struct tm local_time = {0}; in TEST_F() local
224 localtime_s(&local_time, &current_time); in TEST_F()
225 asctime_s(time_buf, arraysize(time_buf), &local_time); in TEST_F()
227 localtime_r(&current_time, &local_time); in TEST_F()
228 asctime_r(&local_time, time_buf); in TEST_F()
/external/ImageMagick/MagickCore/
Dstring.c1178 local_time; in FormatMagickTime() local
1184 (void) ResetMagickMemory(&local_time,0,sizeof(local_time)); in FormatMagickTime()
1187 (void) localtime_r(&time,&local_time); in FormatMagickTime()
1195 (void) memcpy(&local_time,my_time,sizeof(local_time)); in FormatMagickTime()
1210 timezone=(time_t) ((local_time.tm_min-gm_time.tm_min)/60+ in FormatMagickTime()
1211 local_time.tm_hour-gm_time.tm_hour+24*((local_time.tm_year- in FormatMagickTime()
1212 gm_time.tm_year) != 0 ? (local_time.tm_year-gm_time.tm_year) : in FormatMagickTime()
1213 (local_time.tm_yday-gm_time.tm_yday))); in FormatMagickTime()
1215 "%04d-%02d-%02dT%02d:%02d:%02d%+03ld:00",local_time.tm_year+1900, in FormatMagickTime()
1216 local_time.tm_mon+1,local_time.tm_mday,local_time.tm_hour, in FormatMagickTime()
[all …]
/external/libchrome/base/
Dlogging.cc785 struct tm local_time; in Init() local
786 memset(&local_time, 0, sizeof(local_time)); in Init()
788 struct tm local_time = {0}; in Init() local
791 localtime_s(&local_time, &t); in Init()
793 localtime_r(&t, &local_time); in Init()
795 struct tm* tm_time = &local_time; in Init()
/external/ImageMagick/coders/
Dmat.c1406 struct tm local_time; in WriteMATImage() local
1434 (void) localtime_r(&current_time,&local_time); in WriteMATImage()
1436 (void) memcpy(&local_time,localtime(&current_time),sizeof(local_time)); in WriteMATImage()
1441 OsDesc,DayOfWTab[local_time.tm_wday],MonthsTab[local_time.tm_mon], in WriteMATImage()
1442 local_time.tm_mday,local_time.tm_hour,local_time.tm_min, in WriteMATImage()
1443 local_time.tm_sec,local_time.tm_year+1900); in WriteMATImage()
Dcin.c927 local_time; in WriteCINImage() local
987 (void) localtime_r(&seconds,&local_time); in WriteCINImage()
989 (void) memcpy(&local_time,localtime(&seconds),sizeof(local_time)); in WriteCINImage()
992 (void) strftime(timestamp,MagickPathExtent,"%Y:%m:%d:%H:%M:%S%Z",&local_time); in WriteCINImage()
1090 (void) strftime(timestamp,MagickPathExtent,"%Y:%m:%d:%H:%M:%S%Z",&local_time); in WriteCINImage()
Dpdf.c1271 local_time; in WritePDFImage() local
2827 (void) localtime_r(&seconds,&local_time); in WritePDFImage()
2829 (void) memcpy(&local_time,localtime(&seconds),sizeof(local_time)); in WritePDFImage()
2832 local_time.tm_year+1900,local_time.tm_mon+1,local_time.tm_mday, in WritePDFImage()
2833 local_time.tm_hour,local_time.tm_min,local_time.tm_sec); in WritePDFImage()
/external/kernel-headers/original/uapi/linux/
Dfirewire-cdev.h894 __u64 local_time; member