/external/e2fsprogs/lib/ext2fs/tdb/patches/ |
series | 2 replace-includes
|
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/token-rewrite/ |
basic.rb | 45 example 'replace index 0' do 47 stream.replace( 0, 'x' ) 51 example 'replace last index' do 53 stream.replace 2, 'x' 57 example 'replace last index' do 59 stream.replace( 2, 'x' ) 63 example 'replace middle index' do 65 stream.replace 1, 'x' 69 example 'replace middle index' do 71 stream.replace 1, 'x [all...] |
/external/dbus/cmake/modules/ |
MacroGetenvWinPath.cmake | 4 STRING(REGEX REPLACE "\\\\" "/" ${var} "${${var}}")
|
/external/webkit/PerformanceTests/SunSpider/tests/v8-v4/ |
v8-regexp.js | 66 'QBZPbageby_cynprubyqre'.replace(re2, ''); 84 'vachggrkg'.replace(re5, ''); 87 '528.9'.replace(re6, ''); 98 '521'.replace(re6, ''); 104 'qvi .so_zrah'.replace(re10, ''); 105 'qvi .so_zrah'.replace(/\[/g, ''); 106 'qvi.so_zrah'.replace(re11, ''); 109 'uvqqra_ryrz'.replace(re2, ''); 115 'uggc://ubzr.zlfcnpr.pbz/vaqrk.psz'.replace(re12, ''); 119 str1.replace(/([a-zA-Z]|\s)+/, '') [all...] |
/external/webkit/PerformanceTests/SunSpider/tests/v8-v5/ |
v8-regexp.js | 66 'QBZPbageby_cynprubyqre'.replace(re2, ''); 84 'vachggrkg'.replace(re5, ''); 87 '528.9'.replace(re6, ''); 98 '521'.replace(re6, ''); 104 'qvi .so_zrah'.replace(re10, ''); 105 'qvi .so_zrah'.replace(/\[/g, ''); 106 'qvi.so_zrah'.replace(re11, ''); 109 'uvqqra_ryrz'.replace(re2, ''); 115 'uggc://ubzr.zlfcnpr.pbz/vaqrk.psz'.replace(re12, ''); 119 str1.replace(/([a-zA-Z]|\s)+/, '') [all...] |
/external/webkit/PerformanceTests/SunSpider/tests/v8-v6/ |
v8-regexp.js | 66 'QBZPbageby_cynprubyqre'.replace(re2, ''); 84 'vachggrkg'.replace(re5, ''); 87 '528.9'.replace(re6, ''); 98 '521'.replace(re6, ''); 104 'qvi .so_zrah'.replace(re10, ''); 105 'qvi .so_zrah'.replace(/\[/g, ''); 106 'qvi.so_zrah'.replace(re11, ''); 109 'uvqqra_ryrz'.replace(re2, ''); 115 'uggc://ubzr.zlfcnpr.pbz/vaqrk.psz'.replace(re12, ''); 119 str1.replace(/([a-zA-Z]|\s)+/, '') [all...] |
/external/openfst/src/script/ |
replace.cc | 19 #include <fst/script/replace.h> 24 void Replace(const vector<pair<int64, const FstClass *> > &tuples, 28 if (!ArcTypesMatch(*tuples[i].second, *tuples[i+1].second, "Replace")) { 33 if (!ArcTypesMatch(*tuples[0].second, *ofst, "Replace")) return; 37 Apply<Operation<ReplaceArgs> >("Replace", ofst->ArcType(), &args); 40 REGISTER_FST_OPERATION(Replace, StdArc, ReplaceArgs); 41 REGISTER_FST_OPERATION(Replace, LogArc, ReplaceArgs); 42 REGISTER_FST_OPERATION(Replace, Log64Arc, ReplaceArgs);
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/regexp/ |
string_replace.js | 24 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(new RegExp('[0-9]+b'),'**')" [all...] |
/cts/tests/tests/webkitsecurity/assets/ |
string-replace-exception-crash.html | 2 to String.prototype.replace. 23 "aa".replace(/a/g, function() { 34 "aa".replace("a", function() { 44 var message = "PASS: String.prototype.replace did not continue executing after an exception was thrown."; 48 "aa".replace(/a/g, function() { 50 message = "FAIL: String.prototype.replace continued executing after an exception was thrown."; 58 (function x() { return 'blargh'.replace(/a/g, x) })()
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/String/ |
regress-83293.js | 32 * 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(strA, strB) would return no valu [all...] |
/external/v8/benchmarks/ |
regexp.js | 128 s2[i].replace(re2, ''); 146 s8[i].replace(re5, ''); 149 s9[i].replace(re6, ''); 160 s14[i].replace(re6, ''); 166 s16[i].replace(re10, ''); 167 s16[i].replace(/\[/g, ''); 168 s17[i].replace(re11, ''); 171 s18[i].replace(re2, ''); 177 s20[i].replace(re12, ''); 181 s21[i].replace(/([a-zA-Z]|\s)+/, '') [all...] |
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/ |
t048rewrite.html | 64 tokens.replace(0,"x"); 73 tokens.replace(2,"x"); 82 tokens.replace(1,"x"); 91 tokens.replace(1,"x"); 92 tokens.replace(1,"y"); 101 tokens.replace(1,"x"); 111 tokens.replace(0,"x"); 121 tokens.replace(0,"x"); 133 tokens.replace(0,"x"); 154 tokens.replace(0,"z") [all...] |
/external/clang/test/Analysis/ |
cstring-syntax.c | 9 strncat(dest, "AAAAAAAAAAAAAAAAAAAAAAAAAAAAA", sizeof(dest) - 1); // expected-warning {{Potential buffer overflow. Replace with 'sizeof(dest) - strlen(dest) - 1' or use a safer 'strlcat' API}} 10 strncat(dest, "AAAAAAAAAAAAAAAAAAAAAAAAAAA", sizeof(dest)); // expected-warning {{Potential buffer overflow. Replace with}} 11 strncat(dest, "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", sizeof(dest) - strlen(dest)); // expected-warning {{Potential buffer overflow. Replace with}} 12 strncat(dest, src, sizeof(src)); // expected-warning {{Potential buffer overflow. Replace with}}
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/scripts/ |
publish.xml | 78 <replace file="${result}/${indexFileName}" token="@date@" value="${TODAY}"/> 79 <replace dir="${result}" value="${TODAY}"> 82 </replace> 85 <replace file="${result}/${indexFileName}" token="@build@" value="${buildId}"/> 86 <replace dir="${result}" value="${buildId}"> 89 </replace> 132 <replace file="${result}/${indexFileName}" token="@type@" value="Integration"/> 133 <replace dir="${result}" value="Integration"> 136 </replace> 140 <replace file="${result}/${indexFileName}" token="@type@" value="Nightly"/ [all...] |
/external/oprofile/libregex/ |
op_regex.h | 5 * and replace facility. 35 * lightweight encapsulation of regex lib search and replace 42 * @param limit limit on number of search and replace done 47 * & replace, preparing it for substitution ala sed 55 * @param replace the string to subsitute in other regular definition 60 std::string const & replace); 63 * @param replace the replace string to use when this regular 66 * You can imbed regular definition in pattern but not in replace. 69 std::string const & replace); 89 std::string replace; member in struct:regular_expression_replace::replace_t [all...] |
/development/scripts/ |
combine_sdks.sh | 3 function replace() function 67 # replace tools/emulator # at this time we do not want the exe from SDK1.x 68 replace tools/lib/images 69 replace tools/lib/res 70 replace tools/lib/fonts 71 replace tools/lib/layoutlib.jar 72 replace docs 73 replace android.jar 76 replace tools/lib/$i.txt 80 replace usb_drive [all...] |
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t048rewrite.py | 54 tokens.replace(0, "x") 63 tokens.replace(2, "x") 72 tokens.replace(1, "x") 81 tokens.replace(1, "x") 82 tokens.replace(1, "y") 92 tokens.replace(1, "x") 93 tokens.replace(1, "y") 102 tokens.replace(1, "x") 112 tokens.replace(0, 2, "x") 127 tokens.replace(0, "x") # supercedes insert at [all...] |
/external/doclava/src/com/google/doclava/ |
LiteralTagInfo.java | 21 t = t.replace("&", "&"); 22 t = t.replace("<", "<"); 23 t = t.replace(">", ">");
|
/external/clang/test/FixIt/ |
fixit-vexing-parse.cpp | 34 S s1(); // expected-warning {{function declaration}} expected-note {{replace parentheses with an initializer}} 39 F2(); // expected-warning {{function declaration}} expected-note {{replace parentheses with an initializer}} 47 U u(); // expected-warning {{function declaration}} expected-note {{replace parentheses with an initializer}} 61 int n1(); // expected-warning {{function declaration}} expected-note {{replace parentheses with an initializer}} 66 F1(); // expected-warning {{function declaration}} expected-note {{replace parentheses with an initializer}} 69 double d(); // expected-warning {{function declaration}} expected-note {{replace parentheses with an initializer}} 74 Ptr p(); // expected-warning {{function declaration}} expected-note {{replace parentheses with an initializer}} 78 Ptr p(); // expected-warning {{function declaration}} expected-note {{replace parentheses with an initializer}} 81 bool b(); // expected-warning {{function declaration}} expected-note {{replace parentheses with an initializer}} 84 char c(); // expected-warning {{function declaration}} expected-note {{replace parentheses with an initializer} [all...] |
fixit-vexing-parse-cxx0x.cpp | 10 X x(); // expected-warning {{function declaration}} expected-note{{replace parentheses with an initializer}} 14 Ptr p(); // expected-warning {{function declaration}} expected-note {{replace parentheses with an initializer}} 17 char16_t u16(); // expected-warning {{function declaration}} expected-note {{replace parentheses with an initializer}} 20 char32_t u32(); // expected-warning {{function declaration}} expected-note {{replace parentheses with an initializer}}
|
/external/clang/test/SemaTemplate/ |
deduction.cpp | 38 struct Replace { 44 struct Replace<_1, Arg1, Arg2> { 49 struct Replace<_2, Arg1, Arg2> { 55 struct Replace<const T, Arg1, Arg2> { 56 typedef typename Replace<T, Arg1, Arg2>::type const type; 61 struct Replace<TT<T1>, Arg1, Arg2> { 62 typedef TT<typename Replace<T1, Arg1, Arg2>::type> type; 67 struct Replace<TT<T1, T2>, Arg1, Arg2> { 68 typedef TT<typename Replace<T1, Arg1, Arg2>::type, 69 typename Replace<T2, Arg1, Arg2>::type> type [all...] |
/frameworks/base/core/java/android/text/ |
Editable.java | 48 public Editable replace(int st, int en, CharSequence source, int start, int end); method in interface:Editable 51 * Convenience for replace(st, en, text, 0, text.length()) 52 * @see #replace(int, int, CharSequence, int, int) 54 public Editable replace(int st, int en, CharSequence text); method in interface:Editable 57 * Convenience for replace(where, where, text, start, end) 58 * @see #replace(int, int, CharSequence, int, int) 63 * Convenience for replace(where, where, text, 0, text.length()); 64 * @see #replace(int, int, CharSequence, int, int) 69 * Convenience for replace(st, en, "", 0, 0) 70 * @see #replace(int, int, CharSequence, int, int [all...] |
/external/v8/test/mjsunit/ |
string-replace.js | 29 * @fileoverview Test String.prototype.replace 34 "\"" + subject + "\".replace(" + pattern + ", " + replacement + ")"; 35 assertEquals(result, subject.replace(pattern, replacement), name); 120 // Replace with functions. 125 assertEquals(3, arguments.length, "replace('x',func) func-args"); 126 assertEquals("x", m, "replace('x',func(m,..))"); 127 assertEquals(0, i, "replace('x',func(..,i,..))"); 128 assertEquals(short, s, "replace('x',func(..,s))"); 131 assertEquals(1, ctr, "replace('x',func) num-match"); 135 assertEquals(3, arguments.length, "replace(/x/,func) func-args") [all...] |
/external/valgrind/main/lackey/tests/ |
filter_stderr | 13 # Replace "call" with "calls"
|
/external/webkit/Source/WebCore/manual-tests/resources/ |
navigation-during-onload-container.html | 3 window.location.replace("#foo");
|