/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/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/v8/src/compiler/ |
D | types.h | 232 typedef uint32_t bitset; // Internal typedef 241 static bitset SignedSmall(); 242 static bitset UnsignedSmall(); 244 static bool IsNone(bitset bits) { return bits == kNone; } in IsNone() 246 static bool Is(bitset bits1, bitset bits2) { in Is() 250 static double Min(bitset); 251 static double Max(bitset); 253 static bitset Glb(double min, double max); 254 static bitset Lub(HeapObjectType const& type); 255 static bitset Lub(double value); [all …]
|
D | types.cc | 64 Type bitset = AsUnion()->Get(0); in Min() local 65 if (!bitset.Is(NaN())) min = std::min(min, bitset.Min()); in Min() 82 Type bitset = this->AsUnion()->Get(0); in Max() local 83 if (!bitset.Is(NaN())) max = std::max(max, bitset.Max()); in Max() 95 Type::bitset Type::BitsetGlb() const { in BitsetGlb() 105 bitset glb = BitsetType::Glb(AsRange()->Min(), AsRange()->Max()); in BitsetGlb() 113 Type::bitset Type::BitsetLub() const { in BitsetLub() 119 int bitset = AsUnion()->Get(0).BitsetLub(); in BitsetLub() local 122 bitset |= AsUnion()->Get(i).BitsetLub(); in BitsetLub() 124 return bitset; in BitsetLub() [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/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/python/cpython3/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/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/cpython3/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/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/libcxx/test/std/utilities/template.bitset/bitset.operators/ |
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()
|
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()
|
/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()
|
D | index.pass.cpp | 26 std::bitset<N> 29 std::bitset<N> v; in make_bitset() 38 std::bitset<N> v1 = make_bitset<N>(); in test_index_const() 43 typename std::bitset<N>::reference r = v1[N/2]; in test_index_const() 45 typename std::bitset<N>::reference r2 = v1[N/2]; in test_index_const()
|
D | left_shift.pass.cpp | 25 std::bitset<N> 28 std::bitset<N> v; in make_bitset() 39 std::bitset<N> v1 = make_bitset<N>(); in test_left_shift() 40 std::bitset<N> v2 = v1; in test_left_shift()
|
D | not_all.pass.cpp | 25 std::bitset<N> 28 std::bitset<N> v; in make_bitset() 37 std::bitset<N> v1 = make_bitset<N>(); in test_not_all() 38 std::bitset<N> v2 = ~v1; in test_not_all()
|
D | right_shift.pass.cpp | 25 std::bitset<N> 28 std::bitset<N> v; in make_bitset() 39 std::bitset<N> v1 = make_bitset<N>(); in test_right_shift() 40 std::bitset<N> v2 = v1; in test_right_shift()
|
/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/llvm/include/llvm/MC/ |
D | SubtargetFeature.h | 35 class FeatureBitset : public std::bitset<MAX_SUBTARGET_FEATURES> { 38 FeatureBitset() : bitset() {} in FeatureBitset() 40 FeatureBitset(const bitset<MAX_SUBTARGET_FEATURES>& B) : bitset(B) {} in FeatureBitset() 42 FeatureBitset(std::initializer_list<unsigned> Init) : bitset() { in FeatureBitset()
|
/external/libcxx/test/std/utilities/template.bitset/bitset.cons/ |
D | string_ctor.pass.cpp | 30 std::bitset<N> v(str, str.size()+1, 10); in test_string_ctor() 40 std::bitset<N> v(str, 2, 10); in test_string_ctor() 50 std::bitset<N> v(str, 2, 10, 'a', 'b'); in test_string_ctor() 60 std::bitset<N> v(str, 3, 10); in test_string_ctor() 69 std::bitset<N> v(str, 3, 10, 'a', 'b'); in test_string_ctor()
|