Searched refs:alias (Results 1 – 11 of 11) sorted by relevance
46 std::ostream& operator<<(std::ostream& out, const FlagAlias& alias) { in operator <<() argument47 switch (alias.mode) { in operator <<()49 return out << alias.name; in operator <<()51 return out << alias.name << "*"; in operator <<()53 return out << alias.name << " *"; in operator <<()55 LOG(FATAL) << "Unexpected flag alias mode " << (int)alias.mode; in operator <<()60 Flag& Flag::UnvalidatedAlias(const FlagAlias& alias) & { in UnvalidatedAlias() argument61 aliases_.push_back(alias); in UnvalidatedAlias()64 Flag Flag::UnvalidatedAlias(const FlagAlias& alias) && { in UnvalidatedAlias() argument65 aliases_.push_back(alias); in UnvalidatedAlias()[all …]
76 Flag& Alias(const FlagAlias& alias) &;77 Flag Alias(const FlagAlias& alias) &&;108 void ValidateAlias(const FlagAlias& alias);109 Flag& UnvalidatedAlias(const FlagAlias& alias) &;110 Flag UnvalidatedAlias(const FlagAlias& alias) &&;
36 FlagAlias alias = {FlagAliasMode::kFlagExact, "--flag"}; in TEST() local37 ASSERT_DEATH({ Flag().Alias(alias).Alias(alias); }, "Duplicate flag alias"); in TEST()
63 for (const C2String &alias : aliases) { in BaseParams() local67 joined += alias; in BaseParams()
319 for (const C2String &alias : traits->aliases) { in visitComponents() local320 mComponentNameToPath.emplace(alias, path); in visitComponents()
89 bool SensorTypeIsAliasOf(SensorType sensor_type, SensorType alias) { in SensorTypeIsAliasOf() argument92 && sensor_aliases_[i].sensor_alias == alias) { in SensorTypeIsAliasOf()
20 #define VEC_(nm, pfx) void nm##pfx(void) __attribute__ ((weak, alias ("IntDefaultHandler")))
91 #define WEAK_ALIAS(X,Y) void X(void) __attribute__ ((weak, alias (STRINGIFY(Y))))
176 # as commands in the documentation. An alias has the form "name=value". 180 # You can put \n's in the value part of an alias to insert newlines.