Home
last modified time | relevance | path

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

/PHP-5.4/ext/fileinfo/libmagic/
H A Dfuncs.c444 zval *patt; in file_replace() local
452 MAKE_STD_ZVAL(patt); in file_replace()
453 ZVAL_STRINGL(patt, pat, strlen(pat), 0); in file_replace()
455 convert_libmagic_pattern(patt, opts); in file_replace()
456 if ((pce = pcre_get_compiled_regex_cache(Z_STRVAL_P(patt), Z_STRLEN_P(patt) TSRMLS_CC)) == NULL) { in file_replace()
457 zval_dtor(patt); in file_replace()
458 FREE_ZVAL(patt); in file_replace()
469 zval_dtor(patt); in file_replace()
470 FREE_ZVAL(patt); in file_replace()
/PHP-5.4/ext/fileinfo/
H A Dlibmagic.patch2151 + zval *patt;
2159 + MAKE_STD_ZVAL(patt);
2160 + ZVAL_STRINGL(patt, pat, strlen(pat), 0);
2162 + convert_libmagic_pattern(patt, opts);
2163 + if ((pce = pcre_get_compiled_regex_cache(Z_STRVAL_P(patt), Z_STRLEN_P(patt) TSRMLS_CC)) == NULL) {
2164 + zval_dtor(patt);
2165 + FREE_ZVAL(patt);
2181 + zval_dtor(patt);
2182 + FREE_ZVAL(patt);

Completed in 15 milliseconds