/dports/audio/libopenmpt/libopenmpt-0.6.0+release.autotools/src/openmpt/base/ |
H A D | FlagSet.hpp | 26 template <typename enum_t> 31 using enum_type = enum_t; 117 template <typename enum_t> 122 using enum_type = enum_t; 179 template <typename enum_t, typename store_t = typename enum_value_type<enum_t>::store_type> 185 using enum_type = enum_t; 427 #define MPT_DECLARE_ENUM(enum_t) \ argument 428 …INLINE enum_value_type<enum_t> operator|(enum_t a, enum_t b) noexcept { return enum_value_type<enu… 429 …INLINE enum_value_type<enum_t> operator&(enum_t a, enum_t b) noexcept { return enum_value_type<enu… 430 …INLINE enum_value_type<enum_t> operator^(enum_t a, enum_t b) noexcept { return enum_value_type<enu… [all …]
|
/dports/cad/nvc/nvc-r1.5.3/test/simp/ |
H A D | issue362.vhd | 5 type enum_t is (enum0, enum1); type 6 subtype enum_subtype_t is enum_t; 8 type enum_vec_t is array (natural range <>) of enum_t; 9 function resolve_enum(values : enum_vec_t) return enum_t; 10 subtype resolved_enum_t is resolve_enum enum_t; 12 function resolve_enum(values : enum_vec_t) return enum_t is 17 function func return enum_t is 22 function func2 return enum_t is 32 assert func = enum_t'low; 33 assert func2 = enum_t'high;
|
/dports/cad/ghdl/ghdl-1.0.0/testsuite/gna/ticket65/ |
H A D | bug.vhdl | 7 type enum_t is (value1, value2); type 8 variable var : enum_t; 10 var := enum_t'rightof(value2); -- CONSTRAINT_ERROR 11 var := enum_t'rightof(value1); -- Works 12 var := enum_t'leftof(value1); -- Works 13 var := enum_t'leftof(value2); -- Works 14 var := enum_t'rightof(var); -- cannot handle IIR_KIND_RIGHTOF_ATTRIBUTE 15 var := enum_t'leftof(var); -- cannot handle IIR_KIND_LEFTOF_ATTRIBUTE
|
H A D | bug1.vhdl | 7 type enum_t is (value1, value2); type 8 variable var : enum_t; 10 var := enum_t'rightof(value1); -- Works 11 var := enum_t'leftof(value1); -- Error 12 var := enum_t'leftof(value2); -- Works 13 var := enum_t'rightof(var); -- cannot handle IIR_KIND_RIGHTOF_ATTRIBUTE 14 var := enum_t'leftof(var); -- cannot handle IIR_KIND_LEFTOF_ATTRIBUTE
|
H A D | bug2.vhdl | 7 type enum_t is (value1, value2); type 8 variable var : enum_t; 10 var := enum_t'rightof(value1); -- Works 11 var := enum_t'leftof(value2); -- Works 12 var := enum_t'rightof(var); -- cannot handle IIR_KIND_RIGHTOF_ATTRIBUTE 13 var := enum_t'leftof(var); -- cannot handle IIR_KIND_LEFTOF_ATTRIBUTE
|
/dports/multimedia/quvi09/quvi-0.9.5/src/print/ |
H A D | enum_print.c | 40 typedef struct enum_s *enum_t; typedef 44 enum_t s; in _enum_handle_new() 62 static gint _print(const enum_t p, const lutilPropertyType pt, in _print() 201 enum_t p; in lprint_enum_media_streams_available() 216 enum_t p; in lprint_enum_media_properties() 219 p = (enum_t) data; in lprint_enum_media_properties() 282 enum_t p; in lprint_enum_playlist_properties() 285 p = (enum_t) data; in lprint_enum_playlist_properties() 387 enum_t p; in lprint_enum_subtitle_lang_properties() 390 p = (enum_t) data; in lprint_enum_subtitle_lang_properties() [all …]
|
/dports/sysutils/calamares/calamares-3.2.44.2/src/libcalamares/utils/ |
H A D | NamedEnum.h | 130 using enum_t = T; member 131 using pair_t = std::pair< string_t, enum_t >; 162 enum_t find( const string_t& s, bool& ok ) const in find() 186 enum_t find( const string_t& s, enum_t d ) const in find() 189 enum_t e = find( s, ok ); in find() 205 string_t find( enum_t s, bool& ok ) const in find() 227 string_t find( enum_t s ) const in find()
|
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/host/lib/include/uhdlib/usrp/ |
H A D | constrained_device_args.hpp | 142 template <typename enum_t> 147 const enum_t default_value, in enum_arg() 148 const std::unordered_map<std::string, enum_t>& values) in enum_arg() 153 inline void set(const enum_t value) in set() 157 inline const enum_t get() const in get() 197 enum_t _value; 198 const std::unordered_map<std::string, enum_t> _str_values; 316 template <typename enum_t> 318 const std::unordered_map<std::string, enum_t>& in_map) in _enum_map_to_lowercase() 320 std::unordered_map<std::string, enum_t> new_map; in _enum_map_to_lowercase() [all …]
|
/dports/textproc/uncrustify/uncrustify-uncrustify-0.74.0/src/ |
H A D | enum_flags.h | 26 inline flag_type operator&(flag_type::enum_t f1, flag_type::enum_t f2) \ 28 inline flag_type operator|(flag_type::enum_t f1, flag_type::enum_t f2) \ 30 inline flag_type operator|(flag_type::enum_t f1, flag_type f2) \ 32 inline void operator|(flag_type::enum_t f1, int f2) = delete 42 using enum_t = Enum; 43 using int_t = typename std::underlying_type<enum_t>::type; 77 inline operator enum_t() const { return(static_cast<enum_t>(m_i)); } in enum_t() function
|
/dports/cad/verilator/verilator-4.216/test_regress/t/ |
H A D | t_cast.v | 28 } enum_t; typedef 38 enum_t e; 84 e = enum_t'(ONE); 86 e = enum_t'(16'h1); 89 e = enum_t'(pdata_reg);
|
/dports/cad/nvc/nvc-r1.5.3/test/regress/ |
H A D | issue204.vhd | 5 type enum_t is (a, b); type 9 assert enum_t'leftof(b) = a; 10 assert enum_t'rightof(a) = b;
|
/dports/misc/amanda-client/amanda-3.3.9/ndmp-src/ |
H A D | ndmp0_xdr.c | 14 if (!xdr_enum (xdrs, (enum_t *) objp)) in xdr_ndmp0_error() 24 if (!xdr_enum (xdrs, (enum_t *) objp)) in xdr_ndmp0_header_message_type() 34 if (!xdr_enum (xdrs, (enum_t *) objp)) in xdr_ndmp0_message() 84 if (!xdr_enum (xdrs, (enum_t *) objp)) in xdr_ndmp0_connect_reason()
|
/dports/misc/amanda-server/amanda-3.3.9/ndmp-src/ |
H A D | ndmp0_xdr.c | 14 if (!xdr_enum (xdrs, (enum_t *) objp)) in xdr_ndmp0_error() 24 if (!xdr_enum (xdrs, (enum_t *) objp)) in xdr_ndmp0_header_message_type() 34 if (!xdr_enum (xdrs, (enum_t *) objp)) in xdr_ndmp0_message() 84 if (!xdr_enum (xdrs, (enum_t *) objp)) in xdr_ndmp0_connect_reason()
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/krb5-src-0.2.4+1.18.2/krb5/src/lib/rpc/ |
H A D | rpc_prot.c | 90 if (! xdr_enum(xdrs, (enum_t *)&(ar->ar_stat))) in xdr_accepted_reply() 119 if (! xdr_enum(xdrs, (enum_t *)&(rr->rj_stat))) in xdr_rejected_reply() 129 return (xdr_enum(xdrs, (enum_t *)&(rr->rj_why))); in xdr_rejected_reply() 147 xdr_enum(xdrs, (enum_t *)&(rmsg->rm_direction)) && in xdr_replymsg() 149 return (xdr_union(xdrs, (enum_t *)&(rmsg->rm_reply.rp_stat), in xdr_replymsg() 169 xdr_enum(xdrs, (enum_t *)&(cmsg->rm_direction)) && in xdr_callhdr()
|
/dports/security/krb5/krb5-1.19.2/src/lib/rpc/ |
H A D | rpc_prot.c | 90 if (! xdr_enum(xdrs, (enum_t *)&(ar->ar_stat))) in xdr_accepted_reply() 119 if (! xdr_enum(xdrs, (enum_t *)&(rr->rj_stat))) in xdr_rejected_reply() 129 return (xdr_enum(xdrs, (enum_t *)&(rr->rj_why))); in xdr_rejected_reply() 147 xdr_enum(xdrs, (enum_t *)&(rmsg->rm_direction)) && in xdr_replymsg() 149 return (xdr_union(xdrs, (enum_t *)&(rmsg->rm_reply.rp_stat), in xdr_replymsg() 169 xdr_enum(xdrs, (enum_t *)&(cmsg->rm_direction)) && in xdr_callhdr()
|
/dports/cad/nvc/nvc-r1.5.3/test/sem/ |
H A D | issue363.vhd | 2 type enum_t is (enum0, enum1); type 13 constant enum2 : work.pkg.enum_t := work.pkg.enum0; 14 constant enum3 : pkg.enum_t := pkg.enum1;
|
/dports/misc/rump/buildrump.sh-b914579/src/lib/libc/rpc/ |
H A D | rpc_prot.c | 125 if (! xdr_enum(xdrs, (enum_t *)(void *)&(ar->ar_stat))) in xdr_accepted_reply() 157 if (! xdr_enum(xdrs, (enum_t *)(void *)&(rr->rj_stat))) in xdr_rejected_reply() 167 return (xdr_enum(xdrs, (enum_t *)(void *)&(rr->rj_why))); in xdr_rejected_reply() 189 xdr_enum(xdrs, (enum_t *)(void *)&(rmsg->rm_direction)) && in xdr_replymsg() 191 return (xdr_union(xdrs, (enum_t *)(void *)&(rmsg->rm_reply.rp_stat), in xdr_replymsg() 215 xdr_enum(xdrs, (enum_t *)(void *)&(cmsg->rm_direction)) && in xdr_callhdr()
|
/dports/devel/gdb/gdb-11.1/gdb/testsuite/gdb.base/ |
H A D | info-types.c | 33 enum enum_t enum 38 typedef enum enum_t my_enum_t; 84 volatile enum enum_t var_m;
|
/dports/graphics/libexif/libexif-0.6.23/test/ |
H A D | test-integers.c | 33 } enum_t; typedef 41 assert(sizeof(enum_t) <= sizeof(int)); in main()
|
/dports/cad/ghdl/ghdl-1.0.0/testsuite/gna/issue1057/ |
H A D | pkg.vhdl | 2 type enum_t is (alpha, beta); type 3 alias alias_t is enum_t; alias
|
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/lib/cpp2/type/ |
H A D | TagTest.cpp | 63 enum_t<Specialized> testOverload(enum_t<Specialized>); 93 static_assert(same_tag<enum_c, decltype(testOverload(enum_t<General>{}))>); 95 enum_t<Specialized>, 96 decltype(testOverload(enum_t<Specialized>{}))>);
|
/dports/textproc/uncrustify/uncrustify-uncrustify-0.74.0/tests/expected/cpp/ |
H A D | 30974-using-alias-in-define.cpp | 5 inline flag_type operator&(flag_type::enum_t f1, flag_type::enum_t f2) \
|
/dports/textproc/uncrustify/uncrustify-uncrustify-0.74.0/tests/input/cpp/ |
H A D | using-alias-in-define.cpp | 5 inline flag_type operator&(flag_type::enum_t f1, flag_type::enum_t f2) \
|
/dports/textproc/clucene/clucene-core-2.3.3.4/src/ext/boost/detail/ |
H A D | scoped_enum_emulation.hpp | 44 # define BOOST_SCOPED_ENUM_START(name) struct name { enum enum_t 46 # define BOOST_SCOPED_ENUM(name) name::enum_t
|
/dports/lang/cparser/cparser-0.9.14/ |
H A D | entity.h | 27 typedef struct enum_t enum_t; typedef
|