Lines Matching refs:needle_len
3017 …void zend_memnstr_ex_pre(unsigned int td[], const char *needle, size_t needle_len, int reverse) /*… argument
3021 td[i] = needle_len + 1;
3025 for (i = needle_len - 1; i >= 0; i--) {
3031 for (i = 0; i < needle_len; i++) {
3032 td[(unsigned char)needle[i]] = (int)needle_len - i;
3038 …TCALL zend_memnstr_ex(const char *haystack, const char *needle, size_t needle_len, const char *end… argument
3044 if (needle_len == 0 || (end - haystack) == 0) {
3048 zend_memnstr_ex_pre(td, needle, needle_len, 0);
3051 end -= needle_len;
3054 for (i = 0; i < needle_len; i++) {
3059 if (i == needle_len) {
3065 p += td[(unsigned char)(p[needle_len])];
3072 …CALL zend_memnrstr_ex(const char *haystack, const char *needle, size_t needle_len, const char *end… argument
3078 if (needle_len == 0 || (end - haystack) == 0) {
3082 zend_memnstr_ex_pre(td, needle, needle_len, 1);
3085 p -= needle_len;
3088 for (i = 0; i < needle_len; i++) {
3094 if (i == needle_len) {