Home
last modified time | relevance | path

Searched refs:pattern (Results 1 – 25 of 217) sorted by relevance

123456789

/PHP-5.4/ext/intl/doc/
H A Dmsgfmt_api.php19 * @param string $pattern the pattern string to stick arguments into
21 public function __construct($locale, $pattern) {} argument
27 * @param string $pattern the pattern string to stick arguments into
29 public static function create($locale, $pattern) {} argument
55 * @param string $pattern the pattern string to insert things into
59 public static function formatMessage($locale, $pattern, $args) {} argument
87 public function setPattern($pattern) {} argument
121 function msgfmt_create($locale, $pattern) {} argument
149 * @param string $pattern the pattern string to insert things into
153 function msgfmt_format_message($locale, $pattern, $args) {} argument
[all …]
H A Ddatefmt_api.php61 * @param [string] $pattern Optional pattern to use when formatting or parsing
66 …n __construct($locale, $datetype, $timetype, $timezone = null, $calendar= null , $pattern= null) {} argument
77 * @param [string] $pattern Optional pattern to use when formatting or parsing
82 …nction create($locale, $datetype, $timetype, $timezone = null, $calendar= null , $pattern= null) {} argument
217 * @param string $pattern new pattern string to use
221 public function setPattern($pattern) {} argument
258 * @param [string] $pattern Optional pattern to use when formatting or parsing
262 …function datefmt_create($locale, $datetype, $timetype, $timezone = null, $calendar= null ,$pattern argument
412 * @param string $pattern new pattern string to use
416 function datefmt_set_pattern($fmt , $pattern) {} argument
H A Dformatter_api.php147 * @param [string] $pattern Pattern string in case chose style requires pattern
150 public function __construct($locale, $style, $pattern = null) {} argument
163 * @param [string] $pattern Pattern string in case chose style requires pattern
168 public static function create($locale, $style, $pattern = null) {} argument
266 * @param string $pattern The pattern to be used.
269 public function setPattern($pattern) {} argument
336 * @param [string] $pattern Pattern string in case chose style requires pattern
339 function numfmt_create($locale, $style, $pattern = null) {} argument
437 * @param string $pattern The pattern to be used.
440 function numfmt_set_pattern($formatter, $pattern) {} argument
/PHP-5.4/win32/
H A Dfnmatch.c65 switch (c = *pattern++) { in fnmatch()
82 c = *pattern; in fnmatch()
85 c = *++pattern; in fnmatch()
120 if ((pattern = in fnmatch()
129 --pattern; in fnmatch()
165 if ( (negate = (*pattern == '!' || *pattern == '^')) ) in rangematch()
166 ++pattern; in rangematch()
173 c = *pattern++; in rangematch()
180 if (*pattern == '-' in rangematch()
182 pattern += 2; in rangematch()
[all …]
H A Dglob.c163 const char *pattern; in glob()
221 const Char *pattern; in globexp1()
228 if (pattern[0] == LBRACE && pattern[1] == RBRACE && pattern[2] == EOS)
354 const Char *pattern; in globtilde()
367 return pattern;
390 return pattern;
394 return pattern;
403 return pattern;
407 return pattern;
585 p = pattern;
[all …]
/PHP-5.4/ext/intl/tests/
H A Ddateformat_get_set_pattern2.phpt30 $pattern = ut_datefmt_get_pattern( $fmt);
31 $res_str .= "\nAfter call to get_pattern : pattern= $pattern";
41 $pattern = ut_datefmt_get_pattern( $fmt);
42 $res_str .= "\nAfter call to get_pattern : pattern= $pattern";
59 Creating IntlDateFormatter with pattern = dd-MM-YY
60 After call to get_pattern : pattern= dd-MM-YY
65 After call to get_pattern : pattern= DD-MM-YYYY hh:mm:ss
76 Setting IntlDateFormatter with pattern = yyyy/MM/dd
77 After call to get_pattern : pattern= yyyy/MM/dd
82 Setting IntlDateFormatter with pattern = yyyyMMdd
[all …]
H A Ddateformat_get_set_pattern.phpt30 $pattern = ut_datefmt_get_pattern( $fmt);
31 $res_str .= "\nAfter call to get_pattern : pattern= $pattern";
41 $pattern = ut_datefmt_get_pattern( $fmt);
42 $res_str .= "\nAfter call to get_pattern : pattern= $pattern";
59 Creating IntlDateFormatter with pattern = dd-MM-YY
60 After call to get_pattern : pattern= dd-MM-YY
65 After call to get_pattern : pattern= DD-MM-YYYY hh:mm:ss
76 Setting IntlDateFormatter with pattern = yyyy/MM/dd
77 After call to get_pattern : pattern= yyyy/MM/dd
82 Setting IntlDateFormatter with pattern = yyyyMMdd
[all …]
H A Dformatter_get_set_pattern.phpt9 * Get/set pattern.
20 $res_str .= "Default pattern: '" . ut_nfmt_get_pattern( $fmt ) . "'\n";
23 // Set a new pattern.
28 // Check if the pattern has been changed.
32 $res_str .= "New pattern: '" . ut_nfmt_get_pattern( $fmt ) . "'\n";
36 $res_str .= "New pattern: '" . ut_nfmt_get_pattern( $fmt ) . "'\n";
47 Default pattern: '#.###############################################################################…
49 New pattern: '#0.0'
51 New pattern: '@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@…
H A Dmsgfmt_get_set_pattern.phpt9 * Get/set pattern.
19 $res_str .= "Default pattern: '" . ut_msgfmt_get_pattern( $fmt ) . "'\n";
22 // Set a new pattern.
23 $pattern = "{0,number} trees hosting {1,number} monkeys";
24 $res = ut_msgfmt_set_pattern( $fmt, $pattern );
28 // Check if the pattern has been changed.
32 $res_str .= "New pattern: '" . ut_msgfmt_get_pattern( $fmt ) . "'\n";
35 ut_msgfmt_set_pattern($fmt, str_repeat($pattern, 10));
36 $res_str .= "New pattern: '" . ut_msgfmt_get_pattern( $fmt ) . "'\n";
48 Default pattern: '{0,number} monkeys on {1,number} trees'
[all …]
/PHP-5.4/ext/mbstring/tests/
H A Dbug43994.phpt46 Warning: mb_ereg(): empty pattern in %s on line %d
50 Warning: mb_ereg(): empty pattern in %s on line %d
57 Warning: mb_ereg(): empty pattern in %s on line %d
61 Warning: mb_ereg(): empty pattern in %s on line %d
68 Warning: mb_ereg(): empty pattern in %s on line %d
72 Warning: mb_ereg(): empty pattern in %s on line %d
79 Warning: mb_ereg(): empty pattern in %s on line %d
83 Warning: mb_ereg(): empty pattern in %s on line %d
90 Warning: mb_ereg(): empty pattern in %s on line %d
94 Warning: mb_ereg(): empty pattern in %s on line %d
[all …]
H A Dmb_ereg_error.phpt10 /* Prototype : int mb_ereg(string $pattern, string $string [, array $registers])
24 $pattern = b'string_val';
28 var_dump( mb_ereg($pattern, $string, $registers, $extra_arg) );
32 $pattern = b'string_val';
33 var_dump( mb_ereg($pattern) );
H A Dmb_ereg_replace_error.phpt10 /* Prototype : proto string mb_ereg_replace(string pattern, string replacement, string string [, s…
20 $pattern = b'[a-k]';
25 var_dump( mb_ereg_replace($pattern, $replacement, $string, $option, $extra_arg) );
29 $pattern = b'string_val';
31 var_dump( mb_ereg_replace($pattern, $replacement) );
H A Dmb_split_error.phpt10 /* Prototype : proto array mb_split(string pattern, string string [, int limit])
25 $pattern = ' ';
29 var_dump( mb_split($pattern, $string, $limit, $extra_arg) );
33 $pattern = 'string_val';
34 var_dump( mb_split($pattern) );
/PHP-5.4/ext/standard/tests/file/
H A Dglob_error_002-win32.phpt2 Test glob() function: error condition - pattern too long.
12 /* Prototype: array glob ( string $pattern [, int $flags] );
13 Description: Find pathnames matching a pattern
16 echo "*** Testing glob() : error condition - pattern too long. ***\n";
23 *** Testing glob() : error condition - pattern too long. ***
/PHP-5.4/ext/ereg/tests/
H A Dsplit_variation_004.phpt5 /* Prototype : proto array split(string pattern, string string [, int limit])
17 $pattern = '[[:space:]]';
19 var_dump(split($pattern, $string, 0));
20 var_dump(split($pattern, $string, -10));
21 var_dump(split($pattern, $string, 10E20));
H A Dspliti_variation_004.phpt5 /* Prototype : proto array spliti(string pattern, string string [, int limit])
17 $pattern = '[[:space:]]';
19 var_dump(spliti($pattern, $string, 0));
20 var_dump(spliti($pattern, $string, -10));
21 var_dump(spliti($pattern, $string, 10E20));
H A Dereg_replace_error_001.phpt5 /* Prototype : proto string ereg_replace(string pattern, string replacement, string string)
16 $pattern = 'string_val';
20 var_dump( ereg_replace($pattern, $replacement, $string, $extra_arg) );
24 $pattern = 'string_val';
26 var_dump( ereg_replace($pattern, $replacement) );
H A Deregi_replace_error_001.phpt5 /* Prototype : proto string eregi_replace(string pattern, string replacement, string string)
16 $pattern = 'string_val';
20 var_dump( eregi_replace($pattern, $replacement, $string, $extra_arg) );
24 $pattern = 'string_val';
26 var_dump( eregi_replace($pattern, $replacement) );
H A Dereg_error_001.phpt5 /* Prototype : proto int ereg(string pattern, string string [, array registers])
20 $pattern = 'string_val';
24 var_dump( ereg($pattern, $string, $registers, $extra_arg) );
28 $pattern = 'string_val';
29 var_dump( ereg($pattern) );
H A Deregi_error_001.phpt5 /* Prototype : proto int eregi(string pattern, string string [, array registers])
20 $pattern = 'string_val';
24 var_dump( eregi($pattern, $string, $registers, $extra_arg) );
28 $pattern = 'string_val';
29 var_dump( eregi($pattern) );
/PHP-5.4/ext/pcre/tests/
H A Dbug52971.phpt10 $pattern = '/\bwasser/iu';
11 preg_match_all($pattern, $message, $match, PREG_OFFSET_CAPTURE);
14 $pattern = '/[^\w]wasser/iu';
15 preg_match_all($pattern, $message, $match, PREG_OFFSET_CAPTURE);
/PHP-5.4/ext/mbstring/oniguruma/
H A Dreggnu.c82 re_compile_pattern(const char* pattern, int size, regex_t* reg, char* ebuf) in re_compile_pattern() argument
87 r = onig_compile(reg, (UChar* )pattern, (UChar* )(pattern + size), &einfo); in re_compile_pattern()
98 re_recompile_pattern(const char* pattern, int size, regex_t* reg, char* ebuf) in re_recompile_pattern() argument
109 r = onig_recompile(reg, (UChar* )pattern, (UChar* )(pattern + size), in re_recompile_pattern()
/PHP-5.4/ext/pcre/
H A Dupgrade-pcre.php5 $pattern = 'pcre-*.tar.*'; variable
6 $newpcre = glob($pattern);
9 echo "more than one '$pattern' file. aborting\n";
15 die("need one '$pattern' file. aborting.\n");
/PHP-5.4/ext/intl/msgformat/
H A Dmsgformat.c32 char* pattern; in msgfmt_ctor() local
43 &locale, &locale_len, &pattern, &pattern_len ) == FAILURE ) in msgfmt_ctor()
55 if(pattern && pattern_len) { in msgfmt_ctor()
56 …intl_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(m… in msgfmt_ctor()
77 (mfo)->mf_data.orig_format = estrndup(pattern, pattern_len); in msgfmt_ctor()
/PHP-5.4/ext/ereg/
H A Dereg.c31 ZEND_ARG_INFO(0, pattern)
37 ZEND_ARG_INFO(0, pattern)
43 ZEND_ARG_INFO(0, pattern)
142 int patlen = strlen(pattern); in _php_regcomp()
172 r = regcomp(preg, pattern, cflags); in _php_regcomp()
191 r = regcomp(preg, pattern, cflags);
554 char *pattern, *arg_string; in php_do_ereg_replace() local
568 pattern = STR_EMPTY_ALLOC(); in php_do_ereg_replace()
572 pattern = emalloc(2); in php_do_ereg_replace()
574 pattern[1] = '\0'; in php_do_ereg_replace()
[all …]

Completed in 38 milliseconds

123456789