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

1234567891011>>

/macosx-10.10.1/dtrace-147/libdtrace/
H A Dmkerrtags.sh42 replace=' "\1",'
44 sed -n "s/$pattern/$replace/p" || exit 1
/macosx-10.10.1/file_cmds-242/pax/
H A Dpat_rep.h42 typedef struct replace { struct
48 struct replace *fow; /* pointer to next pattern */
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/ecma_3/RegExp/
H A Dregress-28686.js34 reportCompare ('foo \\"bar\\" baz', str.replace(/([\'\"])/g, "\\$1"),
35 "str.replace failed.");
/macosx-10.10.1/pyobjc-45/2.5/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/PyObjCLauncher/
H A Ddoscript.py9 '-e', 'do script "%s"' % cmd.replace('\\', '\\\\').replace('"', '\\"'),
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/PyObjCLauncher/
H A Ddoscript.py9 '-e', 'do script "%s"' % cmd.replace('\\', '\\\\').replace('"', '\\"'),
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-framework-Cocoa-2.5.1/Examples/AppKit/PyObjCLauncher/
H A Ddoscript.py9 '-e', 'do script "%s"' % cmd.replace('\\', '\\\\').replace('"', '\\"'),
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/ecma_3/String/
H A Dregress-189898.js29 * decision by deleting the provisions above and replace them with the notice
55 actual = 'XaXY'.replace('XY', '--')
60 actual = '$a$^'.replace('$^', '--')
65 actual = 'ababc'.replace('abc', '--')
70 actual = 'ababc'.replace('abc', '^$')
78 * to String.prototype.replace() instead of a string.
84 actual = 'XaXY'.replace(/XY/, '--')
89 actual = 'XaXY'.replace(/XY/g, '--')
94 actual = '$a$^'.replace(/\$\^/, '--')
99 actual = '$a$^'.replace(/\
[all...]
H A Dregress-83293.js32 * str.replace(strA, strB) == str.replace(new RegExp(strA),strB).
33 * See ECMA-262 Final Draft, 15.5.4.11 String.prototype.replace
37 * String.prototype.replace (searchValue, replaceValue), if provided
38 * a searchValue that is not a RegExp, is NO LONGER to replace it with
44 * This puts the replace() method at variance with search() and match(),
51 var summ_OLD = 'Testing str.replace(strA, strB) == str.replace(new RegExp(strA),strB)';
52 var summ_NEW = 'Testing String.prototype.replace(x,y) when x is a string';
73 * When this bug was filed, str.replace(str
[all...]
H A Dregress-104375.js22 * SUMMARY: Regression test for string.replace bug 104375
28 var summary = 'Testing string.replace() with backreferences';
38 * Use the regexp to replace 'uid=31' with 'uid=15'
40 * In the second parameter of string.replace() method,
48 actual = str.replace (re, "$1" + 15);
54 actual = str.replace (re, "$1" + '15');
60 actual = str.replace (re, "$1" + 'A15');
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/js1_2/regexp/
H A Dstring_replace.js24 Description: 'Tests the replace method on Strings using regular expressions'
33 var TITLE = 'String: replace';
41 // 'adddb'.replace(/ddd/,"XX")
42 testcases[count++] = new TestCase ( SECTION, "'adddb'.replace(/ddd/,'XX')",
43 "aXXb", 'adddb'.replace(/ddd/,'XX'));
45 // 'adddb'.replace(/eee/,"XX")
46 testcases[count++] = new TestCase ( SECTION, "'adddb'.replace(/eee/,'XX')",
47 'adddb', 'adddb'.replace(/eee/,'XX'));
49 // '34 56 78b 12'.replace(new RegExp('[0-9]+b'),'**')
50 testcases[count++] = new TestCase ( SECTION, "'34 56 78b 12'.replace(ne
[all...]
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/path/
H A Dpathrepl.c27 * in place replace of first occurrence of /match/ with /replace/ in path
36 pathrepl(char* path, const char* match, const char* replace) argument
38 return pathrepl_20100601(path, PATH_MAX, match, replace);
46 pathrepl_20100601(register char* path, size_t size, const char* match, register const char* replace) argument
54 if (!replace)
55 replace = "";
56 if (streq(match, replace))
73 r = replace;
/macosx-10.10.1/gnutar-453/gnutar/lib/
H A Dsetenv.h33 extern int setenv (const char *name, const char *value, int replace);
/macosx-10.10.1/libiconv-42/libiconv/srclib/
H A Dsetenv.h33 extern int setenv (const char *name, const char *value, int replace);
/macosx-10.10.1/ruby-106/ruby/test/rake/
H A Dtest_rake_rake_test_loader.rb11 ARGV.replace %w[foo.rb test_*.rb -v]
17 $:.replace orig_LOADED_FEATURES
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/js1_5/Regress/
H A Dregress-179524.js29 * decision by deleting the provisions above and replace them with the notice
41 * Note that when testing str.replace(), we have to be careful if the first
42 * argument provided to str.replace() is not a regexp object. ECMA-262 says
47 * to str.replace(), if that argument is a string -
110 * Now try the same thing with str.replace()
113 actual = str.replace(re, 'Z');
118 actual = str.replace(re, 'Z', 'i');
123 actual = str.replace(re, 'Z', 'g', '');
128 actual = str.replace(re, 'Z', 'z', new Object(), new Date());
267 * Now test str.replace() wher
[all...]
/macosx-10.10.1/apr-32/apr/apr/helpers/
H A Dapr_rename.pl29 replace($_, !$just_check);
33 sub replace { subroutine
34 my($file, $replace) = @_;
46 push @lines, $_ if $replace;
51 return unless $found and $replace;
53 # my $ans = prompt("replace?", 'y');
/macosx-10.10.1/ruby-106/ruby/lib/rake/
H A Drake_test_loader.rb21 ARGV.replace argv
/macosx-10.10.1/ruby-106/ruby/test/coverage/
H A Dtest_coverage.rb41 $".replace loaded_features
62 $".replace loaded_features
/macosx-10.10.1/Heimdal-398.1.2/packages/mac/
H A DHeimdal-ify.pl6 my ($replace, $in, $outdir) = ($ARGV[0], $ARGV[1], $ARGV[2]);
16 if ($replace eq "GSS" and m/krb5-types.h/) {
21 s/#include +\<(.*).h>/#include <${replace}\/$1.h>/;
/macosx-10.10.1/cxxfilt-11/cxxfilt/include/
H A Dternary.h38 already there, and replace is 0.
42 void *data, int replace);
/macosx-10.10.1/ruby-106/ruby/test/-ext-/string/
H A Dtest_modify_expand.rb12 s.replace("")
/macosx-10.10.1/zsh-61/zsh/Functions/VCS_Info/Backends/
H A DVCS_INFO_get_data_svk16 svkbranch=${hook_com[branch-replace]}
/macosx-10.10.1/ICU-531.30/icuSources/i18n/unicode/
H A Dunirepl.h28 * replace a range of characters in a Replaceable string with output
64 virtual int32_t replace(Replaceable& text,
/macosx-10.10.1/JavaScriptCore-7600.1.17/inspector/scripts/
H A Dcssmin.py37 css = css.replace("\r\n", "\n")
/macosx-10.10.1/WebInspectorUI-7600.1.17/Scripts/
H A Dcssmin.py37 css = css.replace("\r\n", "\n")

Completed in 370 milliseconds

1234567891011>>