Lines Matching refs:pos
1761 while ($position < $length && ($pos = strpos($string, '(', $position)) !== false) {
1762 $output .= substr($string, $position, $pos - $position);
1763 $position = $pos + 1;
1764 if ($string[$pos - 1] !== '\\') {
1797 if (($pos = strpos($mime, ';')) === false) {
1801 return trim(substr($mime, 0, $pos));
1985 if ($pos = strpos($data, "\x00\x00\x00\x3F\x00\x00\x00\x3E")) {
1986 $parser = $registry->create(Parser::class, [Misc::change_encoding(substr($data, 20, $pos - 20), 'UTF-32BE', 'UTF-8')]);
1995 if ($pos = strpos($data, "\x3F\x00\x00\x00\x3E\x00\x00\x00")) {
1996 $parser = $registry->create(Parser::class, [Misc::change_encoding(substr($data, 20, $pos - 20), 'UTF-32LE', 'UTF-8')]);
2005 if ($pos = strpos($data, "\x00\x3F\x00\x3E")) {
2006 $parser = $registry->create(Parser::class, [Misc::change_encoding(substr($data, 20, $pos - 10), 'UTF-16BE', 'UTF-8')]);
2015 if ($pos = strpos($data, "\x3F\x00\x3E\x00")) {
2016 $parser = $registry->create(Parser::class, [Misc::change_encoding(substr($data, 20, $pos - 10), 'UTF-16LE', 'UTF-8')]);
2025 if ($pos = strpos($data, "\x3F\x3E")) {
2026 $parser = $registry->create(Parser::class, [substr($data, 5, $pos - 5)]);