Lines Matching refs:location
65 memcpy(tz->location.country_code, *tzf, 2); in read_preamble()
66 tz->location.country_code[2] = '\0'; in read_preamble()
243 tz->location.latitude = timelib_conv_int(buffer[0]); in read_location()
244 tz->location.latitude = (tz->location.latitude / 100000) - 90; in read_location()
245 tz->location.longitude = timelib_conv_int(buffer[1]); in read_location()
246 tz->location.longitude = (tz->location.longitude / 100000) - 180; in read_location()
250 tz->location.comments = malloc(comments_len + 1); in read_location()
251 memcpy(tz->location.comments, *tzf, comments_len); in read_location()
252 tz->location.comments[comments_len] = '\0'; in read_location()
260 printf("Country Code: %s\n", tz->location.country_code); in timelib_dump_tzinfo()
261 printf("Geo Location: %f,%f\n", tz->location.latitude, tz->location.longitude); in timelib_dump_tzinfo()
262 printf("Comments:\n%s\n", tz->location.comments); in timelib_dump_tzinfo()