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"), "_");
1446 dir = dir.replace(new RegExp("/", "g"), "\\");
1460 var build_dir = dir.replace(new RegExp("^..\\\\"), "");
1461 var mangle_dir = build_dir.replace(new RegExp("[\\\\/.-]", "g"), "_");
1465 var build_dir = obj_dir.replace(ne
[all...]
/PHP_TRUNK/main/
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);
H A DSAPI.c631 SAPI_API int sapi_add_header_ex(char *header_line, size_t header_line_len, zend_bool duplicate, zend_bool replace) argument
639 r = sapi_header_op(replace ? SAPI_HEADER_REPLACE : SAPI_HEADER_ADD,
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c1640 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,
878 description = zend_make_compiled_string_description("mbregex replace");
917 p = replace;
1037 Case insensitive replace regular expression for multibyte string */
/PHP_TRUNK/ext/standard/
H A Dstring.c3462 zend_string *str_key, *replace; local
3472 replace = zval_get_string(entry);
3478 ZSTR_VAL(replace),
3479 ZSTR_LEN(replace),
3486 ZSTR_VAL(replace), ZSTR_LEN(replace), &dummy));
3488 zend_string_release(replace);
3938 static zend_long php_str_replace_in_subject(zval *search, zval *replace, zval *subject, zval *result, int case_sensitivity) argument
3964 if (Z_TYPE_P(replace) == IS_ARRAY) {
3968 replace_value = Z_STRVAL_P(replace);
4096 zval *subject, *search, *replace, *subject_entry, *zcount = NULL; local
[all...]
H A Dbasic_functions.c1411 ZEND_ARG_INFO(0, replace)
2281 ZEND_ARG_INFO(0, replace)
2346 ZEND_ARG_INFO(0, replace)
2353 ZEND_ARG_INFO(0, replace)
H A Darray.c1942 static void php_splice(HashTable *in_hash, int offset, int length, HashTable *replace, HashTable *removed) /* {{{ */ argument
1970 zend_hash_init(&out_hash, (length > 0 ? num_in - length : 0) + (replace ? zend_hash_num_elements(replace) : 0), NULL, ZVAL_PTR_DTOR, 0);
2037 if (replace) {
2038 ZEND_HASH_FOREACH_VAL_IND(replace, entry) {
2064 /* replace HashTable data */
2343 /* replace HashTable data */
2365 Removes the elements designated by offset and length and replace them with supplied array */
2698 static inline void php_array_merge_or_replace_wrapper(INTERNAL_FUNCTION_PARAMETERS, int recursive, int replace) /* {{{ */ argument
2732 if (replace) {
[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/pcre/
H A Dphp_pcre.c1096 char *replace=NULL, /* Replacement string */ local
1124 replace = Z_STRVAL_P(replace_val);
1126 replace_end = replace + replace_len;
1191 if (EXPECTED(replace)) {
1193 walk = replace;
1230 walk = replace;
1350 static zend_string *php_replace_in_subject(zval *regex, zval *replace, zval *subject, int limit, int is_callable_replace, int *replace_count) argument
1370 replace_value = replace;
1378 /* If replace is an array and not a callable construct */
1379 if (Z_TYPE_P(replace)
1440 preg_replace_impl(zval *return_value, zval *regex, zval *replace, zval *subject, zend_long limit_val, int is_callable_replace, int is_filter) argument
1502 zval *regex, *replace, *subject, *zcount = NULL; local
1539 zval *regex, *replace, *subject, *zcount = NULL; local
1580 zval regex, zv, *replace, *subject, *pattern, *zcount = NULL; local
1653 zval *regex, *replace, *subject, *zcount = NULL; local
[all...]

Completed in 75 milliseconds