Home
last modified time | relevance | path

Searched +full:- +full:replace (Results 1 – 25 of 1285) sorted by relevance

12345678910>>...52

/external/arm-trusted-firmware/docs/
Dglobal_substitutions.txt1 .. |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/
Dreplace.rs1 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,
18 r"(?-u)(\S+)\s+(\S+)",
23 replace!(
[all …]
/external/llvm-project/lldb/utils/lldb-dotest/
DCMakeLists.txt1 # Make lldb-dotest a custom target.
2 add_custom_target(lldb-dotest)
3 add_dependencies(lldb-dotest lldb-test-deps)
4 set_target_properties(lldb-dotest PROPERTIES FOLDER "lldb utils")
13 # Generate lldb-dotest Python driver script for each build mode.
20 # In paths to our build-tree, replace CMAKE_CFG_INTDIR with our actual configuration names.
21 …string(REPLACE ${CMAKE_CFG_INTDIR} ${config_type} config_runtime_output_dir ${LLVM_RUNTIME_OUTPUT_…
22 …string(REPLACE ${LLVM_RUNTIME_OUTPUT_INTDIR} ${config_runtime_output_dir} LLDB_DOTEST_ARGS_CONFIGU…
23 …string(REPLACE ${LLVM_RUNTIME_OUTPUT_INTDIR} ${config_runtime_output_dir} LLDB_SOURCE_DIR_CONFIGUR…
24 …string(REPLACE ${LLVM_RUNTIME_OUTPUT_INTDIR} ${config_runtime_output_dir} LLDB_FRAMEWORK_DIR_CONFI…
[all …]
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DExternalUnitConversionData.java20 static final Pattern addHyphens = Pattern.compile("[- ]+");
22 …s https://www.nist.gov/pml/special-publication-811/nist-guide-si-appendix-b-conversion-factors/nis…
51 degree Fahrenheit (°F) degree Celsius (°C) t/°C = (t/°F - 32)/1.8
54 kelvin (K) degree Celsius (°C) t/°C = T/K - 273.15
57 "fahrenheit|celsius", Rational.of("-32/1.8"),
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()
[all …]
/external/antlr/runtime/Ruby/test/functional/token-rewrite/
Dbasic.rb2 # encoding: utf-8
7 inline_grammar( <<-'END' )
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'
[all …]
/external/capstone/suite/
Dtest_mc.py2 # Test tool to compare Capstone output with llvm-mc. By Nguyen Anh Quynh, 2014
12 if i == -1: # no more hex number
21 a = a.replace(hexnum, str(num))
34 if i != -1:
39 if i != -1:
42 text = text.replace('{ ', '{')
43 text = text.replace(' }', '}')
49 …p = Popen(['llvm-mc', '-disassemble', '-print-imm-hex', '-mattr=+msa', syntax] + option, stdout=PI…
51 …p = Popen(['llvm-mc', '-disassemble', '-print-imm-hex', syntax] + option, stdout=PIPE, stdin=PIPE,…
54 …p = Popen(['llvm-mc', '-disassemble', '-print-imm-hex', '-mattr=+msa'] + option, stdout=PIPE, stdi…
[all …]
Ddisasm_mc.py11 if i == -1: # no more hex number
20 a = a.replace(hexnum, str(num))
39 mode = mode.replace(' ', '')
86 ("CS_ARCH_X86", "CS_MODE_32"): ['-triple=i386'],
87 ("CS_ARCH_X86", "CS_MODE_64"): ['-triple=x86_64'],
88 ("CS_ARCH_ARM", "CS_MODE_ARM"): ['-triple=armv7'],
89 ("CS_ARCH_ARM", "CS_MODE_THUMB"): ['-triple=thumbv7'],
90 ("CS_ARCH_ARM", "CS_MODE_ARM+CS_MODE_V8"): ['-triple=armv8'],
91 ("CS_ARCH_ARM", "CS_MODE_THUMB+CS_MODE_V8"): ['-triple=thumbv8'],
92 ("CS_ARCH_ARM", "CS_MODE_THUMB+CS_MODE_MCLASS"): ['-triple=thumbv7m'],
[all …]
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_replace.py1 "Test replace, coverage 78%."
3 from idlelib.replace import ReplaceDialog
56 # Test replace function with all options at default setting.
57 # Wrap around - True
58 # Regular Expression - False
59 # Match case - False
60 # Match word - False
61 # Direction - Forwards
66 replace = self.dialog.replace_it
75 replace()
[all …]
/external/llvm-project/llvm/test/tools/llvm-lipo/
Dreplace-invalid-input.test1 # RUN: yaml2obj %p/Inputs/i386-slice.yaml -o %t-32.o
2 # RUN: yaml2obj %p/Inputs/arm64-slice.yaml -o %t-arm64.o
3 # RUN: yaml2obj %p/Inputs/i386-x86_64-universal.yaml -o %t-universal.o
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=…
[all …]
/external/bc/
Dconfigure.sh3 # SPDX-License-Identifier: BSD-2-Clause
5 # Copyright (c) 2018-2021 Gavin D. Howard and contributors.
40 if [ $# -gt 0 ]; then
51 printf ' %s -h\n' "$script"
52 printf ' %s --help\n' "$script"
53 printf ' %s [-a|-bD|-dB|-c] [-CEfgGHlmMNPtTvz] [-O OPT_LEVEL] [-k KARATSUBA_LEN]\n' "$script"
55 printf ' [--library|--bc-only --disable-dc|--dc-only --disable-bc|--coverage]\\\n'
56 printf ' [--force --debug --disable-extra-math --disable-generated-tests] \\\n'
57 printf ' [--disable-history --disable-man-pages --disable-nls] \\\n'
58 printf ' [--disable-prompt --disable-strip] [--install-all-locales] \\\n'
[all …]
Dconfigure3 # SPDX-License-Identifier: BSD-2-Clause
5 # Copyright (c) 2018-2021 Gavin D. Howard and contributors.
40 if [ $# -gt 0 ]; then
51 printf ' %s -h\n' "$script"
52 printf ' %s --help\n' "$script"
53 printf ' %s [-a|-bD|-dB|-c] [-CEfgGHlmMNPtTvz] [-O OPT_LEVEL] [-k KARATSUBA_LEN]\n' "$script"
55 printf ' [--library|--bc-only --disable-dc|--dc-only --disable-bc|--coverage]\\\n'
56 printf ' [--force --debug --disable-extra-math --disable-generated-tests] \\\n'
57 printf ' [--disable-history --disable-man-pages --disable-nls] \\\n'
58 printf ' [--disable-prompt --disable-strip] [--install-all-locales] \\\n'
[all …]
/external/antlr/runtime/JavaScript/tests/functional/
Dt048rewrite.html1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xht…
4 <meta http-equiv="content-type" content="text/html;charset=utf-8" />
7 <!-- ANTLR includes -->
8 <script type="text/javascript" src="../../lib/antlr3-all.js"></script>
11 <!-- JsUnit include -->
14 <!-- Test Code -->
64 tokens.replace(0,"x");
73 tokens.replace(2,"x");
82 tokens.replace(1,"x");
91 tokens.replace(1,"x");
[all …]
/external/python/cpython2/Lib/test/
Dstring_tests.py112 self.checkequal(1, 'aaa', 'count', 'a', -1)
113 self.checkequal(3, 'aaa', 'count', 'a', -10)
116 self.checkequal(2, 'aaa', 'count', 'a', 0, -1)
117 self.checkequal(0, 'aaa', 'count', 'a', 0, -10)
121 self.checkequal(2, 'aaa', 'count', '', -1)
122 self.checkequal(4, 'aaa', 'count', '', -10)
155 r2, rem = divmod(n - len(i.replace(j, '')), len(j))
165 self.checkequal(-1, 'abcdefghiabc', 'find', 'def', 4)
169 self.checkequal(-1, 'abc', 'find', '', 4)
174 self.checkequal(-1, 'rrarrrrrrrrra', 'find', 'a', 4, 6)
[all …]
/external/python/cpython3/Lib/test/
Dstring_tests.py105 self.checkequal(1, 'aaa', 'count', 'a', -1)
106 self.checkequal(3, 'aaa', 'count', 'a', -10)
109 self.checkequal(2, 'aaa', 'count', 'a', 0, -1)
110 self.checkequal(0, 'aaa', 'count', 'a', 0, -10)
114 self.checkequal(2, 'aaa', 'count', '', -1)
115 self.checkequal(4, 'aaa', 'count', '', -10)
151 r2, rem = divmod(n - len(i.replace(j, self.fixtype(''))),
162 self.checkequal(-1, 'abcdefghiabc', 'find', 'def', 4)
166 self.checkequal(-1, 'abc', 'find', '', 4)
171 self.checkequal(-1, 'rrarrrrrrrrra', 'find', 'a', 4, 6)
[all …]
/external/llvm-project/lldb/test/API/
DCMakeLists.txt13 add_dependencies(${name} lldb-test-deps)
20 string(REGEX MATCH "^[^-]*" LLDB_DEFAULT_TEST_ARCH ${LLVM_HOST_TRIPLE})
26 …itecture to run LLDB tests as (x86|x64). Determines whether tests are compiled with -m32 or -m64")
31 …cify additional arguments to pass to test runner. For example: '-C gcc -C clang -A i386 -A x86_64'…
39 -u CXXFLAGS
40 -u CFLAGS
77 set(LLDB_TEST_COMMON_ARGS ${LLDB_TEST_COMMON_ARGS} --enable-crash-dialog)
81 set(LLDB_TEST_COMMON_ARGS ${LLDB_TEST_COMMON_ARGS} --show-inferior-console)
87 --env ARCHIVER=${CMAKE_AR} --env OBJCOPY=${CMAKE_OBJCOPY})
104 list(APPEND LLDB_TEST_COMMON_ARGS --codesign-identity "${code_sign_identity_used}")
[all …]
/external/python/cpython3/Lib/idlelib/
Dreplace.py1 """Replace dialog for IDLE. Inherits SearchDialogBase for GUI.
3 Defines various replace related functions like replace, replace all,
4 and replace+find.
14 def replace(text): function
34 title = "Replace Dialog"
35 icon = "Replace"
44 replvar: StringVar containing 'Replace with:' value.
79 self.replent = self.make_entry("Replace with:", self.replvar)[0]
84 The additional buttons are for Find, Replace,
85 Replace+Find, and Replace All.
[all …]
/external/python/cpython2/PC/VS9.0/
Dvs9to8.py12 print("%s -> %s" % (filename, destname))
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('..\\..\\..\\..\\', '..\\..\\..\\')
26 # Replace them here.
27 lines = lines.replace('$(sqlite3Dir)', '..\\..\\..\\sqlite-3.6.21')
[all …]
/external/vboot_reference/tests/futility/
Dtest_gbb_utility.sh1 #!/bin/bash -eux
3 # Use of this source code is governed by a BSD-style license that can be
13 REPLACE="${BUILD_RUN}/tests/futility/binary_editor"
18 ${FUTILITY} gbb_utility -c 16,0x10,16,0x10 ${TMP}.blob
21 ${FUTILITY} gbb_utility -s --flags=0xdeadbeef ${TMP}.blob
22 ${FUTILITY} gbb_utility -g --flags ${TMP}.blob | grep -i 0xdeadbeef
24 # HWID length should include the terminating null - this is too long
25 if ${FUTILITY} gbb_utility -s --hwid="0123456789ABCDEF" ${TMP}.blob; then
29 ${FUTILITY} gbb_utility -s --hwid="0123456789ABCDE" ${TMP}.blob
31 ${FUTILITY} gbb_utility -g ${TMP}.blob | grep "0123456789ABCDE"
[all …]
/external/freetype/builds/mac/
Dascii2mpw.py7 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")
15 elif sys.argv[1] == "-r" :
17 asc_line = string.replace(mpw_line, "\n", "\\n")
18 asc_line = string.replace(asc_line, "\r", "\n")
[all …]
/external/python/setuptools/pkg_resources/tests/
Dtest_working_set.py23 {project_name}-{version}
28 foo-0.2
29 bar-1.0
35 - project_name=foo, version=0.2
36 - project_name=bar, version=1.0,
45 name, version = fields.pop(0).split('-')
117 # resolved [replace conflicting]
125 foo-3.0
133 foo-3.0
135 # resolved [replace conflicting]
[all …]
/external/fonttools/Tests/varLib/
Dinterpolate_layout_test.py62 with open(path, "r", encoding="utf-8") as ttx:
65 # and use os-native line separators so we can run difflib.
91 savepath = os.path.join(temp_dir, ttx_filename.replace('.ttx', suffix))
99 # -----
101 # -----
115 ttx_paths = self.get_file_list(ttx_dir, '.ttx', 'TestFamily2-')
119 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
139 ttx_paths = self.get_file_list(ttx_dir, '.ttx', 'TestFamily2-')
143 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
179 ttx_paths = self.get_file_list(ttx_dir, '.ttx', 'TestFamily2-')
[all …]
/external/antlr/runtime/Python3/tests/
Dt048rewrite.py4 # pylint: disable-msg=C0111
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")
[all …]
/external/antlr/runtime/Python/tests/
Dt048rewrite.py4 # pylint: disable-msg=C0111
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")
[all …]
/external/llvm-project/clang/test/SemaCXX/
Dwarn-xor-as-pow.cpp1 // RUN: %clang_cc1 -x c -fsyntax-only -verify -Wxor-used-as-pow %s
2 // RUN: %clang_cc1 -x c -fsyntax-only -verify %s
3 // RUN: %clang_cc1 -x c -fsyntax-only -fdiagnostics-parseable-fixits %s 2>&1 | FileCheck %s
5 // RUN: %clang_cc1 -x c++ -fsyntax-only -verify -Wxor-used-as-pow %s
6 // RUN: %clang_cc1 -x c++ -fsyntax-only -verify %s
7 // RUN: %clang_cc1 -x c++ -fsyntax-only -fdiagnostics-parseable-fixits %s 2>&1 | FileCheck %s
15 #define EPSILON 10 ^ -300
35 res = 2 ^ -1; in test()
36 res = 2 ^ 0; // expected-warning {{result of '2 ^ 0' is 2; did you mean '1 << 0' (1)?}} in test()
37 // CHECK: fix-it:"{{.*}}":{[[@LINE-1]]:9-[[@LINE-1]]:14}:"1" in test()
[all …]
/external/libcxxabi/cmake/Modules/
DHandleLibcxxabiFlags.cmake1 # HandleLibcxxFlags - A set of macros used to setup the flags used to compile
3 # - LIBCXXABI_COMPILE_FLAGS: flags used to compile libc++abi
4 # - LIBCXXABI_LINK_FLAGS: flags used to link libc++abi
5 # - LIBCXXABI_LIBRARIES: libraries to link libc++abi to.
12 # Ex: --std=c++11 -> STD_EQ_CXX11
15 string(REGEX REPLACE "^/" "" strippedStr "${strippedStr}")
16 string(REGEX REPLACE "^-+" "" strippedStr "${strippedStr}")
17 string(REGEX REPLACE "-+$" "" strippedStr "${strippedStr}")
18 string(REPLACE "-" "_" strippedStr "${strippedStr}")
19 string(REPLACE "=" "_EQ_" strippedStr "${strippedStr}")
[all …]

12345678910>>...52