Home
last modified time | relevance | path

Searched +full:set +full:- +full:env (Results 1 – 25 of 1101) sorted by relevance

12345678910>>...45

/external/pigweed/pw_env_setup/py/
Denvironment_test.py7 # https://www.apache.org/licenses/LICENSE-2.0
16 This tests the error-checking, context manager, and written environment scripts
19 Tests that end in "_ctx" modify the environment and validate it in-process.
36 # pylint: disable=super-with-arguments
43 def _evaluate_env_in_shell(env): argument
44 """Write env to a file then evaluate and save the resulting environment.
46 Write env to a file, then launch a shell command that sources that file
51 env(environment.Environment): environment to write out
56 # Write env sourcing script to file.
58 prefix='pw-test-written-env-',
[all …]
Djson_visitor_test.py7 # https://www.apache.org/licenses/LICENSE-2.0
16 This tests the error-checking, context manager, and written environment scripts
19 Tests that end in "_ctx" modify the environment and validate it in-process.
34 # pylint: disable=super-with-arguments
38 self.env = environment.Environment()
42 json_visitor.JSONVisitor(self.env, buf)
49 self.env.clear('VAR')
50 self.env.set('VAR', '1')
51 self._assert_json({'set': {'VAR': '1'}})
54 self.env.set('VAR', '1')
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/testsuite/lib/
Dtarget-libpath.exp17 # This file was contributed by John David Anglin (dave.anglin@nrc-cnrc.gc.ca)
19 set orig_environment_saved 0
20 set orig_ld_library_path_saved 0
21 set orig_ld_run_path_saved 0
22 set orig_shlib_path_saved 0
23 set orig_ld_libraryn32_path_saved 0
24 set orig_ld_library64_path_saved 0
25 set orig_ld_library_path_32_saved 0
26 set orig_ld_library_path_64_saved 0
27 set orig_dyld_library_path_saved 0
[all …]
/external/libffi/testsuite/lib/
Dtarget-libpath.exp17 # This file was contributed by John David Anglin (dave.anglin@nrc-cnrc.gc.ca)
19 set orig_environment_saved 0
20 set orig_ld_library_path_saved 0
21 set orig_ld_run_path_saved 0
22 set orig_shlib_path_saved 0
23 set orig_ld_libraryn32_path_saved 0
24 set orig_ld_library64_path_saved 0
25 set orig_ld_library_path_32_saved 0
26 set orig_ld_library_path_64_saved 0
27 set orig_dyld_library_path_saved 0
[all …]
/external/boringssl/src/util/fipstools/acvp/acvptool/
Dinteractive.go70 env *Env member
74 subObjects map[string]func(*Env, string) (Object, error)
78 func (set ServerObjectSet) String() (string, error) {
79 if !set.canEnumerate {
80 return "[object set " + set.name + "]", nil
83 data := reflect.New(reflect.SliceOf(set.resultType)).Interface()
84 if err := set.env.server.GetPaged(data, "acvp/v1/"+set.name, nil); err != nil {
91 func (set ServerObjectSet) Index(indexStr string) (Object, error) {
94 …return nil, fmt.Errorf("object set indexes must be unsigned integers, trying to parse %q failed: %…
96 return ServerObject{&set, index}, nil
[all …]
/external/llvm-project/lldb/test/API/commands/settings/
DTestSettings.py24 substrs=["target.env-vars",
29 """Test that 'append target.run-args' works."""
30 # Append the env-vars.
31 self.runCmd('settings append target.env-vars MY_ENV_VAR=YES')
34 lambda: self.runCmd("settings clear target.env-vars"))
37 self.expect('settings show target.env-vars',
41 """Test that 'insert-before/after target.run-args' works."""
42 # Set the run-args first.
43 self.runCmd('settings set target.run-args a b c')
46 lambda: self.runCmd("settings clear target.run-args"))
[all …]
/external/python/jinja/tests/
Dtest_core_tags.py16 def test_simple(self, env): argument
17 tmpl = env.from_string("{% for item in seq %}{{ item }}{% endfor %}")
20 def test_else(self, env): argument
21 tmpl = env.from_string("{% for item in seq %}XXX{% else %}...{% endfor %}")
24 def test_else_scoping_item(self, env): argument
25 tmpl = env.from_string("{% for item in [] %}{% else %}{{ item }}{% endfor %}")
28 def test_empty_blocks(self, env): argument
29 tmpl = env.from_string("<{% for item in seq %}{% else %}{% endfor %}>")
32 def test_context_vars(self, env): argument
35 tmpl = env.from_string(
[all …]
Dtest_regression.py13 def test_assigned_scoping(self, env): argument
14 t = env.from_string(
16 {%- for item in (1, 2, 3, 4) -%}
18 {%- endfor %}
19 {{- item -}}
24 t = env.from_string(
26 {%- for item in (1, 2, 3, 4) -%}
28 {%- endfor %}
29 {%- set item = 42 %}
30 {{- item -}}
[all …]
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/test/
Dgtest_environment_test.cc36 #include "src/gtest-internal-inl.h"
54 // generate a non-fatal failure, generate a fatal failure, or
61 ADD_FAILURE() << "Expected non-fatal failure in global set-up."; in SetUp()
64 FAIL() << "Expected fatal failure in global set-up."; in SetUp()
71 // Generates a non-fatal failure.
74 ADD_FAILURE() << "Expected non-fatal failure in global tear-down."; in TearDown()
84 // We call this function to set the type of failure SetUp() should
122 // be generated by the global set-up.
123 int RunAllTests(MyEnvironment* env, FailureType failure) { in RunAllTests() argument
124 env->Reset(); in RunAllTests()
[all …]
/external/googletest/googletest/test/
Dgtest_environment_test.cc36 #include "src/gtest-internal-inl.h"
54 // generate a non-fatal failure, generate a fatal failure, or
61 ADD_FAILURE() << "Expected non-fatal failure in global set-up."; in SetUp()
64 FAIL() << "Expected fatal failure in global set-up."; in SetUp()
71 // Generates a non-fatal failure.
74 ADD_FAILURE() << "Expected non-fatal failure in global tear-down."; in TearDown()
84 // We call this function to set the type of failure SetUp() should
122 // be generated by the global set-up.
123 int RunAllTests(MyEnvironment* env, FailureType failure) { in RunAllTests() argument
124 env->Reset(); in RunAllTests()
[all …]
/external/icu/icu4c/source/data/
Dbuild.xml2 <!ENTITY icu-config SYSTEM "./icu-config.xml">
3 <!ENTITY icu-locale-deprecates SYSTEM "./icu-locale-deprecates.xml">
4 <!ENTITY icu-coll-deprecates SYSTEM "./icu-coll-deprecates.xml">
5 <!ENTITY icu-rbnf-deprecates SYSTEM "./icu-rbnf-deprecates.xml">
7 <!--
12 * Copyright (C) 2005-2015, International Business Machines Corporation and *
16 -->
17 <project name="icu-build" default="all" basedir=".">
21 <!-- Load environment variables -->
22 <property environment="env"/>
[all …]
/external/ltp/testcases/commands/tpm-tools/tpmtoken/tpmtoken_import/
Dtpmtoken_import_tests_exp04.sh1 #! /usr/bin/expect -f
17 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 set P11_SO_PWD $env(P11_SO_PWD)
21 set P11_USER_PWD $env(P11_USER_PWD)
22 set TPM_CERTFILE $env(TPM_CERTFILE)
23 set TPM_KEYFILE $env(TPM_KEYFILE)
24 set TPM_COMBFILE $env(TPM_COMBFILE)
25 set SSL_PWD $env(SSL_PWD)
26 set TCID $env(TCID)
27 set timeout 30
[all …]
Dtpmtoken_import_tests_exp06.sh1 #! /usr/bin/expect -f
17 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 set P11_SO_PWD $env(P11_SO_PWD)
21 set P11_USER_PWD $env(P11_USER_PWD)
22 set TPM_CERTFILE $env(TPM_CERTFILE)
23 set TPM_KEYFILE $env(TPM_KEYFILE)
24 set TPM_COMBFILE $env(TPM_COMBFILE)
25 set SSL_PWD $env(SSL_PWD)
26 set TCID $env(TCID)
27 set timeout 30
[all …]
Dtpmtoken_import_tests_exp08.sh1 #! /usr/bin/expect -f
17 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 set P11_SO_PWD $env(P11_SO_PWD)
21 set P11_USER_PWD $env(P11_USER_PWD)
22 set TPM_CERTFILE $env(TPM_CERTFILE)
23 set TPM_KEYFILE $env(TPM_KEYFILE)
24 set TPM_COMBFILE $env(TPM_COMBFILE)
25 set SSL_PWD $env(SSL_PWD)
26 set TCID $env(TCID)
27 set timeout 30
[all …]
Dtpmtoken_import_tests_exp01.sh1 #! /usr/bin/expect -f
17 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 set P11_SO_PWD $env(P11_SO_PWD)
21 set P11_USER_PWD $env(P11_USER_PWD)
22 set TPM_CERTFILE $env(TPM_CERTFILE)
23 set TPM_KEYFILE $env(TPM_KEYFILE)
24 set TPM_COMBFILE $env(TPM_COMBFILE)
25 set SSL_PWD $env(SSL_PWD)
26 set TCID $env(TCID)
27 set timeout 30
[all …]
Dtpmtoken_import_tests_exp03.sh1 #! /usr/bin/expect -f
17 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 set P11_SO_PWD $env(P11_SO_PWD)
21 set P11_USER_PWD $env(P11_USER_PWD)
22 set TPM_CERTFILE $env(TPM_CERTFILE)
23 set TPM_KEYFILE $env(TPM_KEYFILE)
24 set TPM_COMBFILE $env(TPM_COMBFILE)
25 set SSL_PWD $env(SSL_PWD)
26 set TCID $env(TCID)
27 set timeout 30
[all …]
Dtpmtoken_import_tests_exp05.sh1 #! /usr/bin/expect -f
17 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 set P11_SO_PWD $env(P11_SO_PWD)
21 set P11_USER_PWD $env(P11_USER_PWD)
22 set TPM_CERTFILE $env(TPM_CERTFILE)
23 set TPM_KEYFILE $env(TPM_KEYFILE)
24 set TPM_COMBFILE $env(TPM_COMBFILE)
25 set SSL_PWD $env(SSL_PWD)
26 set TCID $env(TCID)
27 set timeout 30
[all …]
Dtpmtoken_import_tests_exp02.sh1 #! /usr/bin/expect -f
17 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 set P11_SO_PWD $env(P11_SO_PWD)
21 set P11_USER_PWD $env(P11_USER_PWD)
22 set TPM_CERTFILE $env(TPM_CERTFILE)
23 set TPM_KEYFILE $env(TPM_KEYFILE)
24 set TPM_COMBFILE $env(TPM_COMBFILE)
25 set SSL_PWD $env(SSL_PWD)
26 set TCID $env(TCID)
27 set timeout 30
[all …]
Dtpmtoken_import_tests_exp07.sh1 #! /usr/bin/expect -f
17 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 set P11_SO_PWD $env(P11_SO_PWD)
21 set P11_USER_PWD $env(P11_USER_PWD)
22 set TPM_CERTFILE $env(TPM_CERTFILE)
23 set TPM_KEYFILE $env(TPM_KEYFILE)
24 set TPM_COMBFILE $env(TPM_COMBFILE)
25 set SSL_PWD $env(SSL_PWD)
26 set TCID $env(TCID)
27 set timeout 30
[all …]
/external/tensorflow/tensorflow/tools/ci_build/
DDockerfile.rocm9 ARG ROCM_PATH=/opt/rocm-4.0.1
11 ENV DEBIAN_FRONTEND noninteractive
12 ENV TF_NEED_ROCM 1
13 ENV HOME /root/
14 RUN apt update && apt install -y wget software-properties-common
17 RUN apt-get clean all
18 RUN bin/bash -c 'if [[ $ROCM_DEB_REPO == http://repo.radeon.com/rocm/* ]] ; then \
19 wget -qO - $ROCM_DEB_REPO/rocm.gpg.key | apt-key add -; \
26 RUN apt-get update --allow-insecure-repositories && DEBIAN_FRONTEND=noninteractive apt-get install
27 build-essential \
[all …]
/external/libxkbcommon/
Dmeson.build19 '-fno-strict-aliasing',
20 '-fsanitize-undefined-trap-on-error',
21 '-Wno-unused-parameter',
22 '-Wno-missing-field-initializers',
23 '-Wpointer-arith',
24 '-Wmissing-declarations',
25 '-Wformat=2',
26 '-Wstrict-prototypes',
27 '-Wmissing-prototypes',
28 '-Wnested-externs',
[all …]
/external/oj-libjdwp/src/share/javavm/export/
Djmm.h19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
151 JMM_VMGLOBAL_ORIGIN_COMMAND_LINE = 2, /* Set at command line (or JNI invocation) */
152 JMM_VMGLOBAL_ORIGIN_MANAGEMENT = 3, /* Set via management interface */
153 JMM_VMGLOBAL_ORIGIN_ENVIRON_VAR = 4, /* Set via environment variables */
154 JMM_VMGLOBAL_ORIGIN_CONFIG_FILE = 5, /* Set via config file (such as .hotspotrc) */
155 JMM_VMGLOBAL_ORIGIN_ERGONOMIC = 6, /* Set via ergonomic */
156 JMM_VMGLOBAL_ORIGIN_OTHER = 99 /* Set via some other mechanism */
163 jmmVMGlobalOrigin origin; /* Default or non-default value */
177 /* Caller has to set the following fields before calling GetLastGCStat
178 * o usage_before_gc - array of MemoryUsage objects
[all …]
/external/eigen/cmake/
DFindGSL.cmake11 # on Unix/Linux with additional linker flags from "gsl-config --libs"
13 # CMAKE_GSL_CXX_FLAGS = Unix compiler flags for GSL, essentially "`gsl-config --cxxflags`"
23 # www.mip.informatik.uni-kiel.de
24 # --------------------------------
27 # JW tested with gsl-1.8, Windows XP, MSVS 7.1
28 SET(GSL_POSSIBLE_ROOT_DIRS
30 $ENV{GSL_ROOT_DIR}
33 $ENV{GSL_DIR}
34 $ENV{GSL_HOME}
35 $ENV{EXTRA}
[all …]
/external/turbine/java/com/google/turbine/deps/
DDependencies.java8 * http://www.apache.org/licenses/LICENSE-2.0
32 import com.google.turbine.binder.env.CompoundEnv;
33 import com.google.turbine.binder.env.Env;
34 import com.google.turbine.binder.env.SimpleEnv;
51 import java.util.Set;
59 Set<ClassSymbol> closure = superTypeClosure(bound, lowered); in collectDeps()
61 Set<String> jars = new LinkedHashSet<>(); in collectDeps()
69 if (bootclasspath.env().get(sym) != null) { in collectDeps()
89 private static Set<ClassSymbol> superTypeClosure(BindingResult bound, Lowered lowered) { in superTypeClosure()
90 Env<ClassSymbol, TypeBoundClass> env = in superTypeClosure() local
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_progs.c1 // SPDX-License-Identifier: GPL-2.0-only
11 struct test_env env; variable
32 if (sel->name && sel->name[0] && !strstr(name, sel->name)) in should_run()
35 if (!sel->num_set) in should_run()
38 return num < sel->num_set_len && sel->num_set[num]; in should_run()
43 if (stdout == env.stdout) in dump_test_log()
46 fflush(stdout); /* exports env.log_buf & env.log_cnt */ in dump_test_log()
48 if (env.verbosity > VERBOSE_NONE || test->force_log || failed) { in dump_test_log()
49 if (env.log_cnt) { in dump_test_log()
50 env.log_buf[env.log_cnt] = '\0'; in dump_test_log()
[all …]

12345678910>>...45