| /external/compiler-rt/test/asan/ |
| D | lit.cfg | 43 config.substitutions.append(('%env_asan_opts=', 101 config.substitutions.append( ("%clang ", build_invocation(target_cflags)) ) 102 config.substitutions.append( ("%clangxx ", build_invocation(target_cxxflags)) ) 103 config.substitutions.append( ("%clang_asan ", build_invocation(clang_asan_cflags)) ) 104 config.substitutions.append( ("%clangxx_asan ", build_invocation(clang_asan_cxxflags)) ) 105 config.substitutions.append( ("%shared_libasan", "libclang_rt.asan-%s.so" % config.target_arch)) 107 config.substitutions.append( ("%clang_asan_static ", build_invocation(clang_asan_static_cflags)) ) 108 …config.substitutions.append( ("%clangxx_asan_static ", build_invocation(clang_asan_static_cxxflags… 121 config.substitutions.append( ("%clang_cl_asan ", clang_cl_invocation) ) 123 config.substitutions.append( ("%asan_lib", base_lib % "") ) [all …]
|
| /external/cronet/stable/third_party/libc++/src/test/configs/ |
| D | cmake-bridge.cfg.in | 8 # substitutions from CMake variables. 11 # loading the file and then setting up the remaining Lit substitutions. 25 # Add substitutions for bootstrapping the test suite configuration 26 config.substitutions.append(('%{libcxx-dir}', '@LIBCXX_SOURCE_DIR@')) 27 config.substitutions.append(('%{install-prefix}', '@LIBCXX_TESTING_INSTALL_PREFIX@')) 28 config.substitutions.append(('%{include-dir}', '@LIBCXX_TESTING_INSTALL_PREFIX@/@LIBCXX_INSTALL_INC… 29 config.substitutions.append(('%{target-include-dir}', '@LIBCXX_TESTING_INSTALL_PREFIX@/@LIBCXX_INST… 30 config.substitutions.append(('%{lib-dir}', '@LIBCXX_TESTING_INSTALL_PREFIX@/@LIBCXX_INSTALL_LIBRARY… 31 config.substitutions.append(('%{module-dir}', '@LIBCXX_TESTING_INSTALL_PREFIX@/@LIBCXX_INSTALL_MODU… 32 config.substitutions.append(('%{test-tools-dir}', '@LIBCXX_TEST_TOOLS_PATH@')) [all …]
|
| /external/cronet/tot/third_party/libc++/src/test/configs/ |
| D | cmake-bridge.cfg.in | 8 # substitutions from CMake variables. 11 # loading the file and then setting up the remaining Lit substitutions. 25 # Add substitutions for bootstrapping the test suite configuration 26 config.substitutions.append(('%{libcxx-dir}', '@LIBCXX_SOURCE_DIR@')) 27 config.substitutions.append(('%{install-prefix}', '@LIBCXX_TESTING_INSTALL_PREFIX@')) 28 config.substitutions.append(('%{include-dir}', '@LIBCXX_TESTING_INSTALL_PREFIX@/@LIBCXX_INSTALL_INC… 29 config.substitutions.append(('%{target-include-dir}', '@LIBCXX_TESTING_INSTALL_PREFIX@/@LIBCXX_INST… 30 config.substitutions.append(('%{lib-dir}', '@LIBCXX_TESTING_INSTALL_PREFIX@/@LIBCXX_INSTALL_LIBRARY… 31 config.substitutions.append(('%{module-dir}', '@LIBCXX_TESTING_INSTALL_PREFIX@/@LIBCXX_INSTALL_MODU… 32 config.substitutions.append(('%{test-tools-dir}', '@LIBCXX_TEST_TOOLS_PATH@')) [all …]
|
| /external/cronet/stable/third_party/libc++abi/src/test/configs/ |
| D | cmake-bridge.cfg.in | 8 # substitutions from CMake variables. 11 # loading the file and then setting up the remaining Lit substitutions. 29 config.substitutions.append(('%{libcxx}', '@LIBCXXABI_LIBCXX_PATH@')) 30 config.substitutions.append(('%{install-prefix}', '@LIBCXXABI_TESTING_INSTALL_PREFIX@')) 31 config.substitutions.append(('%{include}', '@LIBCXXABI_TESTING_INSTALL_PREFIX@/include')) 32 config.substitutions.append(('%{cxx-include}', '@LIBCXXABI_TESTING_INSTALL_PREFIX@/@LIBCXXABI_INSTA… 33 config.substitutions.append(('%{cxx-target-include}', '@LIBCXXABI_TESTING_INSTALL_PREFIX@/include/%… 34 config.substitutions.append(('%{lib}', '@LIBCXXABI_TESTING_INSTALL_PREFIX@/@LIBCXXABI_INSTALL_LIBRA… 35 config.substitutions.append(('%{benchmark_flags}', '')) 38 …config.substitutions.append(('%{maybe-include-libunwind}', '-I "@LIBCXXABI_LIBUNWIND_INCLUDES_INTE… [all …]
|
| /external/cronet/tot/third_party/libc++abi/src/test/configs/ |
| D | cmake-bridge.cfg.in | 8 # substitutions from CMake variables. 11 # loading the file and then setting up the remaining Lit substitutions. 29 config.substitutions.append(('%{libcxx}', '@LIBCXXABI_LIBCXX_PATH@')) 30 config.substitutions.append(('%{install-prefix}', '@LIBCXXABI_TESTING_INSTALL_PREFIX@')) 31 config.substitutions.append(('%{include}', '@LIBCXXABI_TESTING_INSTALL_PREFIX@/include')) 32 config.substitutions.append(('%{cxx-include}', '@LIBCXXABI_TESTING_INSTALL_PREFIX@/@LIBCXXABI_INSTA… 33 config.substitutions.append(('%{cxx-target-include}', '@LIBCXXABI_TESTING_INSTALL_PREFIX@/include/%… 34 config.substitutions.append(('%{lib}', '@LIBCXXABI_TESTING_INSTALL_PREFIX@/@LIBCXXABI_INSTALL_LIBRA… 35 config.substitutions.append(('%{benchmark_flags}', '')) 38 …config.substitutions.append(('%{maybe-include-libunwind}', '-I "@LIBCXXABI_LIBUNWIND_INCLUDES_INTE… [all …]
|
| /external/compiler-rt/test/cfi/ |
| D | lit.cfg | 10 config.substitutions.append((r"%clang ", ' '.join([config.clang]) + ' ')) 11 config.substitutions.append((r"%clangxx ", clangxx + ' ')) 18 config.substitutions.append((r"%expect_crash_unless_devirt ", "")) 20 config.substitutions.append((r"%expect_crash_unless_devirt ", config.expect_crash)) 26 config.substitutions.append((r"%clang_cfi ", clang_cfi + non_dso)) 27 config.substitutions.append((r"%clangxx_cfi ", clang_cfi + cxx + non_dso)) 28 config.substitutions.append((r"%clang_cfi_diag ", clang_cfi + non_dso + diag)) 29 config.substitutions.append((r"%clangxx_cfi_diag ", clang_cfi + cxx + non_dso + diag)) 30 config.substitutions.append((r"%clangxx_cfi_dso ", clang_cfi + cxx + dso)) 31 config.substitutions.append((r"%clangxx_cfi_dso_diag ", clang_cfi + cxx + dso + diag))
|
| /external/angle/build/apple/ |
| D | plist_util.py | 37 def InterpolateString(value, substitutions): argument 38 """Interpolates variable references into |value| using |substitutions|. 42 substitutions: a mapping of variable names to values 46 value in |substitutions|. Raises SubstitutionError if a variable has no 52 if variable not in substitutions: 60 return INVALID_CHARACTER_REGEXP.sub('_', substitutions[variable]) 62 return INVALID_CHARACTER_REGEXP.sub('-', substitutions[variable]) 64 return substitutions[variable] 71 def Interpolate(value, substitutions): argument 72 """Interpolates variable references into |value| using |substitutions|. [all …]
|
| D | compile_entitlements.gni | 8 # substitutions. 16 # substitutions: 40 # Entitlements files use unsubstitued variables, so define substitutions 42 if (!defined(substitutions)) { 43 substitutions = [] 46 substitutions += [
|
| /external/cronet/stable/build/apple/ |
| D | plist_util.py | 37 def InterpolateString(value, substitutions): argument 38 """Interpolates variable references into |value| using |substitutions|. 42 substitutions: a mapping of variable names to values 46 value in |substitutions|. Raises SubstitutionError if a variable has no 52 if variable not in substitutions: 60 return INVALID_CHARACTER_REGEXP.sub('_', substitutions[variable]) 62 return INVALID_CHARACTER_REGEXP.sub('-', substitutions[variable]) 64 return substitutions[variable] 71 def Interpolate(value, substitutions): argument 72 """Interpolates variable references into |value| using |substitutions|. [all …]
|
| /external/cronet/tot/build/apple/ |
| D | plist_util.py | 37 def InterpolateString(value, substitutions): argument 38 """Interpolates variable references into |value| using |substitutions|. 42 substitutions: a mapping of variable names to values 46 value in |substitutions|. Raises SubstitutionError if a variable has no 52 if variable not in substitutions: 60 return INVALID_CHARACTER_REGEXP.sub('_', substitutions[variable]) 62 return INVALID_CHARACTER_REGEXP.sub('-', substitutions[variable]) 64 return substitutions[variable] 71 def Interpolate(value, substitutions): argument 72 """Interpolates variable references into |value| using |substitutions|. [all …]
|
| /external/pytorch/third_party/ |
| D | substitution.bzl | 4 # search over the template file for the keys in substitutions, 13 # substitutions = { 23 # substitutions: A dictionary mapping strings to their substitutions 29 substitutions = ctx.attr.substitutions, 39 "substitutions": attr.string_dict(mandatory = True), 53 substitutions = ctx.attr.substitutions, 76 "substitutions": attr.string_dict(mandatory = True),
|
| /external/cronet/stable/third_party/libc++/src/test/libcxx/selftest/dsl/ |
| D | lit.local.cfg | 1 # Since we try to pass substitutions as-is to some tests, we must "escape" 2 # them in case they contain other substitutions. Otherwise, the substitutions 8 # To solve this problem, we pickle the substitutions and base64 encode that 9 # to pass it to the test, and we decode and unpickle the substitutions from 14 escapedSubstitutions = base64Encode(pickle.dumps(config.substitutions)) 15 config.substitutions.append(("%{substitutions}", escapedSubstitutions))
|
| /external/cronet/tot/third_party/libc++/src/test/libcxx/selftest/dsl/ |
| D | lit.local.cfg | 1 # Since we try to pass substitutions as-is to some tests, we must "escape" 2 # them in case they contain other substitutions. Otherwise, the substitutions 8 # To solve this problem, we pickle the substitutions and base64 encode that 9 # to pass it to the test, and we decode and unpickle the substitutions from 14 escapedSubstitutions = base64Encode(pickle.dumps(config.substitutions)) 15 config.substitutions.append(("%{substitutions}", escapedSubstitutions))
|
| /external/python/pyyaml/examples/yaml-highlight/ |
| D | yaml_hl.py | 12 self.substitutions = {} 25 self.substitutions[cls, -1] = start 27 self.substitutions[cls, +1] = end 59 substitutions = self.style.substitutions 68 if (cls, -1) in substitutions: 69 markers.append([token.start_mark.index, +2, number, substitutions[cls, -1]]) 70 if (cls, +1) in substitutions: 71 markers.append([token.end_mark.index, -2, number, substitutions[cls, +1]]) 76 if (cls, -1) in substitutions: 77 markers.append([event.start_mark.index, +1, number, substitutions[cls, -1]]) [all …]
|
| /external/compiler-rt/test/profile/ |
| D | lit.cfg | 55 # Add clang substitutions. 56 config.substitutions.append( ("%clang ", build_invocation(clang_cflags)) ) 57 config.substitutions.append( ("%clangxx ", build_invocation(clang_cxxflags)) ) 58 config.substitutions.append( ("%clang_profgen ", build_invocation(clang_cflags) + " -fprofile-instr… 59 config.substitutions.append( ("%clang_profgen=", build_invocation(clang_cflags) + " -fprofile-instr… 60 config.substitutions.append( ("%clang_profuse=", build_invocation(clang_cflags) + " -fprofile-instr… 61 config.substitutions.append( ("%clangxx_profgen ", build_invocation(clang_cxxflags) + " -fprofile-i… 62 config.substitutions.append( ("%clangxx_profuse=", build_invocation(clang_cxxflags) + " -fprofile-i… 63 config.substitutions.append( ("%clang_profgen_gcc=", build_invocation(clang_cflags) + " -fprofile-g… 64 config.substitutions.append( ("%clang_profuse_gcc=", build_invocation(clang_cflags) + " -fprofile-u…
|
| /external/tink-java/ |
| D | template_rule.bzl | 18 """Modifies ctx.file.src keys in ctx.attr.substitutions with corresponding values.""" 22 substitutions = ctx.attr.substitutions, 26 # in substitutions with the corresponding values; the result is output to out. 35 # substitutions = { 45 # substitutions: A dictionary mapping strings to their substitutions 52 "substitutions": attr.string_dict(mandatory = True),
|
| /external/tink/cc/ |
| D | template_rule.bzl | 18 """Modifies ctx.file.src keys in ctx.attr.substitutions with corresponding values.""" 22 substitutions = ctx.attr.substitutions, 26 # in substitutions with the corresponding values; the result is output to out. 35 # substitutions = { 45 # substitutions: A dictionary mapping strings to their substitutions 52 "substitutions": attr.string_dict(mandatory = True),
|
| /external/tink/java_src/ |
| D | template_rule.bzl | 18 """Modifies ctx.file.src keys in ctx.attr.substitutions with corresponding values.""" 22 substitutions = ctx.attr.substitutions, 26 # in substitutions with the corresponding values; the result is output to out. 35 # substitutions = { 45 # substitutions: A dictionary mapping strings to their substitutions 52 "substitutions": attr.string_dict(mandatory = True),
|
| /external/tink/cc/integration/awskms/ |
| D | template_rule.bzl | 18 """Modifies ctx.file.src keys in ctx.attr.substitutions with corresponding values.""" 22 substitutions = ctx.attr.substitutions, 26 # in substitutions with the corresponding values; the result is output to out. 35 # substitutions = { 45 # substitutions: A dictionary mapping strings to their substitutions 52 "substitutions": attr.string_dict(mandatory = True),
|
| /external/cronet/tot/third_party/libc++/src/utils/libcxx/test/ |
| D | format.py | 18 Return the values to use for the %T and %t substitutions, respectively. 30 def _checkBaseSubstitutions(substitutions): argument 31 substitutions = [s for (s, _) in substitutions] 33 assert s in substitutions, "Required substitution {} was not provided".format(s) 66 Extract the script from a test, with substitutions applied. 75 These commands can contain unexpanded substitutions, but they 79 # Get the default substitutions 81 substitutions = lit.TestRunner.getDefaultSubstitutions(test, tmpDir, tmpBase) 83 # Check base substitutions and add the %{build}, %{verify} and %{run} convenience substitutions 88 _checkBaseSubstitutions(substitutions) [all …]
|
| /external/cronet/stable/third_party/libc++/src/utils/libcxx/test/ |
| D | format.py | 18 Return the values to use for the %T and %t substitutions, respectively. 30 def _checkBaseSubstitutions(substitutions): argument 31 substitutions = [s for (s, _) in substitutions] 33 assert s in substitutions, "Required substitution {} was not provided".format(s) 66 Extract the script from a test, with substitutions applied. 75 These commands can contain unexpanded substitutions, but they 79 # Get the default substitutions 81 substitutions = lit.TestRunner.getDefaultSubstitutions(test, tmpDir, tmpBase) 83 # Check base substitutions and add the %{build}, %{verify} and %{run} convenience substitutions 88 _checkBaseSubstitutions(substitutions) [all …]
|
| D | dsl.py | 136 @_memoizeExpensiveOperation(lambda c, s, f=[]: (c.substitutions, c.environment, s, f)) 155 lambda c, p, args=None: (c.substitutions, c.environment, p, args) 191 lambda c, p, args=None: (c.substitutions, c.environment, p, args) 209 @_memoizeExpensiveOperation(lambda c, f: (c.substitutions, c.environment, f)) 234 @_memoizeExpensiveOperation(lambda c, s: (c.substitutions, c.environment, s)) 247 @_memoizeExpensiveOperation(lambda c, s: (c.substitutions, c.environment, s)) 265 @_memoizeExpensiveOperation(lambda c, l: (c.substitutions, c.environment, l)) 296 @_memoizeExpensiveOperation(lambda c, flags="": (c.substitutions, c.environment, flags)) 352 for (orig, replacement) in config.substitutions: 357 def _appendToSubstitution(substitutions, key, value): argument [all …]
|
| /external/llvm/utils/llvm-build/llvmbuild/ |
| D | configutil.py | 8 def configure_file(input_path, output_path, substitutions): argument 9 """configure_file(input_path, output_path, substitutions) -> bool 12 by replacing variables in the file with those given in the substitutions 15 The substitutions list should be given as a list of tuples (regex string, 33 # Perform the substitutions. 34 for regex_string,replacement in substitutions:
|
| /external/bazel-skylib/docs/ |
| D | expand_template_doc.md | 10 …ref="#expand_template-out">out</a>, <a href="#expand_template-substitutions">substitutions</a>, <a… 16 substitutions, and replaces them with the corresponding values. 28 | <a id="expand_template-substitutions"></a>substitutions | A dictionary mapping strings to their …
|
| /external/clang/test/ |
| D | lit.cfg | 207 config.substitutions.append( ('%llvmshlibdir', config.llvm_shlib_dir) ) 208 config.substitutions.append( ('%pluginext', config.llvm_plugin_ext) ) 209 config.substitutions.append( ('%PATH%', config.environment['PATH']) ) 257 config.substitutions.append( ('%clang_cc1', 261 config.substitutions.append( ('%clang_cpp', ' ' + config.clang + 263 config.substitutions.append( ('%clang_cl', ' ' + config.clang + 265 config.substitutions.append( ('%clangxx', ' ' + config.clang + 267 config.substitutions.append( ('%clang', ' ' + config.clang + ' ') ) 268 config.substitutions.append( ('%test_debuginfo', ' ' + config.llvm_src_root + '/utils/test_debuginf… 269 config.substitutions.append( ('%itanium_abi_triple', makeItaniumABITriple(config.target_triple)) ) [all …]
|