Lines Matching refs:pos2
351 unsigned char *pos1, *pos2; in zend_multibyte_detect_unicode() local
386 pos2 = LANG_SCNG(script_org); in zend_multibyte_detect_unicode()
388 while (pos1 - pos2 >= sizeof("__HALT_COMPILER();")-1) { in zend_multibyte_detect_unicode()
389 pos2 = memchr(pos2, '_', pos1 - pos2); in zend_multibyte_detect_unicode()
390 if (!pos2) break; in zend_multibyte_detect_unicode()
391 pos2++; in zend_multibyte_detect_unicode()
392 if (strncasecmp((char*)pos2, "_HALT_COMPILER", sizeof("_HALT_COMPILER")-1) == 0) { in zend_multibyte_detect_unicode()
393 pos2 += sizeof("_HALT_COMPILER")-1; in zend_multibyte_detect_unicode()
394 while (*pos2 == ' ' || in zend_multibyte_detect_unicode()
395 *pos2 == '\t' || in zend_multibyte_detect_unicode()
396 *pos2 == '\r' || in zend_multibyte_detect_unicode()
397 *pos2 == '\n') { in zend_multibyte_detect_unicode()
398 pos2++; in zend_multibyte_detect_unicode()
400 if (*pos2 == '(') { in zend_multibyte_detect_unicode()
401 pos2++; in zend_multibyte_detect_unicode()
402 while (*pos2 == ' ' || in zend_multibyte_detect_unicode()
403 *pos2 == '\t' || in zend_multibyte_detect_unicode()
404 *pos2 == '\r' || in zend_multibyte_detect_unicode()
405 *pos2 == '\n') { in zend_multibyte_detect_unicode()
406 pos2++; in zend_multibyte_detect_unicode()
408 if (*pos2 == ')') { in zend_multibyte_detect_unicode()
409 pos2++; in zend_multibyte_detect_unicode()
410 while (*pos2 == ' ' || in zend_multibyte_detect_unicode()
411 *pos2 == '\t' || in zend_multibyte_detect_unicode()
412 *pos2 == '\r' || in zend_multibyte_detect_unicode()
413 *pos2 == '\n') { in zend_multibyte_detect_unicode()
414 pos2++; in zend_multibyte_detect_unicode()
416 if (*pos2 == ';') { in zend_multibyte_detect_unicode()