Home
last modified time | relevance | path

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

12345678910

/PHP-5.5/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.5/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.c170 const char *pattern; in glob()
228 const Char *pattern; in globexp1()
235 if (pattern[0] == LBRACE && pattern[1] == RBRACE && pattern[2] == EOS)
363 const Char *pattern; in globtilde()
376 return pattern;
399 return pattern;
403 return pattern;
412 return pattern;
416 return pattern;
594 p = pattern;
[all …]
/PHP-5.5/ext/intl/tests/
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 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 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.5/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 …]
/PHP-5.5/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.5/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.5/ext/pcre/pcrelib/testdata/
H A Dtestoutput21-162 right away, and can be any old pattern compiled in 8-bit mode ("abc" is
6 Compiled pattern loaded from testsaved8
9 Running in 16-bit mode but pattern was compiled in 8-bit mode
23 Compiled pattern loaded from testsaved16LE-1
56 Compiled pattern loaded from testsaved16BE-1
89 Compiled pattern loaded from testsaved32LE-1
92 Running in 16-bit mode but pattern was compiled in 32-bit mode
95 Compiled pattern loaded from testsaved32BE-1
98 Running in 16-bit mode but pattern was compiled in 32-bit mode
H A Dtestoutput21-322 right away, and can be any old pattern compiled in 8-bit mode ("abc" is
6 Compiled pattern loaded from testsaved8
9 Running in 32-bit mode but pattern was compiled in 8-bit mode
23 Compiled pattern loaded from testsaved16LE-1
26 Running in 32-bit mode but pattern was compiled in 16-bit mode
29 Compiled pattern loaded from testsaved16BE-1
32 Running in 32-bit mode but pattern was compiled in 16-bit mode
35 Compiled pattern loaded from testsaved32LE-1
68 Compiled pattern loaded from testsaved32BE-1
H A Dtestoutput22-1616 Compiled pattern loaded from testsaved16LE-2
43 Compiled pattern loaded from testsaved16BE-2
70 Compiled pattern loaded from testsaved32LE-2
73 Running in 16-bit mode but pattern was compiled in 32-bit mode
76 Compiled pattern loaded from testsaved32BE-2
79 Running in 16-bit mode but pattern was compiled in 32-bit mode
H A Dtestoutput22-3216 Compiled pattern loaded from testsaved16LE-2
19 Running in 32-bit mode but pattern was compiled in 16-bit mode
22 Compiled pattern loaded from testsaved16BE-2
25 Running in 32-bit mode but pattern was compiled in 16-bit mode
28 Compiled pattern loaded from testsaved32LE-2
55 Compiled pattern loaded from testsaved32BE-2
/PHP-5.5/ext/mbstring/oniguruma/win32/
H A Dtestc.c43 r = regcomp(&reg, pattern, REG_EXTENDED | REG_NEWLINE); in xx()
61 fprintf(stdout, "OK(N): /%s/ '%s'\n", pattern, str); in xx()
65 fprintf(stdout, "FAIL: /%s/ '%s'\n", pattern, str); in xx()
76 fprintf(stdout, "OK: /%s/ '%s'\n", pattern, str); in xx()
92 r = onig_new(&reg, (UChar* )pattern, (UChar* )(pattern + SLEN(pattern)), in xx()
119 fprintf(stdout, "FAIL: /%s/ '%s'\n", pattern, str); in xx()
130 fprintf(stdout, "OK: /%s/ '%s'\n", pattern, str); in xx()
146 xx(pattern, str, from, to, 0, 0); in x2()
151 xx(pattern, str, from, to, mem, 0); in x3()
154 static void n(char* pattern, char* str) in n() argument
[all …]
/PHP-5.5/ext/mbstring/oniguruma/
H A Dtestc.c43 r = regcomp(&reg, pattern, REG_EXTENDED | REG_NEWLINE); in xx()
61 fprintf(stdout, "OK(N): /%s/ '%s'\n", pattern, str); in xx()
65 fprintf(stdout, "FAIL: /%s/ '%s'\n", pattern, str); in xx()
76 fprintf(stdout, "OK: /%s/ '%s'\n", pattern, str); in xx()
92 r = onig_new(&reg, (UChar* )pattern, (UChar* )(pattern + SLEN(pattern)), in xx()
119 fprintf(stdout, "FAIL: /%s/ '%s'\n", pattern, str); in xx()
130 fprintf(stdout, "OK: /%s/ '%s'\n", pattern, str); in xx()
146 xx(pattern, str, from, to, 0, 0); in x2()
151 xx(pattern, str, from, to, mem, 0); in x3()
154 static void n(char* pattern, char* str) in n() argument
[all …]
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.5/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));
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));
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) );
/PHP-5.5/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.5/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()

Completed in 43 milliseconds

12345678910