Home
last modified time | relevance | path

Searched refs:pattern_match (Results 1 – 3 of 3) sorted by relevance

/PHP-5.4/ext/fileinfo/libmagic/
H A Dsoftmagic.c2096 zval *pattern_match = NULL, *pattern_offset = NULL; in magiccheck() local
2136 MAKE_STD_ZVAL(pattern_match); in magiccheck()
2137 Z_STRVAL_P(pattern_match) = (char *)Z_STRVAL(matchcopy); in magiccheck()
2138 Z_STRLEN_P(pattern_match) = Z_STRLEN(matchcopy); in magiccheck()
2139 Z_TYPE_P(pattern_match) = IS_STRING; in magiccheck()
2165 if ((pattern_match != NULL) && (pattern_offset != NULL)) { in magiccheck()
2168 ms->search.rm_len = Z_STRLEN_P(pattern_match) /* This is the length of the matched pattern */; in magiccheck()
2171 efree(pattern_match); in magiccheck()
/PHP-5.4/
H A Drun-tests.php754 $pattern_match = glob($argv[$i]); variable
756 $pattern_match = glob($argv[$i] . '.phpt'); variable
761 if (is_array($pattern_match)) {
762 $test_files = array_merge($test_files, $pattern_match);
/PHP-5.4/ext/fileinfo/
H A Dlibmagic.patch3458 + zval *pattern_match = NULL, *pattern_offset = NULL;
3498 + MAKE_STD_ZVAL(pattern_match);
3499 + Z_STRVAL_P(pattern_match) = (char *)Z_STRVAL(matchcopy);
3500 + Z_STRLEN_P(pattern_match) = Z_STRLEN(matchcopy);
3501 + Z_TYPE_P(pattern_match) = IS_STRING;
3527 + if ((pattern_match != NULL) && (pattern_offset != NULL)) {
3530 + ms->search.rm_len = Z_STRLEN_P(pattern_match) /* This is the length of the matched pattern *…
3533 + efree(pattern_match);

Completed in 24 milliseconds