/external/webrtc/webrtc/tools/ |
D | simple_command_line_parser.cc | 94 std::string flag_name = GetCommandLineFlagName(*iter); in ProcessFlags() local 95 flag_iter = flags_.find(flag_name); in ProcessFlags() 98 fprintf(stdout, "Flag '%s' is not recognized\n", flag_name.c_str()); in ProcessFlags() 102 flags_[flag_name] = "true"; in ProcessFlags() 104 flags_[flag_name] = GetCommandLineFlagValue(*iter); in ProcessFlags() 117 void CommandLineParser::SetFlag(std::string flag_name, in SetFlag() argument 119 flags_[flag_name] = default_flag_value; in SetFlag() 122 std::string CommandLineParser::GetFlag(std::string flag_name) { in GetFlag() argument 124 flag_iter = flags_.find(flag_name); in GetFlag()
|
D | simple_command_line_parser.h | 59 void SetFlag(std::string flag_name, std::string default_flag_value); 64 std::string GetFlag(std::string flag_name);
|
/external/tensorflow/tensorflow/python/platform/ |
D | flags_test.py | 30 flag_name='old_string', default_value='default', docstring='docstring') 34 flag_name='old_integer', default_value=1, docstring='docstring') 38 flag_name='old_float', default_value=1.5, docstring='docstring') 42 flag_name='old_bool', default_value=True, docstring='docstring') 46 flag_name='old_boolean', default_value=False, docstring='docstring') 120 for flag_name, default_value in test_cases: 121 self.assertEqual(default_value, absl_flags.FLAGS[flag_name].default) 122 self.assertEqual('docstring', absl_flags.FLAGS[flag_name].help)
|
/external/toolchain-utils/bestflags/ |
D | flags_test.py | 111 for flag_name in flag_names: 112 spec = '%s' % flag_name 117 for flag_name in flag_names: 118 spec = '%s' % flag_name 120 other_flag_sets = [other for other in flag_names if flag_name != other] 178 for flag_name in flag_names: 179 spec = '%s' % flag_name
|
/external/mesa3d/scons/ |
D | custom.py | 192 for flag_name, flag_value in flags.items(): 193 assert '_' not in flag_name 194 env[prefix + flag_name] = flag_value 225 for flag_name, flag_value in env.Dictionary().items(): 226 if flag_name.startswith(prefix): 227 flag_name = flag_name[len(prefix):] 228 if '_' not in flag_name: 229 flags[flag_name] = flag_value
|
/external/tensorflow/tensorflow/core/util/ |
D | use_cudnn.cc | 25 #define ADD_BOOL_CUDNN_FLAG(func_name, flag_name, default_value) \ argument 28 Status status = ReadBoolFromEnvVar(#flag_name, default_value, &value); \ 59 #define ADD_INT64_CUDNN_FLAG(func_name, flag_name, default_value) \ argument 62 Status status = ReadInt64FromEnvVar(#flag_name, default_value, &value); \
|
/external/protobuf/src/google/protobuf/compiler/ |
D | command_line_interface.h | 113 void RegisterGenerator(const string& flag_name, 125 void RegisterGenerator(const string& flag_name, 301 string flag_name; member
|
D | command_line_interface.cc | 710 void CommandLineInterface::RegisterGenerator(const string& flag_name, in RegisterGenerator() argument 714 info.flag_name = flag_name; in RegisterGenerator() 717 generators_by_flag_name_[flag_name] = info; in RegisterGenerator() 720 void CommandLineInterface::RegisterGenerator(const string& flag_name, in RegisterGenerator() argument 725 info.flag_name = flag_name; in RegisterGenerator() 729 generators_by_flag_name_[flag_name] = info; in RegisterGenerator() 1300 string* parameters = &generator_parameters_[generator_info->flag_name]; in InterpretArgument()
|
/external/tensorflow/tensorflow/python/tpu/ |
D | tensor_tracer.py | 296 flag_name = match.group(1) 297 if flag_name not in valid_flag_names: 301 '\n%s'%(flag_name, _FLAGS_ENV_VAR, valid_flag_names)) 320 flag_name = match.group(1) 325 result += ' %s: %s\n'%(flag_name, flag_value) 354 flag_name = match.group(1) 359 if flag_name == wanted_flag_name: 365 def flag_value_to_re_list(flag_name): argument 369 found, flag_value = TensorTracer.get_flag_value(flag_name) 379 def _is_flag_on(flag_name): argument [all …]
|
/external/tensorflow/tensorflow/lite/toco/ |
D | toco_cmdline_flags.cc | 199 void EnforceFlagRequirement(const T& flag, const string& flag_name, in EnforceFlagRequirement() argument 202 QCHECK(flag.specified()) << "Missing required flag " << flag_name; in EnforceFlagRequirement() 207 << flag_name; in EnforceFlagRequirement()
|
/external/gflags/src/ |
D | gflags.cc | 768 const char* flag_name; in SplitArgumentLocked() local 778 flag_name = key->c_str(); in SplitArgumentLocked() 780 CommandLineFlag* flag = FindFlagLocked(flag_name); in SplitArgumentLocked() 787 if (!(flag_name[0] == 'n' && flag_name[1] == 'o')) { in SplitArgumentLocked() 793 flag = FindFlagLocked(flag_name+2); in SplitArgumentLocked() 809 key->assign(flag_name+2); // the name without the "no" in SplitArgumentLocked()
|
/external/googletest/googletest/include/gtest/internal/custom/ |
D | README.md | 20 * `GTEST_FLAG(flag_name)`
|
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/custom/ |
D | README.md | 20 * `GTEST_FLAG(flag_name)`
|
/external/vboot_reference/scripts/image_signing/lib/shflags/ |
D | shflags | 70 # FLAGS_<flag_name>: contains value of flag named 'flag_name' 71 # __flags_<flag_name>_default: the default flag value 72 # __flags_<flag_name>_help: the flag help string 73 # __flags_<flag_name>_short: the flag short name 74 # __flags_<flag_name>_type: the flag type 199 # __flags_<flag_name>_default - the default value
|
/external/adhd/cras/src/server/ |
D | cras_alsa_ucm.h | 90 char *ucm_get_flag(struct cras_use_case_mgr *mgr, const char *flag_name);
|
D | cras_alsa_ucm.c | 489 char *ucm_get_flag(struct cras_use_case_mgr *mgr, const char *flag_name) in ucm_get_flag() argument 496 rc = get_var(mgr, flag_name, "", uc_verb(mgr), &value); in ucm_get_flag()
|
D | cras_alsa_io.c | 985 const char *flag_name, in get_ucm_flag_integer() argument 994 value = ucm_get_flag(aio->ucm, flag_name); in get_ucm_flag_integer()
|
/external/shflags/lib/ |
D | shflags | 76 # FLAGS_<flag_name>: contains value of flag named 'flag_name' 77 # __flags_<flag_name>_default: the default flag value 78 # __flags_<flag_name>_help: the flag help string 79 # __flags_<flag_name>_short: the flag short name 80 # __flags_<flag_name>_type: the flag type 223 # __flags_<flag_name>_default - the default value
|
/external/shflags/src/ |
D | shflags | 75 # FLAGS_<flag_name>: contains value of flag named 'flag_name' 76 # __flags_<flag_name>_default: the default flag value 77 # __flags_<flag_name>_help: the flag help string 78 # __flags_<flag_name>_short: the flag short name 79 # __flags_<flag_name>_type: the flag type 222 # __flags_<flag_name>_default - the default value
|
/external/oj-libjdwp/src/share/javavm/export/ |
D | jmm.h | 317 jstring flag_name,
|
/external/fonttools/Lib/fontTools/voltLib/ |
D | parser.py | 545 flag_name = self.cur_token_ 547 setting = ast.SettingDefinition(flag_name, value, location=location)
|
/external/google-fruit/extras/benchmark/ |
D | run_benchmarks.py | 233 …benchmark_generation_flags = {flag_name: True for flag_name in self.benchmark_definition['benchmar…
|
/external/adhd/cras/src/tests/ |
D | alsa_card_unittest.cc | 1090 char *ucm_get_flag(struct cras_use_case_mgr *mgr, const char *flag_name) { in ucm_get_flag() argument 1092 strncpy(ucm_get_flag_name, flag_name, sizeof(ucm_get_flag_name)); in ucm_get_flag()
|
D | alsa_io_unittest.cc | 2699 char *ucm_get_flag(struct cras_use_case_mgr *mgr, const char *flag_name) { in ucm_get_flag() argument 2700 if ((!strcmp(flag_name, "AutoUnplugInputNode") && in ucm_get_flag() 2702 (!strcmp(flag_name, "AutoUnplugOutputNode") && in ucm_get_flag()
|
/external/python/cpython3/Modules/ |
D | socketmodule.c | 316 const char flag_name[20]; member 367 win_runtime_flags[i].flag_name) != NULL) in remove_unusable_flags() 371 win_runtime_flags[i].flag_name)) in remove_unusable_flags()
|