Searched refs:replace (Results 1 - 13 of 13) 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.js233 this.symval = optname.toUpperCase().replace(new RegExp("-", "g"), "_");
549 thing_to_find = thing_to_find.replace(new RegExp("/", "g"), "\\");
686 name = name.replace(rExp,"_debug.lib");
813 // AC_DEFINE("HAVE_" + header_name.toUpperCase().replace(new RegExp("/\\\\-\.", "g"), "_"), have);
829 sym = sym.replace(new RegExp("[\\\\/\.-]", "g"), "_");
923 sym = sym.replace(new RegExp("[\\\\/\.-]", "g"), "_");
1441 dir = dir.replace(new RegExp("/", "g"), "\\");
1455 var build_dir = dir.replace(new RegExp("^..\\\\"), "");
1456 var mangle_dir = build_dir.replace(new RegExp("[\\\\/.-]", "g"), "_");
1460 var build_dir = obj_dir.replace(ne
[all...]
/PHP_TRUNK/ext/mbstring/
H A Dphp_mbregex.c793 char *replace; local
834 &replace, &replace_len,
878 description = zend_make_compiled_string_description("mbregex replace");
917 p = replace;
1037 Case insensitive replace regular expression for multibyte string */
H A Dmbstring.c1640 php_error_docref("ref.mbstring", E_WARNING, "mbstring couldn't replace function %s.", p->orig_func);
/PHP_TRUNK/main/
H A DSAPI.c626 SAPI_API int sapi_add_header_ex(char *header_line, size_t header_line_len, zend_bool duplicate, zend_bool replace) argument
634 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, size_t header_line_len, zend_bool duplicate, zend_bool replace);
/PHP_TRUNK/ext/pcre/
H A Dphp_pcre.c1050 char *replace=NULL, /* Replacement string */ local
1075 replace = Z_STRVAL_P(replace_val);
1077 replace_end = replace + replace_len;
1144 walk = replace;
1190 walk = replace;
1284 static zend_string *php_replace_in_subject(zval *regex, zval *replace, zval *subject, int limit, int is_callable_replace, int *replace_count) argument
1299 replace_value = replace;
1307 /* If replace is an array and not a callable construct */
1308 if (Z_TYPE_P(replace) == IS_ARRAY && !is_callable_replace) {
1311 while (replace_idx < Z_ARRVAL_P(replace)
1369 preg_replace_impl(zval *return_value, zval *regex, zval *replace, zval *subject, zend_long limit_val, int is_callable_replace, int is_filter) argument
1428 zval *regex, *replace, *subject, *zcount = NULL; local
1465 zval *regex, *replace, *subject, *zcount = NULL; local
1506 zval regex, zv, *replace, *subject, *pattern, *zcount = NULL; local
1579 zval *regex, *replace, *subject, *zcount = NULL; local
[all...]
/PHP_TRUNK/win32/
H A Dsendmail.c146 zval replace; local
153 ZVAL_STRINGL(&replace, PHP_WIN32_MAIL_UNIFY_REPLACE, strlen(PHP_WIN32_MAIL_UNIFY_REPLACE));
158 &replace,
163 zval_ptr_dtor(&replace);
170 ZVAL_STRING(&replace, PHP_WIN32_MAIL_RMVDBL_PATTERN);
175 &replace,
179 zval_ptr_dtor(&replace);
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c1410 ZEND_ARG_INFO(0, replace)
2278 ZEND_ARG_INFO(0, replace)
2343 ZEND_ARG_INFO(0, replace)
2350 ZEND_ARG_INFO(0, replace)
H A Dstring.c3454 zend_string *str_key, *replace; local
3464 replace = zval_get_string(entry);
3470 replace->val,
3471 replace->len,
3478 replace->val, replace->len, &dummy));
3480 zend_string_release(replace);
3930 static zend_long php_str_replace_in_subject(zval *search, zval *replace, zval *subject, zval *result, int case_sensitivity) argument
3956 if (Z_TYPE_P(replace) == IS_ARRAY) {
3960 replace_value = Z_STRVAL_P(replace);
4088 zval *subject, *search, *replace, *subject_entry, *zcount = NULL; local
[all...]
H A Darray.c1969 static void php_splice(HashTable *in_hash, int offset, int length, HashTable *replace, HashTable *removed) /* {{{ */ argument
1997 zend_hash_init(&out_hash, (length > 0 ? num_in - length : 0) + (replace ? zend_hash_num_elements(replace) : 0), NULL, ZVAL_PTR_DTOR, 0);
2064 if (replace) {
2065 ZEND_HASH_FOREACH_VAL_IND(replace, entry) {
2091 /* replace HashTable data */
2370 /* replace HashTable data */
2392 Removes the elements designated by offset and length and replace them with supplied array */
2725 static void php_array_merge_or_replace_wrapper(INTERNAL_FUNCTION_PARAMETERS, int recursive, int replace) /* {{{ */ argument
2759 if (replace) {
[all...]

Completed in 56 milliseconds