Home
last modified time | relevance | path

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

123456789

/PHP-7.0/ext/pcre/pcrelib/
H A Dpcre_fullinfo.c93 if (re->magic_number != MAGIC_NUMBER) in pcre_fullinfo()
108 *((size_t *)where) = re->size; in pcre_fullinfo()
128 *((int *)where) = re->top_bracket; in pcre_fullinfo()
132 *((int *)where) = re->top_backref; in pcre_fullinfo()
137 ((re->flags & PCRE_FIRSTSET) != 0)? (int)re->first_char : in pcre_fullinfo()
143 (re->flags & PCRE_FIRSTSET) != 0 ? re->first_char : 0; in pcre_fullinfo()
175 ((re->flags & PCRE_REQCHSET) != 0)? (int)re->req_char : -1; in pcre_fullinfo()
180 ((re->flags & PCRE_REQCHSET) != 0) ? re->req_char : 0; in pcre_fullinfo()
193 *((int *)where) = re->name_count; in pcre_fullinfo()
197 *((const pcre_uchar **)where) = (const pcre_uchar *)re + re->name_table_offset; in pcre_fullinfo()
[all …]
H A Dpcre_refcount.c80 REAL_PCRE *re = (REAL_PCRE *)argument_re; in pcre_refcount() local
81 if (re == NULL) return PCRE_ERROR_NULL; in pcre_refcount()
82 if (re->magic_number != MAGIC_NUMBER) return PCRE_ERROR_BADMAGIC; in pcre_refcount()
83 if ((re->flags & PCRE_MODE) == 0) return PCRE_ERROR_BADMODE; in pcre_refcount()
84 re->ref_count = (-adjust > re->ref_count)? 0 : in pcre_refcount()
85 (adjust + re->ref_count > 65535)? 65535 : in pcre_refcount()
86 re->ref_count + adjust; in pcre_refcount()
87 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.c391 pcre_uchar *slot = (pcre_uchar *)re + in find_minlength()
392 re->name_table_offset + GET2(cc, 1) * re->name_entry_size; in find_minlength()
425 slot += re->name_entry_size; in find_minlength()
1473 if (re == NULL || re->magic_number != MAGIC_NUMBER) in pcre_study()
1479 if ((re->flags & PCRE_MODE) == 0) in pcre_study()
1497 code = (pcre_uchar *)re + re->name_table_offset + in pcre_study()
1498 (re->name_count * re->name_entry_size); in pcre_study()
1504 if ((re->options & PCRE_ANCHORED) == 0 && in pcre_study()
1511 tables = re->tables; in pcre_study()
1547 switch(min = find_minlength(re, code, code, re->options, NULL, &count)) in pcre_study()
[all …]
/PHP-7.0/ext/reflection/tests/
H A DReflectionMethod_constructor_error2.phpt19 } catch (TypeError $re) {
20 echo "Ok - ".$re->getMessage().PHP_EOL;
25 } catch (TypeError $re) {
26 echo "Ok - ".$re->getMessage().PHP_EOL;
33 } catch (ReflectionException $re) {
34 echo "Ok - ".$re->getMessage().PHP_EOL;
41 } catch (ReflectionException $re) {
42 echo "Ok - ".$re->getMessage().PHP_EOL;
48 } catch (TypeError $re) {
49 echo "Ok - ".$re->getMessage().PHP_EOL;
H A DReflectionFunction_construct.001.phpt12 } catch (TypeError $re) {
13 echo "Ok - ".$re->getMessage().PHP_EOL;
22 } catch (TypeError $re) {
23 echo "Ok - ".$re->getMessage().PHP_EOL;
27 } catch (TypeError $re) {
28 echo "Ok - ".$re->getMessage().PHP_EOL;
32 } catch (TypeError $re) {
33 echo "Ok - ".$re->getMessage().PHP_EOL;
H A DReflectionExtension_constructor_error.phpt10 } catch (TypeError $re) {
11 echo "Ok - ".$re->getMessage().PHP_EOL;
16 } catch (TypeError $re) {
17 echo "Ok - ".$re->getMessage().PHP_EOL;
22 } catch (TypeError $re) {
23 echo "Ok - ".$re->getMessage().PHP_EOL;
H A DReflectionProperty_error.phpt12 } catch (TypeError $re) {
13 echo "Ok - ".$re->getMessage().PHP_EOL;
17 } catch (TypeError $re) {
18 echo "Ok - ".$re->getMessage().PHP_EOL;
23 } catch (TypeError $re) {
24 echo "Ok - ".$re->getMessage().PHP_EOL;
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-7.0/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-7.0/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-7.0/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-7.0/ext/json/
H A DMakefile.frag1 $(srcdir)/json_scanner.c: $(srcdir)/json_scanner.re
2 …E2C) -t $(srcdir)/php_json_scanner_defs.h --no-generation-date -bci -o $@ $(srcdir)/json_scanner.re
/PHP-7.0/ext/zlib/tests/
H A Dreadgzfile_variation11.phpt30 When you're taught through feelings
37 When you're taught through feelings
44 When you're taught through feelings
51 When you're taught through feelings
58 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 Dgzfile_variation11.phpt32 string(36) "When you're taught through feelings
52 string(36) "When you're taught through feelings
72 string(36) "When you're taught through feelings
92 string(36) "When you're taught through feelings
112 string(36) "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-7.0/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-7.0/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)

Completed in 119 milliseconds

123456789