Home
last modified time | relevance | path

Searched refs:add_var (Results 1 – 8 of 8) sorted by relevance

/external/pigweed/pw_cli/py/pw_cli/
Denv.py26 parser.add_var('PW_BOOTSTRAP_PYTHON')
27 parser.add_var('PW_ENABLE_PRESUBMIT_HOOK_WARNING', default=False)
28 parser.add_var('PW_EMOJI', type=envparse.strict_bool, default=False)
29 parser.add_var('PW_ENVSETUP')
30 parser.add_var('PW_ENVSETUP_FULL')
31 parser.add_var(
34 parser.add_var(
37 parser.add_var('PW_ENVIRONMENT_ROOT', type=Path)
38 parser.add_var('PW_PACKAGE_ROOT', type=Path)
39 parser.add_var('PW_PROJECT_ROOT', type=Path)
[all …]
Denvparse.py102 def add_var( member in EnvironmentParser
/external/pigweed/pw_cli/py/
Denvparse_test.py43 self.parser.add_var('PATH')
44 self.parser.add_var('FOO', type=int)
45 self.parser.add_var('BAR', type=bool)
46 self.parser.add_var('BAZ', type=float, default=math.pi)
47 self.parser.add_var('ReVeRsE', type=lambda s: s[::-1])
48 self.parser.add_var('INT', type=int)
49 self.parser.add_var('ERROR', type=error)
108 parser.add_var('PW_FOO')
109 parser.add_var('PW_BAR')
136 parser.add_var('PW_FOO')
[all …]
/external/tensorflow/tensorflow/python/eager/
Ddef_function_xla_test.py30 def add_var(x): function
40 self.assertAllClose([13., 14.], add_var(constant_op.constant(2.)))
Ddef_function_test.py781 def add_var(x): function
791 add_var.get_concrete_function(constant_op.constant(2.))
792 self.assertAllClose([13., 14.], add_var(constant_op.constant(2.)))
868 def add_var(x): function
880 return add_var(x)
/external/mesa3d/src/compiler/nir/
Dnir_propagate_invariant.c66 add_var(nir_variable *var, struct set *invariants) in add_var() function
113 add_var(nir_intrinsic_get_var(intrin, 1), invariants); in propagate_invariant_instr()
118 add_var(nir_intrinsic_get_var(intrin, 0), invariants); in propagate_invariant_instr()
/external/libtracefs/src/
Dtracefs-hist.c975 static int add_var(char ***list, const char *name, const char *var, bool is_var) in add_var() function
1251 ret = add_var(&synth->end_vars, name, end_match_field, false); in tracefs_synth_add_match_field()
1406 ret = add_var(&synth->start_vars, start_arg, start_compare_field, false); in tracefs_synth_add_compare_field()
1432 ret = add_var(&synth->end_vars, hname, compare, false); in tracefs_synth_add_compare_field()
1476 ret = add_var(&synth->start_vars, start_arg, start_field, false); in synth_add_start_field()
1480 ret = add_var(&synth->end_vars, var, start_arg, true); in synth_add_start_field()
1578 ret = add_var(&synth->end_vars, name ? hname : tmp_var, end_field, false); in tracefs_synth_add_end_field()
/external/python/cpython3/Tools/peg_generator/pegen/
Dc_generator.py842 name, type = self.add_var(item)
846 def add_var(self, node: NamedItem) -> Tuple[Optional[str], Optional[str]]: member in CParserGenerator