Lines Matching refs:char
75 $char = ord(substr($record_buf, $record_buf_pos, 1));
76 $record->country_code = $gi->GEOIP_COUNTRY_CODES[$char];
77 $record->country_code3 = $gi->GEOIP_COUNTRY_CODES3[$char];
78 $record->country_name = $gi->GEOIP_COUNTRY_NAMES[$char];
79 $record->continent_code = $gi->GEOIP_CONTINENT_CODES[$char];
84 $char = ord(substr($record_buf, $record_buf_pos + $str_length, 1));
85 while ($char != 0) {
87 $char = ord(substr($record_buf, $record_buf_pos + $str_length, 1));
95 $char = ord(substr($record_buf, $record_buf_pos + $str_length, 1));
96 while ($char != 0) {
98 $char = ord(substr($record_buf, $record_buf_pos + $str_length, 1));
106 $char = ord(substr($record_buf, $record_buf_pos + $str_length, 1));
107 while ($char != 0) {
109 $char = ord(substr($record_buf, $record_buf_pos + $str_length, 1));
120 $char = ord(substr($record_buf, $record_buf_pos++, 1));
121 $latitude += ($char << ($j * 8));
125 $char = ord(substr($record_buf, $record_buf_pos++, 1));
126 $longitude += ($char << ($j * 8));
133 $char = ord(substr($record_buf, $record_buf_pos++, 1));
134 $metroarea_combo += ($char << ($j * 8));