Lines Matching refs:localtime
167 const char* localtime; member
193 fd1 = open( scan->localtime, O_RDONLY ); in compare_timezone_to_localtime()
195 D(" can't open %s: %s\n", scan->localtime, strerror(errno) ); in compare_timezone_to_localtime()
309 char* localtime = NULL; in get_zoneinfo_timezone() local
345 localtime = LOCALTIME_FILE1; in get_zoneinfo_timezone()
346 if ( access( localtime, R_OK ) != 0 ) { in get_zoneinfo_timezone()
355 localtime = temp; in get_zoneinfo_timezone()
357 localtime = strdup(localtime); in get_zoneinfo_timezone()
358 D( "%s: found localtime file as %s\n", __FUNCTION__, localtime ); in get_zoneinfo_timezone()
362 len = readlink( localtime, temp, sizeof(temp)-1 ); in get_zoneinfo_timezone()
371 … D( "%s: found zoneinfo timezone %s from %s symlink\n", __FUNCTION__, tz, localtime ); in get_zoneinfo_timezone()
375 __FUNCTION__, localtime, temp ); in get_zoneinfo_timezone()
384 if ( stat( localtime, &scan->localtime_st ) < 0 ) { in get_zoneinfo_timezone()
386 localtime ); in get_zoneinfo_timezone()
390 scan->localtime = localtime; in get_zoneinfo_timezone()
400 if (localtime) in get_zoneinfo_timezone()
401 free(localtime); in get_zoneinfo_timezone()
689 struct tm* tm = localtime(&t); in get_zoneinfo_timezone()