Home
last modified time | relevance | path

Searched refs:pattern (Results 101 – 125 of 147) sorted by relevance

123456

/PHP-8.2/sapi/fpm/tests/
H A Dtester.inc460 if ($pattern !== null && preg_match($pattern, $message)) {
567 * @param string $pattern Search pattern to find.
572 public function runTill(string $pattern)
1700 * Expect log pattern in logs.
1702 * @param string $pattern Log pattern
1710 string $pattern,
1716 $pattern,
1725 * Expect no such log pattern in logs.
1727 * @param string $pattern Log pattern
1735 string $pattern,
[all …]
/PHP-8.2/ext/intl/tests/
H A Dgh8115.phpt39 Caught (8192): MessageFormatter::__construct(): Passing null to parameter #2 ($pattern) of type str…
/PHP-8.2/ext/mbstring/tests/
H A Dmb_ereg_variation5.phpt12 * Test mb_ereg with anchors (start and end of string) in $pattern
H A Dmb_ereg_variation7.phpt2 Test mb_ereg() function : usage variations - different regex features in $pattern
H A Dmb_ereg_variation6.phpt12 * Test how mb_ereg() matches special characters for $pattern
/PHP-8.2/ext/fileinfo/
H A Dlibmagic.patch512 + zend_string *pattern;
519 + zend_string_release(pattern);
523 + zend_string_release(pattern);
2026 + zend_string *pattern;
2036 + zend_string_release(pattern);
2040 + zend_string_release(pattern);
2760 + pattern_lower = zend_str_tolower_dup(nv[i].pattern, strlen(nv[i].pattern));
2943 + zend_string *pattern;
2964 + zend_string_release(pattern);
3119 + zend_string *pattern;
[all …]
/PHP-8.2/ext/intl/
H A Dphp_intl_arginfo.h285 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)
566 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
576 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
587 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
593 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
/PHP-8.2/ext/gd/tests/
H A Dbug24594.phpt14 /* create the dots pattern */
/PHP-8.2/ext/zip/
H A Dphp_zip.c641 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()
1734 zend_string *pattern; local
1739 &pattern, &glob_flags, &options) == FAILURE) {
1744 &pattern, &path, &path_len, &options) == FAILURE) {
1749 if (ZSTR_LEN(pattern) == 0) {
1758 found = php_zip_glob(ZSTR_VAL(pattern), ZSTR_LEN(pattern), glob_flags, return_value);
[all …]
H A Dphp_zip.stub.php673 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-8.2/ext/pcre/pcre2lib/sljit/
H A DsljitNativeS390X.c469 #define SLJIT_S390X_RR(name, pattern) \ argument
502 #define SLJIT_S390X_RRE(name, pattern) \ argument
505 return (pattern) | R4A(dst) | R0A(src); \
627 #define SLJIT_S390X_RXA(name, pattern) \ argument
659 #define SLJIT_S390X_RXYA(name, pattern, cond) \ argument
708 #define SLJIT_S390X_RSYA(name, pattern, cond) \ argument
731 #define SLJIT_S390X_RIEF(name, pattern) \ argument
766 #define SLJIT_S390X_RRFC(name, pattern) \ argument
774 return (pattern) | m3 | R4A(dst) | R0A(src); \
784 #define SLJIT_S390X_RIEG(name, pattern) \ argument
[all …]
/PHP-8.2/ext/phar/
H A Dphar_object.stub.php90 public function buildFromDirectory(string $directory, string $pattern = ""): array {} argument
279 public function buildFromDirectory(string $directory, string $pattern = ""): array {} argument
/PHP-8.2/ext/fileinfo/libmagic/
H A Dsoftmagic.c491 zend_string *pattern; in check_fmt() local
496 pattern = ZSTR_INIT_LITERAL("~%[-0-9\\.]*s~", 0); in check_fmt()
497 if ((pce = pcre_get_compiled_regex_cache_ex(pattern, 0)) == NULL) { in check_fmt()
507 zend_string_release(pattern); in check_fmt()
2240 zend_string *pattern; in magiccheck() local
2250 pattern = convert_libmagic_pattern((char *)m->value.s, m->vallen, options); in magiccheck()
2253 if ((pce = pcre_get_compiled_regex_cache(pattern)) == NULL) { in magiccheck()
2254 zend_string_release(pattern); in magiccheck()
2275 zend_string_release(pattern); in magiccheck()
2302 zend_string_release(pattern); in magiccheck()
[all …]
H A Dapprentice.c2801 zend_string *pattern; in getvalue() local
2805 pattern = convert_libmagic_pattern(m->value.s, strlen(m->value.s), options); in getvalue()
2807 if ((pce = pcre_get_compiled_regex_cache(pattern)) == NULL) { in getvalue()
2808 zend_string_release(pattern); in getvalue()
2811 zend_string_release(pattern); in getvalue()
/PHP-8.2/ext/mbstring/
H A Dphp_mbregex.c455 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-8.2/ext/soap/
H A Dphp_sdl.h146 sdlRestrictionCharPtr pattern; member
/PHP-8.2/ext/pcre/
H A Dphp_pcre.c602 char *pattern; in pcre_get_compiled_regex_cache_ex() local
706 pattern = estrndup(p, pattern_len); in pcre_get_compiled_regex_cache_ex()
751 efree(pattern); in pcre_get_compiled_regex_cache_ex()
768 efree(pattern); in pcre_get_compiled_regex_cache_ex()
780 re = pcre2_compile((PCRE2_SPTR)pattern, pattern_len, coptions, &errnumber, &erroffset, cctx); in pcre_get_compiled_regex_cache_ex()
789 efree(pattern); in pcre_get_compiled_regex_cache_ex()
815 efree(pattern); in pcre_get_compiled_regex_cache_ex()
2433 HashTable *pattern, *subject_ht; in PHP_FUNCTION() local
2442 Z_PARAM_ARRAY_HT(pattern) in PHP_FUNCTION()
2460 ZEND_HASH_FOREACH_STR_KEY_VAL(pattern, str_idx_regex, replace) { in PHP_FUNCTION()
/PHP-8.2/ext/spl/
H A Dspl_directory.stub.php216 …public function __construct(string $pattern, int $flags = FilesystemIterator::KEY_AS_PATHNAME | Fi… argument
/PHP-8.2/ext/spl/tests/
H A Dbug55701.phpt7 // 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 Dclass_implements_variation1.phpt98 // loop through each element of the array for pattern
H A Dclass_uses_variation1.phpt98 // loop through each element of the array for pattern
/PHP-8.2/ext/intl/formatter/
H A Dformatter_arginfo.h7 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-8.2/sapi/fpm/
H A Dphp-fpm.conf.in138 ; files from a glob(3) pattern. This directive can be used everywhere in the
/PHP-8.2/ext/pcre/pcre2lib/
H A Dpcre2_compile.c9764 pcre2_compile(PCRE2_SPTR pattern, PCRE2_SIZE patlen, uint32_t options, in pcre2_compile() argument
9825 if (pattern == NULL) in pcre2_compile()
9861 patlen = PRIV(strlen)(pattern); in pcre2_compile()
9886 cb.end_pattern = pattern + patlen; in pcre2_compile()
9904 cb.start_pattern = pattern; in pcre2_compile()
9937 if (zero_terminated) VALGRIND_MAKE_MEM_NOACCESS(pattern + patlen, CU2BYTES(1)); in pcre2_compile()
9940 ptr = pattern; in pcre2_compile()
10042 (errorcode = PRIV(valid_utf)(pattern, patlen, erroroffset)) != 0) in pcre2_compile()
10596 if (zero_terminated) VALGRIND_MAKE_MEM_DEFINED(pattern + patlen, CU2BYTES(1)); in pcre2_compile()
10613 ptr = pattern + cb.erroroffset; in pcre2_compile()
[all …]
/PHP-8.2/ext/mysqli/tests/
H A Dmysqli_last_insert_id.phpt80 // Sequence counter pattern...

Completed in 136 milliseconds

123456