Lines Matching refs:fields
226 $fields = array_map('trim', explode(';', $line));
227 yield $fields;
233 foreach ($lines as $fields) {
234 if (count($fields) != 15) {
238 $code = intval($fields[0], 16);
240 $name = $fields[1];
251 $generalCategory = $fields[2];
254 $bidiClass = $fields[4];
259 $generalCategory = $fields[2];
262 $bidiClass = $fields[4];
265 $upperCase = intval($fields[12], 16);
266 $lowerCase = intval($fields[13], 16);
267 $titleCase = intval($fields[14], 16) ?: $upperCase;
289 foreach (parseDataFile($input) as $fields) {
290 if (count($fields) != 4) {
294 $code = intval($fields[0], 16);
295 $status = $fields[1];
302 $foldCode = intval($fields[2], 16);
311 $foldCodes = parseCodes($fields[2]);
344 foreach (parseDataFile($input) as $fields) {
345 if (count($fields) != 5 && count($fields) != 6) {
349 $code = intval($fields[0], 16);
350 $lower = parseCodes($fields[1]);
351 $title = parseCodes($fields[2]);
352 $upper = parseCodes($fields[3]);
354 $cond = $fields[4];
369 foreach (parseDataFile($input) as $fields) {
370 if (count($fields) != 2) {
374 $property = $fields[1];
379 $range = explode('..', $fields[0]);
393 foreach (parseDataFile($input) as $fields) {
394 if ($fields[1] == 'W' || $fields[1] == 'F') {
395 if ($dotsPos = strpos($fields[0], '..')) {
396 $startCode = intval(substr($fields[0], 0, $dotsPos), 16);
397 $endCode = intval(substr($fields[0], $dotsPos + 2), 16);
409 $code = intval($fields[0], 16);