/external/arm-trusted-firmware/docs/ |
D | global_substitutions.txt | 1 .. |AArch32| replace:: :term:`AArch32` 2 .. |AArch64| replace:: :term:`AArch64` 3 .. |API| replace:: :term:`API` 4 .. |BTI| replace:: :term:`BTI` 5 .. |CoT| replace:: :term:`CoT` 6 .. |COT| replace:: :term:`COT` 7 .. |CSS| replace:: :term:`CSS` 8 .. |CVE| replace:: :term:`CVE` 9 .. |DTB| replace:: :term:`DTB` 10 .. |DS-5| replace:: :term:`DS-5` [all …]
|
/external/rust/crates/regex/tests/ |
D | replace.rs | 1 macro_rules! replace( macro 3 $search:expr, $replace:expr, $result:expr) => ( 7 assert_eq!(re.$which(text!($search), $replace), text!($result)); 12 replace!(first, replace, r"[0-9]", "age: 26", t!("Z"), "age: Z6"); 13 replace!(plus, replace, r"[0-9]+", "age: 26", t!("Z"), "age: Z"); 14 replace!(all, replace_all, r"[0-9]", "age: 26", t!("Z"), "age: ZZ"); 15 replace!( 17 replace, 23 replace!( 25 replace, [all …]
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | ExternalUnitConversionData.java | 65 source = replace(footnotes, source, "", changes); in extractUnit() 70 source = replace(temperature, source, " $1$2$3", changes); in extractUnit() 73 source = source.replace("(sidereal)", "sidereal"); in extractUnit() 74 source = source.replace("(mean)", "mean"); in extractUnit() 75 source = source.replace("(printer's)", "printer"); in extractUnit() 77 source = source.replace("therm (U.S.)", "therm-us"); in extractUnit() 78 source = source.replace("(U.S.)", ""); in extractUnit() 80 source = source.replace("(long, 112 lb)", " long"); in extractUnit() 81 source = source.replace("(troy or apothecary)", "troy"); in extractUnit() 82 source = source.replace("(U.S. survey)", "survey"); in extractUnit() [all …]
|
/external/capstone/suite/ |
D | disasm_mc.py | 20 a = a.replace(hexnum, str(num)) 39 mode = mode.replace(' ', '') 126 hex_code = code.replace('0x', '') 127 hex_code = hex_code.replace(',', '') 141 cs_output2 = cs_output2.replace(' ', '') 145 cs_output2 = cs_output2.replace('$at', '$1') 146 cs_output2 = cs_output2.replace('$v0', '$2') 147 cs_output2 = cs_output2.replace('$v1', '$3') 149 cs_output2 = cs_output2.replace('$a0', '$4') 150 cs_output2 = cs_output2.replace('$a1', '$5') [all …]
|
D | test_mc.py | 21 a = a.replace(hexnum, str(num)) 42 text = text.replace('{ ', '{') 43 text = text.replace(' }', '}') 82 mode = mode.replace(' ', '') 174 hex_code = code.replace('0x', '') 175 hex_code = hex_code.replace(',', '') 189 cs_output2 = cs_output2.replace(' ', '') 193 cs_output2 = cs_output2.replace('$at', '$1') 194 cs_output2 = cs_output2.replace('$v0', '$2') 195 cs_output2 = cs_output2.replace('$v1', '$3') [all …]
|
/external/bc/ |
D | configure | 279 replace() { function 334 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \ 338 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \ 342 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \ 346 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \ 1190 contents=$(replace "$contents" "$needle" "$replacement") 1208 contents=$(replace "$contents" "HEADERS" "$headers") 1210 contents=$(replace "$contents" "BC_ENABLED" "$bc") 1211 contents=$(replace "$contents" "DC_ENABLED" "$dc") 1213 contents=$(replace "$contents" "BC_ALL_TESTS" "$bc_test") [all …]
|
D | configure.sh | 279 replace() { function 334 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \ 338 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \ 342 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \ 346 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \ 1190 contents=$(replace "$contents" "$needle" "$replacement") 1208 contents=$(replace "$contents" "HEADERS" "$headers") 1210 contents=$(replace "$contents" "BC_ENABLED" "$bc") 1211 contents=$(replace "$contents" "DC_ENABLED" "$dc") 1213 contents=$(replace "$contents" "BC_ALL_TESTS" "$bc_test") [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/runtime/Python3/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") 123 tokens.replace(0, "x") # supercedes insert at 0 [all …]
|
/external/antlr/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 | 3 from idlelib.replace import ReplaceDialog 66 replace = self.dialog.replace_it 75 replace() 82 replace() 88 replace() 96 replace() 104 replace() 107 replace() 111 replace() 118 replace() [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/libxkbcommon/test/data/symbols/ |
D | ctrl | 4 replace key <CAPS> { [ Control_L, Control_L ] }; 10 replace key <LCTL> { [ Meta_L ] }; 17 replace key <CAPS> { [ Control_L ] }; 18 replace key <LCTL> { [ Caps_Lock ] }; 27 replace key <CAPS> { [ Control_L ] }; 28 replace key <LCTL> { [ Hyper_L ] }; 36 replace key <CAPS> { [ Control_L ] }; 37 replace key <LCTL> { [ ISO_Next_Group ] }; 47 replace key <AC00> { [ Control_L ] }; 48 replace key <AA00> { [ Caps_Lock ] }; [all …]
|
/external/llvm-project/llvm/test/tools/llvm-lipo/ |
D | replace-invalid-input.test | 5 # RUN: not llvm-lipo %t-universal.o -replace %t-32.o 2>&1 | FileCheck --check-prefix=MISSING_ARG %s 6 # MISSING_ARG: error: replace is missing an argument: expects -replace arch_type file_name 8 # RUN: not llvm-lipo %t-universal.o -replace i386 %t-32.o 2>&1 | FileCheck --check-prefix=OUTPUT_FI… 9 # OUTPUT_FILE: error: replace expects a single output file to be specified 11 # RUN: not llvm-lipo %t-universal.o %t-universal.o -replace i386 %t-32.o -o %t.o 2>&1 | FileCheck -… 12 # INPUT_ARGS: error: replace expects a single input file 14 # RUN: not llvm-lipo %t-universal.o -replace i386 %t-33.o -o %t.o 2>&1 | FileCheck --check-prefix=… 17 # RUN: not llvm-lipo %t-universal.o -replace i3866 %t-32.o -o %t.o 2>&1 | FileCheck --check-prefix=… 20 # RUN: not llvm-lipo %t-universal.o -replace arm64 %t-32.o -o %t.o 2>&1 | FileCheck --check-prefix=… 23 # RUN: not llvm-lipo %t-universal.o -replace arm64 %t-arm64.o -o %t.o 2>&1 | FileCheck --check-pref… [all …]
|
/external/bcc/tools/ |
D | runqlat.py | 213 bpf_text = bpf_text.replace('FILTER', 'tgid != %s' % args.pid) 215 bpf_text = bpf_text.replace('FILTER', '0') 217 bpf_text = bpf_text.replace('FACTOR', 'delta /= 1000000;') 220 bpf_text = bpf_text.replace('FACTOR', 'delta /= 1000;') 228 bpf_text = bpf_text.replace('STORAGE', 230 bpf_text = bpf_text.replace('STORE', 235 bpf_text = bpf_text.replace('STORAGE', 237 bpf_text = bpf_text.replace('STORE', 'pidns_key_t key = ' + 242 bpf_text = bpf_text.replace('STORAGE', 'BPF_HISTOGRAM(dist);') 243 bpf_text = bpf_text.replace('STORE',
|
D | funclatency.py | 96 pattern = pattern.replace('*', '.*') 158 bpf_text = bpf_text.replace('FILTER', 161 bpf_text = bpf_text.replace('FILTER', '') 163 bpf_text = bpf_text.replace('FACTOR', 'delta /= 1000000;') 166 bpf_text = bpf_text.replace('FACTOR', 'delta /= 1000;') 169 bpf_text = bpf_text.replace('FACTOR', '') 172 bpf_text = bpf_text.replace('STORAGE', 'BPF_HASH(ipaddr, u32);\n' + 175 bpf_text = bpf_text.replace('ENTRYSTORE', 178 bpf_text = bpf_text.replace('STORE', 192 bpf_text = bpf_text.replace('STORAGE', 'BPF_HISTOGRAM(dist);') [all …]
|
/external/antlr/tool/src/test/java/org/antlr/test/ |
D | TestTokenRewriteStream.java | 102 tokens.replace(0, "x"); in testReplaceIndex0() 118 tokens.replace(2, "x"); in testReplaceLastIndex() 134 tokens.replace(1, "x"); in testReplaceMiddleIndex() 155 tokens.replace(4, 8, "0"); // replace 3 * 0 with 0 in testToStringStartStop() 195 tokens.replace(4, 8, "0"); // replace 3 * 0 with 0 in testToStringStartStop2() 237 tokens.replace(1, "x"); in test2ReplaceMiddleIndex() 238 tokens.replace(1, "y"); in test2ReplaceMiddleIndex() 255 tokens.replace(1, "x"); in test2ReplaceMiddleIndex1InsertBefore() 256 tokens.replace(1, "y"); in test2ReplaceMiddleIndex1InsertBefore() 272 tokens.replace(1, "x"); in testReplaceThenDeleteMiddleIndex() [all …]
|
/external/tensorflow/tensorflow/python/autograph/pyct/ |
D | templates_test.py | 77 node = templates.replace(template, b=('a', 'c'))[0] 90 node = templates.replace(template, a='b')[0] 102 node = templates.replace(template, fname='test_fn')[0] 116 node = templates.replace( 145 node = templates.replace(template, foo='b')[0] 152 templates.replace(template, foo=1) 160 node = templates.replace( 173 node = templates.replace(template, foo=parser.parse_expression('[a, b]'))[0] 184 node = templates.replace(template, foo=parser.parse_expression('(a, b)'))[0] 195 node = templates.replace( [all …]
|
/external/fonttools/Tests/varLib/ |
D | interpolate_layout_test.py | 91 savepath = os.path.join(temp_dir, ttx_filename.replace('.ttx', suffix)) 119 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix) 143 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix) 183 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix) 212 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix) 246 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix) 281 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix) 310 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix) 344 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix) 379 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix) [all …]
|
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | ConcurrentMapReplaceEntryTester.java | 49 assertTrue(getMap().replace(k0(), v0(), v3())); in testReplaceEntry_supportedPresent() 56 assertTrue(getMap().replace(k0(), v0(), v0())); in testReplaceEntry_supportedPresentUnchanged() 63 assertFalse(getMap().replace(k0(), v3(), v4())); in testReplaceEntry_supportedWrongValue() 69 assertFalse(getMap().replace(k3(), v3(), v4())); in testReplaceEntry_supportedAbsentKey() 77 getMap().replace(k0(), v0(), null); in testReplaceEntry_presentNullValueUnsupported() 88 assertFalse(getMap().replace(k0(), v3(), null)); in testReplaceEntry_wrongValueNullValueUnsupported() 98 assertFalse(getMap().replace(k3(), v3(), null)); in testReplaceEntry_absentKeyNullValueUnsupported() 107 assertFalse(getMap().replace(k3(), null, v3())); in testReplaceEntry_nullDifferentFromAbsent() 114 assertFalse(getMap().replace(k3(), null, v3())); in testReplaceEntry_expectNullUnsupported() 125 getMap().replace(k0(), v0(), v3()); in testReplaceEntry_unsupportedPresent() [all …]
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | MapReplaceEntryTester.java | 45 assertTrue(getMap().replace(k0(), v0(), v3())); in testReplaceEntry_supportedPresent() 55 assertTrue(getMap().replace(k0(), v0(), v0())); in testReplaceEntry_supportedPresentUnchanged() 62 assertFalse(getMap().replace(k0(), v3(), v4())); in testReplaceEntry_supportedWrongValue() 68 assertFalse(getMap().replace(k3(), v3(), v4())); in testReplaceEntry_supportedAbsentKey() 76 getMap().replace(k0(), v0(), null); in testReplaceEntry_presentNullValueUnsupported() 87 assertFalse(getMap().replace(k0(), v3(), null)); in testReplaceEntry_wrongValueNullValueUnsupported() 97 assertFalse(getMap().replace(k3(), v3(), null)); in testReplaceEntry_absentKeyNullValueUnsupported() 106 assertFalse(getMap().replace(k3(), null, v3())); in testReplaceEntry_nullDifferentFromAbsent() 113 assertFalse(getMap().replace(k3(), null, v3())); in testReplaceEntry_expectNullUnsupported() 124 getMap().replace(k0(), v0(), v3()); in testReplaceEntry_unsupportedPresent() [all …]
|
D | ConcurrentMapReplaceEntryTester.java | 49 assertTrue(getMap().replace(k0(), v0(), v3())); in testReplaceEntry_supportedPresent() 56 assertTrue(getMap().replace(k0(), v0(), v0())); in testReplaceEntry_supportedPresentUnchanged() 63 assertFalse(getMap().replace(k0(), v3(), v4())); in testReplaceEntry_supportedWrongValue() 69 assertFalse(getMap().replace(k3(), v3(), v4())); in testReplaceEntry_supportedAbsentKey() 77 getMap().replace(k0(), v0(), null); in testReplaceEntry_presentNullValueUnsupported() 88 assertFalse(getMap().replace(k0(), v3(), null)); in testReplaceEntry_wrongValueNullValueUnsupported() 98 assertFalse(getMap().replace(k3(), v3(), null)); in testReplaceEntry_absentKeyNullValueUnsupported() 107 assertFalse(getMap().replace(k3(), null, v3())); in testReplaceEntry_nullDifferentFromAbsent() 114 assertFalse(getMap().replace(k3(), null, v3())); in testReplaceEntry_expectNullUnsupported() 125 getMap().replace(k0(), v0(), v3()); in testReplaceEntry_unsupportedPresent() [all …]
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/api/ |
D | FilteredDataTest.java | 20 CldrValue replace = in TestSimple() local 25 CldrData src = CldrDataSupplier.forValues(ImmutableList.of(keep, remove, replace)); in TestSimple() 30 } else if (value.equals(replace)) { in TestSimple() 44 assertEquals("filtered is replaced", filtered.get(replace.getPath()), replacement); in TestSimple() 48 CldrValue replace = in TestBadReplacementPath() local 53 CldrData src = CldrDataSupplier.forValues(ImmutableList.of(replace)); in TestBadReplacementPath() 64 assertErrorMessageContains(e, replace.toString()); in TestBadReplacementPath() 70 CldrValue replace = in TestBadReplacementAttributes() local 75 CldrData src = CldrDataSupplier.forValues(ImmutableList.of(replace)); in TestBadReplacementAttributes() 86 assertErrorMessageContains(e, replace.toString()); in TestBadReplacementAttributes()
|
/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/cldr/tools/java/org/unicode/cldr/util/ |
D | Organization.java | 61 name = name.toLowerCase().replace('-', '_').replace('.', '_'); in fromString() 74 … OrganizationNameMap.put(x.displayName.toLowerCase().replace('-', '_').replace('.', '_'), x); 76 OrganizationNameMap.put(name.toLowerCase().replace('-', '_').replace('.', '_'), x); 78 OrganizationNameMap.put(x.name().toLowerCase().replace('-', '_').replace('.', '_'), x);
|