Lines Matching refs:location

106 	memcpy(tz->location.country_code, *tzf, 2);  in read_php_preamble()
107 tz->location.country_code[2] = '\0'; in read_php_preamble()
138 tz->location.country_code[0] = '?'; in read_tzif_preamble()
139 tz->location.country_code[1] = '?'; in read_tzif_preamble()
140 tz->location.country_code[2] = '\0'; in read_tzif_preamble()
370 tz->location.latitude = timelib_conv_int_unsigned(buffer[0]); in read_location()
371 tz->location.latitude = (tz->location.latitude / 100000) - 90; in read_location()
372 tz->location.longitude = timelib_conv_int_unsigned(buffer[1]); in read_location()
373 tz->location.longitude = (tz->location.longitude / 100000) - 180; in read_location()
377 tz->location.comments = timelib_malloc(comments_len + 1); in read_location()
378 memcpy(tz->location.comments, *tzf, comments_len); in read_location()
379 tz->location.comments[comments_len] = '\0'; in read_location()
385 tz->location.latitude = 0; in set_default_location_and_comments()
386 tz->location.longitude = 0; in set_default_location_and_comments()
387 tz->location.comments = timelib_malloc(2); in set_default_location_and_comments()
388 tz->location.comments[0] = '?'; in set_default_location_and_comments()
389 tz->location.comments[1] = '\0'; in set_default_location_and_comments()
396 printf("Country Code: %s\n", tz->location.country_code); in timelib_dump_tzinfo()
397 printf("Geo Location: %f,%f\n", tz->location.latitude, tz->location.longitude); in timelib_dump_tzinfo()
398 printf("Comments:\n%s\n", tz->location.comments); in timelib_dump_tzinfo()
587 TIMELIB_TIME_FREE(tz->location.comments); in timelib_tzinfo_dtor()