Home
last modified time | relevance | path

Searched refs:FlagType (Results 1 – 25 of 25) 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 = kOptional) {
90 FlagType flag_type);
95 FlagType flag_type) \
118 FlagType GetFlagType() const { return flag_type_; } in CONSTRUCTOR_WITH_ARGV_INDEX()
144 FlagType flag_type_;
Dcommand_line_flags.cc110 FlagType flag_type) \
/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.cpp37 Parser->registerFlag(#Name, Description, FlagType::FT_##Type, \ in registerFlags()
44 Parser->registerFlag("GWP_ASAN_" #Name, Description, FlagType::FT_##Type, \ in registerFlags()
Dreport.cpp70 void NORETURN reportInvalidFlag(const char *FlagType, const char *Value) { in reportInvalidFlag() argument
72 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/angle/third_party/vulkan-deps/spirv-tools/src/tools/util/
Dflags.h186 using FlagType = std::variant<std::reference_wrapper<Flag<std::string>>, variable
198 FlagInfo(FlagType&& flag_, std::string&& name_, bool required_, in FlagInfo()
205 FlagType flag;
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/flags/internal/
Dflag.h647 template <typename T, typename FlagType>
648 static T InvokeGet(const FlagType& flag) {
651 template <typename FlagType, typename T>
652 static void InvokeSet(FlagType& flag, const T& v) {
655 template <typename FlagType>
656 static const CommandLineFlag& InvokeReflect(const FlagType& f) {
/external/openscreen/third_party/abseil/src/absl/flags/internal/
Dflag.h676 template <typename T, typename FlagType>
677 static T InvokeGet(const FlagType& flag) {
680 template <typename FlagType, typename T>
681 static void InvokeSet(FlagType& flag, const T& v) {
684 template <typename FlagType>
685 static const CommandLineFlag& InvokeReflect(const FlagType& f) {
/external/libtextclassifier/abseil-cpp/absl/flags/internal/
Dflag.h676 template <typename T, typename FlagType>
677 static T InvokeGet(const FlagType& flag) {
680 template <typename FlagType, typename T>
681 static void InvokeSet(FlagType& flag, const T& v) {
684 template <typename FlagType>
685 static const CommandLineFlag& InvokeReflect(const FlagType& f) {
/external/gflags/android/gflags/
Dgflags.h438 template <typename FlagType>
441 FlagType* current_storage, FlagType* defvalue_storage);
/external/webrtc/third_party/abseil-cpp/absl/flags/internal/
Dflag.h700 template <typename T, typename FlagType>
701 static T InvokeGet(const FlagType& flag) {
704 template <typename FlagType, typename T>
705 static void InvokeSet(FlagType& flag, const T& v) {
708 template <typename FlagType>
709 static const CommandLineFlag& InvokeReflect(const FlagType& f) {
/external/abseil-cpp/absl/flags/internal/
Dflag.h700 template <typename T, typename FlagType>
701 static T InvokeGet(const FlagType& flag) {
704 template <typename FlagType, typename T>
705 static void InvokeSet(FlagType& flag, const T& v) {
708 template <typename FlagType>
709 static const CommandLineFlag& InvokeReflect(const FlagType& f) {
/external/cronet/third_party/abseil-cpp/absl/flags/internal/
Dflag.h701 template <typename T, typename FlagType>
702 static T InvokeGet(const FlagType& flag) {
705 template <typename FlagType, typename T>
706 static void InvokeSet(FlagType& flag, const T& v) {
709 template <typename FlagType>
710 static const CommandLineFlag& InvokeReflect(const FlagType& f) {
/external/tensorflow/third_party/absl/abseil-cpp/absl/flags/internal/
Dflag.h700 template <typename T, typename FlagType>
701 static T InvokeGet(const FlagType& flag) {
704 template <typename FlagType, typename T>
705 static void InvokeSet(FlagType& flag, const T& v) {
708 template <typename FlagType>
709 static const CommandLineFlag& InvokeReflect(const FlagType& f) {
/external/angle/third_party/abseil-cpp/absl/flags/internal/
Dflag.h701 template <typename T, typename FlagType>
702 static T InvokeGet(const FlagType& flag) {
705 template <typename FlagType, typename T>
706 static void InvokeSet(FlagType& flag, const T& v) {
709 template <typename FlagType>
710 static const CommandLineFlag& InvokeReflect(const FlagType& f) {
/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/cronet/third_party/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_helpers.h171 enum FlagType { enum
232 BuildFlagsString(const FlagType type, const std::vector<std::string>& strings);
Dobjectivec_helpers.cc523 std::string GetZeroEnumNameForFlagType(const FlagType flag_type) { in GetZeroEnumNameForFlagType()
537 std::string GetEnumNameForFlagType(const FlagType flag_type) { in GetEnumNameForFlagType()
1158 std::string BuildFlagsString(const FlagType flag_type, in BuildFlagsString()
/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_helpers.h171 enum FlagType { enum
232 BuildFlagsString(const FlagType type, const std::vector<std::string>& strings);
Dobjectivec_helpers.cc523 std::string GetZeroEnumNameForFlagType(const FlagType flag_type) { in GetZeroEnumNameForFlagType()
537 std::string GetEnumNameForFlagType(const FlagType flag_type) { in GetEnumNameForFlagType()
1158 std::string BuildFlagsString(const FlagType flag_type, in BuildFlagsString()
/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) {