Home
last modified time | relevance | path

Searched refs:pattern_offset (Results 1 – 2 of 2) sorted by relevance

/PHP-5.3/ext/fileinfo/libmagic/
H A Dsoftmagic.c1902 zval *pattern_match = NULL, *pattern_offset = NULL; local
1961 MAKE_STD_ZVAL(pattern_offset);
1962 Z_LVAL_P(pattern_offset) = Z_LVAL(offsetcopy);
1963 Z_TYPE_P(pattern_offset) = IS_LONG;
1971 if ((pattern_match != NULL) && (pattern_offset != NULL)) {
1972 ms->search.s += (int)Z_LVAL_P(pattern_offset); /* this is where the match starts */
1973 …ms->search.offset += (size_t)Z_LVAL_P(pattern_offset); /* this is where the match starts as size_t…
1978 efree(pattern_offset);
/PHP-5.3/ext/fileinfo/
H A Dlibmagic.patch3074 + zval *pattern_match = NULL, *pattern_offset = NULL;
3133 + MAKE_STD_ZVAL(pattern_offset);
3134 + Z_LVAL_P(pattern_offset) = Z_LVAL(offsetcopy);
3135 + Z_TYPE_P(pattern_offset) = IS_LONG;
3143 + if ((pattern_match != NULL) && (pattern_offset != NULL)) {
3144 + ms->search.s += (int)Z_LVAL_P(pattern_offset); /* this is where the match starts */
3145 + ms->search.offset += (size_t)Z_LVAL_P(pattern_offset); /* this is where the match starts as …
3150 + efree(pattern_offset);

Completed in 12 milliseconds