Lines Matching refs:search

788 		cp = estrndup(RCAST(const char *, ms->search.s),  in mprint()
789 ms->search.rm_len); in mprint()
791 file_printable(sbuf, sizeof(sbuf), cp, ms->search.rm_len)); in mprint()
798 t = ms->search.offset; in mprint()
800 t = ms->search.offset + ms->search.rm_len; in mprint()
919 o = CAST(int32_t, ms->search.offset); in moffset()
922 (ms->search.offset + ms->search.rm_len)); in moffset()
927 o = CAST(int32_t, ms->search.offset); in moffset()
929 o = CAST(int32_t, (ms->search.offset + m->vallen)); in moffset()
1303 ms->search.s = RCAST(const char *, s) + offset; in mcopy()
1304 ms->search.s_len = nbytes - offset; in mcopy()
1305 ms->search.offset = offset; in mcopy()
1317 ms->search.s_len = 0; in mcopy()
1318 ms->search.s = NULL; in mcopy()
1353 ms->search.s = buf; in mcopy()
1354 ms->search.s_len = last - buf; in mcopy()
1355 ms->search.offset = offset; in mcopy()
1356 ms->search.rm_len = 0; in mcopy()
2102 if (ms->search.s == NULL) in magiccheck()
2112 if (m->str_range == 0 || ms->search.s_len < idx) in magiccheck()
2113 idx = ms->search.s_len; in magiccheck()
2114 found = CAST(const char *, memmem(ms->search.s, idx, in magiccheck()
2118 idx = found - ms->search.s; in magiccheck()
2119 ms->search.offset += idx; in magiccheck()
2120 ms->search.rm_len = ms->search.s_len - idx; in magiccheck()
2126 if (slen + idx > ms->search.s_len) in magiccheck()
2129 v = file_strncmp(m->value.s, ms->search.s + idx, slen, in magiccheck()
2132 ms->search.offset += idx; in magiccheck()
2133 ms->search.rm_len = ms->search.s_len - idx; in magiccheck()
2166 haystack = zend_string_init(ms->search.s, ms->search.s_len, 0); in magiccheck()
2192 ms->search.s += Z_LVAL_P(offset); /* this is where the match starts */ in magiccheck()
2193 ms->search.offset += Z_LVAL_P(offset); /* this is where the match starts as size_t */ in magiccheck()
2194 ms->search.rm_len = Z_STRLEN_P(match) /* This is the length of the matched pattern */; in magiccheck()