Home
last modified time | relevance | path

Searched refs:replace (Results 1 – 25 of 92) sorted by relevance

1234

/PHP-5.5/win32/build/
H A Dprojectgen.js25 tmpl = tmpl.replace("SOURCEFILES", sources);
194 replace = entry.replace(file, file + ".win32");
199 replace += "# End Custom Build";
201 headers = headers.replace(entry, replace);
217 tmpl = tmpl.replace(/LOCALCPP/, cflags.replace(/\"ext/g, '"../ext') + " /c");
233 tmpl = tmpl.replace(/DEFS/, defs);
462 files = files.replace(tabs, "");
488 line = arr[0].replace(tabs, "");
593 tmpl = tmpl.replace(/BASECPP/, (type == ".dll" ? baseflags : baseflags.replace(ld + " ", "")));
595 tmpl = tmpl.replace(/BASELIBS/, "/nologo " + get_define("LIBS").replace(/\sresolv.lib/, ""));
[all …]
H A Dconfutils.js668 name = name.replace(rExp,"_debug.lib");
1416 dir = dir.replace(new RegExp("/", "g"), "\\");
1454 obj = src.replace(re, ".obj");
1481 var dllname = dllname.replace(/\s/g, "");
1490 targets = targets.replace(dllname, "");
1491 targets = targets.replace(/\s+/, " ");
1492 targets = targets.replace(/\s$/, "");
2112 content = content.replace(re, rep);
2175 …re = new RegExp("^" + pat.replace(/\./g, '\\.').replace(/\*/g, '.*').replace(/\?/g, '.') + "$", "i…
2235 dir = dir.replace(new RegExp("/", "g"), "\\");
[all …]
H A Dcvsclean.js79 var retext = filename.replace(/\./g, '\\.');
80 retext = '^' + retext.replace(/\*/g, '.*') + "$";
H A Dsvnclean.js79 var retext = filename.replace(/\./g, '\\.');
80 retext = '^' + retext.replace(/\*/g, '.*') + "$";
H A Dbuildconf.js82 + c.replace(new RegExp('(["\\\\])', "g"), '\\$1') + "'));\r\n";
120 C.WriteLine("\"" + mod_name.replace(/_/g, "-") + "\",");
267 modules = modules.replace(re, "/* $1 */");
H A Dphpize.js.in29 var PHP_DIR=FSO.GetParentFolderName(WScript.ScriptFullName).replace(re,"");
93 + c.replace(new RegExp('(["\\\\])', "g"), '\\$1') + "'));\r\n";
113 + c.replace(new RegExp('(["\\\\])', "g"), '\\$1') + "'));\r\n";
214 C.WriteLine("var PHP_DIR = " + '"' + PHP_DIR.replace(new RegExp('(["\\\\])', "g"), '\\$1') + '"');
215 C.WriteLine("var PHP_PREFIX = " + '"' + PHP_PREFIX.replace(new RegExp('(["\\\\])', "g"), '\\$1') + …
262 modules = modules.replace(re, "/* $1 */");
/PHP-5.5/ext/standard/tests/strings/
H A Dbug39621.phpt8 $replace = "any text";
10 $result = str_replace ( $search, $replace, $subject );
16 $replace = "any text";
18 $result = str_ireplace ( $search, $replace, $subject );
24 $replace = "any text";
26 $result = str_replace ( $search, $replace, $subject );
32 $replace = "any text";
34 $result = str_ireplace ( $search, $replace, $subject );
H A Dstr_replace_variation1.phpt8 Prototype: mixed str_replace(mixed $search, mixed $replace,
20 /* loop through to replace the matched elements in the array */
23 /* replace the string in array */
H A Dstr_replace_variation3.phpt8 Prototype: mixed str_replace(mixed $search, mixed $replace,
16 /* If replace has fewer values than search, then an empty
54 class replace
60 $obj_replace = new replace;
/PHP-5.5/ext/pcre/tests/
H A Dpreg_replace_error.phpt6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]])
16 $replace = '1';
20 var_dump(preg_replace($regex, $replace, $subject, $limit, $count, $extra_arg));
24 $replace = '1';
25 var_dump(preg_replace($regex, $replace));
H A Dpreg_filter.phpt8 $replace = array('A:$0', 'B:$0', 'C:$0');
10 var_dump(preg_filter($pattern, $replace, $subject));
H A Dpreg_replace_error1.phpt6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]])
20 $replace = 1;
24 var_dump(preg_replace($regex_value, $replace, $subject));
27 var_dump(preg_replace($regex_value, $replace, $subject));
H A Dpreg_replace_error2.phpt6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]])
15 $replace = array('this is a string', array('this is', 'a subarray'),);
17 foreach($replace as $value) {
H A Dbug53823.phpt2 Bug #53823 - preg_replace: * qualifier on unicode replace garbles the string
/PHP-5.5/ext/ereg/
H A Dereg.c403 PHP_EREG_API char *php_ereg_replace(const char *pattern, const char *replace, const char *string, i… in php_ereg_replace() argument
462 walk = replace; in php_ereg_replace()
488 walk = replace; in php_ereg_replace()
556 char *replace; in php_do_ereg_replace() local
579 replace = estrndup(Z_STRVAL_PP(arg_replace), Z_STRLEN_PP(arg_replace)); in php_do_ereg_replace()
581 replace = STR_EMPTY_ALLOC(); in php_do_ereg_replace()
585 replace = emalloc(2); in php_do_ereg_replace()
586 replace[0] = (char) Z_LVAL_PP(arg_replace); in php_do_ereg_replace()
587 replace[1] = '\0'; in php_do_ereg_replace()
597 ret = php_ereg_replace(pattern, replace, string, icase, 1 TSRMLS_CC); in php_do_ereg_replace()
[all …]
H A Dphp_ereg.h38 PHP_EREG_API char *php_ereg_replace(const char *pattern, const char *replace, const char *string, i…
/PHP-5.5/ext/pcre/
H A Dphp_pcre.c1079 replace = Z_STRVAL_P(replace_val); in php_pcre_replace_impl()
1081 replace_end = replace + replace_len; in php_pcre_replace_impl()
1153 walk = replace; in php_pcre_replace_impl()
1195 walk = replace; in php_pcre_replace_impl()
1301 replace_value = replace; in php_replace_in_subject()
1353 replace, in php_replace_in_subject()
1368 **replace, in preg_replace_impl() local
1391 SEPARATE_ZVAL(replace); in preg_replace_impl()
1392 if (Z_TYPE_PP(replace) != IS_ARRAY && (Z_TYPE_PP(replace) != IS_OBJECT || !is_callable_replace)) { in preg_replace_impl()
1393 convert_to_string_ex(replace); in preg_replace_impl()
[all …]
/PHP-5.5/tests/classes/
H A Dthis.phpt13 function replace($other)
43 $object->replace($other);
/PHP-5.5/ext/ereg/tests/
H A D015.phpt2 replace empty matches
H A D013.phpt2 escapes in replace string
/PHP-5.5/ext/oci8/tests/
H A Dbug37581.phpt13 $p1 = "create or replace package ARRAYBINDPKG1 as
18 $p2 = "create or replace package body ARRAYBINDPKG1 as
H A Dbug42841.phpt21 "create or replace procedure bug42841_proc(out_1 out sys_refcursor) is
26 "create or replace package bug43449_pkg is
31 "create or replace package body bug43449_pkg is
H A Dbug46994.phpt16 "create or replace procedure bug46994_proc1(p1 in out nocopy clob) is
21 "create or replace procedure bug46994_proc2(p1 in out nocopy clob) is
/PHP-5.5/ext/standard/tests/general_functions/
H A D003.phpt37 $n += test_me("expensive replace" , 3, "111", "121", 2, 3, 2);
38 $n += test_me("very expensive replace", 4, "111", "121", 2, 9, 2);
/PHP-5.5/win32/
H A Dsendmail.c161 zval *replace; in php_win32_mail_trim_header() local
167 MAKE_STD_ZVAL(replace); in php_win32_mail_trim_header()
168 ZVAL_STRING(replace, PHP_WIN32_MAIL_UNIFY_REPLACE, 0); in php_win32_mail_trim_header()
172 replace, in php_win32_mail_trim_header()
178 FREE_ZVAL(replace); in php_win32_mail_trim_header()
182 ZVAL_STRING(replace, PHP_WIN32_MAIL_RMVDBL_REPLACE, 0); in php_win32_mail_trim_header()
186 replace, in php_win32_mail_trim_header()
192 FREE_ZVAL(replace); in php_win32_mail_trim_header()

Completed in 46 milliseconds

1234