Home
last modified time | relevance | path

Searched refs:flag_name (Results 1 – 23 of 23) sorted by relevance

/third_party/abseil-cpp/absl/flags/
Dparse.cc274 absl::string_view flag_name = arg.substr(0, equal_sign_pos); in SplitNameAndValue() local
284 return std::make_tuple(flag_name, value, is_empty_value); in SplitNameAndValue()
292 std::tuple<CommandLineFlag*, bool> LocateFlag(absl::string_view flag_name) { in LocateFlag() argument
293 CommandLineFlag* flag = absl::FindCommandLineFlag(flag_name); in LocateFlag()
296 if (!flag && absl::ConsumePrefix(&flag_name, "no")) { in LocateFlag()
297 flag = absl::FindCommandLineFlag(flag_name); in LocateFlag()
363 for (const auto& flag_name : flag_names) { in ReadFlagsFromEnv() local
365 if (flag_name == "fromenv" || flag_name == "tryfromenv") { in ReadFlagsFromEnv()
367 absl::StrCat("Infinite recursion on flag ", flag_name), true); in ReadFlagsFromEnv()
373 const std::string envname = absl::StrCat("FLAGS_", flag_name); in ReadFlagsFromEnv()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/
Dparse.cc274 absl::string_view flag_name = arg.substr(0, equal_sign_pos); in SplitNameAndValue() local
284 return std::make_tuple(flag_name, value, is_empty_value); in SplitNameAndValue()
292 std::tuple<CommandLineFlag*, bool> LocateFlag(absl::string_view flag_name) { in LocateFlag() argument
293 CommandLineFlag* flag = absl::FindCommandLineFlag(flag_name); in LocateFlag()
296 if (!flag && absl::ConsumePrefix(&flag_name, "no")) { in LocateFlag()
297 flag = absl::FindCommandLineFlag(flag_name); in LocateFlag()
363 for (const auto& flag_name : flag_names) { in ReadFlagsFromEnv() local
365 if (flag_name == "fromenv" || flag_name == "tryfromenv") { in ReadFlagsFromEnv()
367 absl::StrCat("Infinite recursion on flag ", flag_name), true); in ReadFlagsFromEnv()
373 const std::string envname = absl::StrCat("FLAGS_", flag_name); in ReadFlagsFromEnv()
[all …]
/third_party/ltp/testcases/kernel/syscalls/statx/
Dstatx07.c49 #define FLAG_NAME(x) .flag = x, .flag_name = #x
66 static int get_mode(char *file_name, int flag_type, char *flag_name) in get_mode() argument
75 file_name, flag_name); in get_mode()
79 file_name, flag_name, buf.stx_mode); in get_mode()
86 char *flag_name; member
103 cur_mode = get_mode(tc->client_file, tc->flag, tc->flag_name); in test_statx()
108 tc->flag_name, tc->mode); in test_statx()
112 tc->flag_name, tc->mode, MODE(cur_mode)); in test_statx()
/third_party/skia/bazel/common_config_settings/
DBUILD.bazel79 flag_name = "gpu_backend",
88 flag_name = "with_gl_standard",
98 flag_name = "fontmgr_factory",
106 flag_name = "include_codec",
Ddefs.bzl32 def string_flag_with_values(flag_name, values, default = "", multiple = False):
35 name = flag_name,
48 name = flag_name,
67 ":" + flag_name: v,
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/internal/
Dregistry.h85 void Retire(const char* flag_name) { in Retire() argument
86 flags_internal::Retire(flag_name, base_internal::FastTypeId<T>(), buf_); in Retire()
Dparse.h53 bool WasPresentOnCommandLine(absl::string_view flag_name);
/third_party/abseil-cpp/absl/flags/internal/
Dregistry.h86 void Retire(const char* flag_name) { in Retire() argument
87 flags_internal::Retire(flag_name, base_internal::FastTypeId<T>(), buf_); in Retire()
Dparse.h53 bool WasPresentOnCommandLine(absl::string_view flag_name);
/third_party/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface.h133 void RegisterGenerator(const std::string& flag_name, CodeGenerator* generator,
144 void RegisterGenerator(const std::string& flag_name,
352 std::string flag_name; member
Dcommand_line_interface.cc781 void CommandLineInterface::RegisterGenerator(const std::string& flag_name, in RegisterGenerator() argument
785 info.flag_name = flag_name; in RegisterGenerator()
788 generators_by_flag_name_[flag_name] = info; in RegisterGenerator()
792 const std::string& flag_name, const std::string& option_flag_name, in RegisterGenerator() argument
795 info.flag_name = flag_name; in RegisterGenerator()
799 generators_by_flag_name_[flag_name] = info; in RegisterGenerator()
1818 &generator_parameters_[generator_info->flag_name]; in InterpretArgument()
/third_party/mindspore/mindspore/ccsrc/utils/context/
Dgraph_kernel_flags.cc89 void AddFlag(const std::string &flag_name, T *const flag_var, T default_value = T()) const { in AddFlag() argument
90 auto iter = flag_map_.find(flag_name); in AddFlag()
/third_party/googletest/googletest/include/gtest/internal/custom/
DREADME.md20 * `GTEST_FLAG(flag_name)`
/third_party/mesa3d/src/gtest/include/gtest/internal/custom/
DREADME.md20 * `GTEST_FLAG(flag_name)`
/third_party/flutter/skia/tools/fm/
Dfm.cpp83 const char* flag_name, in parse_flag() argument
92 fprintf(stderr, "Known values for --%s:\n", flag_name); in parse_flag()
94 fprintf(stderr, " --%s %s\n", flag_name, entry.label); in parse_flag()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dgen_vk_internal_shaders.py403 flag_name = flags[f]
404 glslang_args.append('-D' + flag_name + '=1')
407 variation_string += '|' + flag_name
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dgen_vk_internal_shaders.py497 flag_name = get_variation_name(flag)
499 glslang_args.append('-D' + flag_name + '=1')
502 variation_string += '|' + flag_name
/third_party/skia/tools/fm/
Dfm.cpp107 const char* flag_name, in parse_flag() argument
116 fprintf(stderr, "Known values for --%s:\n", flag_name); in parse_flag()
118 fprintf(stderr, " --%s %s\n", flag_name, entry.label); in parse_flag()
/third_party/ffmpeg/libavutil/
Dopt.h467 int av_opt_flag_is_set(void *obj, const char *field_name, const char *flag_name);
Dopt.c1048 int av_opt_flag_is_set(void *obj, const char *field_name, const char *flag_name) in av_opt_flag_is_set() argument
1051 const AVOption *flag = av_opt_find(obj, flag_name, in av_opt_flag_is_set()
/third_party/python/Modules/
Dsocketmodule.c310 const char flag_name[20]; member
359 PyObject *flag_name = PyUnicode_FromString(win_runtime_flags[i].flag_name); in remove_unusable_flags() local
360 if (flag_name == NULL) { in remove_unusable_flags()
363 PyObject *v = _PyDict_Pop(dict, flag_name, Py_None); in remove_unusable_flags()
364 Py_DECREF(flag_name); in remove_unusable_flags()
/third_party/ejdb/src/bindings/ejdb2_dart/lib/
Ddart_api.h958 DART_EXPORT bool Dart_IsVMFlagSet(const char* flag_name);
/third_party/libnl/doc/
Droute.txt466 int rtnl_link_str2flags(const char *flag_name);