/php-src/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_bit.phpt | 17 function test_type(&$db, $offset, $sql_type, $value, $ret_value = NULL, $pattern = NULL) {
|
/php-src/sapi/fpm/tests/ |
H A D | tester.inc | 470 if ($pattern !== null && preg_match($pattern, $message)) { 579 * @param string $pattern Search pattern to find. 584 public function runTill(string $pattern) 1712 * Expect log pattern in logs. 1714 * @param string $pattern Log pattern 1722 string $pattern, 1728 $pattern, 1737 * Expect no such log pattern in logs. 1739 * @param string $pattern Log pattern 1747 string $pattern, [all …]
|
/php-src/ext/intl/tests/ |
H A D | gh8115.phpt | 39 Caught (8192): MessageFormatter::__construct(): Passing null to parameter #2 ($pattern) of type str…
|
/php-src/ext/mbstring/tests/ |
H A D | mb_ereg_variation5.phpt | 12 * Test mb_ereg with anchors (start and end of string) in $pattern
|
H A D | mb_ereg_variation7.phpt | 2 Test mb_ereg() function : usage variations - different regex features in $pattern
|
H A D | mb_ereg_variation6.phpt | 12 * Test how mb_ereg() matches special characters for $pattern
|
/php-src/ext/gd/tests/ |
H A D | bug24594.phpt | 14 /* create the dots pattern */
|
/php-src/ext/zip/ |
H A D | php_zip.c | 641 if (!IS_ABSOLUTE_PATH(pattern, pattern_len)) { in php_zip_glob() 647 if (IS_SLASH(*pattern)) { in php_zip_glob() 653 snprintf(work_pattern, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, pattern); in php_zip_glob() 654 pattern = work_pattern; in php_zip_glob() 659 if (0 != (ret = glob(pattern, flags & GLOB_FLAGMASK, NULL, &globbuf))) { in php_zip_glob() 1735 zend_string *pattern; local 1740 &pattern, &glob_flags, &options) == FAILURE) { 1745 &pattern, &path, &path_len, &options) == FAILURE) { 1750 if (ZSTR_LEN(pattern) == 0) { 1759 found = php_zip_glob(ZSTR_VAL(pattern), ZSTR_LEN(pattern), glob_flags, return_value); [all …]
|
H A D | php_zip.stub.php | 673 public function addGlob(string $pattern, int $flags = 0, array $options = []): array|false {} 676 …public function addPattern(string $pattern, string $path = ".", array $options = []): array|false …
|
/php-src/ext/fileinfo/ |
H A D | libmagic.patch | 518 + zend_string *pattern; 525 + zend_string_release(pattern); 529 + zend_string_release(pattern); 2076 + zend_string *pattern; 2086 + zend_string_release(pattern); 2090 + zend_string_release(pattern); 2887 + pattern_lower = zend_str_tolower_dup(nv[i].pattern, strlen(nv[i].pattern)); 3070 + zend_string *pattern; 3272 + zend_string *pattern; 3323 + zend_string_release(pattern); [all …]
|
/php-src/ext/intl/ |
H A D | php_intl_arginfo.h | 285 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pattern, IS_STRING, 1, "null") 320 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0) 373 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pattern, IS_STRING, 1, "null") 437 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0) 571 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0) 581 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0) 592 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0) 598 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
|
/php-src/ext/phar/ |
H A D | phar_object.stub.php | 90 public function buildFromDirectory(string $directory, string $pattern = ""): array {} argument 276 public function buildFromDirectory(string $directory, string $pattern = ""): array {} argument
|
/php-src/ext/fileinfo/libmagic/ |
H A D | softmagic.c | 494 zend_string *pattern; in check_fmt() local 499 pattern = ZSTR_INIT_LITERAL("~%[-0-9\\.]*s~", 0); in check_fmt() 500 if ((pce = pcre_get_compiled_regex_cache_ex(pattern, 0)) == NULL) { in check_fmt() 510 zend_string_release_ex(pattern, 0); in check_fmt() 2275 zend_string *pattern; in magiccheck() local 2285 pattern = convert_libmagic_pattern((char *)m->value.s, m->vallen, options); in magiccheck() 2288 if ((pce = pcre_get_compiled_regex_cache(pattern)) == NULL) { in magiccheck() 2289 zend_string_release(pattern); in magiccheck() 2310 zend_string_release(pattern); in magiccheck() 2337 zend_string_release(pattern); in magiccheck() [all …]
|
H A D | apprentice.c | 2811 zend_string *pattern; in getvalue() local 2815 pattern = convert_libmagic_pattern(m->value.s, strlen(m->value.s), options); in getvalue() 2817 if ((pce = pcre_get_compiled_regex_cache(pattern)) == NULL) { in getvalue() 2818 zend_string_release(pattern); in getvalue() 2821 zend_string_release(pattern); in getvalue()
|
/php-src/ext/mbstring/ |
H A D | php_mbregex.c | 455 static php_mb_regex_t *php_mbregex_compile_pattern(const char *pattern, size_t patlen, OnigOptionTy… in php_mbregex_compile_pattern() argument 463 if (!php_mb_check_encoding(pattern, patlen, php_mb_regex_get_mbctype_encoding())) { in php_mbregex_compile_pattern() 469 rc = zend_hash_str_find_ptr(&MBREX(ht_rc), (char *)pattern, patlen); in php_mbregex_compile_pattern() 471 …if ((err_code = onig_new(&retval, (OnigUChar *)pattern, (OnigUChar *)(pattern + patlen), options, … in php_mbregex_compile_pattern() 480 zend_hash_str_update_ptr(&MBREX(ht_rc), (char *)pattern, patlen, retval); in php_mbregex_compile_pattern()
|
/php-src/ext/soap/ |
H A D | php_sdl.h | 146 sdlRestrictionCharPtr pattern; member
|
/php-src/ext/pcre/ |
H A D | php_pcre.c | 603 char *pattern; in pcre_get_compiled_regex_cache_ex() local 707 pattern = estrndup(p, pattern_len); in pcre_get_compiled_regex_cache_ex() 755 efree(pattern); in pcre_get_compiled_regex_cache_ex() 772 efree(pattern); in pcre_get_compiled_regex_cache_ex() 786 re = pcre2_compile((PCRE2_SPTR)pattern, pattern_len, coptions, &errnumber, &erroffset, cctx); in pcre_get_compiled_regex_cache_ex() 795 efree(pattern); in pcre_get_compiled_regex_cache_ex() 821 efree(pattern); in pcre_get_compiled_regex_cache_ex() 2439 HashTable *pattern, *subject_ht; in PHP_FUNCTION() local 2448 Z_PARAM_ARRAY_HT(pattern) in PHP_FUNCTION() 2466 ZEND_HASH_FOREACH_STR_KEY_VAL(pattern, str_idx_regex, replace) { in PHP_FUNCTION()
|
/php-src/ext/pcre/pcre2lib/sljit/ |
H A D | sljitNativeS390X.c | 466 #define SLJIT_S390X_RR(name, pattern) \ argument 499 #define SLJIT_S390X_RRE(name, pattern) \ argument 502 return (pattern) | R4A(dst) | R0A(src); \ 624 #define SLJIT_S390X_RXA(name, pattern) \ argument 656 #define SLJIT_S390X_RXYA(name, pattern, cond) \ argument 705 #define SLJIT_S390X_RSYA(name, pattern, cond) \ argument 728 #define SLJIT_S390X_RIEF(name, pattern) \ argument 763 #define SLJIT_S390X_RRFC(name, pattern) \ argument 771 return (pattern) | m3 | R4A(dst) | R0A(src); \ 781 #define SLJIT_S390X_RIEG(name, pattern) \ argument [all …]
|
/php-src/ext/spl/ |
H A D | spl_directory.stub.php | 216 …public function __construct(string $pattern, int $flags = FilesystemIterator::KEY_AS_PATHNAME | Fi… argument
|
/php-src/ext/spl/tests/ |
H A D | bug55701.phpt | 7 // Some methods of GlobIterator do not throw a RuntimeException when the glob pattern doesn't match… 8 // Most methods of GlobIterator throw a RuntimeException when the glob pattern doesn't match any fi…
|
H A D | class_implements_variation1.phpt | 98 // loop through each element of the array for pattern
|
H A D | class_uses_variation1.phpt | 98 // loop through each element of the array for pattern
|
/php-src/ext/intl/formatter/ |
H A D | formatter_arginfo.h | 7 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pattern, IS_STRING, 1, "null") 13 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pattern, IS_STRING, 1, "null") 66 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
|
/php-src/sapi/fpm/ |
H A D | php-fpm.conf.in | 138 ; files from a glob(3) pattern. This directive can be used everywhere in the
|
/php-src/ext/pcre/pcre2lib/ |
H A D | pcre2_compile.c | 10124 pcre2_compile(PCRE2_SPTR pattern, PCRE2_SIZE patlen, uint32_t options, in pcre2_compile() argument 10185 if (pattern == NULL) in pcre2_compile() 10187 if (patlen == 0) pattern = (PCRE2_SPTR)""; else in pcre2_compile() 10224 patlen = PRIV(strlen)(pattern); in pcre2_compile() 10249 cb.end_pattern = pattern + patlen; in pcre2_compile() 10267 cb.start_pattern = pattern; in pcre2_compile() 10303 ptr = pattern; in pcre2_compile() 10405 (errorcode = PRIV(valid_utf)(pattern, patlen, erroroffset)) != 0) in pcre2_compile() 10957 if (zero_terminated) VALGRIND_MAKE_MEM_DEFINED(pattern + patlen, CU2BYTES(1)); in pcre2_compile() 10974 ptr = pattern + cb.erroroffset; in pcre2_compile() [all …]
|