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

/PHP_5_3/ext/phar/phar/
H A Dclicommand.inc238 $r = str_replace("\n", "\n".$sp, $r); // in remainder replace \n's
/PHP_5_3/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 Dconfutils.js211 this.symval = optname.toUpperCase().replace(new RegExp("-", "g"), "_");
526 thing_to_find = thing_to_find.replace(new RegExp("/", "g"), "\\");
663 name = name.replace(rExp,"_debug.lib");
788 // AC_DEFINE("HAVE_" + header_name.toUpperCase().replace(new RegExp("/\\\\-\.", "g"), "_"), have);
804 sym = sym.replace(new RegExp("[\\\\/\.-]", "g"), "_");
898 sym = sym.replace(new RegExp("[\\\\/\.-]", "g"), "_");
1326 dir = dir.replace(new RegExp("/", "g"), "\\");
1340 var build_dir = dir.replace(new RegExp("^..\\\\"), "");
1341 var mangle_dir = build_dir.replace(new RegExp("[\\\\/.-]", "g"), "_");
1345 var build_dir = obj_dir.replace(ne
[all...]
H A Dcvsclean.js79 var retext = filename.replace(/\./g, '\\.');
80 retext = '^' + retext.replace(/\*/g, '.*') + "$";
H A Dphpize.js.in29 var PHP_DIR=FSO.GetParentFolderName(WScript.ScriptFullName).replace(re,"");
89 + c.replace(new RegExp('(["\\\\])', "g"), '\\$1') + "'));\r\n";
109 + c.replace(new RegExp('(["\\\\])', "g"), '\\$1') + "'));\r\n";
210 C.WriteLine("var PHP_DIR = " + '"' + PHP_DIR.replace(new RegExp('(["\\\\])', "g"), '\\$1') + '"');
252 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 Dsvnclean.js79 var retext = filename.replace(/\./g, '\\.');
80 retext = '^' + retext.replace(/\*/g, '.*') + "$";
/PHP_5_3/win32/
H A Dsendmail.c160 zval *replace; local
166 MAKE_STD_ZVAL(replace);
167 ZVAL_STRING(replace, PHP_WIN32_MAIL_UNIFY_REPLACE, 0);
171 replace,
177 FREE_ZVAL(replace);
181 ZVAL_STRING(replace, PHP_WIN32_MAIL_RMVDBL_REPLACE, 0);
185 replace,
191 FREE_ZVAL(replace);
/PHP_5_3/ext/ereg/
H A Dereg.c403 PHPAPI char *php_ereg_replace(const char *pattern, const char *replace, const char *string, int icase, int extended) argument
462 walk = replace;
488 walk = replace;
556 char *replace; local
579 replace = estrndup(Z_STRVAL_PP(arg_replace), Z_STRLEN_PP(arg_replace));
581 replace = STR_EMPTY_ALLOC();
585 replace = emalloc(2);
586 replace[0] = (char) Z_LVAL_PP(arg_replace);
587 replace[1] = '\0';
597 ret = php_ereg_replace(pattern, replace, strin
[all...]
H A Dphp_ereg.h30 PHPAPI char *php_ereg_replace(const char *pattern, const char *replace, const char *string, int icase, int extended);
/PHP_5_3/ext/mbstring/
H A Dphp_mbregex.c794 char *replace; local
831 &replace, &replace_len,
864 description = zend_make_compiled_string_description("mbregex replace" TSRMLS_CC);
894 p = replace;
977 Case insensitive replace regular expression for multibyte string */
/PHP_5_3/ext/standard/
H A Darray.c2052 * hashtable and replace it with new one */
2069 Removes the elements designated by offset and length and replace them with supplied array */
2358 static void php_array_merge_or_replace_wrapper(INTERNAL_FUNCTION_PARAMETERS, int recursive, int replace) /* {{{ */ argument
2385 if (!replace) {
H A Dstring.c3579 static void php_str_replace_in_subject(zval *search, zval *replace, zval **subject, zval *result, int case_sensitivity, int *replace_count) argument
3602 if (Z_TYPE_P(replace) == IS_ARRAY) {
3603 zend_hash_internal_pointer_reset(Z_ARRVAL_P(replace));
3606 replace_value = Z_STRVAL_P(replace);
3607 replace_len = Z_STRLEN_P(replace);
3617 if (Z_TYPE_P(replace) == IS_ARRAY) {
3618 zend_hash_move_forward(Z_ARRVAL_P(replace));
3623 /* If replace is an array. */
3624 if (Z_TYPE_P(replace) == IS_ARRAY) {
3626 if (zend_hash_get_current_data(Z_ARRVAL_P(replace), (voi
3692 zval **subject, **search, **replace, **subject_entry, **zcount = NULL; local
[all...]
H A Dbasic_functions.c1449 ZEND_ARG_INFO(0, replace)
2277 ZEND_ARG_INFO(0, replace)
2341 ZEND_ARG_INFO(0, replace)
2348 ZEND_ARG_INFO(0, replace)
/PHP_5_3/main/
H A DSAPI.c536 SAPI_API int sapi_add_header_ex(char *header_line, uint header_line_len, zend_bool duplicate, zend_bool replace TSRMLS_DC)
544 r = sapi_header_op(replace ? SAPI_HEADER_REPLACE : SAPI_HEADER_ADD,
800 /* in replace mode first remove the header if it already exists in the headers llist */
H A DSAPI.h181 SAPI_API int sapi_add_header_ex(char *header_line, uint header_line_len, zend_bool duplicate, zend_bool replace TSRMLS_DC);
H A Dmain.c686 char *replace = php_escape_html_entities(buffer, buffer_len, &len, 0, ENT_COMPAT, NULL TSRMLS_CC); local
688 buffer = replace;
744 char *replace = php_escape_html_entities(origin, origin_len, &len, 0, ENT_COMPAT, NULL TSRMLS_CC); local
746 origin = replace;
/PHP_5_3/sapi/apache_hooks/
H A Dphp_apache.c586 zend_bool replace = 0; local
589 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|zb", &first, &second, &replace) == FAILURE) {
611 if (replace) {
635 if (replace) {
653 /* {{{ proto array apache_request_headers_out([{string name|array list} [, string value [, bool replace = false]]])
672 /* {{{ proto array apache_request_err_headers_out([{string name|array list} [, string value [, bool replace = false]]])
/PHP_5_3/ext/pcre/
H A Dphp_pcre.c999 *replace=NULL, /* Replacement string */ local
1024 replace = Z_STRVAL_P(replace_val);
1026 replace_end = replace + replace_len;
1086 eval_result_len = preg_do_eval(replace, replace_len, subject,
1094 walk = replace;
1136 walk = replace;
1216 static char *php_replace_in_subject(zval *regex, zval *replace, zval **subject, int *result_len, int limit, int is_callable_replace, int *replace_count TSRMLS_DC) argument
1240 replace_value = replace;
1241 if (Z_TYPE_P(replace) == IS_ARRAY && !is_callable_replace)
1242 zend_hash_internal_pointer_reset(Z_ARRVAL_P(replace));
1307 **replace, local
[all...]

Completed in 80 milliseconds