Searched refs:replace (Results 1 - 15 of 15) sorted by relevance

/PHP_TRUNK/ext/phar/phar/
H A Dclicommand.inc238 $r = str_replace("\n", "\n".$sp, $r); // in remainder replace \n's
/PHP_TRUNK/win32/build/
H A Dbuildconf.js81 + c.replace(new RegExp('(["\\\\])', "g"), '\\$1') + "'));\r\n";
119 C.WriteLine("\"" + mod_name.replace(/_/g, "-") + "\",");
251 modules = modules.replace(re, "/* $1 */");
H A Dphpize.js.in28 var PHP_DIR=FSO.GetParentFolderName(WScript.ScriptFullName).replace(re,"");
92 + c.replace(new RegExp('(["\\\\])', "g"), '\\$1') + "'));\r\n";
112 + c.replace(new RegExp('(["\\\\])', "g"), '\\$1') + "'));\r\n";
213 C.WriteLine("var PHP_DIR = " + '"' + PHP_DIR.replace(new RegExp('(["\\\\])', "g"), '\\$1') + '"');
214 C.WriteLine("var PHP_PREFIX = " + '"' + PHP_PREFIX.replace(new RegExp('(["\\\\])', "g"), '\\$1') + '"');
256 modules = modules.replace(re, "/* $1 */");
H A Dconfutils.js232 this.symval = optname.toUpperCase().replace(new RegExp("-", "g"), "_");
548 thing_to_find = thing_to_find.replace(new RegExp("/", "g"), "\\");
685 name = name.replace(rExp,"_debug.lib");
812 // AC_DEFINE("HAVE_" + header_name.toUpperCase().replace(new RegExp("/\\\\-\.", "g"), "_"), have);
828 sym = sym.replace(new RegExp("[\\\\/\.-]", "g"), "_");
922 sym = sym.replace(new RegExp("[\\\\/\.-]", "g"), "_");
1421 dir = dir.replace(new RegExp("/", "g"), "\\");
1435 var build_dir = dir.replace(new RegExp("^..\\\\"), "");
1436 var mangle_dir = build_dir.replace(new RegExp("[\\\\/.-]", "g"), "_");
1440 var build_dir = obj_dir.replace(ne
[all...]
/PHP_TRUNK/ext/ereg/
H A Dereg.c406 PHP_EREG_API char *php_ereg_replace(const char *pattern, const char *replace, const char *string, int icase, int extended) argument
465 walk = replace;
491 walk = replace;
559 zend_string *replace; local
581 replace = zend_string_copy(Z_STR_P(arg_replace));
583 replace = STR_EMPTY_ALLOC();
587 replace = zend_string_alloc(1, 0);
588 replace->val[0] = (char) Z_LVAL_P(arg_replace);
589 replace->val[1] = '\0';
599 ret = php_ereg_replace(pattern->val, replace
[all...]
H A Dphp_ereg.h38 PHP_EREG_API char *php_ereg_replace(const char *pattern, const char *replace, const char *string, int icase, int extended);
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c1644 php_error_docref("ref.mbstring", E_WARNING, "mbstring couldn't replace function %s.", p->orig_func);
H A Dphp_mbregex.c793 char *replace; local
834 &replace, &replace_len,
876 description = zend_make_compiled_string_description("mbregex replace");
915 p = replace;
1035 Case insensitive replace regular expression for multibyte string */
/PHP_TRUNK/main/
H A DSAPI.c630 SAPI_API int sapi_add_header_ex(char *header_line, uint header_line_len, zend_bool duplicate, zend_bool replace) argument
638 r = sapi_header_op(replace ? SAPI_HEADER_REPLACE : SAPI_HEADER_ADD,
H A DSAPI.h188 SAPI_API int sapi_add_header_ex(char *header_line, uint header_line_len, zend_bool duplicate, zend_bool replace);
/PHP_TRUNK/sapi/apache_hooks/
H A Dphp_apache.c584 zend_bool replace = 0; local
587 if (zend_parse_parameters(ZEND_NUM_ARGS(), "z|zb", &first, &second, &replace) == FAILURE) {
609 if (replace) {
633 if (replace) {
651 /* {{{ proto array apache_request_headers_out([{string name|array list} [, string value [, bool replace = false]]])
670 /* {{{ proto array apache_request_err_headers_out([{string name|array list} [, string value [, bool replace = false]]])
/PHP_TRUNK/win32/
H A Dsendmail.c160 zval replace; local
167 ZVAL_STRINGL(&replace, PHP_WIN32_MAIL_UNIFY_REPLACE, strlen(PHP_WIN32_MAIL_UNIFY_REPLACE));
174 &replace,
180 zval_ptr_dtor(&replace);
185 ZVAL_STRING(&replace, PHP_WIN32_MAIL_RMVDBL_PATTERN);
190 &replace,
/PHP_TRUNK/ext/pcre/
H A Dphp_pcre.c1106 char *replace=NULL, /* Replacement string */ local
1133 replace = Z_STRVAL_P(replace_val);
1135 replace_end = replace + replace_len;
1203 eval_result = preg_do_eval(replace, replace_len, subject,
1211 walk = replace;
1250 walk = replace;
1336 static zend_string *php_replace_in_subject(zval *regex, zval *replace, zval *subject, int limit, int is_callable_replace, int *replace_count) argument
1351 replace_value = replace;
1359 /* If replace is an array and not a callable construct */
1360 if (Z_TYPE_P(replace)
1422 *replace, local
[all...]
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c1411 ZEND_ARG_INFO(0, replace)
2264 ZEND_ARG_INFO(0, replace)
2329 ZEND_ARG_INFO(0, replace)
2336 ZEND_ARG_INFO(0, replace)
H A Darray.c2169 * hashtable and replace it with new one */
2182 Removes the elements designated by offset and length and replace them with supplied array */
2526 static void php_array_merge_or_replace_wrapper(INTERNAL_FUNCTION_PARAMETERS, int recursive, int replace) /* {{{ */ argument
2560 if (replace) {

Completed in 47 milliseconds