Lines Matching refs:pos2
379 unsigned char *pos1, *pos2; in zend_multibyte_detect_unicode() local
414 pos2 = LANG_SCNG(script_org); in zend_multibyte_detect_unicode()
416 while ((size_t)(pos1 - pos2) >= sizeof("__HALT_COMPILER();")-1) { in zend_multibyte_detect_unicode()
417 pos2 = memchr(pos2, '_', pos1 - pos2); in zend_multibyte_detect_unicode()
418 if (!pos2) break; in zend_multibyte_detect_unicode()
419 pos2++; in zend_multibyte_detect_unicode()
420 if (strncasecmp((char*)pos2, "_HALT_COMPILER", sizeof("_HALT_COMPILER")-1) == 0) { in zend_multibyte_detect_unicode()
421 pos2 += sizeof("_HALT_COMPILER")-1; in zend_multibyte_detect_unicode()
422 while (*pos2 == ' ' || in zend_multibyte_detect_unicode()
423 *pos2 == '\t' || in zend_multibyte_detect_unicode()
424 *pos2 == '\r' || in zend_multibyte_detect_unicode()
425 *pos2 == '\n') { in zend_multibyte_detect_unicode()
426 pos2++; in zend_multibyte_detect_unicode()
428 if (*pos2 == '(') { in zend_multibyte_detect_unicode()
429 pos2++; in zend_multibyte_detect_unicode()
430 while (*pos2 == ' ' || in zend_multibyte_detect_unicode()
431 *pos2 == '\t' || in zend_multibyte_detect_unicode()
432 *pos2 == '\r' || in zend_multibyte_detect_unicode()
433 *pos2 == '\n') { in zend_multibyte_detect_unicode()
434 pos2++; in zend_multibyte_detect_unicode()
436 if (*pos2 == ')') { in zend_multibyte_detect_unicode()
437 pos2++; in zend_multibyte_detect_unicode()
438 while (*pos2 == ' ' || in zend_multibyte_detect_unicode()
439 *pos2 == '\t' || in zend_multibyte_detect_unicode()
440 *pos2 == '\r' || in zend_multibyte_detect_unicode()
441 *pos2 == '\n') { in zend_multibyte_detect_unicode()
442 pos2++; in zend_multibyte_detect_unicode()
444 if (*pos2 == ';') { in zend_multibyte_detect_unicode()