Home
last modified time | relevance | path

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

/PHP-5.5/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.5/
H A Drun-tests.php759 $pattern_match = glob($argv[$i]); variable
761 $pattern_match = glob($argv[$i] . '.phpt'); variable
766 if (is_array($pattern_match)) {
767 $test_files = array_merge($test_files, $pattern_match);
/PHP-5.5/ext/fileinfo/
H A Dlibmagic.patch3461 + zval *pattern_match = NULL, *pattern_offset = NULL;
3501 + MAKE_STD_ZVAL(pattern_match);
3502 + Z_STRVAL_P(pattern_match) = (char *)Z_STRVAL(matchcopy);
3503 + Z_STRLEN_P(pattern_match) = Z_STRLEN(matchcopy);
3504 + Z_TYPE_P(pattern_match) = IS_STRING;
3530 + if ((pattern_match != NULL) && (pattern_offset != NULL)) {
3533 + ms->search.rm_len = Z_STRLEN_P(pattern_match) /* This is the length of the matched pattern *…
3536 + efree(pattern_match);

Completed in 19 milliseconds