Lines Matching defs:gir
54 GeoIPRegion *gir, giRegion;
76 gir = GeoIP_region_by_addr(gi, "10.0.0.0");
77 if (gir != NULL) {
79 gir->country_code, gir->region);
86 gir = GeoIP_region_by_name(gi, ipAddress);
87 if (gir != NULL) {
89 GeoIP_time_zone_by_country_and_region(gir->country_code,
90 gir->region);
92 gir->country_code,
93 (!gir->region[0]) ? "N/A" : gir->region,
95 (gir->country_code, gir->region)), _mk_NA(time_zone));
101 if (gir != NULL) {
103 assert(!strcmp(gir->country_code, giRegion.country_code));
104 if (gir->region[0]) {
106 assert(!strcmp(gir->region, giRegion.region));
114 if (gir != NULL) {
115 GeoIPRegion_delete(gir);