Searched refs:re (Results 1 - 25 of 30) sorted by relevance

12

/PHP_TRUNK/Zend/
H A Dbench.php51 $s=0; $rec=0; $imc=0; $re=0; $im=0; $re2=0; $im2=0;
60 $re=$rec; variable
63 $re2=$re*$re;
66 $im=$re*$im*2+$imc;
67 $re=$re2-$im2+$rec; variable
68 $re2=$re*$re;
/PHP_TRUNK/ext/bcmath/libbcmath/
H A Dconfigure241 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
430 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
1577 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
/PHP_TRUNK/ext/mbstring/oniguruma/win32/
H A DMakefile65 patchfiles = re.c.168.patch re.c.181.patch
/PHP_TRUNK/ext/pcre/pcrelib/
H A Dpcre_fullinfo.c80 const REAL_PCRE *re = (const REAL_PCRE *)argument_re; local
83 if (re == NULL || where == NULL) return PCRE_ERROR_NULL;
93 if (re->magic_number != MAGIC_NUMBER)
94 return re->magic_number == REVERSED_MAGIC_NUMBER?
99 if ((re->flags & PCRE_MODE) == 0) return PCRE_ERROR_BADMODE;
104 *((unsigned long int *)where) = re->options & PUBLIC_COMPILE_OPTIONS;
108 *((size_t *)where) = re->size;
128 *((int *)where) = re->top_bracket;
132 *((int *)where) = re->top_backref;
137 ((re
[all...]
H A Dpcre_get.c268 const REAL_PCRE *re = (const REAL_PCRE *)code; local
280 if ((re->options & PCRE_DUPNAMES) == 0 && (re->flags & PCRE_JCHANGED) == 0)
284 if ((re->options & PCRE_DUPNAMES) == 0 && (re->flags & PCRE_JCHANGED) == 0)
288 if ((re->options & PCRE_DUPNAMES) == 0 && (re->flags & PCRE_JCHANGED) == 0)
H A Dpcre_refcount.c80 REAL_PCRE *re = (REAL_PCRE *)argument_re; local
81 if (re == NULL) return PCRE_ERROR_NULL;
82 if (re->magic_number != MAGIC_NUMBER) return PCRE_ERROR_BADMAGIC;
83 if ((re->flags & PCRE_MODE) == 0) return PCRE_ERROR_BADMODE;
84 re->ref_count = (-adjust > re->ref_count)? 0 :
85 (adjust + re->ref_count > 65535)? 65535 :
86 re->ref_count + adjust;
87 return re->ref_count;
H A Dpcre_compile.c433 are passed to the outside world. Do not ever re-use any error number, because
5593 repeated ones could be re-implemented independently so as not to need this,
8782 REAL_PCRE *re; local
9135 re = (REAL_PCRE *)(PUBL(malloc))(size);
9136 if (re == NULL)
9148 re->magic_number = MAGIC_NUMBER;
9149 re->size = (int)size;
9150 re->options = cd->external_options;
9151 re->flags = cd->external_flags;
9152 re
[all...]
H A Dpcre_exec.c321 #define RMATCH(ra,rb,rc,rd,re,rw) \
324 rrc = match(ra,rb,mstart,rc,rd,re,rdepth+1); \
333 #define RMATCH(ra,rb,rc,rd,re,rw) \
334 rrc = match(ra,rb,mstart,rc,rd,re,rdepth+1)
347 #define RMATCH(ra,rb,rc,rd,re,rw)\
362 newframe->Xeptrb = re;\
811 not a matching mark, we have to re-run the match, ignoring the SKIP_ARG
814 SKIP_ARG gets to top level, the match is re-run with md->ignore_skip_arg
1736 re-instated afterwards. We don't know how many are started and not yet
6311 /* This function applies a compiled re t
6372 const REAL_PCRE *re = (const REAL_PCRE *)argument_re; local
[all...]
H A Dpcre_jit_compile.c9730 PRIV(jit_compile)(const REAL_PCRE *re, PUBL(extra) *extra, int mode) argument
9736 const pcre_uint8 *tables = re->tables;
9764 rootbacktrack.cc = (pcre_uchar *)re + re->name_table_offset + re->name_count * re->name_entry_size;
9775 switch(re->options & PCRE_NEWLINE_BITS)
9796 if ((re->options & PCRE_BSR_ANYCRLF) != 0)
9798 else if ((re->options & PCRE_BSR_UNICODE) != 0)
9810 common->endonly = (re
[all...]
H A Dpcre_printint.c310 REAL_PCRE *re = (REAL_PCRE *)external_re; local
314 unsigned int options = re->options;
315 int offset = re->name_table_offset;
316 int count = re->name_count;
317 int size = re->name_entry_size;
319 if (re->magic_number != MAGIC_NUMBER)
330 code = codestart = (pcre_uchar *)re + offset + count * size;
431 pcre_uchar *entry = (pcre_uchar *)re + offset + (GET2(code, 1) * size) +
449 pcre_uchar *entry = (pcre_uchar *)re + offset + (GET2(code, 1) * size) +
615 pcre_uchar *entry = (pcre_uchar *)re
[all...]
H A Dpcre_study.c67 re compiled pattern block
80 find_minlength(const REAL_PCRE *re, const pcre_uchar *code, argument
131 d = find_minlength(re, cc, startcode, options, recurse_depth);
386 pcre_uchar *slot = (pcre_uchar *)re +
387 re->name_table_offset + GET2(cc, 1) * re->name_entry_size;
402 int dd = find_minlength(re, cs, startcode, options, recurse_depth);
405 slot += re->name_entry_size;
426 d = find_minlength(re, cs, startcode, options, recurse_depth);
479 branchlength += find_minlength(re, c
1425 const REAL_PCRE *re = (const REAL_PCRE *)external_re; local
[all...]
H A Dpcredemo.c48 pcre *re; local
99 re = pcre_compile(
108 if (re == NULL)
122 re, /* the compiled pattern */
143 pcre_free(re); /* Release memory used for the compiled pattern */
188 re, /* the compiled pattern */
202 re, /* the compiled pattern */
208 re, /* the compiled pattern */
258 pcre_free(re); /* Release the memory used for the compiled pattern */
266 (void)pcre_fullinfo(re, NUL
[all...]
/PHP_TRUNK/win32/build/
H A Dbuildconf.js235 re = new RegExp("(ARG_(ENABLE|WITH)\([^;]+\);)", "gm");
236 calls = modules.match(re);
251 modules = modules.replace(re, "/* $1 */");
H A Dphpize.js.in27 re = /\\script/i;
28 var PHP_DIR=FSO.GetParentFolderName(WScript.ScriptFullName).replace(re,"");
240 re = new RegExp("(ARG_(ENABLE|WITH)\([^;]+\);)", "gm");
241 calls = modules.match(re);
256 modules = modules.replace(re, "/* $1 */");
H A Dconfutils.js1368 var re = /\.h$/;
1372 if (s.match(re)) {
1425 var re = new RegExp("\.[a-z0-9A-Z]+$");
1468 obj = src.replace(re, ".obj");
2159 var re = subst_array[i];
2162 content = content.replace(re, rep);
2202 var re = null;
2225 re = new RegExp("^" + pat.replace(/\./g, '\\.').replace(/\*/g, '.*').replace(/\?/g, '.') + "$", "i");
2243 if (item_name.match(re)) {
2266 if (item_name.match(re)) {
[all...]
/PHP_TRUNK/sapi/fpm/tests/
H A Dfcgi.inc166 * Define whether or not PHP should attempt to re-use sockets opened by previous
/PHP_TRUNK/ext/mbstring/
H A Dphp_mbregex.c693 php_mb_regex_t *re; local
726 re = php_mbregex_compile_pattern(Z_STRVAL_P(arg_pattern), Z_STRLEN_P(arg_pattern), options, MBREX(current_mbctype), MBREX(regex_default_syntax));
727 if (re == NULL) {
735 if (onig_search(re, (OnigUChar *)string, (OnigUChar *)(string + string_len), (OnigUChar *)string, (OnigUChar *)(string + string_len), regs, 0) < 0) {
803 php_mb_regex_t *re; local
871 re = php_mbregex_compile_pattern(arg_pattern, arg_pattern_len, options, MBREX(current_mbctype), syntax);
872 if (re == NULL) {
897 err = onig_search(re, (OnigUChar *)string, (OnigUChar *)string_lim, pos, (OnigUChar *)string_lim, regs, 0);
1058 php_mb_regex_t *re; local
1076 if ((re
1141 php_mb_regex_t *re; local
[all...]
/PHP_TRUNK/ext/filter/
H A Dlogical_filters.c431 pcre *re = NULL; local
445 re = pcre_get_compiled_regex(regexp, &pcre_extra, &preg_options);
446 if (!re) {
449 matches = pcre_exec(re, NULL, Z_STRVAL_P(value), (int)Z_STRLEN_P(value), 0, 0, ovector, 3);
602 pcre *re = NULL; local
616 re = pcre_get_compiled_regex(sregexp, &pcre_extra, &preg_options);
617 if (!re) {
622 matches = pcre_exec(re, NULL, Z_STRVAL_P(value), (int)Z_STRLEN_P(value), 0, 0, ovector, 3);
/PHP_TRUNK/ext/pdo/
H A Dpdo_sql_parser.c2 #line 1 "ext/pdo/pdo_sql_parser.re"
50 #line 55 "ext/pdo/pdo_sql_parser.re"
82 #line 63 "ext/pdo/pdo_sql_parser.re"
166 #line 62 "ext/pdo/pdo_sql_parser.re"
176 #line 65 "ext/pdo/pdo_sql_parser.re"
213 #line 64 "ext/pdo/pdo_sql_parser.re"
293 #line 60 "ext/pdo/pdo_sql_parser.re"
367 #line 61 "ext/pdo/pdo_sql_parser.re"
397 #line 59 "ext/pdo/pdo_sql_parser.re"
419 #line 58 "ext/pdo/pdo_sql_parser.re"
[all...]
/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_blacklist.c46 pcre *re; member in struct:_zend_regexp_list
180 if ((it->re = pcre_compile(regexp, PCRE_NO_AUTO_CAPTURE, &pcre_error, &pcre_error_offset, 0)) == NULL) {
208 pcre_free(it->re);
344 if (pcre_exec(regexp_list_it->re, NULL, verify_path, strlen(verify_path), 0, 0, NULL, 0) >= 0) {
/PHP_TRUNK/ext/standard/
H A Dhtml.c802 * we're not interested */
809 /* we're guaranteed there were valid digits, so *endptr > buf */
961 * we're sure it represents the '&' character. */
977 /* If we're in htmlspecialchars_decode, we're only decoding entities
1325 * we're using a single byte encoding */
1638 /* in this function we have to jump through some loops because we're
1700 /* can be done before mapping, they're invariant */
H A Dbrowscap.c350 pcre *re; local
357 /* See if we have an exact match, if so, we're done... */
371 re = pcre_get_compiled_regex(Z_STR_P(browser_regex), &re_extra, &re_options);
372 if (re == NULL) {
376 if (pcre_exec(re, re_extra, lookup_browser_name, lookup_browser_length, 0, re_options, NULL, 0) == 0) {
/PHP_TRUNK/ext/zip/
H A Dphp_zip.c626 pcre *re = NULL; local
630 re = pcre_get_compiled_regex(regexp, &pcre_extra, &preg_options);
631 if (!re) {
672 matches = pcre_exec(re, NULL, namelist[i]->val, namelist[i]->len, 0, 0, ovector, 3);
/PHP_TRUNK/ext/pcre/
H A Dphp_pcre.c94 pcre_free(pce->re);
212 rc1 = pcre_fullinfo(pce->re, extra, PCRE_INFO_NAMETABLE, &name_table);
213 rc2 = pcre_fullinfo(pce->re, extra, PCRE_INFO_NAMEENTRYSIZE, &name_size);
239 pcre *re = NULL; local
394 re = pcre_compile(pattern,
400 if (re == NULL) {
420 extra = pcre_study(re, soptions, &error);
446 new_entry.re = re;
459 rc = pcre_fullinfo(re, extr
[all...]
H A Dphp_pcre.h47 pcre *re; member in struct:__anon38

Completed in 87 milliseconds

12