/php-src/ext/pcre/pcre2lib/ |
H A D | pcre2_pattern_info.c | 110 if (re == NULL) return PCRE2_ERROR_NULL; in pcre2_pattern_info() 132 *((uint32_t *)where) = re->top_backref; in pcre2_pattern_info() 140 *((uint32_t *)where) = re->top_bracket; in pcre2_pattern_info() 159 re->first_codeunit : 0; in pcre2_pattern_info() 164 &(re->start_bitmap[0]) : NULL; in pcre2_pattern_info() 181 *((uint32_t *)where) = re->limit_heap; in pcre2_pattern_info() 204 re->last_codeunit : 0; in pcre2_pattern_info() 221 *((uint32_t *)where) = re->minlength; in pcre2_pattern_info() 229 *((uint32_t *)where) = re->name_count; in pcre2_pattern_info() 241 *((size_t *)where) = re->blocksize; in pcre2_pattern_info() [all …]
|
H A D | pcre2_study.c | 484 GET2(cc, 1) * re->name_entry_size; in find_minlength() 538 slot += re->name_entry_size; in find_minlength() 873 re->start_bitmap[c] |= re->tables[c+cbits_offset+cbit_type]; in set_type_bits() 914 re->start_bitmap[c] |= (uint8_t)(~(re->tables[c+cbits_offset+cbit_type])); in set_nottype_bits() 1762 PRIV(study)(pcre2_real_code *re) in PRIV() 1772 re->name_entry_size * re->name_count; in PRIV() 1797 uint8_t *p = re->start_bitmap; in PRIV() 1863 (re->flags & PCRE2_LASTSET) == 0 || in PRIV() 1870 re->first_codeunit = a; in PRIV() 1876 re->flags |= flags; in PRIV() [all …]
|
H A D | pcre2_serialize.c | 80 const pcre2_real_code *re; in pcre2_serialize_encode() local 99 re = (const pcre2_real_code *)(codes[i]); in pcre2_serialize_encode() 100 if (re->magic_number != MAGIC_NUMBER) return PCRE2_ERROR_BADMAGIC; in pcre2_serialize_encode() 102 tables = re->tables; in pcre2_serialize_encode() 103 else if (tables != re->tables) in pcre2_serialize_encode() 105 total_size += re->blocksize; in pcre2_serialize_encode() 129 re = (const pcre2_real_code *)(codes[i]); in pcre2_serialize_encode() 130 (void)memcpy(dst_bytes, (char *)re, re->blocksize); in pcre2_serialize_encode() 149 dst_bytes += re->blocksize; in pcre2_serialize_encode()
|
H A D | pcre2_jit_match.c | 108 pcre2_real_code *re = (pcre2_real_code *)code; in pcre2_jit_match() 109 executable_functions *functions = (executable_functions *)re->executable_jit; in pcre2_jit_match() 143 arguments.limit_match = (mcontext->match_limit < re->limit_match)? in pcre2_jit_match() 144 mcontext->match_limit : re->limit_match; in pcre2_jit_match() 155 arguments.limit_match = (MATCH_LIMIT < re->limit_match)? in pcre2_jit_match() 156 MATCH_LIMIT : re->limit_match; in pcre2_jit_match() 178 match_data->code = re; in pcre2_jit_match()
|
/php-src/ext/reflection/tests/ |
H A D | ReflectionMethod_constructor_error2.phpt | 19 } catch (ArgumentCountError $re) { 20 echo "Ok - ".$re->getMessage().PHP_EOL; 25 } catch (ArgumentCountError $re) { 26 echo "Ok - ".$re->getMessage().PHP_EOL; 33 } catch (ReflectionException $re) { 34 echo "Ok - ".$re->getMessage().PHP_EOL; 41 } catch (TypeError $re) { 42 echo "Ok - ".$re->getMessage().PHP_EOL; 48 } catch (TypeError $re) { 49 echo "Ok - ".$re->getMessage().PHP_EOL;
|
H A D | ReflectionProperty_error.phpt | 12 } 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 D | ReflectionFunction_construct.001.phpt | 12 } 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 D | ReflectionExtension_constructor_error.phpt | 10 } 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 D | ReflectionMethod_006.phpt | 11 } catch (ArgumentCountError $re) { 12 echo "Ok - ".$re->getMessage().PHP_EOL; 16 } catch (ArgumentCountError $re) { 17 echo "Ok - ".$re->getMessage().PHP_EOL;
|
H A D | bug81457.phpt | 13 $re = new ReflectionEnum(testEnum::class); 14 $me = $re->getMethod('foo'); 19 $mc = $re->getMethod('foo');
|
/php-src/Zend/tests/ |
H A D | gh16188.phpt | 6 $re = new TypeError(); 7 array_walk($re, function (&$item, $key) use (&$re) { 12 printf("getTraceAsString:\n%s\n\n", $re->getTraceAsString()); 13 printf("getPrevious:\n%s\n\n", get_class($re->getPrevious())); 14 printf("__toString:\n%s\n\n", $re);
|
/php-src/ext/pdo/ |
H A D | Makefile.frag | 1 $(srcdir)/pdo_sql_parser.c: $(srcdir)/pdo_sql_parser.re 3 if test -f ./pdo_sql_parser.re; then \ 4 $(RE2C) $(RE2C_FLAGS) -o pdo_sql_parser.c pdo_sql_parser.re; \ 6 $(RE2C) $(RE2C_FLAGS) -o ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re; \
|
H A D | Makefile.frag.w32 | 1 ext\pdo\pdo_sql_parser.c: ext\pdo\pdo_sql_parser.re 3 $(RE2C) $(RE2C_FLAGS) -o ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re
|
/php-src/ext/pdo_mysql/ |
H A D | Makefile.frag | 1 $(srcdir)/mysql_sql_parser.c: $(srcdir)/mysql_sql_parser.re 3 if test -f ./mysql_sql_parser.re; then \ 4 $(RE2C) $(RE2C_FLAGS) -o mysql_sql_parser.c mysql_sql_parser.re; \ 6 $(RE2C) $(RE2C_FLAGS) -o ext/pdo_mysql/mysql_sql_parser.c ext/pdo_mysql/mysql_sql_parser.re; \
|
H A D | Makefile.frag.w32 | 1 ext\pdo_mysql\mysql_sql_parser.c: ext\pdo_mysql\mysql_sql_parser.re 3 $(RE2C) $(RE2C_FLAGS) -o ext/pdo_mysql/mysql_sql_parser.c ext/pdo_mysql/mysql_sql_parser.re
|
/php-src/ext/pdo_pgsql/ |
H A D | Makefile.frag | 1 $(srcdir)/pgsql_sql_parser.c: $(srcdir)/pgsql_sql_parser.re 3 if test -f ./pgsql_sql_parser.re; then \ 4 $(RE2C) $(RE2C_FLAGS) -o pgsql_sql_parser.c pgsql_sql_parser.re; \ 6 $(RE2C) $(RE2C_FLAGS) -o ext/pdo_pgsql/pgsql_sql_parser.c ext/pdo_pgsql/pgsql_sql_parser.re; \
|
H A D | Makefile.frag.w32 | 1 ext\pdo_pgsql\pgsql_sql_parser.c: ext\pdo_pgsql\pgsql_sql_parser.re 3 $(RE2C) $(RE2C_FLAGS) -o ext/pdo_pgsql/pgsql_sql_parser.c ext/pdo_pgsql/pgsql_sql_parser.re
|
/php-src/ext/pdo_sqlite/ |
H A D | Makefile.frag | 1 $(srcdir)/sqlite_sql_parser.c: $(srcdir)/sqlite_sql_parser.re 3 if test -f ./sqlite_sql_parser.re; then \ 4 $(RE2C) $(RE2C_FLAGS) -o sqlite_sql_parser.c sqlite_sql_parser.re; \ 6 $(RE2C) $(RE2C_FLAGS) -o ext/pdo_sqlite/sqlite_sql_parser.c ext/pdo_sqlite/sqlite_sql_parser.re; \
|
H A D | Makefile.frag.w32 | 1 ext\pdo_sqlite\sqlite_sql_parser.c: ext\pdo_sqlite\sqlite_sql_parser.re 3 $(RE2C) $(RE2C_FLAGS) -o ext/pdo_sqlite/sqlite_sql_parser.c ext/pdo_sqlite/sqlite_sql_parser.re
|
/php-src/ext/standard/ |
H A D | Makefile.frag | 1 $(srcdir)/var_unserializer.c: $(srcdir)/var_unserializer.re 2 …dir); $(RE2C) $(RE2C_FLAGS) -b -o ext/standard/var_unserializer.c ext/standard/var_unserializer.re) 4 $(srcdir)/url_scanner_ex.c: $(srcdir)/url_scanner_ex.re 5 …_srcdir); $(RE2C) $(RE2C_FLAGS) -b -o ext/standard/url_scanner_ex.c ext/standard/url_scanner_ex.re)
|
H A D | Makefile.frag.w32 | 1 ext\standard\var_unserializer.c: ext\standard\var_unserializer.re 3 $(RE2C) $(RE2C_FLAGS) -b -o ext/standard/var_unserializer.c ext/standard/var_unserializer.re 5 ext\standard\url_scanner_ex.c: ext\standard\url_scanner_ex.re 7 $(RE2C) $(RE2C_FLAGS) -b -o ext/standard/url_scanner_ex.c ext/standard/url_scanner_ex.re
|
/php-src/ext/pcre/tests/ |
H A D | cache_limit.phpt | 11 $re = ''; 15 $re .= '.'; 16 if (!preg_match("/$re/", $str)) { 22 var_dump(preg_match("/$re/", $str)); // but not this one
|
/php-src/ext/spl/tests/ |
H A D | iterator_052.phpt | 8 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 D | iterator_053.phpt | 8 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-src/ext/phar/ |
H A D | Makefile.frag.w32 | 1 ext\phar\phar_path_check.c: ext\phar\phar_path_check.re 3 $(RE2C) $(RE2C_FLAGS) -b -o ext/phar/phar_path_check.c ext/phar/phar_path_check.re
|