/prebuilts/gdb/darwin-x86/include/python2.7/ |
bitset.h | 8 /* Bitset interface */ 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);
|
/prebuilts/gdb/linux-x86/include/python2.7/ |
bitset.h | 8 /* Bitset interface */ 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);
|
/prebuilts/python/darwin-x86/2.7.5/include/python2.7/ |
bitset.h | 8 /* Bitset interface */ 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);
|
/prebuilts/python/linux-x86/2.7.5/include/python2.7/ |
bitset.h | 8 /* Bitset interface */ 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/compiler-rt/test/asan/TestCases/ |
coverage-reset.cc | 17 bitset = 0; \ 19 if (guards[i]) bitset |= 1U << i; \ 20 printf("line %d: bitset %zd total: %zd\n", __LINE__, bitset, \ 27 size_t bitset; local 31 size_t main_bit = bitset; 36 size_t foo_bit = bitset & ~main_bit; 41 size_t bar_bit = bitset & ~(main_bit | foo_bit); 47 assert(bitset == 0); 51 assert(bitset == foo_bit) [all...] |
/device/google/contexthub/firmware/src/ |
slab.c | 26 struct AtomicBitset bitset[0]; member in struct:SlabAllocator 45 allocator->dataChunks = ((uint8_t*)allocator->bitset) + bitsetSz; 46 atomicBitsetInit(allocator->bitset, numItems); 59 int32_t itemIdx = atomicBitsetFindClearAndSet(allocator->bitset); 74 if ((itemOffset % allocator->itemSz) || (itemIdx >= atomicBitsetGetNumBits(allocator->bitset)) || !atomicBitsetGetBit(allocator->bitset, itemIdx)) 77 atomicBitsetClearBit(allocator->bitset, itemIdx); 82 if (!atomicBitsetGetBit(allocator->bitset, idx)) 94 if ((itemOffset % allocator->itemSz) || (itemIdx >= atomicBitsetGetNumBits(allocator->bitset)) || !atomicBitsetGetBit(allocator->bitset, itemIdx) [all...] |
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/bfin/ |
bit.s | 8 .global bitset 9 bitset: label 10 BITSET(R2, 30); 11 BiTsET (r3, 29);
|
/external/llvm/lib/Object/ |
ELFYAML.cpp | 248 void ScalarBitSetTraits<ELFYAML::ELF_EF>::bitset(IO &IO, function in class:llvm::yaml::ScalarBitSetTraits 403 void ScalarBitSetTraits<ELFYAML::ELF_SHF>::bitset(IO &IO, function in class:llvm::yaml::ScalarBitSetTraits 456 void ScalarBitSetTraits<ELFYAML::ELF_STO>::bitset(IO &IO, function in class:llvm::yaml::ScalarBitSetTraits 577 void ScalarBitSetTraits<ELFYAML::MIPS_AFL_ASE>::bitset( function in class:llvm::yaml::ScalarBitSetTraits 596 void ScalarBitSetTraits<ELFYAML::MIPS_AFL_FLAGS1>::bitset( function in class:llvm::yaml::ScalarBitSetTraits
|
COFFYAML.cpp | 193 void ScalarBitSetTraits<COFF::Characteristics>::bitset( function in class:llvm::yaml::ScalarBitSetTraits 212 void ScalarBitSetTraits<COFF::SectionCharacteristics>::bitset( function in class:llvm::yaml::ScalarBitSetTraits 238 void ScalarBitSetTraits<COFF::DLLCharacteristics>::bitset( function in class:llvm::yaml::ScalarBitSetTraits
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_bitset.c | 83 __stl_throw_overflow_error("bitset"); 179 operator>>(basic_istream<_CharT, _Traits>& __is, bitset<_Nb>& __x) { 220 const bitset<_Nb>& __x) { 233 #undef bitset macro
|
_bitset.h | 22 // A bitset of size N has N % (sizeof(unsigned long) * CHAR_BIT) unused 24 // a class invariant of class bitset<> that those unused bits are 27 // Most of the actual code isn't contained in bitset<> itself, but in the 30 // important special case where the bitset is only a single word. 344 // Class bitset. 347 class bitset : public _STLP_PRIV _Base_bitset<__BITSET_WORDS(_Nb) > { class in inherits:_STLP_PRIV_Base_bitset 365 typedef bitset<_Nb> _Bitset; 415 bitset() {} function in class:bitset 417 bitset(unsigned long __val) : _STLP_PRIV _Base_bitset<_Words>(__val) { _M_do_sanitize(); } function in class:bitset 421 explicit bitset(const basic_string<_CharT,_Traits,_Alloc>& __s function in class:bitset 430 bitset(const basic_string<_CharT, _Traits, _Alloc>& __s, function in class:bitset 439 explicit bitset(const string& __s, function in class:bitset 865 #undef bitset macro [all...] |
/prebuilts/ndk/current/sources/cxx-stl/stlport/stlport/stl/ |
_bitset.c | 83 __stl_throw_overflow_error("bitset"); 179 operator>>(basic_istream<_CharT, _Traits>& __is, bitset<_Nb>& __x) { 220 const bitset<_Nb>& __x) { 233 #undef bitset macro
|
_bitset.h | 22 // A bitset of size N has N % (sizeof(unsigned long) * CHAR_BIT) unused 24 // a class invariant of class bitset<> that those unused bits are 27 // Most of the actual code isn't contained in bitset<> itself, but in the 30 // important special case where the bitset is only a single word. 344 // Class bitset. 347 class bitset : public _STLP_PRIV _Base_bitset<__BITSET_WORDS(_Nb) > { class in inherits:_STLP_PRIV_Base_bitset 365 typedef bitset<_Nb> _Bitset; 415 bitset() {} function in class:bitset 417 bitset(unsigned long __val) : _STLP_PRIV _Base_bitset<_Words>(__val) { _M_do_sanitize(); } function in class:bitset 421 explicit bitset(const basic_string<_CharT,_Traits,_Alloc>& __s function in class:bitset 430 bitset(const basic_string<_CharT, _Traits, _Alloc>& __s, function in class:bitset 439 explicit bitset(const string& __s, function in class:bitset 865 #undef bitset macro [all...] |
/external/drm_hwcomposer/ |
separate_rects.h | 93 IdSet() : bitset(0) { 96 IdSet(TId id) : bitset(0) { 101 bitset |= ((TUInt)1) << id; 105 bitset &= ~(((TUInt)1) << id); 109 return bitset == 0; 113 return bitset; 117 return bitset == rhs.bitset; 121 return bitset < rhs.bitset; 140 TUInt bitset; member in struct:separate_rects::IdSet [all...] |
/external/gptfdisk/ |
attributes.cc | 93 bool bitset; local 96 bitset = (UINT64_C(1) << bitNum) & attributes; 97 if (bitset) { 98 cout << partNum+1 << ":" << bitNum << ":" << bitset
|
/external/antlr/antlr-3.4/runtime/C/src/ |
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) 78 pANTLR3_BITSET bitset; local 143 pANTLR3_BITSET bitset; local 186 pANTLR3_BITSET bitset; local 256 pANTLR3_BITSET bitset; local 319 pANTLR3_BITSET bitset; local 356 pANTLR3_BITSET bitset; local [all...] |
/external/icu/icu4c/source/test/intltest/ |
bidiconf.cpp | 321 uint32_t bitset=(uint32_t)strtoul(start, &end, 16); local 323 errln("input bitset parse error at %s", start); 326 // Loop over the bitset. 330 if(bitset&(1<<i)) {
|
/external/guava/guava-tests/test/com/google/common/base/ |
CharMatcherTest.java | 37 import java.util.BitSet; 112 @GwtIncompatible("java.util.BitSet") 132 @GwtIncompatible("java.util.BitSet") 134 BitSet bitset = new BitSet(); local 135 matcher.setBits(bitset); 137 assertEquals(matcher.matches((char) i), bitset.get(i)); 669 @GwtIncompatible("java.util.BitSet") 670 private static BitSet bitSet(String chars) [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/ |
BiDiConformanceTest.java | 74 int bitset = Integer.parseInt(line.substring(lineIndex).trim(), 16); local 75 // Loop over the bitset. 77 if ((bitset & (1 << i)) != 0) {
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/ |
BiDiConformanceTest.java | 70 int bitset = Integer.parseInt(line.substring(lineIndex).trim(), 16); local 71 // Loop over the bitset. 73 if ((bitset & (1 << i)) != 0) {
|
/external/valgrind/VEX/priv/ |
host_generic_regs.h | 241 /* Represents sets of real registers. |bitset| is interpreted in the 242 context of |univ|. That is, each bit index |i| in |bitset| 247 ULong bitset; member in struct:__anon25721
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
BitSetTest.java | 20 import java.util.BitSet; 26 BitSet eightbs; 29 BitSet bs = new BitSet(); 30 // Default size for a BitSet should be 64 elements; 31 assertEquals("Created BitSet of incorrect size", 64, bs.size()); 32 assertEquals("New BitSet had invalid string representation", "{}", bs 37 BitSet bs = new BitSet(128); 38 // Default size for a BitSet should be 64 elements 164 BitSet bitset = new BitSet(); local 396 BitSet bitset = new BitSet(30); local 596 BitSet bitset = new BitSet(30); local 811 BitSet bitset = new BitSet(); local [all...] |
/external/clang/test/Sema/ |
conversion.c | 378 unsigned bitset[20]; local 379 SETBIT(bitset, 0); 382 SETBIT(bitset, y); 385 USER_SETBIT(bitset, 0); // expected-warning 2 {{implicit conversion changes signedness}}
|
/external/v8/src/ |
types.cc | 133 // The largest bitset subsumed by this type. 135 typename TypeImpl<Config>::bitset 146 bitset glb = SEMANTIC( 155 // The smallest bitset subsuming this type, possibly not a proper one. 157 typename TypeImpl<Config>::bitset 163 // a bitset. 164 int bitset = type->AsUnion()->Get(0)->BitsetLub(); local 167 bitset |= SEMANTIC(type->AsUnion()->Get(i)->BitsetLub()); 169 return bitset; 183 typename TypeImpl<Config>::bitset [all...] |
/external/bison/lib/ |
bbitset.h | 1 /* Base bitset stuff. 32 Memory for bit array and bitset structure allocated 41 BITSET_STATS: Wrapper bitset for internal use only. Used for gathering 95 that the bitset is known to be zero, that a bit has been set 102 typedef union bitset_union *bitset; typedef in typeref:union:bitset_union 105 /* Private accessor macros to bitset structure. */ 116 void (*set) (bitset, bitset_bindex); 117 void (*reset) (bitset, bitset_bindex); 118 bool (*toggle) (bitset, bitset_bindex); 119 bool (*test) (bitset, bitset_bindex) [all...] |