/external/llvm-project/libcxx/test/std/utilities/template.bitset/ |
D | bitset_test_cases.h | 16 std::vector<std::bitset<N> > get_test_cases(); 19 inline std::vector<std::bitset<0> > get_test_cases<0>() { 20 std::vector<std::bitset<0> > cases; 21 cases.push_back(std::bitset<0>()); 26 inline std::vector<std::bitset<1> > get_test_cases<1>() { 27 std::vector<std::bitset<1> > cases; 28 cases.push_back(std::bitset<1>("0")); 29 cases.push_back(std::bitset<1>("1")); 34 inline std::vector<std::bitset<2> > get_test_cases<2>() { 35 std::vector<std::bitset<2> > cases; [all …]
|
/external/antlr/runtime/C/src/ |
D | antlr3bitset.c | 43 static void antlr3BitsetORInPlace (pANTLR3_BITSET bitset, pANTLR3_BITSET bitset2); 44 static ANTLR3_UINT32 antlr3BitsetSize (pANTLR3_BITSET bitset); 45 static void antlr3BitsetAdd (pANTLR3_BITSET bitset, ANTLR3_INT32 bit); 47 static ANTLR3_BOOLEAN antlr3BitsetMember (pANTLR3_BITSET bitset, ANTLR3_UINT32 bit); 48 static ANTLR3_UINT32 antlr3BitsetNumBits (pANTLR3_BITSET bitset); 49 static void antlr3BitsetRemove (pANTLR3_BITSET bitset, ANTLR3_UINT32 bit); 50 static ANTLR3_BOOLEAN antlr3BitsetIsNil (pANTLR3_BITSET bitset); 51 static pANTLR3_INT32 antlr3BitsetToIntList (pANTLR3_BITSET bitset); 55 static void growToInclude (pANTLR3_BITSET bitset, ANTLR3_INT32 bit); 56 static void grow (pANTLR3_BITSET bitset, ANTLR3_INT32 newSize); [all …]
|
/external/llvm-project/libc/test/utils/CPP/ |
D | bitset_test.cpp | 13 __llvm_libc::cpp::Bitset<1> bitset; in TEST() local 14 EXPECT_FALSE(bitset.test(0)); in TEST() 15 bitset.set(0); in TEST() 16 EXPECT_TRUE(bitset.test(0)); in TEST() 20 __llvm_libc::cpp::Bitset<2> bitset; in TEST() local 21 bitset.set(0); in TEST() 22 EXPECT_TRUE(bitset.test(0)); in TEST() 23 bitset.set(1); in TEST() 24 EXPECT_TRUE(bitset.test(1)); in TEST() 28 __llvm_libc::cpp::Bitset<7> bitset; in TEST() local [all …]
|
/external/ethtool/ |
D | tse.c | 21 bitset(u32 val, int bit) in bitset() function 59 fprintf(stdout, " (0)TX_EN %d\n", bitset(tsereg[2], 0)); in altera_tse_dump_regs() 60 fprintf(stdout, " (1)RX_EN %d\n", bitset(tsereg[2], 1)); in altera_tse_dump_regs() 61 fprintf(stdout, " (2)XON_GEN %d\n", bitset(tsereg[2], 2)); in altera_tse_dump_regs() 62 fprintf(stdout, " (3)ETH_SPEED %d\n", bitset(tsereg[2], 3)); in altera_tse_dump_regs() 63 fprintf(stdout, " (4)PROMIS_EN %d\n", bitset(tsereg[2], 4)); in altera_tse_dump_regs() 64 fprintf(stdout, " (5)PAD_EN %d\n", bitset(tsereg[2], 5)); in altera_tse_dump_regs() 65 fprintf(stdout, " (6)CRC_FWD %d\n", bitset(tsereg[2], 6)); in altera_tse_dump_regs() 66 fprintf(stdout, " (7)PAUSE_FWD %d\n", bitset(tsereg[2], 7)); in altera_tse_dump_regs() 67 fprintf(stdout, " (8)PAUSE_IGN %d\n", bitset(tsereg[2], 8)); in altera_tse_dump_regs() [all …]
|
/external/llvm-project/libcxx/include/ |
D | bitset | 2 //===---------------------------- bitset ----------------------------------===// 14 bitset synopsis 22 class bitset 28 friend class bitset; 40 constexpr bitset() noexcept; 41 constexpr bitset(unsigned long long val) noexcept; 43 explicit bitset(const charT* str, 47 explicit bitset(const basic_string<charT,traits,Allocator>& str, 53 // 23.3.5.2 bitset operations: 54 bitset& operator&=(const bitset& rhs) noexcept; [all …]
|
/external/libcxx/include/ |
D | bitset | 2 //===---------------------------- bitset ----------------------------------===// 15 bitset synopsis 23 class bitset 29 friend class bitset; 41 constexpr bitset() noexcept; 42 constexpr bitset(unsigned long long val) noexcept; 44 explicit bitset(const charT* str, 48 explicit bitset(const basic_string<charT,traits,Allocator>& str, 54 // 23.3.5.2 bitset operations: 55 bitset& operator&=(const bitset& rhs) noexcept; [all …]
|
/external/antlr/runtime/C/include/ |
D | antlr3bitset.h | 95 …void (*borInPlace) (struct ANTLR3_BITSET_struct * bitset, struct ANTLR3_BITSET_struct * … 96 ANTLR3_UINT32 (*size) (struct ANTLR3_BITSET_struct * bitset); 97 void (*add) (struct ANTLR3_BITSET_struct * bitset, ANTLR3_INT32 bit); 98 void (*grow) (struct ANTLR3_BITSET_struct * bitset, ANTLR3_INT32 newSize); 100 ANTLR3_BOOLEAN (*isMember) (struct ANTLR3_BITSET_struct * bitset, ANTLR3_UINT32 bit); 101 ANTLR3_UINT32 (*numBits) (struct ANTLR3_BITSET_struct * bitset); 102 void (*remove) (struct ANTLR3_BITSET_struct * bitset, ANTLR3_UINT32 bit); 103 ANTLR3_BOOLEAN (*isNilNode) (struct ANTLR3_BITSET_struct * bitset); 104 pANTLR3_INT32 (*toIntList) (struct ANTLR3_BITSET_struct * bitset); 106 void (*free) (struct ANTLR3_BITSET_struct * bitset);
|
/external/compiler-rt/test/asan/TestCases/ |
D | coverage-reset.cc | 24 bitset = 0; \ 26 if (guards[i]) bitset |= 1U << i; \ 27 printf("line %d: bitset %zd total: %zd\n", __LINE__, bitset, \ 34 size_t bitset; in main() local 38 size_t main_bit = bitset; in main() 43 size_t foo_bit = bitset & ~main_bit; in main() 48 size_t bar_bit = bitset & ~(main_bit | foo_bit); in main() 54 assert(bitset == 0); in main() 58 assert(bitset == foo_bit); in main() 62 assert(bitset == (foo_bit | bar_bit)); in main()
|
/external/grpc-grpc/test/core/gpr/ |
D | useful_test.cc | 28 uint32_t bitset = 0; in main() local 49 GPR_ASSERT(GPR_BITSET(&bitset, 3) == 8); in main() 50 GPR_ASSERT(GPR_BITCOUNT(bitset) == 1); in main() 51 GPR_ASSERT(GPR_BITGET(bitset, 3) == 1); in main() 52 GPR_ASSERT(GPR_BITSET(&bitset, 1) == 10); in main() 53 GPR_ASSERT(GPR_BITCOUNT(bitset) == 2); in main() 54 GPR_ASSERT(GPR_BITCLEAR(&bitset, 3) == 2); in main() 55 GPR_ASSERT(GPR_BITCOUNT(bitset) == 1); in main() 56 GPR_ASSERT(GPR_BITGET(bitset, 3) == 0); in main()
|
/external/python/cpython2/Parser/ |
D | bitset.c | 7 bitset 11 bitset ss = (char *)PyObject_MALLOC(sizeof(BYTE) * nbytes); in newbitset() 23 delbitset(bitset ss) in delbitset() 29 addbit(bitset ss, int ibit) in addbit() 42 testbit(bitset ss, int ibit) 49 samebitset(bitset ss1, bitset ss2, int nbits) in samebitset() 60 mergebitset(bitset ss1, bitset ss2, int nbits) in mergebitset()
|
/external/python/cpython2/Include/ |
D | bitset.h | 12 typedef BYTE *bitset; typedef 14 bitset newbitset(int nbits); 15 void delbitset(bitset bs); 17 int addbit(bitset bs, int ibit); /* Returns 0 if already set */ 18 int samebitset(bitset bs1, bitset bs2, int nbits); 19 void mergebitset(bitset bs1, bitset bs2, int nbits);
|
/external/antlr/runtime/Cpp/include/ |
D | antlr3bitset.inl | 44 // Allocate memory for the bitset structure itself 46 // to include in the bitset, so we need at at least 52 BitsetType* bitset = new BitsetType(); local 61 if( bitset->get_blist().get_length() <= count) 62 bitset->grow(count+1); 64 typename ImplTraits::BitsetListType& blist = bitset->get_blist(); 70 // return the new bitset 72 return bitset; 78 BitsetType* bitset; local 86 // Allocate memory for the bitset structure itself [all …]
|
/external/webrtc/modules/rtp_rtcp/source/ |
D | active_decode_targets_helper.cc | 26 std::bitset<32> LastSendOnChain(int frame_diff, in LastSendOnChain() 28 std::bitset<32> bitmask = 0; in LastSendOnChain() 38 std::bitset<32> AllActive(size_t num) { in AllActive() 44 std::bitset<32> ActiveChains( in ActiveChains() 47 std::bitset<32> active_decode_targets) { in ActiveChains() 48 std::bitset<32> active_chains = 0; in ActiveChains() 64 std::bitset<32> active_decode_targets, in OnFrame() 84 std::bitset<32> all_decode_targets = AllActive(num_decode_targets); in OnFrame()
|
D | active_decode_targets_helper.h | 38 std::bitset<32> active_decode_targets, 50 std::bitset<32> ActiveChainsBitmask() const { return last_active_chains_; } in ActiveChainsBitmask() 55 std::bitset<32> unsent_on_chain_ = 0; 56 std::bitset<32> last_active_decode_targets_ = 0; 57 std::bitset<32> last_active_chains_ = 0;
|
/external/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/bitset/ |
D | main.cpp | 5 void fill(std::bitset<N> &b) { in fill() 15 void by_ref_and_ptr(std::bitset<N> &ref, std::bitset<N> *ptr) { in by_ref_and_ptr() 21 std::bitset<0> empty; in main() 22 std::bitset<13> small; in main() 24 std::bitset<200> large; in main()
|
/external/llvm-project/libcxx/test/std/utilities/template.bitset/bitset.cons/ |
D | string_ctor.pass.cpp | 25 std::bitset<N> v(s, s.size()+1, 10); in test_string_ctor() 35 std::bitset<N> v(s, 2, 10); in test_string_ctor() 45 std::bitset<N> v(s, 2, 10, 'a', 'b'); in test_string_ctor() 55 std::bitset<N> v(s, 3, 10); in test_string_ctor() 64 std::bitset<N> v(s, 3, 10, 'a', 'b'); in test_string_ctor() 81 static_assert(!std::is_constructible<std::bitset<3>, Nonsense*>::value, ""); in test_for_non_eager_instantiation() 82 …static_assert(!std::is_constructible<std::bitset<3>, Nonsense*, size_t, Nonsense&, Nonsense&>::val… in test_for_non_eager_instantiation()
|
/external/libcxx/test/std/utilities/template.bitset/bitset.operators/ |
D | op_not.pass.cpp | 25 std::bitset<N> 28 std::bitset<N> v; in make_bitset() 37 std::bitset<N> v1 = make_bitset<N>(); in test_op_not() 38 std::bitset<N> v2 = make_bitset<N>(); in test_op_not() 39 std::bitset<N> v3 = v1; in test_op_not()
|
D | op_or.pass.cpp | 25 std::bitset<N> 28 std::bitset<N> v; in make_bitset() 37 std::bitset<N> v1 = make_bitset<N>(); in test_op_or() 38 std::bitset<N> v2 = make_bitset<N>(); in test_op_or() 39 std::bitset<N> v3 = v1; in test_op_or()
|
D | op_and.pass.cpp | 25 std::bitset<N> 28 std::bitset<N> v; in make_bitset() 37 std::bitset<N> v1 = make_bitset<N>(); in test_op_and() 38 std::bitset<N> v2 = make_bitset<N>(); in test_op_and() 39 std::bitset<N> v3 = v1; in test_op_and()
|
/external/llvm-project/libcxx/test/std/utilities/template.bitset/bitset.hash/ |
D | enabled_hash.pass.cpp | 25 test_hash_enabled_for_type<std::bitset<0> >(); in main() 26 test_hash_enabled_for_type<std::bitset<1> >(); in main() 27 test_hash_enabled_for_type<std::bitset<1024> >(); in main() 28 test_hash_enabled_for_type<std::bitset<100000> >(); in main()
|
/external/libcxx/test/std/utilities/template.bitset/bitset.hash/ |
D | enabled_hash.pass.cpp | 24 test_hash_enabled_for_type<std::bitset<0> >(); in main() 25 test_hash_enabled_for_type<std::bitset<1> >(); in main() 26 test_hash_enabled_for_type<std::bitset<1024> >(); in main() 27 test_hash_enabled_for_type<std::bitset<100000> >(); in main()
|
/external/libcxx/test/std/utilities/template.bitset/bitset.members/ |
D | op_xor_eq.pass.cpp | 25 std::bitset<N> 28 std::bitset<N> v; in make_bitset() 37 std::bitset<N> v1 = make_bitset<N>(); in test_op_xor_eq() 38 std::bitset<N> v2 = make_bitset<N>(); in test_op_xor_eq() 39 std::bitset<N> v3 = v1; in test_op_xor_eq()
|
D | op_or_eq.pass.cpp | 25 std::bitset<N> 28 std::bitset<N> v; in make_bitset() 37 std::bitset<N> v1 = make_bitset<N>(); in test_op_or_eq() 38 std::bitset<N> v2 = make_bitset<N>(); in test_op_or_eq() 39 std::bitset<N> v3 = v1; in test_op_or_eq()
|
D | op_and_eq.pass.cpp | 25 std::bitset<N> 28 std::bitset<N> v; in make_bitset() 37 std::bitset<N> v1 = make_bitset<N>(); in test_op_and_eq() 38 std::bitset<N> v2 = make_bitset<N>(); in test_op_and_eq() 39 std::bitset<N> v3 = v1; in test_op_and_eq()
|
/external/mesa3d/src/util/ |
D | bitset_test.cpp | 27 TEST(bitset, sizes) in TEST() argument 40 TEST(bitset, testsetclear) in TEST() argument 54 TEST(bitset, testsetones) in TEST() argument 70 TEST(bitset, testbasicrange) in TEST() argument 92 TEST(bitset, testbitsetffs) in TEST() argument 112 TEST(bitset, testrangebits) in TEST() argument
|