Searched refs:replace (Results 1 - 16 of 16) 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.js82 + c.replace(new RegExp('(["\\\\])', "g"), '\\$1') + "'));\r\n";
120 C.WriteLine("\"" + mod_name.replace(/_/g, "-") + "\",");
267 modules = modules.replace(re, "/* $1 */");
H A Dprojectgen.js24 sources = (path ? sources.replace(/\.\//g, path) : sources);
25 tmpl = tmpl.replace("SOURCEFILES", sources);
29 headers = (path ? headers.replace(/\.\//g, path) : headers);
30 tmpl = tmpl.replace("HEADERFILES", headers);
81 munged = fname.replace(ext, ""); /* TSRM...! */
150 var file = get_define("PHPLIB").replace("lib", "def");
194 replace = entry.replace(file, file + ".win32");
195 replace += "\r\n\r\n# Begin Custom Build\r\nInputDir=..\\ext\\date\\lib\r\n";
196 replace
[all...]
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 */");
H A Dconfutils.js217 this.symval = optname.toUpperCase().replace(new RegExp("-", "g"), "_");
533 thing_to_find = thing_to_find.replace(new RegExp("/", "g"), "\\");
670 name = name.replace(rExp,"_debug.lib");
795 // AC_DEFINE("HAVE_" + header_name.toUpperCase().replace(new RegExp("/\\\\-\.", "g"), "_"), have);
811 sym = sym.replace(new RegExp("[\\\\/\.-]", "g"), "_");
905 sym = sym.replace(new RegExp("[\\\\/\.-]", "g"), "_");
1400 dir = dir.replace(new RegExp("/", "g"), "\\");
1414 var build_dir = dir.replace(new RegExp("^..\\\\"), "");
1415 var mangle_dir = build_dir.replace(new RegExp("[\\\\/.-]", "g"), "_");
1419 var build_dir = obj_dir.replace(ne
[all...]
/PHP_TRUNK/ext/ereg/
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 TSRMLS_DC);
H A Dereg.c406 PHP_EREG_API char *php_ereg_replace(const char *pattern, const char *replace, const char *string, int icase, int extended TSRMLS_DC) argument
465 walk = replace;
491 walk = replace;
559 zend_string *replace; local
581 replace = STR_COPY(Z_STR_P(arg_replace));
583 replace = STR_EMPTY_ALLOC();
587 replace = STR_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...]
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c1638 php_error_docref("ref.mbstring" TSRMLS_CC, 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" TSRMLS_CC);
915 p = replace;
1035 Case insensitive replace regular expression for multibyte string */
/PHP_TRUNK/ext/pcre/
H A Dphp_pcre.c1117 char *replace=NULL, /* Replacement string */ local
1144 replace = Z_STRVAL_P(replace_val);
1146 replace_end = replace + replace_len;
1214 eval_result = preg_do_eval(replace, replace_len, subject,
1222 walk = replace;
1261 walk = replace;
1347 static zend_string *php_replace_in_subject(zval *regex, zval *replace, zval *subject, int limit, int is_callable_replace, int *replace_count TSRMLS_DC) argument
1362 replace_value = replace;
1370 /* If replace is an array and not a callable construct */
1371 if (Z_TYPE_P(replace)
1433 *replace, local
[all...]
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c1414 ZEND_ARG_INFO(0, replace)
2267 ZEND_ARG_INFO(0, replace)
2332 ZEND_ARG_INFO(0, replace)
2339 ZEND_ARG_INFO(0, replace)
H A Darray.c2124 * hashtable and replace it with new one */
2137 Removes the elements designated by offset and length and replace them with supplied array */
2476 static void php_array_merge_or_replace_wrapper(INTERNAL_FUNCTION_PARAMETERS, int recursive, int replace) /* {{{ */ argument
2513 if (!replace) {
/PHP_TRUNK/main/
H A DSAPI.c627 SAPI_API int sapi_add_header_ex(char *header_line, uint header_line_len, zend_bool duplicate, zend_bool replace TSRMLS_DC)
635 r = sapi_header_op(replace ? SAPI_HEADER_REPLACE : SAPI_HEADER_ADD,
H A DSAPI.h187 SAPI_API int sapi_add_header_ex(char *header_line, uint header_line_len, zend_bool duplicate, zend_bool replace TSRMLS_DC);
/PHP_TRUNK/sapi/apache_hooks/
H A Dphp_apache.c584 zend_bool replace = 0; local
587 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "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,

Completed in 50 milliseconds