Lines Matching refs:Name
38 const char *Name;
47 #define FUZZER_DEPRECATED_FLAG(Name)
48 #define FUZZER_FLAG_INT(Name, Default, Description) int Name;
49 #define FUZZER_FLAG_UNSIGNED(Name, Default, Description) unsigned int Name;
50 #define FUZZER_FLAG_STRING(Name, Description) const char *Name;
59 #define FUZZER_DEPRECATED_FLAG(Name) \
60 {#Name, "Deprecated; don't use", 0, nullptr, nullptr, nullptr},
61 #define FUZZER_FLAG_INT(Name, Default, Description) \
62 {#Name, Description, Default, &Flags.Name, nullptr, nullptr},
63 #define FUZZER_FLAG_UNSIGNED(Name, Default, Description) \
64 {#Name, Description, static_cast<int>(Default), \
65 nullptr, nullptr, &Flags.Name},
66 #define FUZZER_FLAG_STRING(Name, Description) \
67 {#Name, Description, 0, nullptr, &Flags.Name, nullptr},
93 MaxFlagLen = std::max(strlen(FlagDescriptions[F].Name), MaxFlagLen);
98 Printf(" %s", D.Name);
99 for (size_t i = 0, n = MaxFlagLen - strlen(D.Name); i < n; i++)
108 static const char *FlagValue(const char *Param, const char *Name) {
109 size_t Len = strlen(Name);
110 if (Param[0] == '-' && strstr(Param + 1, Name) == Param + 1 &&
142 if (FlagValue(Param + 1, FlagDescriptions[F].Name))
147 const char *Name = FlagDescriptions[F].Name;
148 const char *Str = FlagValue(Param, Name);
154 Printf("Flag: %s %d\n", Name, Val);
160 Printf("Flag: %s %u\n", Name, Val);
165 Printf("Flag: %s %s\n", Name, Str);
168 Printf("Flag: %s: deprecated, don't use\n", Name);
677 if (auto Name = Flags.run_equivalence_server) {
678 SMR.Destroy(Name);
679 if (!SMR.Create(Name)) {
695 if (auto Name = Flags.use_equivalence_server) {
696 if (!SMR.Open(Name)) {