Home
last modified time | relevance | path

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

123456

/PHP-8.1/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_variation6.phpt12 * Test how mb_ereg() matches special characters for $pattern
/PHP-8.1/ext/intl/tests/
H A Dgh8115.phpt39 Caught (8192): MessageFormatter::__construct(): Passing null to parameter #2 ($pattern) of type str…
/PHP-8.1/ext/pcre/tests/
H A Dpreg_replace_error1.phpt59 preg_replace(): Argument #1 ($pattern) must be of type array|string, stdClass given
/PHP-8.1/sapi/fpm/tests/
H A Dtester.inc465 * @param string $pattern Search pattern to find.
470 public function runTill(string $pattern)
473 $found = $this->logTool->expectPattern($pattern);
1494 * Expect log pattern in logs.
1496 * @param string $pattern Log pattern
1504 string $pattern,
1510 $pattern,
1519 * Expect no such log pattern in logs.
1521 * @param string $pattern Log pattern
1529 string $pattern,
[all …]
/PHP-8.1/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.1/ext/gd/tests/
H A Dbug24594.phpt14 /* create the dots pattern */
/PHP-8.1/ext/phar/
H A Dphar_object.stub.php25 public function buildFromDirectory(string $directory, string $pattern = ""): array {} argument
214 public function buildFromDirectory(string $directory, string $pattern = ""): array {} argument
/PHP-8.1/ext/zip/
H A Dphp_zip.c629 if (!IS_ABSOLUTE_PATH(pattern, pattern_len)) { in php_zip_glob()
635 if (IS_SLASH(*pattern)) { in php_zip_glob()
641 snprintf(work_pattern, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, pattern); in php_zip_glob()
642 pattern = work_pattern; in php_zip_glob()
647 if (0 != (ret = glob(pattern, flags & GLOB_FLAGMASK, NULL, &globbuf))) { in php_zip_glob()
1703 zend_string *pattern; local
1708 &pattern, &glob_flags, &options) == FAILURE) {
1713 &pattern, &path, &path_len, &options) == FAILURE) {
1718 if (ZSTR_LEN(pattern) == 0) {
1727 found = php_zip_glob(ZSTR_VAL(pattern), ZSTR_LEN(pattern), glob_flags, return_value);
[all …]
H A Dphp_zip_arginfo.h89 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
95 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
/PHP-8.1/ext/fileinfo/
H A Dlibmagic.patch576 + zend_string *pattern;
583 + zend_string_release(pattern);
588 + zend_string_release(pattern);
2256 + zend_string *pattern;
2266 + zend_string_release(pattern);
2270 + zend_string_release(pattern);
2998 + pattern_lower = zend_str_tolower_dup(nv[i].pattern, strlen(nv[i].pattern));
3224 + zend_string *pattern;
3246 + zend_string_release(pattern);
3374 + zend_string *pattern;
[all …]
/PHP-8.1/ext/fileinfo/libmagic/
H A Dsoftmagic.c483 zend_string *pattern; in check_fmt() local
488 pattern = zend_string_init("~%[-0-9\\.]*s~", sizeof("~%[-0-9\\.]*s~") - 1, 0); in check_fmt()
489 if ((pce = pcre_get_compiled_regex_cache_ex(pattern, 0)) == NULL) { in check_fmt()
499 zend_string_release(pattern); in check_fmt()
2234 zend_string *pattern; in magiccheck() local
2244 pattern = convert_libmagic_pattern((char *)m->value.s, m->vallen, options); in magiccheck()
2247 if ((pce = pcre_get_compiled_regex_cache(pattern)) == NULL) { in magiccheck()
2248 zend_string_release(pattern); in magiccheck()
2269 zend_string_release(pattern); in magiccheck()
2296 zend_string_release(pattern); in magiccheck()
[all …]
H A Dapprentice.c2660 zend_string *pattern; in getvalue() local
2664 pattern = convert_libmagic_pattern(m->value.s, strlen(m->value.s), options); in getvalue()
2666 if ((pce = pcre_get_compiled_regex_cache(pattern)) == NULL) { in getvalue()
2667 zend_string_release(pattern); in getvalue()
2670 zend_string_release(pattern); in getvalue()
/PHP-8.1/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.1/ext/soap/
H A Dphp_sdl.h146 sdlRestrictionCharPtr pattern; member
/PHP-8.1/ext/pcre/
H A Dphp_pcre.c619 char *pattern; in pcre_get_compiled_regex_cache_ex() local
725 pattern = estrndup(p, pattern_len); in pcre_get_compiled_regex_cache_ex()
771 efree(pattern); in pcre_get_compiled_regex_cache_ex()
782 efree(pattern); in pcre_get_compiled_regex_cache_ex()
798 efree(pattern); in pcre_get_compiled_regex_cache_ex()
810 re = pcre2_compile((PCRE2_SPTR)pattern, pattern_len, coptions, &errnumber, &erroffset, cctx); in pcre_get_compiled_regex_cache_ex()
819 efree(pattern); in pcre_get_compiled_regex_cache_ex()
845 efree(pattern); in pcre_get_compiled_regex_cache_ex()
2412 HashTable *pattern, *subject_ht; in PHP_FUNCTION() local
2421 Z_PARAM_ARRAY_HT(pattern) in PHP_FUNCTION()
[all …]
/PHP-8.1/ext/spl/
H A Dspl_directory.stub.php188 …public function __construct(string $pattern, int $flags = FilesystemIterator::KEY_AS_PATHNAME | Fi… argument
H A Dspl_iterators_arginfo.h245 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
274 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
/PHP-8.1/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.1/ext/imap/
H A Dphp_imap_arginfo.h123 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
231 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
/PHP-8.1/sapi/fpm/
H A Dphp-fpm.conf.in138 ; files from a glob(3) pattern. This directive can be used everywhere in the
/PHP-8.1/ext/pcre/pcre2lib/
H A Dpcre2_compile.c9670 pcre2_compile(PCRE2_SPTR pattern, PCRE2_SIZE patlen, uint32_t options, in pcre2_compile() argument
9731 if (pattern == NULL) in pcre2_compile()
9767 patlen = PRIV(strlen)(pattern); in pcre2_compile()
9792 cb.end_pattern = pattern + patlen; in pcre2_compile()
9810 cb.start_pattern = pattern; in pcre2_compile()
9843 if (zero_terminated) VALGRIND_MAKE_MEM_NOACCESS(pattern + patlen, CU2BYTES(1)); in pcre2_compile()
9846 ptr = pattern; in pcre2_compile()
9948 (errorcode = PRIV(valid_utf)(pattern, patlen, erroroffset)) != 0) in pcre2_compile()
10502 if (zero_terminated) VALGRIND_MAKE_MEM_DEFINED(pattern + patlen, CU2BYTES(1)); in pcre2_compile()
10519 ptr = pattern + cb.erroroffset; in pcre2_compile()
[all …]
/PHP-8.1/ext/mysqli/tests/
H A Dmysqli_last_insert_id.phpt80 // Sequence counter pattern...

Completed in 109 milliseconds

123456