Searched refs:record_buf (Results 1 - 1 of 1) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/GeoIP-1.5.1/libGeoIP/
H A DGeoIPCity.c57 unsigned char *record_buf = NULL; local
75 begin_record_buf = record_buf = malloc(sizeof(char) * FULL_RECORD_LENGTH);
76 bytes_read = pread(fileno(gi->GeoIPDatabase), record_buf, FULL_RECORD_LENGTH, record_pointer);
85 record_buf = gi->cache + (long) record_pointer;
89 record->continent_code = (char *) GeoIP_country_continent[record_buf[0]];
90 record->country_code = (char *) GeoIP_country_code[record_buf[0]];
91 record->country_code3 = (char *) GeoIP_country_code3[record_buf[0]];
92 record->country_name = (char *) GeoIP_country_name_by_id(gi, record_buf[0]);
93 record_buf++;
96 while (record_buf[str_lengt
[all...]

Completed in 97 milliseconds