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 $fieldCount = count($fields);
376 if (isset($fields[2]) && in_array($fields[2], $usedProperties, true)) {
377 $property = $fields[2];
379 elseif (!in_array($fields[1], $usedProperties, true)) {
383 $property = $fields[1];
387 $range = explode('..', $fields[0]);
401 foreach (parseDataFile($input) as $fields) {
402 if ($fields[1] == 'W' || $fields[1] == 'F') {
403 if ($dotsPos = strpos($fields[0], '..')) {
404 $startCode = intval(substr($fields[0], 0, $dotsPos), 16);
405 $endCode = intval(substr($fields[0], $dotsPos + 2), 16);
417 $code = intval($fields[0], 16);