Searched refs:re (Results 1 - 25 of 29) 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/pcre/pcrelib/
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...]
H A Dpcre_compile.c433 are passed to the outside world. Do not ever re-use any error number, because
5584 repeated ones could be re-implemented independently so as not to need this,
8758 REAL_PCRE *re; local
9111 re = (REAL_PCRE *)(PUBL(malloc))(size);
9112 if (re == NULL)
9124 re->magic_number = MAGIC_NUMBER;
9125 re->size = (int)size;
9126 re->options = cd->external_options;
9127 re->flags = cd->external_flags;
9128 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
1726 re-instated afterwards. We don't know how many are started and not yet
6329 /* This function applies a compiled re t
6390 const REAL_PCRE *re = (const REAL_PCRE *)argument_re; local
[all...]
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_jit_compile.c9727 PRIV(jit_compile)(const REAL_PCRE *re, PUBL(extra) *extra, int mode) argument
9733 const pcre_uint8 *tables = re->tables;
9761 rootbacktrack.cc = (pcre_uchar *)re + re->name_table_offset + re->name_count * re->name_entry_size;
9772 switch(re->options & PCRE_NEWLINE_BITS)
9793 if ((re->options & PCRE_BSR_ANYCRLF) != 0)
9795 else if ((re->options & PCRE_BSR_UNICODE) != 0)
9807 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_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_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
1408 const REAL_PCRE *re = (const REAL_PCRE *)external_re; local
[all...]
/PHP_TRUNK/ext/mbstring/oniguruma/win32/
H A DMakefile65 patchfiles = re.c.168.patch re.c.181.patch
/PHP_TRUNK/ext/ereg/regex/
H A Dmain.c31 regex_t re; local
69 fprintf(stderr, "[-c copt][-C][-d] [re]\n");
78 err = regcomp(&re, argv[optind++], copts);
80 len = regerror(err, &re, erbuf, sizeof(erbuf));
85 regprint(&re, stdout);
88 regfree(&re);
96 err = regexec(&re, argv[optind], (size_t)NS, subs, eopts);
98 len = regerror(err, &re, erbuf, sizeof(erbuf));
140 regex_t re; local
186 re
212 regex_t re; local
503 regex_t re; local
[all...]
/PHP_TRUNK/ext/ereg/
H A Dereg.c252 static void php_ereg_eprint(int err, regex_t *re TSRMLS_DC) {
259 buf_len = regerror(REG_ITOA | err, re, NULL, 0);
264 regerror(REG_ITOA | err, re, buf, buf_len);
269 len = regerror(err, re, NULL, 0);
280 regerror(err, re, message + buf_len, len);
298 regex_t re; local
322 err = regcomp(&re, Z_STRVAL_P(regex), REG_EXTENDED | copts);
330 err = regcomp(&re, Z_STRVAL_P(regex), copts);
334 php_ereg_eprint(err, &re TSRMLS_CC);
338 /* make a copy of the string we're lookin
408 regex_t re; local
634 regex_t re; local
[all...]
/PHP_TRUNK/ext/pcre/
H A Dphp_pcre.h44 pcre *re; member in struct:__anon150
H A Dphp_pcre.c93 pefree(pce->re, 1);
200 rc1 = pcre_fullinfo(pce->re, extra, PCRE_INFO_NAMETABLE, &name_table);
201 rc2 = pcre_fullinfo(pce->re, extra, PCRE_INFO_NAMEENTRYSIZE, &name_size);
227 pcre *re = NULL; local
265 //??? if (pcre_fullinfo(pce->re, NULL, PCRE_INFO_CAPTURECOUNT, &count) == PCRE_ERROR_BADMAGIC) {
397 re = pcre_compile(pattern,
403 if (re == NULL) {
423 extra = pcre_study(re, soptions, &error);
449 new_entry.re = re;
[all...]
/PHP_TRUNK/ext/zip/
H A Dphp_zip.c626 pcre *re = NULL; local
630 re = pcre_get_compiled_regex(regexp, &pcre_extra, &preg_options TSRMLS_CC);
631 if (!re) {
672 matches = pcre_exec(re, NULL, namelist[i]->val, namelist[i]->len, 0, 0, ovector, 3);
/PHP_TRUNK/ext/pgsql/
H A Dpgsql.c1289 * can re-use this connection. Bug #39979
5640 regex_t re; local
5659 regerr = regcomp(&re, regex, regopt);
5662 regfree(&re);
5665 subs = (regmatch_t *)ecalloc(sizeof(regmatch_t), re.re_nsub+1);
5667 regerr = regexec(&re, str, re.re_nsub+1, subs, 0);
5678 regfree(&re);
/PHP_TRUNK/ext/standard/
H A Dbrowscap.c351 pcre *re; local
358 /* See if we have an exact match, if so, we're done... */
372 re = pcre_get_compiled_regex(Z_STR_P(browser_regex), &re_extra, &re_options TSRMLS_CC);
373 if (re == NULL) {
377 if (pcre_exec(re, re_extra, lookup_browser_name, lookup_browser_length, 0, re_options, NULL, 0) == 0) {
H A Dhtml.c801 * we're not interested */
808 /* we're guaranteed there were valid digits, so *endptr > buf */
960 * we're sure it represents the '&' character. */
976 /* If we're in htmlspecialchars_decode, we're only decoding entities
1324 * we're using a single byte encoding */
1637 /* in this function we have to jump through some loops because we're
1699 /* can be done before mapping, they're invariant */
/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 Dconfutils.js1343 var re = /\.h$/;
1347 if (s.match(re)) {
1389 var re = new RegExp("\.[a-z0-9A-Z]+$");
1429 obj = src.replace(re, ".obj");
2095 var re = subst_array[i];
2098 content = content.replace(re, rep);
2138 var re = null;
2161 re = new RegExp("^" + pat.replace(/\./g, '\\.').replace(/\*/g, '.*').replace(/\?/g, '.') + "$", "i");
2179 if (item_name.match(re)) {
2202 if (item_name.match(re)) {
[all...]
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 */");
/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) TSRMLS_CC);
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
869 re = php_mbregex_compile_pattern(arg_pattern, arg_pattern_len, options, MBREX(current_mbctype), syntax TSRMLS_CC);
870 if (re == NULL) {
895 err = onig_search(re, (OnigUChar *)string, (OnigUChar *)string_lim, pos, (OnigUChar *)string_lim, regs, 0);
1056 php_mb_regex_t *re; local
1074 if ((re
1139 php_mb_regex_t *re; local
[all...]
/PHP_TRUNK/ext/filter/
H A Dlogical_filters.c427 pcre *re = NULL; local
442 re = pcre_get_compiled_regex(regexp, &pcre_extra, &preg_options TSRMLS_CC);
443 if (!re) {
446 matches = pcre_exec(re, NULL, Z_STRVAL_P(value), Z_STRLEN_P(value), 0, 0, ovector, 3);
537 pcre *re = NULL; local
551 re = pcre_get_compiled_regex(sregexp, &pcre_extra, &preg_options TSRMLS_CC);
552 if (!re) {
557 matches = pcre_exec(re, NULL, Z_STRVAL_P(value), Z_STRLEN_P(value), 0, 0, ovector, 3);

Completed in 92 milliseconds

12