Home
last modified time | relevance | path

Searched refs:flag_value (Results 1 – 22 of 22) sorted by relevance

/external/google-breakpad/src/testing/gtest/test/
Dgtest_break_on_failure_unittest.py105 def RunAndVerify(self, env_var_value, flag_value, expect_seg_fault): argument
125 if flag_value is None:
127 elif flag_value == '0':
154 flag_value=None,
161 flag_value=None,
164 flag_value=None,
171 flag_value='0',
174 flag_value='1',
181 flag_value='0',
184 flag_value='1',
[all …]
Dgtest_throw_on_failure_test.py83 def RunAndVerify(self, env_var_value, flag_value, should_fail): argument
102 if flag_value is None:
104 elif flag_value == '0':
131 self.RunAndVerify(env_var_value=None, flag_value=None, should_fail=False)
137 flag_value=None,
140 flag_value=None,
147 flag_value='0',
150 flag_value='1',
157 flag_value='0',
160 flag_value='1',
[all …]
Dgtest_list_tests_unittest.py103 def RunAndVerify(self, flag_value, expected_output, other_flag): argument
118 if flag_value is None:
121 elif flag_value == '0':
146 self.RunAndVerify(flag_value=None,
153 self.RunAndVerify(flag_value='0',
156 self.RunAndVerify(flag_value='1',
163 self.RunAndVerify(flag_value='1',
171 self.RunAndVerify(flag_value='1',
/external/googletest/googletest/test/
Dgoogletest-break-on-failure-unittest.py95 def RunAndVerify(self, env_var_value, flag_value, expect_seg_fault): argument
115 if flag_value is None:
117 elif flag_value == '0':
144 flag_value=None,
151 flag_value=None,
154 flag_value=None,
161 flag_value='0',
164 flag_value='1',
171 flag_value='0',
174 flag_value='1',
[all …]
Dgoogletest-throw-on-failure-test.py80 def RunAndVerify(self, env_var_value, flag_value, should_fail): argument
99 if flag_value is None:
101 elif flag_value == '0':
128 self.RunAndVerify(env_var_value=None, flag_value=None, should_fail=False)
134 flag_value=None,
137 flag_value=None,
144 flag_value='0',
147 flag_value='1',
154 flag_value='0',
157 flag_value='1',
[all …]
Dgoogletest-list-tests-unittest.py127 def RunAndVerify(self, flag_value, expected_output_re, other_flag): argument
141 if flag_value is None:
144 elif flag_value == '0':
174 self.RunAndVerify(flag_value=None,
181 self.RunAndVerify(flag_value='0',
184 self.RunAndVerify(flag_value='1',
191 self.RunAndVerify(flag_value='1',
199 self.RunAndVerify(flag_value='1',
/external/tensorflow/tensorflow/lite/tools/benchmark/
Dcommand_line_flags.cc48 bool ParseFlag(const std::string& flag_value, in ParseFlag() argument
50 std::istringstream stream(flag_value); in ParseFlag()
60 bool ParseBoolFlag(const std::string& flag_value, in ParseBoolFlag() argument
62 if (flag_value != "true" && flag_value != "false" && flag_value != "0" && in ParseBoolFlag()
63 flag_value != "1") { in ParseBoolFlag()
67 hook(flag_value == "true" || flag_value == "1"); in ParseBoolFlag()
76 value_hook_([hook](const std::string& flag_value) { in Flag() argument
77 return ParseFlag<int32_t>(flag_value, hook); in Flag()
86 value_hook_([hook](const std::string& flag_value) { in Flag() argument
87 return ParseFlag<int64_t>(flag_value, hook); in Flag()
[all …]
/external/tensorflow/tensorflow/lite/toco/
Dtoco_cmdline_flags.cc231 auto flag_value = GetFlagValue(parsed_toco_flags.name, requirement); \ in ReadTocoFlagsFromCommandLineFlags()
232 if (flag_value.has_value()) { \ in ReadTocoFlagsFromCommandLineFlags()
233 toco_flags->set_##name(flag_value.value()); \ in ReadTocoFlagsFromCommandLineFlags()
240 auto flag_value = GetFlagValue(parsed_toco_flags.name, requirement); \ in ReadTocoFlagsFromCommandLineFlags()
241 if (flag_value.has_value()) { \ in ReadTocoFlagsFromCommandLineFlags()
243 QCHECK(Type##_Parse(flag_value.value(), &x)) \ in ReadTocoFlagsFromCommandLineFlags()
/external/mesa3d/scons/
Dcustom.py192 for flag_name, flag_value in flags.items():
194 env[prefix + flag_name] = flag_value
225 for flag_name, flag_value in env.Dictionary().items():
229 flags[flag_name] = flag_value
/external/tensorflow/tensorflow/examples/saved_model/integration_tests/
Dsaved_model_part2_test.py35 for flag_key, flag_value in flags.items():
36 command_parts.append("--%s=%s" % (flag_key, flag_value))
Dsaved_model_part1_test.py35 for flag_key, flag_value in flags.items():
36 command_parts.append("--%s=%s" % (flag_key, flag_value))
/external/tensorflow/tensorflow/python/tpu/
Dtensor_tracer.py322 flag_value = match.group(2)
324 flag_value = None
325 result += ' %s: %s\n'%(flag_name, flag_value)
356 flag_value = match.group(2)
358 flag_value = None
360 return True, flag_value
369 found, flag_value = TensorTracer.get_flag_value(flag_name)
370 if not found or not flag_value:
372 list_of_values = flag_value.split()
382 found, flag_value = TensorTracer.get_flag_value(flag_name)
[all …]
/external/mesa3d/src/intel/compiler/
Dbrw_compile_sf.c67 unsigned flag_value; member
432 if (value != c->flag_value) { in set_predicate_control_flag_value()
434 c->flag_value = value; in set_predicate_control_flag_value()
446 c->flag_value = 0xff; in brw_emit_tri_setup()
535 c->flag_value = 0xff; in brw_emit_line_setup()
607 c->flag_value = 0xff; in brw_emit_point_sprite_setup()
699 c->flag_value = 0xff; in brw_emit_point_setup()
/external/python/cpython3/Lib/
Denum.py811 flag_value = 2 ** bit
812 if (flag_value not in cls._value2member_map_ and
813 flag_value not in need_to_create
815 need_to_create.append(flag_value)
816 if extra_flags == -flag_value:
819 extra_flags ^= flag_value
/external/iproute2/tc/
Dm_csum.c184 #define CSUM_UFLAG_BUFFER(flag_buffer, flag_value, flag_string) \ in print_csum() argument
186 if (sel->update_flags & flag_value) { \ in print_csum()
/external/adhd/cras/src/tests/
Dalsa_ucm_unittest.cc623 char *flag_value; in TEST() local
631 flag_value = ucm_get_flag(mgr, "FlagName"); in TEST()
632 ASSERT_TRUE(flag_value); in TEST()
633 EXPECT_EQ(0, strcmp(flag_value, value.c_str())); in TEST()
634 free(flag_value); in TEST()
/external/adhd/cras/src/server/
Dcras_alsa_ucm.c491 char *flag_value = NULL; in ucm_get_flag() local
498 flag_value = strdup(value); in ucm_get_flag()
502 return flag_value; in ucm_get_flag()
/external/gflags/src/
Dgflags.cc821 bool TryParseLocked(const CommandLineFlag* flag, FlagValue* flag_value, in TryParseLocked() argument
824 FlagValue* tentative_value = flag_value->New(); in TryParseLocked()
844 flag_value->CopyFrom(*tentative_value); in TryParseLocked()
847 flag->name(), flag_value->ToString().c_str()); in TryParseLocked()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dmeta_optimizer_test.cc44 static void SetOptimized(const bool flag_value) { optimized_ = flag_value; } in SetOptimized() argument
/external/webrtc/talk/app/webrtc/
Dwebrtcsdp.cc2622 std::string flag_value; in ParseContent() local
2623 if (!GetValue(line, kAttributeXGoogleFlag, &flag_value, error)) { in ParseContent()
2626 if (flag_value.compare(kValueConference) == 0) in ParseContent()
/external/v8/src/
Dcode-stub-assembler.cc12248 TNode<Word32T> flag_value = UncheckedCast<Word32T>(Load( in IsRuntimeCallStatsEnabled() local
12251 return Word32NotEqual(flag_value, Int32Constant(0)); in IsRuntimeCallStatsEnabled()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_shader.c9798 static int emit_setret_in_loop_flag(struct r600_shader_ctx *ctx, unsigned flag_value)