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"), "_");
1427 dir = dir.replace(new RegExp("/", "g"), "\\");
1441 var build_dir = dir.replace(new RegExp("^..\\\\"), "");
1442 var mangle_dir = build_dir.replace(new RegExp("[\\\\/.-]", "g"), "_");
1446 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/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 Dstring.c3498 zend_string *str_key, *replace; local
3508 replace = zval_get_string(entry);
3514 replace->val,
3515 replace->len,
3522 replace->val, replace->len, &dummy));
3524 zend_string_release(replace);
3974 static zend_long php_str_replace_in_subject(zval *search, zval *replace, zval *subject, zval *result, int case_sensitivity) argument
4000 if (Z_TYPE_P(replace) == IS_ARRAY) {
4004 replace_value = Z_STRVAL_P(replace);
4132 zval *subject, *search, *replace, *subject_entry, *zcount = NULL; local
[all...]
H A Dbasic_functions.c1410 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.c1974 static void php_splice(HashTable *in_hash, int offset, int length, HashTable *replace, HashTable *removed) /* {{{ */ argument
2002 zend_hash_init(&out_hash, (length > 0 ? num_in - length : 0) + (replace ? zend_hash_num_elements(replace) : 0), NULL, ZVAL_PTR_DTOR, 0);
2069 if (replace) {
2070 ZEND_HASH_FOREACH_VAL_IND(replace, entry) {
2096 /* replace HashTable data */
2375 /* replace HashTable data */
2397 Removes the elements designated by offset and length and replace them with supplied array */
2730 static void php_array_merge_or_replace_wrapper(INTERNAL_FUNCTION_PARAMETERS, int recursive, int replace) /* {{{ */ argument
2764 if (replace) {
[all...]
/PHP_TRUNK/ext/pcre/
H A Dphp_pcre.c1037 char *replace=NULL, /* Replacement string */ local
1062 replace = Z_STRVAL_P(replace_val);
1064 replace_end = replace + replace_len;
1131 walk = replace;
1177 walk = replace;
1271 static zend_string *php_replace_in_subject(zval *regex, zval *replace, zval *subject, int limit, int is_callable_replace, int *replace_count) argument
1286 replace_value = replace;
1294 /* If replace is an array and not a callable construct */
1295 if (Z_TYPE_P(replace) == IS_ARRAY && !is_callable_replace) {
1298 while (replace_idx < Z_ARRVAL_P(replace)
1356 preg_replace_impl(zval *return_value, zval *regex, zval *replace, zval *subject, zend_long limit_val, int is_callable_replace, int is_filter) argument
1415 zval *regex, *replace, *subject, *zcount = NULL; local
1452 zval *regex, *replace, *subject, *zcount = NULL; local
1493 zval regex, zv, *replace, *subject, *pattern, *zcount = NULL; local
1567 zval *regex, *replace, *subject, *zcount = NULL; local
[all...]
/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);

Completed in 70 milliseconds