Home
last modified time | relevance | path

Searched refs:FlagType (Results 1 – 15 of 15) sorted by relevance

/external/scudo/standalone/tests/
Dflags_test.cpp20 static void testFlag(scudo::FlagType Type, T StartValue, const char *Env, in testFlag()
32 testFlag(scudo::FlagType::FT_bool, false, "flag_name=1", true); in TEST()
33 testFlag(scudo::FlagType::FT_bool, false, "flag_name=yes", true); in TEST()
34 testFlag(scudo::FlagType::FT_bool, false, "flag_name='yes'", true); in TEST()
35 testFlag(scudo::FlagType::FT_bool, false, "flag_name=true", true); in TEST()
36 testFlag(scudo::FlagType::FT_bool, true, "flag_name=0", false); in TEST()
37 testFlag(scudo::FlagType::FT_bool, true, "flag_name=\"0\"", false); in TEST()
38 testFlag(scudo::FlagType::FT_bool, true, "flag_name=no", false); in TEST()
39 testFlag(scudo::FlagType::FT_bool, true, "flag_name=false", false); in TEST()
40 testFlag(scudo::FlagType::FT_bool, true, "flag_name='false'", false); in TEST()
[all …]
/external/tensorflow/tensorflow/lite/tools/
Dcommand_line_flags.h67 enum FlagType { enum
77 FlagType flag_type = OPTIONAL) {
84 FlagType flag_type);
87 FlagType flag_type);
89 float default_value, const std::string& usage_text, FlagType flag_type);
91 bool default_value, const std::string& usage_text, FlagType flag_type);
94 FlagType flag_type);
96 FlagType GetFlagType() const { return flag_type_; } in GetFlagType()
118 FlagType flag_type_;
Dcommand_line_flags.cc83 FlagType flag_type) in Flag()
95 FlagType flag_type) in Flag()
107 FlagType flag_type) in Flag()
119 FlagType flag_type) in Flag()
132 FlagType flag_type) in Flag()
/external/scudo/standalone/
Dflags_parser.h19 enum class FlagType : u8 { enum
26 void registerFlag(const char *Name, const char *Desc, FlagType Type,
36 FlagType Type;
Dflags_parser.cpp132 case FlagType::FT_bool: in runHandler()
137 case FlagType::FT_int: in runHandler()
154 void FlagParser::registerFlag(const char *Name, const char *Desc, FlagType Type, in registerFlag()
Dflags.cpp36 Parser->registerFlag(#Name, Description, FlagType::FT_##Type, \ in registerFlags()
43 Parser->registerFlag("GWP_ASAN_" #Name, Description, FlagType::FT_##Type, \ in registerFlags()
Dreport.cpp58 void NORETURN reportInvalidFlag(const char *FlagType, const char *Value) { in reportInvalidFlag() argument
60 Report.append("invalid value for %s option: '%s'\n", FlagType, Value); in reportInvalidFlag()
Dreport.h22 void NORETURN reportInvalidFlag(const char *FlagType, const char *Value);
/external/gflags/android/gflags/
Dgflags.h438 template <typename FlagType>
441 FlagType* current_storage, FlagType* defvalue_storage);
/external/gflags/src/
Dgflags.cc204 template <typename FlagType>
205 FlagValue(FlagType* valbuf, bool transfer_ownership_of_value);
221 template <typename FlagType>
269 template <typename FlagType>
270 FlagValue::FlagValue(FlagType* valbuf, in FlagValue()
273 type_(FlagValueTraits<FlagType>::kValueType), in FlagValue()
1435 template <typename FlagType>
1439 FlagType* current_storage, in FlagRegisterer()
1440 FlagType* defvalue_storage) { in FlagRegisterer()
Dgflags.h.in438 template <typename FlagType>
441 FlagType* current_storage, FlagType* defvalue_storage);
/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_helpers.h151 enum FlagType { enum
210 string PROTOC_EXPORT BuildFlagsString(const FlagType type,
Dobjectivec_helpers.cc324 string GetZeroEnumNameForFlagType(const FlagType flag_type) { in GetZeroEnumNameForFlagType()
338 string GetEnumNameForFlagType(const FlagType flag_type) { in GetEnumNameForFlagType()
910 string BuildFlagsString(const FlagType flag_type, in BuildFlagsString()
/external/v8/src/flags/
Dflags.cc46 enum FlagType { enum
59 FlagType type_; // What type of flag, bool, int, or string.
68 FlagType type() const { return type_; } in type()
398 static const char* Type2String(Flag::FlagType type) { in Type2String()
/external/vulkan-validation-layers/layers/
Dstateless_validation.h707 enum FlagType { kRequiredFlags, kOptionalFlags, kRequiredSingleBit, kOptionalSingleBit }; enum
726 …VkFlags value, const FlagType flag_type, const char *vuid, const char *flags_zero_vuid = nullptr) {