Home
last modified time | relevance | path

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

12

/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/
Dcommand_line_flags.cc58 bool ParseFlag(const std::string& flag_value, in ParseFlag() argument
60 std::istringstream stream(flag_value); in ParseFlag()
70 bool ParseBoolFlag(const std::string& flag_value, in ParseBoolFlag() argument
72 if (flag_value != "true" && flag_value != "false" && flag_value != "0" && in ParseBoolFlag()
73 flag_value != "1") { in ParseBoolFlag()
77 hook(flag_value == "true" || flag_value == "1"); in ParseBoolFlag()
87 value_hook_([hook](const std::string& flag_value) { in Flag() argument
88 return ParseFlag<int32_t>(flag_value, hook); in Flag()
99 value_hook_([hook](const std::string& flag_value) { in Flag() argument
100 return ParseFlag<int64_t>(flag_value, hook); in Flag()
[all …]
/external/tensorflow/tensorflow/python/tpu/
Dtensor_tracer_flags.py337 found, flag_value = self.get_flag_value(wanted_flag_name)
340 string_value_list = flag_value.split(',')
355 found, flag_value = self.get_flag_value(wanted_flag_name)
357 if found and flag_value:
359 integer_values = flag_value.split(',')
378 found, flag_value = self.get_flag_value(wanted_flag_name)
382 flag_int_value = int(flag_value)
413 flag_value = match.group(2)
415 flag_value = None
417 return True, flag_value
[all …]
/external/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
DAppleObjCTrampolineHandler.cpp1113 Value flag_value; in GetStepThroughDispatchPlan() local
1117 flag_value.SetValueType(Value::eValueTypeScalar); in GetStepThroughDispatchPlan()
1119 flag_value.SetCompilerType(clang_int_type); in GetStepThroughDispatchPlan()
1122 flag_value.GetScalar() = 1; in GetStepThroughDispatchPlan()
1124 flag_value.GetScalar() = 0; in GetStepThroughDispatchPlan()
1125 dispatch_values.PushValue(flag_value); in GetStepThroughDispatchPlan()
1128 flag_value.GetScalar() = 1; in GetStepThroughDispatchPlan()
1130 flag_value.GetScalar() = 0; in GetStepThroughDispatchPlan()
1131 dispatch_values.PushValue(flag_value); in GetStepThroughDispatchPlan()
1134 flag_value.GetScalar() = 1; in GetStepThroughDispatchPlan()
[all …]
/external/llvm-project/openmp/runtime/test/tasking/
Domp50_taskwait_depend.c20 int flag_value; in wait_on_flag() local
25 flag_value = *flag; in wait_on_flag()
32 } while (flag_value == 0); in wait_on_flag()
Dtaskdep_if0_2.c13 int flag_value; in wait_on_flag() local
18 flag_value = *flag; in wait_on_flag()
25 } while (flag_value == 0); in wait_on_flag()
/external/llvm-project/flang/module/
Dieee_exceptions.f9050 elemental subroutine ieee_get_flag(flag, flag_value) argument
52 logical, intent(out) :: flag_value local
68 pure subroutine ieee_set_flag(flag, flag_value) argument
70 logical, intent(in) :: flag_value local
/external/tensorflow/tensorflow/lite/toco/
Dtoco_cmdline_flags.cc247 auto flag_value = GetFlagValue(parsed_toco_flags.name, requirement); \ in ReadTocoFlagsFromCommandLineFlags()
248 if (flag_value.has_value()) { \ in ReadTocoFlagsFromCommandLineFlags()
249 toco_flags->set_##name(flag_value.value()); \ in ReadTocoFlagsFromCommandLineFlags()
256 auto flag_value = GetFlagValue(parsed_toco_flags.name, requirement); \ in ReadTocoFlagsFromCommandLineFlags()
257 if (flag_value.has_value()) { \ in ReadTocoFlagsFromCommandLineFlags()
259 QCHECK(Type##_Parse(flag_value.value(), &x)) \ in ReadTocoFlagsFromCommandLineFlags()
/external/python/cpython3/Lib/
Denum.py827 flag_value = 2 ** bit
828 if (flag_value not in cls._value2member_map_ and
829 flag_value not in need_to_create
831 need_to_create.append(flag_value)
832 if extra_flags == -flag_value:
835 extra_flags ^= flag_value
902 flag_value = 2 ** _high_bit(tmp)
903 if flag_value in flag._value2member_map_:
904 members.append(flag._value2member_map_[flag_value])
905 not_covered &= ~flag_value
[all …]
/external/mesa3d/scons/
Dcustom.py197 for flag_name, flag_value in flags.items():
199 env[prefix + flag_name] = flag_value
230 for flag_name, flag_value in env.Dictionary().items():
234 flags[flag_name] = flag_value
/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/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/igt-gpu-tools/assembler/
Dbrw_eu.c73 if (value != p->flag_value) { in brw_set_predicate_control_flag_value()
76 p->flag_value = value; in brw_set_predicate_control_flag_value()
/external/protobuf/
Dcompiler_config_setting.bzl6 # "@bazel_tools//tools/cpp:compiler" flag_value, and newer ones that do.
/external/brotli/
Dcompiler_config_setting.bzl11 # "@bazel_tools//tools/cpp:compiler" flag_value, and newer ones that do.
/external/webrtc/third_party/abseil-cpp/absl/
Dcompiler_config_setting.bzl21 # "@bazel_tools//tools/cpp:compiler" flag_value, and newer ones that do.
/external/abseil-cpp/absl/
Dcompiler_config_setting.bzl21 # "@bazel_tools//tools/cpp:compiler" flag_value, and newer ones that do.
/external/libtextclassifier/abseil-cpp/absl/
Dcompiler_config_setting.bzl21 # "@bazel_tools//tools/cpp:compiler" flag_value, and newer ones that do.
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/
Dcompiler_config_setting.bzl21 # "@bazel_tools//tools/cpp:compiler" flag_value, and newer ones that do.
/external/adhd/cras/src/tests/
Dalsa_ucm_unittest.cc768 char* flag_value; in TEST() local
776 flag_value = ucm_get_flag(mgr, "FlagName"); in TEST()
777 ASSERT_TRUE(flag_value); in TEST()
778 EXPECT_EQ(0, strcmp(flag_value, value.c_str())); in TEST()
779 free(flag_value); in TEST()
/external/llvm-project/llvm/cmake/modules/
DLLVMExternalProjectUtils.cmake238 string(REGEX REPLACE "^-DCMAKE_${type}_FLAGS=(.*)$" "\\1" flag_value "${arg}")
239 set(${type}_flag "${${type}_flag} ${flag_value}")
/external/adhd/cras/src/server/
Dcras_alsa_ucm.c579 char *flag_value = NULL; in ucm_get_flag() local
586 flag_value = strdup(value); in ucm_get_flag()
590 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()

12