Lines Matching refs:needle_len
3133 …void zend_memnstr_ex_pre(unsigned int td[], const char *needle, size_t needle_len, int reverse) /*… argument
3137 td[i] = needle_len + 1;
3141 for (i = needle_len - 1; i >= 0; i--) {
3147 for (i = 0; i < needle_len; i++) {
3148 td[(unsigned char)needle[i]] = (int)needle_len - i;
3154 …TCALL zend_memnstr_ex(const char *haystack, const char *needle, size_t needle_len, const char *end… argument
3160 if (needle_len == 0 || (end - haystack) < needle_len) {
3164 zend_memnstr_ex_pre(td, needle, needle_len, 0);
3167 end -= needle_len;
3170 for (i = 0; i < needle_len; i++) {
3175 if (i == needle_len) {
3181 p += td[(unsigned char)(p[needle_len])];
3188 …CALL zend_memnrstr_ex(const char *haystack, const char *needle, size_t needle_len, const char *end… argument
3194 if (needle_len == 0 || (end - haystack) < needle_len) {
3198 zend_memnstr_ex_pre(td, needle, needle_len, 1);
3201 p -= needle_len;
3204 for (i = 0; i < needle_len; i++) {
3210 if (i == needle_len) {