Home
last modified time | relevance | path

Searched refs:flags_internal (Results 1 – 25 of 216) sorted by relevance

123456789

/external/openscreen/third_party/abseil/src/absl/flags/
Dflag.h72 using Flag = flags_internal::Flag<T>;
89 namespace flags_internal {
101 const flags_internal::HelpGenFunc help_gen,
102 const flags_internal::FlagDfltGenFunc default_value_gen)
111 flags_internal::Flag<T>& GetImpl() const {
113 absl::MutexLock l(flags_internal::GetGlobalConstructionGuard());
119 impl_ = new flags_internal::Flag<T>(
121 {flags_internal::FlagHelpMsg(help_gen_),
122 flags_internal::FlagHelpKind::kGenFunc},
123 {flags_internal::FlagDefaultSrc(default_value_gen_),
[all …]
Dparse.cc59 namespace flags_internal { namespace
97 absl::MutexLock l(&absl::flags_internal::processing_checks_guard); in __anonb618bf640202()
101 if (absl::flags_internal::flagfile_needs_processing) { in __anonb618bf640202()
105 absl::flags_internal::flagfile_needs_processing = true; in __anonb618bf640202()
113 absl::MutexLock l(&absl::flags_internal::processing_checks_guard); in __anonb618bf640302()
117 if (absl::flags_internal::fromenv_needs_processing) { in __anonb618bf640302()
121 absl::flags_internal::fromenv_needs_processing = true; in __anonb618bf640302()
129 absl::MutexLock l(&absl::flags_internal::processing_checks_guard); in __anonb618bf640402()
133 if (absl::flags_internal::tryfromenv_needs_processing) { in __anonb618bf640402()
138 absl::flags_internal::tryfromenv_needs_processing = true; in __anonb618bf640402()
[all …]
Dusage_config.cc43 namespace flags_internal { namespace
56 auto suffix = flags_internal::Basename(filename); in ContainsHelpshortFlags()
57 auto program_name = flags_internal::ShortProgramInvocationName(); in ContainsHelpshortFlags()
81 std::string version_str(flags_internal::ShortProgramInvocationName()); in VersionString()
138 absl::MutexLock l(&flags_internal::custom_usage_config_guard); in SetFlagsUsageConfig()
142 flags_internal::ContainsHelpshortFlags; in SetFlagsUsageConfig()
145 usage_config.contains_help_flags = flags_internal::ContainsHelppackageFlags; in SetFlagsUsageConfig()
149 flags_internal::ContainsHelppackageFlags; in SetFlagsUsageConfig()
152 usage_config.version_string = flags_internal::VersionString; in SetFlagsUsageConfig()
155 usage_config.normalize_filename = flags_internal::NormalizeFilename; in SetFlagsUsageConfig()
[all …]
/external/libtextclassifier/abseil-cpp/absl/flags/
Dflag.h72 using Flag = flags_internal::Flag<T>;
89 namespace flags_internal {
101 const flags_internal::HelpGenFunc help_gen,
102 const flags_internal::FlagDfltGenFunc default_value_gen)
111 flags_internal::Flag<T>& GetImpl() const {
113 absl::MutexLock l(flags_internal::GetGlobalConstructionGuard());
119 impl_ = new flags_internal::Flag<T>(
121 {flags_internal::FlagHelpMsg(help_gen_),
122 flags_internal::FlagHelpKind::kGenFunc},
123 {flags_internal::FlagDefaultSrc(default_value_gen_),
[all …]
Dparse.cc59 namespace flags_internal { namespace
97 absl::MutexLock l(&absl::flags_internal::processing_checks_guard); in __anonffc8a1b30202()
101 if (absl::flags_internal::flagfile_needs_processing) { in __anonffc8a1b30202()
105 absl::flags_internal::flagfile_needs_processing = true; in __anonffc8a1b30202()
113 absl::MutexLock l(&absl::flags_internal::processing_checks_guard); in __anonffc8a1b30302()
117 if (absl::flags_internal::fromenv_needs_processing) { in __anonffc8a1b30302()
121 absl::flags_internal::fromenv_needs_processing = true; in __anonffc8a1b30302()
129 absl::MutexLock l(&absl::flags_internal::processing_checks_guard); in __anonffc8a1b30402()
133 if (absl::flags_internal::tryfromenv_needs_processing) { in __anonffc8a1b30402()
138 absl::flags_internal::tryfromenv_needs_processing = true; in __anonffc8a1b30402()
[all …]
Dreflection.cc35 namespace flags_internal { namespace
64 friend class flags_internal::FlagSaverImpl; // reads all the flags in order
112 flags_internal::ReportUsageError( in RegisterFlag()
117 } else if (flags_internal::PrivateHandleAccessor::TypeId(flag) != in RegisterFlag()
118 flags_internal::PrivateHandleAccessor::TypeId(old_flag)) { in RegisterFlag()
119 flags_internal::ReportUsageError( in RegisterFlag()
128 flags_internal::ReportUsageError( in RegisterFlag()
134 flags_internal::ReportUsageError( in RegisterFlag()
216 std::unique_ptr<flags_internal::FlagStateInterface> SaveState() override { in SaveState()
220 bool ParseFrom(absl::string_view, flags_internal::FlagSettingMode, in ParseFrom()
[all …]
Dusage_config.cc43 namespace flags_internal { namespace
56 auto suffix = flags_internal::Basename(filename); in ContainsHelpshortFlags()
57 auto program_name = flags_internal::ShortProgramInvocationName(); in ContainsHelpshortFlags()
81 std::string version_str(flags_internal::ShortProgramInvocationName()); in VersionString()
138 absl::MutexLock l(&flags_internal::custom_usage_config_guard); in SetFlagsUsageConfig()
142 flags_internal::ContainsHelpshortFlags; in SetFlagsUsageConfig()
145 usage_config.contains_help_flags = flags_internal::ContainsHelppackageFlags; in SetFlagsUsageConfig()
149 flags_internal::ContainsHelppackageFlags; in SetFlagsUsageConfig()
152 usage_config.version_string = flags_internal::VersionString; in SetFlagsUsageConfig()
155 usage_config.normalize_filename = flags_internal::NormalizeFilename; in SetFlagsUsageConfig()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/flags/
Dflag.h72 using Flag = flags_internal::Flag<T>;
89 namespace flags_internal {
101 const flags_internal::HelpGenFunc help_gen,
102 const flags_internal::FlagDfltGenFunc default_value_gen)
111 flags_internal::Flag<T>& GetImpl() const {
113 absl::MutexLock l(flags_internal::GetGlobalConstructionGuard());
119 impl_ = new flags_internal::Flag<T>(
121 {flags_internal::FlagHelpMsg(help_gen_),
122 flags_internal::FlagHelpKind::kGenFunc},
123 {flags_internal::FlagDefaultSrc(default_value_gen_),
[all …]
Dparse.cc59 namespace flags_internal { namespace
97 absl::MutexLock l(&absl::flags_internal::processing_checks_guard); in __anon42207da40202()
101 if (absl::flags_internal::flagfile_needs_processing) { in __anon42207da40202()
105 absl::flags_internal::flagfile_needs_processing = true; in __anon42207da40202()
113 absl::MutexLock l(&absl::flags_internal::processing_checks_guard); in __anon42207da40302()
117 if (absl::flags_internal::fromenv_needs_processing) { in __anon42207da40302()
121 absl::flags_internal::fromenv_needs_processing = true; in __anon42207da40302()
129 absl::MutexLock l(&absl::flags_internal::processing_checks_guard); in __anon42207da40402()
133 if (absl::flags_internal::tryfromenv_needs_processing) { in __anon42207da40402()
138 absl::flags_internal::tryfromenv_needs_processing = true; in __anon42207da40402()
[all …]
Dreflection.cc35 namespace flags_internal { namespace
64 friend class flags_internal::FlagSaverImpl; // reads all the flags in order
112 flags_internal::ReportUsageError( in RegisterFlag()
117 } else if (flags_internal::PrivateHandleAccessor::TypeId(flag) != in RegisterFlag()
118 flags_internal::PrivateHandleAccessor::TypeId(old_flag)) { in RegisterFlag()
119 flags_internal::ReportUsageError( in RegisterFlag()
128 flags_internal::ReportUsageError( in RegisterFlag()
134 flags_internal::ReportUsageError( in RegisterFlag()
216 std::unique_ptr<flags_internal::FlagStateInterface> SaveState() override { in SaveState()
220 bool ParseFrom(absl::string_view, flags_internal::FlagSettingMode, in ParseFrom()
[all …]
Dusage_config.cc43 namespace flags_internal { namespace
56 auto suffix = flags_internal::Basename(filename); in ContainsHelpshortFlags()
57 auto program_name = flags_internal::ShortProgramInvocationName(); in ContainsHelpshortFlags()
81 std::string version_str(flags_internal::ShortProgramInvocationName()); in VersionString()
138 absl::MutexLock l(&flags_internal::custom_usage_config_guard); in SetFlagsUsageConfig()
142 flags_internal::ContainsHelpshortFlags; in SetFlagsUsageConfig()
145 usage_config.contains_help_flags = flags_internal::ContainsHelppackageFlags; in SetFlagsUsageConfig()
149 flags_internal::ContainsHelppackageFlags; in SetFlagsUsageConfig()
152 usage_config.version_string = flags_internal::VersionString; in SetFlagsUsageConfig()
155 usage_config.normalize_filename = flags_internal::NormalizeFilename; in SetFlagsUsageConfig()
[all …]
/external/angle/third_party/abseil-cpp/absl/flags/
Dflag.h72 using Flag = flags_internal::Flag<T>;
89 namespace flags_internal {
101 const flags_internal::HelpGenFunc help_gen,
102 const flags_internal::FlagDfltGenFunc default_value_gen)
111 flags_internal::Flag<T>& GetImpl() const {
113 absl::MutexLock l(flags_internal::GetGlobalConstructionGuard());
119 impl_ = new flags_internal::Flag<T>(
121 {flags_internal::FlagHelpMsg(help_gen_),
122 flags_internal::FlagHelpKind::kGenFunc},
123 {flags_internal::FlagDefaultSrc(default_value_gen_),
[all …]
Dparse.cc59 namespace flags_internal { namespace
97 absl::MutexLock l(&absl::flags_internal::processing_checks_guard); in __anonf936d7d20202()
101 if (absl::flags_internal::flagfile_needs_processing) { in __anonf936d7d20202()
105 absl::flags_internal::flagfile_needs_processing = true; in __anonf936d7d20202()
113 absl::MutexLock l(&absl::flags_internal::processing_checks_guard); in __anonf936d7d20302()
117 if (absl::flags_internal::fromenv_needs_processing) { in __anonf936d7d20302()
121 absl::flags_internal::fromenv_needs_processing = true; in __anonf936d7d20302()
129 absl::MutexLock l(&absl::flags_internal::processing_checks_guard); in __anonf936d7d20402()
133 if (absl::flags_internal::tryfromenv_needs_processing) { in __anonf936d7d20402()
138 absl::flags_internal::tryfromenv_needs_processing = true; in __anonf936d7d20402()
[all …]
Dusage_config.cc44 namespace flags_internal { namespace
57 auto suffix = flags_internal::Basename(filename); in ContainsHelpshortFlags()
58 auto program_name = flags_internal::ShortProgramInvocationName(); in ContainsHelpshortFlags()
82 std::string version_str(flags_internal::ShortProgramInvocationName()); in VersionString()
139 absl::MutexLock l(&flags_internal::custom_usage_config_guard); in SetFlagsUsageConfig()
143 flags_internal::ContainsHelpshortFlags; in SetFlagsUsageConfig()
146 usage_config.contains_help_flags = flags_internal::ContainsHelppackageFlags; in SetFlagsUsageConfig()
150 flags_internal::ContainsHelppackageFlags; in SetFlagsUsageConfig()
153 usage_config.version_string = flags_internal::VersionString; in SetFlagsUsageConfig()
156 usage_config.normalize_filename = flags_internal::NormalizeFilename; in SetFlagsUsageConfig()
[all …]
Dreflection.cc36 namespace flags_internal { namespace
65 friend class flags_internal::FlagSaverImpl; // reads all the flags in order
116 flags_internal::ReportUsageError( in RegisterFlag()
135 flags_internal::ReportUsageError( in RegisterFlag()
140 } else if (flags_internal::PrivateHandleAccessor::TypeId(flag) != in RegisterFlag()
141 flags_internal::PrivateHandleAccessor::TypeId(old_flag)) { in RegisterFlag()
142 flags_internal::ReportUsageError( in RegisterFlag()
151 flags_internal::ReportUsageError( in RegisterFlag()
157 flags_internal::ReportUsageError( in RegisterFlag()
255 std::unique_ptr<flags_internal::FlagStateInterface> SaveState() override { in SaveState()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/flags/
Dparse.cc57 namespace flags_internal { namespace
79 absl::MutexLock l(&absl::flags_internal::processing_checks_guard); in __anon97f716f20202()
83 if (absl::flags_internal::flagfile_needs_processing) { in __anon97f716f20202()
87 absl::flags_internal::flagfile_needs_processing = true; in __anon97f716f20202()
95 absl::MutexLock l(&absl::flags_internal::processing_checks_guard); in __anon97f716f20302()
99 if (absl::flags_internal::fromenv_needs_processing) { in __anon97f716f20302()
103 absl::flags_internal::fromenv_needs_processing = true; in __anon97f716f20302()
111 absl::MutexLock l(&absl::flags_internal::processing_checks_guard); in __anon97f716f20402()
115 if (absl::flags_internal::tryfromenv_needs_processing) { in __anon97f716f20402()
120 absl::flags_internal::tryfromenv_needs_processing = true; in __anon97f716f20402()
[all …]
Dflag.h74 using Flag = flags_internal::Flag<T>;
91 namespace flags_internal {
103 const flags_internal::HelpGenFunc help_gen,
104 const flags_internal::FlagDfltGenFunc default_value_gen)
113 flags_internal::Flag<T>* GetImpl() const {
115 absl::MutexLock l(flags_internal::GetGlobalConstructionGuard());
122 new flags_internal::Flag<T>(name_, filename_,
123 {flags_internal::FlagHelpMsg(help_gen_),
124 flags_internal::FlagHelpKind::kGenFunc},
153 void SetCallback(const flags_internal::FlagCallbackFunc mutation_callback) {
[all …]
Dusage_config.cc42 namespace flags_internal { namespace
54 auto suffix = flags_internal::Basename(filename); in ContainsHelpshortFlags()
56 flags_internal::ShortProgramInvocationName())) in ContainsHelpshortFlags()
75 std::string version_str(flags_internal::ShortProgramInvocationName()); in VersionString()
132 absl::MutexLock l(&flags_internal::custom_usage_config_guard); in SetFlagsUsageConfig()
136 flags_internal::ContainsHelpshortFlags; in SetFlagsUsageConfig()
139 usage_config.contains_help_flags = flags_internal::ContainsHelppackageFlags; in SetFlagsUsageConfig()
143 flags_internal::ContainsHelppackageFlags; in SetFlagsUsageConfig()
146 usage_config.version_string = flags_internal::VersionString; in SetFlagsUsageConfig()
149 usage_config.normalize_filename = flags_internal::NormalizeFilename; in SetFlagsUsageConfig()
[all …]
/external/abseil-cpp/absl/flags/
Dparse.cc57 namespace flags_internal { namespace
79 absl::MutexLock l(&absl::flags_internal::processing_checks_guard); in __anon5821fde30202()
83 if (absl::flags_internal::flagfile_needs_processing) { in __anon5821fde30202()
87 absl::flags_internal::flagfile_needs_processing = true; in __anon5821fde30202()
95 absl::MutexLock l(&absl::flags_internal::processing_checks_guard); in __anon5821fde30302()
99 if (absl::flags_internal::fromenv_needs_processing) { in __anon5821fde30302()
103 absl::flags_internal::fromenv_needs_processing = true; in __anon5821fde30302()
111 absl::MutexLock l(&absl::flags_internal::processing_checks_guard); in __anon5821fde30402()
115 if (absl::flags_internal::tryfromenv_needs_processing) { in __anon5821fde30402()
120 absl::flags_internal::tryfromenv_needs_processing = true; in __anon5821fde30402()
[all …]
Dflag.h74 using Flag = flags_internal::Flag<T>;
91 namespace flags_internal {
103 const flags_internal::HelpGenFunc help_gen,
104 const flags_internal::FlagDfltGenFunc default_value_gen)
113 flags_internal::Flag<T>* GetImpl() const {
115 absl::MutexLock l(flags_internal::GetGlobalConstructionGuard());
122 new flags_internal::Flag<T>(name_, filename_,
123 {flags_internal::FlagHelpMsg(help_gen_),
124 flags_internal::FlagHelpKind::kGenFunc},
153 void SetCallback(const flags_internal::FlagCallbackFunc mutation_callback) {
[all …]
Dusage_config.cc42 namespace flags_internal { namespace
54 auto suffix = flags_internal::Basename(filename); in ContainsHelpshortFlags()
56 flags_internal::ShortProgramInvocationName())) in ContainsHelpshortFlags()
75 std::string version_str(flags_internal::ShortProgramInvocationName()); in VersionString()
132 absl::MutexLock l(&flags_internal::custom_usage_config_guard); in SetFlagsUsageConfig()
136 flags_internal::ContainsHelpshortFlags; in SetFlagsUsageConfig()
139 usage_config.contains_help_flags = flags_internal::ContainsHelppackageFlags; in SetFlagsUsageConfig()
143 flags_internal::ContainsHelppackageFlags; in SetFlagsUsageConfig()
146 usage_config.version_string = flags_internal::VersionString; in SetFlagsUsageConfig()
149 usage_config.normalize_filename = flags_internal::NormalizeFilename; in SetFlagsUsageConfig()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/flags/internal/
Dusage.cc54 namespace flags_internal { namespace
57 absl::string_view TypenameForHelp(const flags_internal::CommandLineFlag& flag) { in TypenameForHelp()
205 void FlagHelpHumanReadable(const flags_internal::CommandLineFlag& flag, in FlagHelpHumanReadable()
246 void FlagsHelpImpl(std::ostream& out, flags_internal::FlagKindFilter filter_cb, in FlagsHelpImpl()
249 out << flags_internal::ShortProgramInvocationName() << ": " in FlagsHelpImpl()
260 << XMLElement("program", flags_internal::ShortProgramInvocationName()) in FlagsHelpImpl()
272 std::vector<const flags_internal::CommandLineFlag*>>> in FlagsHelpImpl()
275 flags_internal::ForEachFlag([&](flags_internal::CommandLineFlag* flag) { in FlagsHelpImpl()
282 if (flag->Help() == flags_internal::kStrippedFlagHelp) return; in FlagsHelpImpl()
287 matching_flags[std::string(flags_internal::Package(flag_filename))] in FlagsHelpImpl()
[all …]
/external/abseil-cpp/absl/flags/internal/
Dusage.cc54 namespace flags_internal { namespace
57 absl::string_view TypenameForHelp(const flags_internal::CommandLineFlag& flag) { in TypenameForHelp()
205 void FlagHelpHumanReadable(const flags_internal::CommandLineFlag& flag, in FlagHelpHumanReadable()
246 void FlagsHelpImpl(std::ostream& out, flags_internal::FlagKindFilter filter_cb, in FlagsHelpImpl()
249 out << flags_internal::ShortProgramInvocationName() << ": " in FlagsHelpImpl()
260 << XMLElement("program", flags_internal::ShortProgramInvocationName()) in FlagsHelpImpl()
272 std::vector<const flags_internal::CommandLineFlag*>>> in FlagsHelpImpl()
275 flags_internal::ForEachFlag([&](flags_internal::CommandLineFlag* flag) { in FlagsHelpImpl()
282 if (flag->Help() == flags_internal::kStrippedFlagHelp) return; in FlagsHelpImpl()
287 matching_flags[std::string(flags_internal::Package(flag_filename))] in FlagsHelpImpl()
[all …]
/external/libtextclassifier/abseil-cpp/absl/flags/internal/
Dusage.cc57 namespace flags_internal { namespace
224 void FlagsHelpImpl(std::ostream& out, flags_internal::FlagKindFilter filter_cb, in FlagsHelpImpl()
227 out << flags_internal::ShortProgramInvocationName() << ": " in FlagsHelpImpl()
238 << XMLElement("program", flags_internal::ShortProgramInvocationName()) in FlagsHelpImpl()
252 flags_internal::ForEachFlag([&](absl::CommandLineFlag& flag) { in FlagsHelpImpl()
257 if (flag.Help() == flags_internal::kStrippedFlagHelp) return; in FlagsHelpImpl()
264 matching_flags[std::string(flags_internal::Package(flag_filename))] in FlagsHelpImpl()
286 flags_internal::FlagHelp(out, *flag, format); in FlagsHelpImpl()
308 flags_internal::FlagHelpHumanReadable(flag, out); in FlagHelp()
316 flags_internal::FlagKindFilter filter_cb = [&](absl::string_view filename) { in FlagsHelp()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/flags/internal/
Dusage.cc57 namespace flags_internal { namespace
224 void FlagsHelpImpl(std::ostream& out, flags_internal::FlagKindFilter filter_cb, in FlagsHelpImpl()
227 out << flags_internal::ShortProgramInvocationName() << ": " in FlagsHelpImpl()
238 << XMLElement("program", flags_internal::ShortProgramInvocationName()) in FlagsHelpImpl()
252 flags_internal::ForEachFlag([&](absl::CommandLineFlag& flag) { in FlagsHelpImpl()
257 if (flag.Help() == flags_internal::kStrippedFlagHelp) return; in FlagsHelpImpl()
264 matching_flags[std::string(flags_internal::Package(flag_filename))] in FlagsHelpImpl()
286 flags_internal::FlagHelp(out, *flag, format); in FlagsHelpImpl()
308 flags_internal::FlagHelpHumanReadable(flag, out); in FlagHelp()
316 flags_internal::FlagKindFilter filter_cb = [&](absl::string_view filename) { in FlagsHelp()
[all …]

123456789