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

12

/PHP_5_3/Zend/
H A Dbench.php52 $s=0; $rec=0; $imc=0; $re=0; $im=0; $re2=0; $im2=0;
61 $re=$rec; variable
64 $re2=$re*$re;
67 $im=$re*$im*2+$imc;
68 $re=$re2-$im2+$rec; variable
69 $re2=$re*$re;
/PHP_5_3/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_5_3/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_5_3/ext/pcre/pcrelib/
H A Dpcre_printint.src157 real_pcre *re = (real_pcre *)external_re;
161 unsigned int options = re->options;
162 int offset = re->name_table_offset;
163 int count = re->name_count;
164 int size = re->name_entry_size;
166 if (re->magic_number != MAGIC_NUMBER)
177 code = codestart = (uschar *)re + offset + count * size;
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.c404 are passed to the outside world. Do not ever re-use any error number, because
3377 well. It means re-organizing the above code so as to get hold of the property
4784 repeated ones could be re-implemented independently so as not to need this,
6094 number are always OK. (An existing number can be re-used if (?|
7776 REAL_PCRE *re; local
8055 re = (REAL_PCRE *)(PUBL(malloc))(size);
8057 if (re == NULL)
8069 re->magic_number = MAGIC_NUMBER;
8070 re->size = (int)size;
8071 re
[all...]
H A Dpcre_exec.c307 #define RMATCH(ra,rb,rc,rd,re,rw) \
310 rrc = match(ra,rb,mstart,rc,rd,re,rdepth+1); \
319 #define RMATCH(ra,rb,rc,rd,re,rw) \
320 rrc = match(ra,rb,mstart,rc,rd,re,rdepth+1)
333 #define RMATCH(ra,rb,rc,rd,re,rw)\
348 newframe->Xeptrb = re;\
806 nomatch_mark. There is a flag that disables this opcode when re-matching a
1733 re-instated afterwards. We don't know how many are started and not yet
6210 /* This function applies a compiled re to a subject string and picks out
6270 const REAL_PCRE *re local
[all...]
H A Dpcre_fullinfo.c82 const REAL_PCRE *re = (const REAL_PCRE *)argument_re; local
85 if (re == NULL || where == NULL) return PCRE_ERROR_NULL;
95 if (re->magic_number != MAGIC_NUMBER)
96 return re->magic_number == REVERSED_MAGIC_NUMBER?
101 if ((re->flags & PCRE_MODE) == 0) return PCRE_ERROR_BADMODE;
106 *((unsigned long int *)where) = re->options & PUBLIC_COMPILE_OPTIONS;
110 *((size_t *)where) = re->size;
130 *((int *)where) = re->top_bracket;
134 *((int *)where) = re->top_backref;
139 ((re
[all...]
H A Dpcre_get.c270 const REAL_PCRE *re = (const REAL_PCRE *)code; local
282 if ((re->options & PCRE_DUPNAMES) == 0 && (re->flags & PCRE_JCHANGED) == 0)
286 if ((re->options & PCRE_DUPNAMES) == 0 && (re->flags & PCRE_JCHANGED) == 0)
290 if ((re->options & PCRE_DUPNAMES) == 0 && (re->flags & PCRE_JCHANGED) == 0)
H A Dpcre_refcount.c82 REAL_PCRE *re = (REAL_PCRE *)argument_re; local
83 if (re == NULL) return PCRE_ERROR_NULL;
84 if (re->magic_number != MAGIC_NUMBER) return PCRE_ERROR_BADMAGIC;
85 if ((re->flags & PCRE_MODE) == 0) return PCRE_ERROR_BADMODE;
86 re->ref_count = (-adjust > re->ref_count)? 0 :
87 (adjust + re->ref_count > 65535)? 65535 :
88 re->ref_count + adjust;
89 return re->ref_count;
H A Dpcre_study.c1318 re points to the compiled expression
1347 const REAL_PCRE *re = (const REAL_PCRE *)external_re; local
1351 if (re == NULL || re->magic_number != MAGIC_NUMBER)
1357 if ((re->flags & PCRE_MODE) == 0)
1375 code = (pcre_uchar *)re + re->name_table_offset +
1376 (re->name_count * re->name_entry_size);
1382 if ((re
[all...]
/PHP_5_3/win32/build/
H A Dbuildconf.js251 re = new RegExp("(ARG_(ENABLE|WITH)\([^;]+\);)", "gm");
252 calls = modules.match(re);
267 modules = modules.replace(re, "/* $1 */");
H A Dconfutils.js1277 var re = /\.h$/;
1281 if (s.match(re)) {
1324 var re = new RegExp("\.[a-z0-9A-Z]+$");
1364 obj = src.replace(re, ".obj");
1855 var re = subst_array[i];
1858 content = content.replace(re, rep);
1898 var re = null;
1921 re = new RegExp("^" + pat.replace(/\./g, '\\.').replace(/\*/g, '.*').replace(/\?/g, '.') + "$", "i");
1939 if (item_name.match(re)) {
1962 if (item_name.match(re)) {
[all...]
H A Dcvsclean.js81 var re = new RegExp(retext);
89 if (item.match(re)) {
97 if (item.match(re)) {
108 var re = /^(config\.nice.*)|(\*)$/i;
112 if (l.length == 0 || re.test(l)) {
H A Dphpize.js.in28 re = /\\script/i;
29 var PHP_DIR=FSO.GetParentFolderName(WScript.ScriptFullName).replace(re,"");
236 re = new RegExp("(ARG_(ENABLE|WITH)\([^;]+\);)", "gm");
237 calls = modules.match(re);
252 modules = modules.replace(re, "/* $1 */");
H A Dsvnclean.js81 var re = new RegExp(retext);
89 if (item.match(re)) {
97 if (item.match(re)) {
108 var re = /^(config\.nice.*)|(\*)$/i;
112 if (l.length == 0 || re.test(l)) {
/PHP_5_3/ext/ereg/
H A Dereg.c247 static void php_ereg_eprint(int err, regex_t *re) { argument
254 buf_len = regerror(REG_ITOA | err, re, NULL, 0);
259 regerror(REG_ITOA | err, re, buf, buf_len);
264 len = regerror(err, re, NULL, 0);
277 regerror(err, re, message + buf_len, len);
295 regex_t re; local
319 err = regcomp(&re, Z_STRVAL_PP(regex), REG_EXTENDED | copts);
327 err = regcomp(&re, Z_STRVAL_PP(regex), copts);
331 php_ereg_eprint(err, &re);
335 /* make a copy of the string we're lookin
405 regex_t re; local
632 regex_t re; local
[all...]
/PHP_5_3/ext/filter/
H A Dlogical_filters.c411 pcre *re = NULL; local
427 re = pcre_get_compiled_regex(regexp, &pcre_extra, &preg_options TSRMLS_CC);
428 if (!re) {
431 matches = pcre_exec(re, NULL, Z_STRVAL_P(value), Z_STRLEN_P(value), 0, 0, ovector, 3);
527 pcre *re = NULL; local
539 re = pcre_get_compiled_regex((char *)regexp, &pcre_extra, &preg_options TSRMLS_CC);
540 if (!re) {
543 matches = pcre_exec(re, NULL, Z_STRVAL_P(value), Z_STRLEN_P(value), 0, 0, ovector, 3);
/PHP_5_3/ext/mbstring/
H A Dphp_mbregex.c695 php_mb_regex_t *re; local
728 re = php_mbregex_compile_pattern(Z_STRVAL_PP(arg_pattern), Z_STRLEN_PP(arg_pattern), options, MBREX(current_mbctype), MBREX(regex_default_syntax) TSRMLS_CC);
729 if (re == NULL) {
737 if (onig_search(re, (OnigUChar *)string, (OnigUChar *)(string + string_len), (OnigUChar *)string, (OnigUChar *)(string + string_len), regs, 0) < 0) {
801 php_mb_regex_t *re; local
857 re = php_mbregex_compile_pattern(arg_pattern, arg_pattern_len, options, MBREX(current_mbctype), syntax TSRMLS_CC);
858 if (re == NULL) {
876 err = onig_search(re, (OnigUChar *)string, (OnigUChar *)string_lim, pos, (OnigUChar *)string_lim, regs, 0);
990 php_mb_regex_t *re; local
1008 if ((re
1074 php_mb_regex_t *re; local
[all...]
/PHP_5_3/ext/pcre/
H A Dphp_pcre.h44 pcre *re; member in struct:__anon121
H A Dphp_pcre.c93 pefree(pce->re, 1);
193 rc = pcre_fullinfo(pce->re, extra, PCRE_INFO_NAMECOUNT, &name_cnt);
202 rc1 = pcre_fullinfo(pce->re, extra, PCRE_INFO_NAMETABLE, &name_table);
203 rc2 = pcre_fullinfo(pce->re, extra, PCRE_INFO_NAMEENTRYSIZE, &name_size);
231 pcre *re = NULL; local
266 if (pcre_fullinfo(pce->re, NULL, PCRE_INFO_CAPTURECOUNT, &count) == PCRE_ERROR_BADMAGIC) {
390 re = pcre_compile(pattern,
396 if (re == NULL) {
408 extra = pcre_study(re, soptions, &error);
432 new_entry.re
[all...]
/PHP_5_3/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"
168 #line 62 "ext/pdo/pdo_sql_parser.re"
178 #line 65 "ext/pdo/pdo_sql_parser.re"
215 #line 64 "ext/pdo/pdo_sql_parser.re"
296 #line 60 "ext/pdo/pdo_sql_parser.re"
370 #line 61 "ext/pdo/pdo_sql_parser.re"
392 #line 59 "ext/pdo/pdo_sql_parser.re"
414 #line 58 "ext/pdo/pdo_sql_parser.re"
[all...]
/PHP_5_3/ext/zip/
H A Dphp_zip.c670 pcre *re = NULL; local
674 re = pcre_get_compiled_regex(regexp, &pcre_extra, &preg_options TSRMLS_CC);
675 if (!re) {
717 matches = pcre_exec(re, NULL, namelist[i], strlen(namelist[i]), 0, 0, ovector, 3);
944 /* ensure we're creating a temporary variable */
/PHP_5_3/sapi/fpm/fpm/
H A Dfpm_main.c1805 <p>For more information about changing this behaviour or re-enabling this webserver,\n\
1811 /* XXX we're crashing here in msvc6 debug builds at
/PHP_5_3/ext/standard/
H A Dbrowscap.c375 pcre *re; local
382 /* See if we have an exact match, if so, we're done... */
396 re = pcre_get_compiled_regex(Z_STRVAL_PP(browser_regex), &re_extra, &re_options TSRMLS_CC);
397 if (re == NULL) {
401 if (pcre_exec(re, re_extra, lookup_browser_name, lookup_browser_length, 0, re_options, NULL, 0) == 0) {

Completed in 84 milliseconds

12