/dports/games/libretro-scummvm/scummvm-7b1e929/engines/prince/ |
H A D | flags.cpp | 49 const Flags::FlagDebug Flags::_flagNames[Flags::kFlagDebugAmount] = { 50 { Flags::FLAGA1, "FLAGA1" }, 51 { Flags::FLAGA2, "FLAGA2" }, 52 { Flags::FLAGA3, "FLAGA3" }, 53 { Flags::DESTX, "DESTX" }, 54 { Flags::DESTY, "DESTY" }, 55 { Flags::DESTD, "DESTD" }, 68 { Flags::U_BT_1, "U_BT_1" }, 69 { Flags::U_BT_2, "U_BT_2" }, 70 { Flags::U_BT_3, "U_BT_3" }, [all …]
|
/dports/games/scummvm-tools/scummvm-tools-2.5.0/engines/prince/ |
H A D | flags.cpp | 46 const Flags::FlagDebug Flags::_flagNames[Flags::kFlagDebugAmount] = { 47 { Flags::FLAGA1, "FLAGA1" }, 48 { Flags::FLAGA2, "FLAGA2" }, 49 { Flags::FLAGA3, "FLAGA3" }, 50 { Flags::DESTX, "DESTX" }, 51 { Flags::DESTY, "DESTY" }, 52 { Flags::DESTD, "DESTD" }, 65 { Flags::U_BT_1, "U_BT_1" }, 66 { Flags::U_BT_2, "U_BT_2" }, 67 { Flags::U_BT_3, "U_BT_3" }, [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/prince/ |
H A D | flags.cpp | 31 { Flags::FLAGA1, "FLAGA1" }, 32 { Flags::FLAGA2, "FLAGA2" }, 33 { Flags::FLAGA3, "FLAGA3" }, 34 { Flags::DESTX, "DESTX" }, 35 { Flags::DESTY, "DESTY" }, 36 { Flags::DESTD, "DESTD" }, 49 { Flags::U_BT_1, "U_BT_1" }, 50 { Flags::U_BT_2, "U_BT_2" }, 51 { Flags::U_BT_3, "U_BT_3" }, 210 { Flags::Pfui, "Pfui" }, [all …]
|
/dports/editors/kakoune/kakoune-2021.11.08/src/ |
H A D | flags.hh | 24 constexpr Flags operator|(Flags lhs, Flags rhs) in operator |() 26 return (Flags)((UnderlyingType<Flags>) lhs | (UnderlyingType<Flags>) rhs); in operator |() 30 constexpr Flags& operator|=(Flags& lhs, Flags rhs) in operator |=() 49 constexpr TestableFlags<Flags> operator&(Flags lhs, Flags rhs) in operator &() 51 return { (Flags)((UnderlyingType<Flags>) lhs & (UnderlyingType<Flags>) rhs) }; in operator &() 55 constexpr Flags& operator&=(Flags& lhs, Flags rhs) in operator &=() 62 constexpr Flags operator~(Flags lhs) in operator ~() 64 return (Flags)(~(UnderlyingType<Flags>)lhs); in operator ~() 68 constexpr Flags operator^(Flags lhs, Flags rhs) in operator ^() 70 return (Flags)((UnderlyingType<Flags>) lhs ^ (UnderlyingType<Flags>) rhs); in operator ^() [all …]
|
/dports/net/tcpdump/tcpdump-4.99.1/tests/ |
H A D | aoe_1.out | 1 1 14:05:53.740897 AoE length 18, Ver 1, Flags: [none] 2 2 14:05:57.521114 AoE length 46, Ver 1, Flags: [none] 4 4 14:06:15.676287 AoE length 46, Ver 1, Flags: [none] 6 6 14:06:15.703380 AoE length 46, Ver 1, Flags: [none] 7 7 14:06:15.703405 AoE length 46, Ver 1, Flags: [none] 8 8 14:06:15.703414 AoE length 46, Ver 1, Flags: [none] 9 9 14:06:15.703423 AoE length 46, Ver 1, Flags: [none] 14 14 14:06:15.708883 AoE length 46, Ver 1, Flags: [none] 15 15 14:06:15.708910 AoE length 46, Ver 1, Flags: [none] 16 16 14:06:15.708917 AoE length 46, Ver 1, Flags: [none] [all …]
|
/dports/graphics/dssim/dssim-3.1.2/cargo-crates/lcms2-5.4.1/src/ |
H A D | flags.rs | 10 impl Flags { impl 14 pub const NO_OPTIMIZE: Flags = Flags(ffi::FLAGS_NOOPTIMIZE, AllowCache); 20 pub const GAMUT_CHECK: Flags = Flags(ffi::FLAGS_GAMUTCHECK, AllowCache); 43 pub const FORCE_CLUT: Flags = Flags(ffi::FLAGS_FORCE_CLUT, AllowCache); 60 impl<T: CacheFlag> ops::BitOr<Flags<T>> for Flags<DisallowCache> { implementation 62 fn bitor(self, other: Flags<T>) -> Flags<DisallowCache> { in bitor() 67 impl<T: CacheFlag> ops::BitOr<Flags<T>> for Flags<AllowCache> { implementation 69 fn bitor(self, other: Flags<T>) -> Flags<T> { in bitor() 119 let mut t = Flags::COPY_ALPHA | Flags::NO_OPTIMIZE; in flags() 126 let _ = Flags::default() | Flags::NO_CACHE; in flags() [all …]
|
/dports/misc/otter/otter-3.3f/source/ |
H A D | options.c | 19 Flags[i].name = ""; in init_options() 35 Flags[UR_RES].val = 0; in init_options() 1082 if (Flags[PARA_FROM].val == 0 && Flags[PARA_INTO].val == 0 && Flags[PARA_ONES_RULE].val) in check_options() 1085 if (Flags[NO_FAPL].val && Flags[HYPER_RES].val == 0) in check_options() 1087 if (Flags[NO_FAPL].val && Flags[FOR_SUB_FPA].val) in check_options() 1089 if (Flags[NO_FAPL].val && Flags[BACK_SUB].val) in check_options() 1091 if (Flags[ANL_EQ].val && Flags[LRPO].val == 0) in check_options() 1121 if (Flags[SOS_STACK].val && Flags[SOS_QUEUE].val) in check_options() 1124 if (Flags[SOS_STACK].val && Flags[INPUT_SOS_FIRST].val) in check_options() 1127 if (Flags[PARA_ALL].val && Flags[DETAILED_HISTORY].val) in check_options() [all …]
|
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/router/src/mysql_protocol/include/mysqlrouter/mysql_protocol/ |
H A D | constants.h | 40 class Flags { 47 constexpr Flags(const Flags &) = default; 50 Flags &operator=(const Flags &other) = default; 60 constexpr Flags operator|(const Flags &other) const { 64 constexpr Flags operator&(const Flags &other) const { 71 Flags &set(const Flags &other) { in set() 75 Flags &clear(const Flags &other) { in clear() 79 Flags &reset() { in reset() 92 Flags &clear_high_16_bits() { in clear_high_16_bits() 96 Flags &clear_low_16_bits() { in clear_low_16_bits() [all …]
|
/dports/multimedia/librav1e/rav1e-0.5.1/cargo-crates/bitflags-1.3.2/src/ |
H A D | lib.rs | 999 assert_eq!(Flags::from_bits(0b11), Some(Flags::A | Flags::B)); in test_from_bits() 1038 (Flags::A | Flags::B) in test_from_bits_unchecked() 1229 const INTERSECT: Flags = Flags::all().intersection(Flags::C); in test_set_ops_const() 1230 const UNION: Flags = Flags::A.union(Flags::C); in test_set_ops_const() 1231 const DIFFERENCE: Flags = Flags::all().difference(Flags::A); in test_set_ops_const() 1238 assert_eq!(SYM_DIFFERENCE, (Flags::A | Flags::C) ^ (Flags::all() - Flags::A)); in test_set_ops_const() 1399 const M2: Flags = Flags::A; in test_const_fn() 1402 const M3: Flags = Flags::C; in test_const_fn() 1431 [Flags::A, Flags::B].iter().cloned().collect::<Flags>(), in test_from_iterator() 1432 Flags::A | Flags::B in test_from_iterator() [all …]
|
/dports/devel/stylua/StyLua-0.11.0/cargo-crates/bitflags-1.3.2/src/ |
H A D | lib.rs | 999 assert_eq!(Flags::from_bits(0b11), Some(Flags::A | Flags::B)); in test_from_bits() 1038 (Flags::A | Flags::B) in test_from_bits_unchecked() 1229 const INTERSECT: Flags = Flags::all().intersection(Flags::C); in test_set_ops_const() 1230 const UNION: Flags = Flags::A.union(Flags::C); in test_set_ops_const() 1231 const DIFFERENCE: Flags = Flags::all().difference(Flags::A); in test_set_ops_const() 1238 assert_eq!(SYM_DIFFERENCE, (Flags::A | Flags::C) ^ (Flags::all() - Flags::A)); in test_set_ops_const() 1399 const M2: Flags = Flags::A; in test_const_fn() 1402 const M3: Flags = Flags::C; in test_const_fn() 1431 [Flags::A, Flags::B].iter().cloned().collect::<Flags>(), in test_from_iterator() 1432 Flags::A | Flags::B in test_from_iterator() [all …]
|
/dports/multimedia/rav1e/rav1e-0.5.1/cargo-crates/bitflags-1.3.2/src/ |
H A D | lib.rs | 999 assert_eq!(Flags::from_bits(0b11), Some(Flags::A | Flags::B)); in test_from_bits() 1038 (Flags::A | Flags::B) in test_from_bits_unchecked() 1229 const INTERSECT: Flags = Flags::all().intersection(Flags::C); in test_set_ops_const() 1230 const UNION: Flags = Flags::A.union(Flags::C); in test_set_ops_const() 1231 const DIFFERENCE: Flags = Flags::all().difference(Flags::A); in test_set_ops_const() 1238 assert_eq!(SYM_DIFFERENCE, (Flags::A | Flags::C) ^ (Flags::all() - Flags::A)); in test_set_ops_const() 1399 const M2: Flags = Flags::A; in test_const_fn() 1402 const M3: Flags = Flags::C; in test_const_fn() 1431 [Flags::A, Flags::B].iter().cloned().collect::<Flags>(), in test_from_iterator() 1432 Flags::A | Flags::B in test_from_iterator() [all …]
|
/dports/devel/cargo-c/cargo-c-0.9.6+cargo-0.58/cargo-crates/bitflags-1.3.2/src/ |
H A D | lib.rs | 999 assert_eq!(Flags::from_bits(0b11), Some(Flags::A | Flags::B)); in test_from_bits() 1038 (Flags::A | Flags::B) in test_from_bits_unchecked() 1229 const INTERSECT: Flags = Flags::all().intersection(Flags::C); in test_set_ops_const() 1230 const UNION: Flags = Flags::A.union(Flags::C); in test_set_ops_const() 1231 const DIFFERENCE: Flags = Flags::all().difference(Flags::A); in test_set_ops_const() 1238 assert_eq!(SYM_DIFFERENCE, (Flags::A | Flags::C) ^ (Flags::all() - Flags::A)); in test_set_ops_const() 1399 const M2: Flags = Flags::A; in test_const_fn() 1402 const M3: Flags = Flags::C; in test_const_fn() 1431 [Flags::A, Flags::B].iter().cloned().collect::<Flags>(), in test_from_iterator() 1432 Flags::A | Flags::B in test_from_iterator() [all …]
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/bitflags-1.3.2/src/ |
H A D | lib.rs | 999 assert_eq!(Flags::from_bits(0b11), Some(Flags::A | Flags::B)); in test_from_bits() 1038 (Flags::A | Flags::B) in test_from_bits_unchecked() 1229 const INTERSECT: Flags = Flags::all().intersection(Flags::C); in test_set_ops_const() 1230 const UNION: Flags = Flags::A.union(Flags::C); in test_set_ops_const() 1231 const DIFFERENCE: Flags = Flags::all().difference(Flags::A); in test_set_ops_const() 1238 assert_eq!(SYM_DIFFERENCE, (Flags::A | Flags::C) ^ (Flags::all() - Flags::A)); in test_set_ops_const() 1399 const M2: Flags = Flags::A; in test_const_fn() 1402 const M3: Flags = Flags::C; in test_const_fn() 1431 [Flags::A, Flags::B].iter().cloned().collect::<Flags>(), in test_from_iterator() 1432 Flags::A | Flags::B in test_from_iterator() [all …]
|
/dports/devel/sentry-cli/sentry-cli-1.71.0/cargo-crates/bitflags-1.3.2/src/ |
H A D | lib.rs | 999 assert_eq!(Flags::from_bits(0b11), Some(Flags::A | Flags::B)); in test_from_bits() 1038 (Flags::A | Flags::B) in test_from_bits_unchecked() 1229 const INTERSECT: Flags = Flags::all().intersection(Flags::C); in test_set_ops_const() 1230 const UNION: Flags = Flags::A.union(Flags::C); in test_set_ops_const() 1231 const DIFFERENCE: Flags = Flags::all().difference(Flags::A); in test_set_ops_const() 1238 assert_eq!(SYM_DIFFERENCE, (Flags::A | Flags::C) ^ (Flags::all() - Flags::A)); in test_set_ops_const() 1399 const M2: Flags = Flags::A; in test_const_fn() 1402 const M3: Flags = Flags::C; in test_const_fn() 1431 [Flags::A, Flags::B].iter().cloned().collect::<Flags>(), in test_from_iterator() 1432 Flags::A | Flags::B in test_from_iterator() [all …]
|
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/bitflags-1.3.2/src/ |
H A D | lib.rs | 999 assert_eq!(Flags::from_bits(0b11), Some(Flags::A | Flags::B)); in test_from_bits() 1038 (Flags::A | Flags::B) in test_from_bits_unchecked() 1229 const INTERSECT: Flags = Flags::all().intersection(Flags::C); in test_set_ops_const() 1230 const UNION: Flags = Flags::A.union(Flags::C); in test_set_ops_const() 1231 const DIFFERENCE: Flags = Flags::all().difference(Flags::A); in test_set_ops_const() 1238 assert_eq!(SYM_DIFFERENCE, (Flags::A | Flags::C) ^ (Flags::all() - Flags::A)); in test_set_ops_const() 1399 const M2: Flags = Flags::A; in test_const_fn() 1402 const M3: Flags = Flags::C; in test_const_fn() 1431 [Flags::A, Flags::B].iter().cloned().collect::<Flags>(), in test_from_iterator() 1432 Flags::A | Flags::B in test_from_iterator() [all …]
|
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/cargo-crates/bitflags-1.3.2/src/ |
H A D | lib.rs | 999 assert_eq!(Flags::from_bits(0b11), Some(Flags::A | Flags::B)); in test_from_bits() 1038 (Flags::A | Flags::B) in test_from_bits_unchecked() 1229 const INTERSECT: Flags = Flags::all().intersection(Flags::C); in test_set_ops_const() 1230 const UNION: Flags = Flags::A.union(Flags::C); in test_set_ops_const() 1231 const DIFFERENCE: Flags = Flags::all().difference(Flags::A); in test_set_ops_const() 1238 assert_eq!(SYM_DIFFERENCE, (Flags::A | Flags::C) ^ (Flags::all() - Flags::A)); in test_set_ops_const() 1399 const M2: Flags = Flags::A; in test_const_fn() 1402 const M3: Flags = Flags::C; in test_const_fn() 1431 [Flags::A, Flags::B].iter().cloned().collect::<Flags>(), in test_from_iterator() 1432 Flags::A | Flags::B in test_from_iterator() [all …]
|
/dports/accessibility/wl-gammarelay-rs/wl-gammarelay-rs-0.2.1/cargo-crates/bitflags-1.3.2/src/ |
H A D | lib.rs | 999 assert_eq!(Flags::from_bits(0b11), Some(Flags::A | Flags::B)); in test_from_bits() 1038 (Flags::A | Flags::B) in test_from_bits_unchecked() 1229 const INTERSECT: Flags = Flags::all().intersection(Flags::C); in test_set_ops_const() 1230 const UNION: Flags = Flags::A.union(Flags::C); in test_set_ops_const() 1231 const DIFFERENCE: Flags = Flags::all().difference(Flags::A); in test_set_ops_const() 1238 assert_eq!(SYM_DIFFERENCE, (Flags::A | Flags::C) ^ (Flags::all() - Flags::A)); in test_set_ops_const() 1399 const M2: Flags = Flags::A; in test_const_fn() 1402 const M3: Flags = Flags::C; in test_const_fn() 1431 [Flags::A, Flags::B].iter().cloned().collect::<Flags>(), in test_from_iterator() 1432 Flags::A | Flags::B in test_from_iterator() [all …]
|
/dports/x11-wm/leftwm/leftwm-0.2.11/cargo-crates/bitflags-1.3.2/src/ |
H A D | lib.rs | 999 assert_eq!(Flags::from_bits(0b11), Some(Flags::A | Flags::B)); in test_from_bits() 1038 (Flags::A | Flags::B) in test_from_bits_unchecked() 1229 const INTERSECT: Flags = Flags::all().intersection(Flags::C); in test_set_ops_const() 1230 const UNION: Flags = Flags::A.union(Flags::C); in test_set_ops_const() 1231 const DIFFERENCE: Flags = Flags::all().difference(Flags::A); in test_set_ops_const() 1238 assert_eq!(SYM_DIFFERENCE, (Flags::A | Flags::C) ^ (Flags::all() - Flags::A)); in test_set_ops_const() 1399 const M2: Flags = Flags::A; in test_const_fn() 1402 const M3: Flags = Flags::C; in test_const_fn() 1431 [Flags::A, Flags::B].iter().cloned().collect::<Flags>(), in test_from_iterator() 1432 Flags::A | Flags::B in test_from_iterator() [all …]
|
/dports/databases/redisjson/RedisJSON-2.0.6/cargo-crates/bitflags-1.3.2/src/ |
H A D | lib.rs | 999 assert_eq!(Flags::from_bits(0b11), Some(Flags::A | Flags::B)); in test_from_bits() 1038 (Flags::A | Flags::B) in test_from_bits_unchecked() 1229 const INTERSECT: Flags = Flags::all().intersection(Flags::C); in test_set_ops_const() 1230 const UNION: Flags = Flags::A.union(Flags::C); in test_set_ops_const() 1231 const DIFFERENCE: Flags = Flags::all().difference(Flags::A); in test_set_ops_const() 1238 assert_eq!(SYM_DIFFERENCE, (Flags::A | Flags::C) ^ (Flags::all() - Flags::A)); in test_set_ops_const() 1399 const M2: Flags = Flags::A; in test_const_fn() 1402 const M3: Flags = Flags::C; in test_const_fn() 1431 [Flags::A, Flags::B].iter().cloned().collect::<Flags>(), in test_from_iterator() 1432 Flags::A | Flags::B in test_from_iterator() [all …]
|
/dports/dns/encrypted-dns-server/encrypted-dns-server-0.9.1/cargo-crates/bitflags-1.3.2/src/ |
H A D | lib.rs | 999 assert_eq!(Flags::from_bits(0b11), Some(Flags::A | Flags::B)); in test_from_bits() 1038 (Flags::A | Flags::B) in test_from_bits_unchecked() 1229 const INTERSECT: Flags = Flags::all().intersection(Flags::C); in test_set_ops_const() 1230 const UNION: Flags = Flags::A.union(Flags::C); in test_set_ops_const() 1231 const DIFFERENCE: Flags = Flags::all().difference(Flags::A); in test_set_ops_const() 1238 assert_eq!(SYM_DIFFERENCE, (Flags::A | Flags::C) ^ (Flags::all() - Flags::A)); in test_set_ops_const() 1399 const M2: Flags = Flags::A; in test_const_fn() 1402 const M3: Flags = Flags::C; in test_const_fn() 1431 [Flags::A, Flags::B].iter().cloned().collect::<Flags>(), in test_from_iterator() 1432 Flags::A | Flags::B in test_from_iterator() [all …]
|
/dports/dns/doh-proxy/doh-proxy-0.9.2/cargo-crates/bitflags-1.3.2/src/ |
H A D | lib.rs | 999 assert_eq!(Flags::from_bits(0b11), Some(Flags::A | Flags::B)); in test_from_bits() 1038 (Flags::A | Flags::B) in test_from_bits_unchecked() 1229 const INTERSECT: Flags = Flags::all().intersection(Flags::C); in test_set_ops_const() 1230 const UNION: Flags = Flags::A.union(Flags::C); in test_set_ops_const() 1231 const DIFFERENCE: Flags = Flags::all().difference(Flags::A); in test_set_ops_const() 1238 assert_eq!(SYM_DIFFERENCE, (Flags::A | Flags::C) ^ (Flags::all() - Flags::A)); in test_set_ops_const() 1399 const M2: Flags = Flags::A; in test_const_fn() 1402 const M3: Flags = Flags::C; in test_const_fn() 1431 [Flags::A, Flags::B].iter().cloned().collect::<Flags>(), in test_from_iterator() 1432 Flags::A | Flags::B in test_from_iterator() [all …]
|
/dports/devel/git-delta/delta-0.9.2/cargo-crates/bitflags-1.3.2/src/ |
H A D | lib.rs | 999 assert_eq!(Flags::from_bits(0b11), Some(Flags::A | Flags::B)); in test_from_bits() 1038 (Flags::A | Flags::B) in test_from_bits_unchecked() 1229 const INTERSECT: Flags = Flags::all().intersection(Flags::C); in test_set_ops_const() 1230 const UNION: Flags = Flags::A.union(Flags::C); in test_set_ops_const() 1231 const DIFFERENCE: Flags = Flags::all().difference(Flags::A); in test_set_ops_const() 1238 assert_eq!(SYM_DIFFERENCE, (Flags::A | Flags::C) ^ (Flags::all() - Flags::A)); in test_set_ops_const() 1399 const M2: Flags = Flags::A; in test_const_fn() 1402 const M3: Flags = Flags::C; in test_const_fn() 1431 [Flags::A, Flags::B].iter().cloned().collect::<Flags>(), in test_from_iterator() 1432 Flags::A | Flags::B in test_from_iterator() [all …]
|
/dports/editors/helix/helix-0.5.0/cargo-crates/bitflags-1.3.2/src/ |
H A D | lib.rs | 999 assert_eq!(Flags::from_bits(0b11), Some(Flags::A | Flags::B)); in test_from_bits() 1038 (Flags::A | Flags::B) in test_from_bits_unchecked() 1229 const INTERSECT: Flags = Flags::all().intersection(Flags::C); in test_set_ops_const() 1230 const UNION: Flags = Flags::A.union(Flags::C); in test_set_ops_const() 1231 const DIFFERENCE: Flags = Flags::all().difference(Flags::A); in test_set_ops_const() 1238 assert_eq!(SYM_DIFFERENCE, (Flags::A | Flags::C) ^ (Flags::all() - Flags::A)); in test_set_ops_const() 1399 const M2: Flags = Flags::A; in test_const_fn() 1402 const M3: Flags = Flags::C; in test_const_fn() 1431 [Flags::A, Flags::B].iter().cloned().collect::<Flags>(), in test_from_iterator() 1432 Flags::A | Flags::B in test_from_iterator() [all …]
|
/dports/editors/kak-lsp/kak-lsp-11.1.0/cargo-crates/bitflags-1.3.2/src/ |
H A D | lib.rs | 999 assert_eq!(Flags::from_bits(0b11), Some(Flags::A | Flags::B)); in test_from_bits() 1038 (Flags::A | Flags::B) in test_from_bits_unchecked() 1229 const INTERSECT: Flags = Flags::all().intersection(Flags::C); in test_set_ops_const() 1230 const UNION: Flags = Flags::A.union(Flags::C); in test_set_ops_const() 1231 const DIFFERENCE: Flags = Flags::all().difference(Flags::A); in test_set_ops_const() 1238 assert_eq!(SYM_DIFFERENCE, (Flags::A | Flags::C) ^ (Flags::all() - Flags::A)); in test_set_ops_const() 1399 const M2: Flags = Flags::A; in test_const_fn() 1402 const M3: Flags = Flags::C; in test_const_fn() 1431 [Flags::A, Flags::B].iter().cloned().collect::<Flags>(), in test_from_iterator() 1432 Flags::A | Flags::B in test_from_iterator() [all …]
|
/dports/www/ffsend/ffsend-ccd489ce2e75b91c0f17fbf13dbd91fe84f5ad98/cargo-crates/bitflags-1.3.2/src/ |
H A D | lib.rs | 999 assert_eq!(Flags::from_bits(0b11), Some(Flags::A | Flags::B)); in test_from_bits() 1038 (Flags::A | Flags::B) in test_from_bits_unchecked() 1229 const INTERSECT: Flags = Flags::all().intersection(Flags::C); in test_set_ops_const() 1230 const UNION: Flags = Flags::A.union(Flags::C); in test_set_ops_const() 1231 const DIFFERENCE: Flags = Flags::all().difference(Flags::A); in test_set_ops_const() 1238 assert_eq!(SYM_DIFFERENCE, (Flags::A | Flags::C) ^ (Flags::all() - Flags::A)); in test_set_ops_const() 1399 const M2: Flags = Flags::A; in test_const_fn() 1402 const M3: Flags = Flags::C; in test_const_fn() 1431 [Flags::A, Flags::B].iter().cloned().collect::<Flags>(), in test_from_iterator() 1432 Flags::A | Flags::B in test_from_iterator() [all …]
|