Home
last modified time | relevance | path

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

12

/external/llvm-project/compiler-rt/lib/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/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) {
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.cc84 FlagType flag_type) in Flag()
96 FlagType flag_type) in Flag()
108 FlagType flag_type) in Flag()
120 FlagType flag_type) in Flag()
133 FlagType flag_type) in Flag()
/external/llvm-project/openmp/runtime/src/
Dkmp_wait_release.h608 template <typename FlagType> struct flag_traits {};
641 template <typename FlagType, bool Sleepable>
642 class kmp_basic_flag_native : public kmp_flag_native<FlagType> {
643 typedef flag_traits<FlagType> traits_type;
644 FlagType checker; /**< Value to compare flag to to check if flag has been
651 kmp_basic_flag_native(volatile FlagType *p)
652 : kmp_flag_native<FlagType>(p, traits_type::t), num_waiting_threads(0) {}
653 kmp_basic_flag_native(volatile FlagType *p, kmp_info_t *thr)
654 : kmp_flag_native<FlagType>(p, traits_type::t), num_waiting_threads(1) {
657 kmp_basic_flag_native(volatile FlagType *p, FlagType c)
[all …]
/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.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/llvm-project/compiler-rt/lib/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.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/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/angle/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/rust/crates/grpcio-sys/grpc/third_party/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/llvm-project/lldb/include/lldb/Expression/
DExpressionVariable.h105 typedef uint16_t FlagType; typedef
107 FlagType m_flags; // takes elements of Flags
/external/llvm-project/clang/include/clang/Basic/
Darm_sve.td160 class FlagType<int val> {
166 def NoFlags : FlagType<0x00000000>;
167 def FirstEltType : FlagType<0x00000001>;
170 def EltTypeMask : FlagType<0x0000000f>;
171 def FirstMemEltType : FlagType<0x00000010>;
174 def MemEltTypeMask : FlagType<0x00000070>;
175 def FirstMergeTypeMask : FlagType<0x00000080>;
178 def MergeTypeMask : FlagType<0x00000380>;
179 def FirstSplatOperand : FlagType<0x00000400>;
184 def SplatOperandMask : FlagType<0x00001C00>;
[all …]
/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()
/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()

12