Home
last modified time | relevance | path

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

123456789

/PHP-5.6/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.c393 pcre_uchar *slot = (pcre_uchar *)re + in find_minlength()
394 re->name_table_offset + GET2(cc, 1) * re->name_entry_size; in find_minlength()
427 slot += re->name_entry_size; in find_minlength()
1475 if (re == NULL || re->magic_number != MAGIC_NUMBER) in pcre_study()
1481 if ((re->flags & PCRE_MODE) == 0) in pcre_study()
1499 code = (pcre_uchar *)re + re->name_table_offset + in pcre_study()
1500 (re->name_count * re->name_entry_size); in pcre_study()
1506 if ((re->options & PCRE_ANCHORED) == 0 && in pcre_study()
1513 tables = re->tables; in pcre_study()
1549 switch(min = find_minlength(re, code, code, re->options, NULL, &count)) in pcre_study()
[all …]
/PHP-5.6/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.6/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.6/ext/standard/
H A DMakefile.frag2 $(srcdir)/var_unserializer.c: $(srcdir)/var_unserializer.re
3 …(RE2C) --no-generation-date -b -o ext/standard/var_unserializer.c ext/standard/var_unserializer.re)
5 $(srcdir)/url_scanner_ex.c: $(srcdir)/url_scanner_ex.re
6 …); $(RE2C) --no-generation-date -b -o ext/standard/url_scanner_ex.c ext/standard/url_scanner_ex.re)
/PHP-5.6/ext/pcre/tests/
H A Dcache_limit.phpt11 $re = '';
15 $re .= '.';
16 if (!preg_match("/$re/", $str)) {
22 var_dump(preg_match("/$re/", $str)); // but not this one
/PHP-5.6/ext/spl/tests/
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);
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);
/PHP-5.6/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
H A Dgzrewind_basic.phpt31 first 30 characters=When you're taught through fee
35 first 20 characters=When you're taught t
/PHP-5.6/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"]=>
H A Darray_unique_variation3.phpt48 /*5*/ array('\tHello' => 111, 're\td' => "color", '\v\fworld' => 2.2, 'pen\n' => 111),
49 array("\tHello" => 111, "re\td" => "color", "\v\fworld" => 2.2, "pen\n" => 111),
106 ["re\td"]=>
115 ["re d"]=>
/PHP-5.6/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.6/ext/pdo/
H A DMakefile.frag9 $(srcdir)/pdo_sql_parser.c: $(srcdir)/pdo_sql_parser.re
10 … $(top_srcdir); $(RE2C) --no-generation-date -o ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re)
/PHP-5.6/Zend/
H A Dbench.php51 $s=0; $rec=0; $imc=0; $re=0; $im=0; $re2=0; $im2=0;
60 $re=$rec;
63 $re2=$re*$re;
66 $im=$re*$im*2+$imc;
67 $re=$re2-$im2+$rec;
68 $re2=$re*$re;

Completed in 32 milliseconds

123456789