Home
last modified time | relevance | path

Searched refs:re (Results 1 – 25 of 212) sorted by relevance

123456789

/PHP-5.4/ext/pcre/pcrelib/
H A Dpcre_fullinfo.c95 if (re->magic_number != MAGIC_NUMBER) in pcre_fullinfo()
110 *((size_t *)where) = re->size; in pcre_fullinfo()
130 *((int *)where) = re->top_bracket; in pcre_fullinfo()
134 *((int *)where) = re->top_backref; in pcre_fullinfo()
139 ((re->flags & PCRE_FIRSTSET) != 0)? (int)re->first_char : in pcre_fullinfo()
145 (re->flags & PCRE_FIRSTSET) != 0 ? re->first_char : 0; in pcre_fullinfo()
177 ((re->flags & PCRE_REQCHSET) != 0)? (int)re->req_char : -1; in pcre_fullinfo()
182 ((re->flags & PCRE_REQCHSET) != 0) ? re->req_char : 0; in pcre_fullinfo()
195 *((int *)where) = re->name_count; in pcre_fullinfo()
199 *((const pcre_uchar **)where) = (const pcre_uchar *)re + re->name_table_offset; in pcre_fullinfo()
[all …]
H A Dpcre_refcount.c82 REAL_PCRE *re = (REAL_PCRE *)argument_re; in pcre_refcount() local
83 if (re == NULL) return PCRE_ERROR_NULL; in pcre_refcount()
84 if (re->magic_number != MAGIC_NUMBER) return PCRE_ERROR_BADMAGIC; in pcre_refcount()
85 if ((re->flags & PCRE_MODE) == 0) return PCRE_ERROR_BADMODE; in pcre_refcount()
86 re->ref_count = (-adjust > re->ref_count)? 0 : in pcre_refcount()
87 (adjust + re->ref_count > 65535)? 65535 : in pcre_refcount()
88 re->ref_count + adjust; in pcre_refcount()
89 return re->ref_count; in pcre_refcount()
H A Dpcredemo.c48 pcre *re; in main() local
99 re = pcre_compile( in main()
108 if (re == NULL) in main()
122 re, /* the compiled pattern */ in main()
143 pcre_free(re); /* Release memory used for the compiled pattern */ in main()
188 re, /* the compiled pattern */ in main()
202 re, /* the compiled pattern */ in main()
208 re, /* the compiled pattern */ in main()
266 (void)pcre_fullinfo(re, NULL, PCRE_INFO_OPTIONS, &option_bits); in main()
314 re, /* the compiled pattern */ in main()
[all …]
H A Dpcre_study.c389 pcre_uchar *slot = (pcre_uchar *)re + in find_minlength()
390 re->name_table_offset + GET2(cc, 1) * re->name_entry_size; in find_minlength()
422 slot += re->name_entry_size; in find_minlength()
1468 if (re == NULL || re->magic_number != MAGIC_NUMBER) in pcre_study()
1474 if ((re->flags & PCRE_MODE) == 0) in pcre_study()
1492 code = (pcre_uchar *)re + re->name_table_offset + in pcre_study()
1493 (re->name_count * re->name_entry_size); in pcre_study()
1499 if ((re->options & PCRE_ANCHORED) == 0 && in pcre_study()
1506 tables = re->tables; in pcre_study()
1542 switch(min = find_minlength(re, code, code, re->options, NULL)) in pcre_study()
[all …]
/PHP-5.4/ext/ereg/
H A Dereg.c295 regex_t re; in php_ereg() local
342 err = regexec(&re, string, re.re_nsub+1, subs, 0); in php_ereg()
345 regfree(&re); in php_ereg()
381 regfree(&re); in php_ereg()
405 regex_t re; in php_ereg_replace() local
449 regfree(&re); in php_ereg_replace()
541 regfree(&re); in php_ereg_replace()
632 regex_t re; in php_split() local
666 regfree(&re); in php_split()
696 regfree(&re); in php_split()
[all …]
/PHP-5.4/ext/standard/
H A DMakefile.frag2 $(srcdir)/var_unserializer.c: $(srcdir)/var_unserializer.re
3 @(cd $(top_srcdir); $(RE2C) -b -o ext/standard/var_unserializer.c ext/standard/var_unserializer.re)
5 $(srcdir)/url_scanner_ex.c: $(srcdir)/url_scanner_ex.re
6 @(cd $(top_srcdir); $(RE2C) -b -o ext/standard/url_scanner_ex.c ext/standard/url_scanner_ex.re)
/PHP-5.4/ext/ereg/regex/
H A Dmain.c31 regex_t re; local
85 regprint(&re, stdout);
88 regfree(&re);
140 regex_t re; local
186 re.re_endp = bpname;
212 regex_t re; local
247 regfree(&re);
286 regfree(&re);
307 regfree(&re);
503 regex_t re; local
[all …]
/PHP-5.4/ext/pcre/tests/
H A Dcache_limit.phpt7 $re = '';
11 $re .= '.';
12 if (!preg_match("/$re/", $str)) {
18 var_dump(preg_match("/$re/", $str)); // but not this one
/PHP-5.4/win32/build/
H A Dcvsclean.js81 var re = new RegExp(retext);
89 if (item.match(re)) {
97 if (item.match(re)) {
108 var re = /^(config\.nice.*)|(\*)$/i;
112 if (l.length == 0 || re.test(l)) {
H A Dsvnclean.js81 var re = new RegExp(retext);
89 if (item.match(re)) {
97 if (item.match(re)) {
108 var re = /^(config\.nice.*)|(\*)$/i;
112 if (l.length == 0 || re.test(l)) {
/PHP-5.4/ext/spl/tests/
H A Diterator_053.phpt8 public $uk, $re;
10 function __construct($it, $re, $mode, $flags = 0)
13 $this->re = $re;
14 parent::__construct($it, $re, $mode, $flags);
28 @preg_match_all($this->re, (string)($this->uk ? $this->key() : $this->current()), $sub);
H A Diterator_052.phpt8 public $uk, $re;
10 function __construct($it, $re, $mode, $flags = 0)
13 $this->re = $re;
14 parent::__construct($it, $re, $mode, $flags);
28 @preg_match_all($this->re, (string)($this->uk ? $this->key() : $this->current()), $sub);
/PHP-5.4/ext/zlib/tests/
H A Dreadgzfile_variation11.phpt29 When you're taught through feelings
36 When you're taught through feelings
43 When you're taught through feelings
50 When you're taught through feelings
57 When you're taught through feelings
H A Dgzfile_variation11.phpt31 string(36) "When you're taught through feelings
51 string(36) "When you're taught through feelings
71 string(36) "When you're taught through feelings
91 string(36) "When you're taught through feelings
111 string(36) "When you're taught through feelings
H A Dreadgzfile_variation12.phpt28 When you're taught through feelings
35 When you're taught through feelings
42 When you're taught through feelings
49 When you're taught through feelings
H A Dreadgzfile_variation9.phpt27 When you're taught through feelings
34 When you're taught through feelings
41 When you're taught through feelings
48 When you're taught through feelings
H A Dgzfile_variation12.phpt30 string(36) "When you're taught through feelings
50 string(36) "When you're taught through feelings
70 string(36) "When you're taught through feelings
90 string(36) "When you're taught through feelings
H A Dgzfile_variation9.phpt29 string(36) "When you're taught through feelings
49 string(36) "When you're taught through feelings
69 string(36) "When you're taught through feelings
89 string(36) "When you're taught through feelings
H A Dreadgzfile_variation10.phpt33 When you're taught through feelings
40 When you're taught through feelings
53 When you're taught through feelings
60 When you're taught through feelings
H A Dgzfile_variation10.phpt35 string(36) "When you're taught through feelings
55 string(36) "When you're taught through feelings
81 string(36) "When you're taught through feelings
101 string(36) "When you're taught through feelings
/PHP-5.4/ext/date/lib/
H A DREADME6 re2c -d -b -o ext/date/lib/parse_date.c ext/date/lib/parse_date.re
7 re2c -d -b -o ext/date/lib/parse_iso_intervals.c ext/date/lib/parse_iso_intervals.re
/PHP-5.4/ext/standard/tests/array/
H A Darray_intersect_variation5.phpt45 /*7*/ array('\tHello' => 111, 're\td' => "color",
47 array("\tHello" => 111, "re\td" => "color",
129 ["re\td"]=>
135 ["re\td"]=>
142 ["re d"]=>
148 ["re d"]=>
H A Darray_reverse_variation4.phpt52 array("\tHello" => 111, "re\td" => "color", "\v\fworld" => 2.2, "pen\n" => 33),
53 /*8*/ array("\tHello" => 111, "re\td" => "color", "\v\fworld" => 2.2, "pen\n" => 33),
227 ["re d"]=>
239 ["re d"]=>
251 ["re d"]=>
264 ["re d"]=>
276 ["re d"]=>
288 ["re d"]=>
/PHP-5.4/ext/reflection/tests/
H A Dbug43926.phpt20 $re = new ReflectionClass('E');
25 $ce = $re->newInstance();
30 print("Is? E ". ($re->isInstance($ca) ? 'true' : 'false') .", instanceof: ". (($ca instanceof E) ? …
35 print("Is? E ". ($re->isInstance($cc) ? 'true' : 'false') .", instanceof: ". (($cc instanceof E) ? …
40 print("Is? E ". ($re->isInstance($cd) ? 'true' : 'false') .", instanceof: ". (($cd instanceof E) ? …
45 print("Is? E ". ($re->isInstance($ce) ? 'true' : 'false') .", instanceof: ". (($ce instanceof E) ? …
/PHP-5.4/ext/pdo/
H A DMakefile.frag8 $(srcdir)/pdo_sql_parser.c: $(srcdir)/pdo_sql_parser.re
9 (cd $(top_srcdir); $(RE2C) -o ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re)

Completed in 59 milliseconds

123456789