/external/bison/lib/ |
vbitset.c | 31 Note that binary or ternary operations assume that each bitset operand 35 static void vbitset_unused_clear (bitset); 37 static void vbitset_set (bitset, bitset_bindex); 38 static void vbitset_reset (bitset, bitset_bindex); 39 static bool vbitset_test (bitset, bitset_bindex); 40 static bitset_bindex vbitset_list (bitset, bitset_bindex *, 42 static bitset_bindex vbitset_list_reverse (bitset, bitset_bindex *, 56 vbitset_resize (bitset src, bitset_bindex n_bits) 71 /* The bitset needs to grow. If we already have enough memory 77 grow the bitset 25% larger than requested to reduc [all...] |
ebitset.c | 38 case is fast. A zero bitset is indicated when cdata is 0. This is 39 conservative since cdata may be non zero and the bitset may still 42 The bitset cache can be disabled either by setting cindex to 84 /* Obstack to allocate bitset elements from. */ 87 static ebitset_elt *ebitset_free_list; /* Free list of bitset elements. */ 97 /* Disable bitset cache and mark BSET as being zero. */ 103 /* Disable bitset cache and mark BSET as being possibly non-zero. */ 107 /* A conservative estimate of whether the bitset is zero. 108 This is non-zero only if we know for sure that the bitset is zero. */ 123 ebitset_resize (bitset src, bitset_bindex n_bits [all...] |
bitset_stats.h | 1 /* Functions to support bitset statistics. 27 extern enum bitset_type bitset_stats_type_get (bitset); 31 extern bitset bitset_stats_init (bitset, bitset_bindex, enum bitset_type);
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/ |
BitSet.java | 38 /**A BitSet to replace java.util.BitSet. 42 * operations were added. I cannot contain a BitSet because there 53 public class BitSet implements IntSet, Cloneable { 67 /** Construct a bitset of size one word (64 bits) */ 68 public BitSet() { 73 public BitSet(long[] bits_) { 77 /** Construct a bitset given the size 78 * @param nbits The size of the bitset in bits 80 public BitSet(int nbits) [all...] |
/external/antlr/antlr-3.4/runtime/C/include/ |
antlr3bitset.h | 3 * Defines the basic structures of an ANTLR3 bitset. this is a C version of the 4 * cut down Bitset class provided with the java version of antlr 3. 75 /// of the bitset code. Note that the pointer here may be static if laid down 95 void (*borInPlace) (struct ANTLR3_BITSET_struct * bitset, struct ANTLR3_BITSET_struct * bitset2); 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) [all...] |
/external/stlport/stlport/stl/ |
_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...] |
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_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/5/sources/cxx-stl/stlport/stlport/stl/ |
_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/6/sources/cxx-stl/stlport/stlport/stl/ |
_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/7/sources/cxx-stl/stlport/stlport/stl/ |
_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/8/sources/cxx-stl/stlport/stlport/stl/ |
_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/9/sources/cxx-stl/EH/stlport/stlport/stl/ |
_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/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
BitSet.java | 32 /**A stripped-down version of org.antlr.misc.BitSet that is just 36 public class BitSet implements Cloneable { 50 /** Construct a bitset of size one word (64 bits) */ 51 public BitSet() { 56 public BitSet(long[] bits_) { 61 public BitSet(List items) { 69 /** Construct a bitset given the size 70 * @param nbits The size of the bitset in bits 72 public BitSet(int nbits) { 76 public static BitSet of(int el) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/template.bitset/bitset.members/ |
flip_all.pass.cpp | 10 // test bitset<N>& flip(); 12 #include <bitset> 19 std::bitset<N> 22 std::bitset<N> v; 31 std::bitset<N> v1 = make_bitset<N>(); 32 std::bitset<N> v2 = v1;
|
left_shift.pass.cpp | 10 // test bitset<N> operator<<(size_t pos) const; 12 #include <bitset> 19 std::bitset<N> 22 std::bitset<N> v; 33 std::bitset<N> v1 = make_bitset<N>(); 34 std::bitset<N> v2 = v1;
|
not_all.pass.cpp | 10 // test bitset<N> operator~() const; 12 #include <bitset> 19 std::bitset<N> 22 std::bitset<N> v; 31 std::bitset<N> v1 = make_bitset<N>(); 32 std::bitset<N> v2 = ~v1;
|
right_shift.pass.cpp | 10 // test bitset<N> operator>>(size_t pos) const; 12 #include <bitset> 19 std::bitset<N> 22 std::bitset<N> v; 33 std::bitset<N> v1 = make_bitset<N>(); 34 std::bitset<N> v2 = v1;
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
BitSet.cs | 43 * A stripped-down version of org.antlr.misc.BitSet that is just 49 public sealed class BitSet : ICloneable { 65 /** <summary>Construct a bitset of size one word (64 bits)</summary> */ 66 public BitSet() 71 public BitSet(ulong[] bits) { 76 public BitSet(IEnumerable<int> items) 82 /** <summary>Construct a bitset given the size</summary> 83 * <param name="nbits">The size of the bitset in bits</param> 85 public BitSet(int nbits) { 89 public static BitSet Of(int el) [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
BitSet.cs | 44 * A stripped-down version of org.antlr.misc.BitSet that is just 50 public sealed class BitSet : ICloneable 67 /** <summary>Construct a bitset of size one word (64 bits)</summary> */ 68 public BitSet() 75 public BitSet( ulong[] bits ) 81 public BitSet( IEnumerable<int> items ) 88 /** <summary>Construct a bitset given the size</summary> 89 * <param name="nbits">The size of the bitset in bits</param> 91 public BitSet( int nbits ) 96 public static BitSet Of( int el [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ |
bitset | 0 // <bitset> -*- C++ -*- 39 /** @file include/bitset 66 * See documentation for bitset. 328 * See documentation for bitset. 454 * Base class, specialization for no storage (zero-length %bitset). 456 * See documentation for bitset. 486 // in the bitset class will prevent the user from getting this far, 537 // the sound of one zero-length bitset clapping? 583 * @brief The %bitset class represents a @e fixed-size sequence of bits. 587 * (Note that %bitset does @e not meet the formal requirements of [all...] |
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/ |
bitset | 0 // <bitset> -*- C++ -*- 39 /** @file include/bitset 66 * See documentation for bitset. 328 * See documentation for bitset. 454 * Base class, specialization for no storage (zero-length %bitset). 456 * See documentation for bitset. 486 // in the bitset class will prevent the user from getting this far, 537 // the sound of one zero-length bitset clapping? 583 * @brief The %bitset class represents a @e fixed-size sequence of bits. 587 * (Note that %bitset does @e not meet the formal requirements of [all...] |
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/ |
bitset | 0 // <bitset> -*- C++ -*- 39 /** @file include/bitset 66 * See documentation for bitset. 328 * See documentation for bitset. 454 * Base class, specialization for no storage (zero-length %bitset). 456 * See documentation for bitset. 486 // in the bitset class will prevent the user from getting this far, 537 // the sound of one zero-length bitset clapping? 583 * @brief The %bitset class represents a @e fixed-size sequence of bits. 587 * (Note that %bitset does @e not meet the formal requirements of [all...] |
/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/ |
bitset | 0 // <bitset> -*- C++ -*- 39 /** @file include/bitset 66 * See documentation for bitset. 328 * See documentation for bitset. 454 * Base class, specialization for no storage (zero-length %bitset). 456 * See documentation for bitset. 486 // in the bitset class will prevent the user from getting this far, 537 // the sound of one zero-length bitset clapping? 583 * @brief The %bitset class represents a @e fixed-size sequence of bits. 587 * (Note that %bitset does @e not meet the formal requirements of [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/ |
bitset | 0 // <bitset> -*- C++ -*- 39 /** @file include/bitset 66 * See documentation for bitset. 328 * See documentation for bitset. 454 * Base class, specialization for no storage (zero-length %bitset). 456 * See documentation for bitset. 486 // in the bitset class will prevent the user from getting this far, 537 // the sound of one zero-length bitset clapping? 583 * @brief The %bitset class represents a @e fixed-size sequence of bits. 587 * (Note that %bitset does @e not meet the formal requirements of [all...] |
/external/stlport/test/unit/ |
bitset_header_test.cpp | 8 #include <bitset>
|