/external/v8/benchmarks/ |
D | 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/capstone/suite/ |
D | test_mc.py | 21 a = a.replace(hexnum, str(num)) 42 text = text.replace('{ ', '{') 43 text = text.replace(' }', '}') 82 mode = mode.replace(' ', '') 173 hex_code = code.replace('0x', '') 174 hex_code = hex_code.replace(',', '') 188 cs_output2 = cs_output2.replace(' ', '') 192 cs_output2 = cs_output2.replace('$at', '$1') 193 cs_output2 = cs_output2.replace('$v0', '$2') 194 cs_output2 = cs_output2.replace('$v1', '$3') [all …]
|
/external/freetype/builds/mac/ |
D | ascii2mpw.py | 7 mpw_line = string.replace(asc_line, "\\xA5", "\245") 8 mpw_line = string.replace(mpw_line, "\\xB6", "\266") 9 mpw_line = string.replace(mpw_line, "\\xC4", "\304") 10 mpw_line = string.replace(mpw_line, "\\xC5", "\305") 11 mpw_line = string.replace(mpw_line, "\\xFF", "\377") 12 mpw_line = string.replace(mpw_line, "\n", "\r") 13 mpw_line = string.replace(mpw_line, "\\n", "\n") 17 asc_line = string.replace(mpw_line, "\n", "\\n") 18 asc_line = string.replace(asc_line, "\r", "\n") 19 asc_line = string.replace(asc_line, "\245", "\\xA5") [all …]
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
D | 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 0 [all …]
|
/external/python/cpython3/Lib/idlelib/idle_test/ |
D | test_replace.py | 10 from idlelib.replace import ReplaceDialog 65 replace = self.dialog.replace_it 74 replace() 81 replace() 87 replace() 95 replace() 103 replace() 106 replace() 110 replace() 117 replace() [all …]
|
/external/libxkbcommon/xkbcommon/test/data/symbols/ |
D | ctrl | 4 replace key <CAPS> { [ Control_L, Control_L ] }; 10 replace key <LCTL> { [ Meta_L ] }; 16 replace key <CAPS> { [ Control_L ] }; 17 replace key <LCTL> { [ Caps_Lock ] }; 25 replace key <AC00> { [ Control_L ] }; 26 replace key <AA00> { [ Caps_Lock ] }; 34 replace key <AA00> { [ Control_L ] }; 35 replace key <AC00> { [ Caps_Lock ] }; 47 replace key <MENU> { [ Control_R, Control_R ] }; 54 replace key <RALT> { type[Group1] = "TWO_LEVEL", [all …]
|
/external/python/cpython2/PC/VS9.0/ |
D | vs9to8.py | 16 lines = lines.replace('Version="9,00"', 'Version="8.00"') 17 lines = lines.replace('Version="9.00"', 'Version="8.00"') 18 lines = lines.replace('Format Version 10.00', 'Format Version 9.00') 19 lines = lines.replace('Visual Studio 2008', 'Visual Studio 2005') 21 lines = lines.replace('wininst-9.0', 'wininst-8.0') 22 lines = lines.replace('..\\', '..\\..\\') 23 lines = lines.replace('..\\..\\..\\..\\', '..\\..\\..\\') 27 lines = lines.replace('$(sqlite3Dir)', '..\\..\\..\\sqlite-3.6.21') 28 … lines = lines.replace('$(bsddbDir)\\..\\..', '..\\..\\..\\db-4.7.25.0\\build_windows\\..') 29 lines = lines.replace('$(bsddbDir)', '..\\..\\..\\db-4.7.25.0\\build_windows') [all …]
|
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
D | TestTokenRewriteStream.java | 100 tokens.replace(0, "x"); in testReplaceIndex0() 116 tokens.replace(2, "x"); in testReplaceLastIndex() 132 tokens.replace(1, "x"); in testReplaceMiddleIndex() 153 tokens.replace(4, 8, "0"); // replace 3 * 0 with 0 in testToStringStartStop() 193 tokens.replace(4, 8, "0"); // replace 3 * 0 with 0 in testToStringStartStop2() 235 tokens.replace(1, "x"); in test2ReplaceMiddleIndex() 236 tokens.replace(1, "y"); in test2ReplaceMiddleIndex() 253 tokens.replace(1, "x"); in test2ReplaceMiddleIndex1InsertBefore() 254 tokens.replace(1, "y"); in test2ReplaceMiddleIndex1InsertBefore() 270 tokens.replace(1, "x"); in testReplaceThenDeleteMiddleIndex() [all …]
|
/external/ImageMagick/MagickCore/ |
D | list.c | 1144 MagickExport void ReplaceImageInList(Image **images,Image *replace) in ReplaceImageInList() argument 1147 assert(replace != (Image *) NULL); in ReplaceImageInList() 1148 assert(replace->signature == MagickCoreSignature); in ReplaceImageInList() 1149 if (replace->debug != MagickFalse) in ReplaceImageInList() 1150 (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",replace->filename); in ReplaceImageInList() 1156 replace=GetLastImageInList(replace); in ReplaceImageInList() 1157 replace->next=(*images)->next; in ReplaceImageInList() 1158 if (replace->next != (Image *) NULL) in ReplaceImageInList() 1159 replace->next->previous=replace; in ReplaceImageInList() 1162 replace=GetFirstImageInList(replace); in ReplaceImageInList() [all …]
|
/external/libxml2/win32/ |
D | configure.js | 309 of.WriteLine(s.replace(/\@VERSION\@/, 312 of.WriteLine(s.replace(/\@LIBXML_VERSION_NUMBER\@/, 315 of.WriteLine(s.replace(/\@LIBXML_VERSION_EXTRA\@/, verCvs)); 317 of.WriteLine(s.replace(/\@WITH_TRIO\@/, withTrio? "1" : "0")); 319 of.WriteLine(s.replace(/\@WITH_THREADS\@/, withThreads == "no"? "0" : "1")); 321 of.WriteLine(s.replace(/\@WITH_THREAD_ALLOC\@/, "0")); 323 of.WriteLine(s.replace(/\@WITH_FTP\@/, withFtp? "1" : "0")); 325 of.WriteLine(s.replace(/\@WITH_HTTP\@/, withHttp? "1" : "0")); 327 of.WriteLine(s.replace(/\@WITH_HTML\@/, withHtml? "1" : "0")); 329 of.WriteLine(s.replace(/\@WITH_C14N\@/, withC14n? "1" : "0")); [all …]
|
/external/testng/src/main/java/org/testng/remote/strprotocol/ |
D | MessageHelper.java | 160 return message.replace('\n', LINE_SEP_DELIMITER_1).replace('\r', LINE_SEP_DELIMITER_2); in replaceNewLine() 168 return replace( in replaceUnicodeCharactersWithAscii() 169 replace( in replaceUnicodeCharactersWithAscii() 170 replace( in replaceUnicodeCharactersWithAscii() 171 replace(message, "\u0004", "\\u0004"), in replaceUnicodeCharactersWithAscii() 182 return replace( in replaceAsciiCharactersWithUnicode() 183 replace( in replaceAsciiCharactersWithUnicode() 184 replace( in replaceAsciiCharactersWithUnicode() 185 replace(message, "\\u0004", "\u0004"), in replaceAsciiCharactersWithUnicode() 196 return message.replace(LINE_SEP_DELIMITER_1, '\n').replace(LINE_SEP_DELIMITER_2, '\r'); in replaceNewLineReplacer() [all …]
|
/external/libxml2/doc/ |
D | index.py | 247 desc = string.replace(desc, "'", " ") 338 desc = string.replace(desc, "'", " ") 395 title = string.replace(title, "'", " ") 474 str = string.replace(str, ".", " ") 475 str = string.replace(str, "!", " ") 476 str = string.replace(str, "?", " ") 477 str = string.replace(str, ",", " ") 478 str = string.replace(str, "'", " ") 479 str = string.replace(str, '"', " ") 480 str = string.replace(str, ";", " ") [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_strop.py | 59 replace = strop.replace 60 self.assertTrue(replace("one!two!three!", '!', '@', 1) 62 self.assertTrue(replace("one!two!three!", '!', '@', 2) 64 self.assertTrue(replace("one!two!three!", '!', '@', 3) 66 self.assertTrue(replace("one!two!three!", '!', '@', 4) 73 self.assertTrue(replace("one!two!three!", '!', '@', 0) 75 self.assertTrue(replace("one!two!three!", '!', '@') 77 self.assertTrue(replace("one!two!three!", 'x', '@') 79 self.assertTrue(replace("one!two!three!", 'x', '@', 2) 147 self.assertRaises(MemoryError, strop.replace, a, "A", a)
|
/external/markdown/markdown/ |
D | postprocessors.py | 55 text = text.replace("<p>%s</p>" % 58 text = text.replace(markdown.preprocessors.HTML_PLACEHOLDER % i, 64 html = html.replace('&', '&') 65 html = html.replace('<', '<') 66 html = html.replace('>', '>') 67 return html.replace('"', '"') 76 text = text.replace(markdown.AMP_SUBSTITUTE, "&")
|
D | html4.py | 87 text = text.replace("&", "&") 89 text = text.replace("<", "<") 91 text = text.replace(">", ">") 101 text = text.replace("&", "&") 103 text = text.replace("<", "<") 105 text = text.replace(">", ">") 107 text = text.replace("\"", """) 109 text = text.replace("\n", " ") 118 text = text.replace("&", "&") 120 text = text.replace(">", ">") [all …]
|
/external/selinux/gui/ |
D | html_util.py | 110 s = s.replace("&", "&") # Must be done first! 111 s = s.replace("<", "<") 112 s = s.replace(">", ">") 113 s = s.replace("'", "'") 114 s = s.replace('"', """) 123 s = s.replace("<", "<") 124 s = s.replace(">", ">") 125 s = s.replace("'", "'") 126 s = s.replace(""", '"') 127 s = s.replace("&", "&") # Must be last
|
/external/trappy/scripts/ |
D | publish_interactive_plots.py | 41 txt = txt.replace( 44 txt = txt.replace( 47 txt = txt.replace( 50 txt = txt.replace( 53 txt = txt.replace( 56 txt = txt.replace( 59 txt = txt.replace(
|
/external/deqp/modules/gles3/scripts/ |
D | gen-qualification_order.py | 132 variables = variables.replace(" ", " ") 133 self.variableVtx = variables.replace("anon_centroid", "out") 134 self.variableFrg = variables.replace("anon_centroid", "in") 135 self.variableVtx = self.variableVtx.replace("centroid", "centroid out") 136 self.variableFrg = self.variableFrg.replace("centroid", "centroid in") 138 …self.variableFrg = self.variableFrg.replace("invariant", "") # input variable cannot be invariant.… 171 self.param0 = self.param0.replace(" ", " ") 172 self.param1 = self.param1.replace(" ", " ") 173 self.param2 = self.param2.replace(" ", " ")
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/bench/ |
D | cssmin.py | 88 match.group().replace(":", "___PSEUDOCLASSCOLON___"), 106 css = css.replace('___PSEUDOCLASSCOLON___', ':') 134 css = css.replace(match.group(), hexcolor) 148 css = css.replace(":0 0 0 0;", ":0;") 149 css = css.replace(":0 0 0;", ":0;") 150 css = css.replace(":0 0;", ":0;") 153 css = css.replace("background-position:0;", "background-position:0 0;") 173 css = css.replace(match.group(), match.group(1) + match.group(2) + '#' + first) 213 css = css.replace('"\\"}\\""', "___PSEUDOCLASSBMH___") 223 css = css.replace("___PSEUDOCLASSBMH___", '"\\"}\\""')
|
/external/libmojo/third_party/markupsafe/ |
D | _native.py | 23 .replace('&', '&') 24 .replace('>', '>') 25 .replace('<', '<') 26 .replace("'", ''') 27 .replace('"', '"')
|
/external/markdown/markdown/extensions/ |
D | codehilite.py | 105 txt = txt.replace('&', '&') 106 txt = txt.replace('<', '<') 107 txt = txt.replace('>', '>') 108 txt = txt.replace('"', '"') 114 txt = txt.replace('\t', ' '*TAB_LENGTH) 115 txt = txt.replace(" "*4, " ") 116 txt = txt.replace(" "*3, " ") 117 txt = txt.replace(" "*2, " ")
|
/external/deqp/framework/delibs/coding_guidelines/ |
D | prettify.js | 5 …replace(/([^=<>:&])/g,"\\$1")}a+="|^)\\s*$";return new RegExp(a)})(),P=/&/g,Q=/</g,R=/>/g,Z=/\"/g;… 6 …de(e)+b.substring(c+1)}}return b.replace(aa,"<").replace(ba,">").replace(ca,"'").replace(da,'"').r…
|
/external/slf4j/slf4j-site/src/site/pages/js/ |
D | prettify.js | 5 …replace(/([^=<>:&])/g,"\\$1")}a+="|^)\\s*$";return new RegExp(a)})(),P=/&/g,Q=/</g,R=/>/g,Z=/\"/g;… 6 …de(e)+b.substring(c+1)}}return b.replace(aa,"<").replace(ba,">").replace(ca,"'").replace(da,'"').r…
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/resources/ |
D | prettify.js | 209 pattern += '|' + preceders[i].replace(/([^=<>:&a-z])/g, '\\$1'); 230 return str.replace(pr_amp, '&') 231 .replace(pr_lt, '<') 232 .replace(pr_gt, '>') 233 .replace(pr_quot, '"'); 238 return str.replace(pr_amp, '&') 239 .replace(pr_lt, '<') 240 .replace(pr_gt, '>'); 274 return html.replace(pr_ltEnt, '<') 275 .replace(pr_gtEnt, '>') [all …]
|
/external/skqp/src/core/ |
D | SkRecordOpts.cpp | 46 record->replace<NoOp>(begin); // first SetMatrix in multiple_set_matrices() 64 record->replace<NoOp>(begin); // first SetMatrix 83 record->replace<NoOp>(begin); // Save in onMatch() 84 record->replace<NoOp>(end-1); // Restore in onMatch() 161 record->replace<NoOp>(i); in onMatch() 223 record->replace<NoOp>(saveLayerIndex); // SaveLayer in KillSaveLayerAndRestore() 224 record->replace<NoOp>(saveLayerIndex+2); // Restore in KillSaveLayerAndRestore() 277 record->replace<NoOp>(saveLayerIndex); // SaveLayer in KillSaveLayerAndRestore() 278 record->replace<NoOp>(saveLayerIndex + 6); // Restore in KillSaveLayerAndRestore()
|