Lines Matching refs:found
113 unsigned char *found; in PHP_FUNCTION() local
150 …found = (unsigned char *)php_memnstr((char *)haystack + noffset, (char *)needle, needle_len, (char… in PHP_FUNCTION()
153 if (!found) { in PHP_FUNCTION()
160 RETURN_LONG(found - haystack); in PHP_FUNCTION()
181 unsigned char *found; in PHP_FUNCTION() local
224 …found = (unsigned char*) php_memnstr((char *)haystack_dup + noffset, (char *)needle_dup, needle_le… in PHP_FUNCTION()
229 if (found) { in PHP_FUNCTION()
230 RETURN_LONG(found - haystack_dup); in PHP_FUNCTION()
617 unsigned char *haystack, *needle, *found; in strstr_common_handler() local
643 …found = (unsigned char *)php_memnstr((char *)haystack, (char *)needle, needle_len, (char *)haystac… in strstr_common_handler()
646 if ( !found ) { in strstr_common_handler()
652 size_t found_offset = found - haystack; in strstr_common_handler()
657 RETURN_STRINGL(((char *)found), haystack_len - found_offset, 1); in strstr_common_handler()