Home
last modified time | relevance | path

Searched refs:HasAlias (Results 1 – 2 of 2) sorted by relevance

/device/google/cuttlefish/common/libs/utils/
Dflag_parser.cpp78 CHECK(!HasAlias(alias)) << "Duplicate flag alias: " << alias.name; in ValidateAlias()
80 CHECK(!HasAlias({FlagAliasMode::kFlagExact, alias.name})) in ValidateAlias()
82 CHECK(!HasAlias({FlagAliasMode::kFlagConsumesArbitrary, alias.name})) in ValidateAlias()
85 CHECK(!HasAlias({FlagAliasMode::kFlagConsumesFollowing, alias.name})) in ValidateAlias()
87 CHECK(!HasAlias({FlagAliasMode::kFlagConsumesArbitrary, alias.name})) in ValidateAlias()
90 CHECK(!HasAlias({FlagAliasMode::kFlagExact, alias.name})) in ValidateAlias()
92 CHECK(!HasAlias({FlagAliasMode::kFlagConsumesFollowing, alias.name})) in ValidateAlias()
228 bool Flag::HasAlias(const FlagAlias& test) const { in HasAlias() function in cuttlefish::Flag
265 HasAlias({FlagAliasMode::kFlagPrefix, "-" + name + "="}) && in WriteGflagsCompatXml()
266 HasAlias({FlagAliasMode::kFlagPrefix, "--" + name + "="}) && in WriteGflagsCompatXml()
[all …]
Dflag_parser.h117 bool HasAlias(const FlagAlias&) const;