/external/antlr/antlr-3.4/runtime/ActionScript/project/test/org/antlr/runtime/test/ |
TestBitSet.as | 4 import org.antlr.runtime.BitSet; 10 var bitSet:BitSet = new BitSet(); 12 assertEquals(0, bitSet.numBits); 13 assertEquals(0, bitSet.toPackedArray().length); 14 assertEquals(0, bitSet.size); 15 assertTrue(bitSet.isNil); 16 assertEquals("{}", bitSet.toString()); 18 bitSet = BitSet.of(0, 1, 2) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/ |
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);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/ |
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/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/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...] |
bitset.c | 22 #include "bitset.h" 36 /* Return number of bytes required to create a N_BIT bitset 37 of TYPE. The bitset may grow to require more bytes than this. */ 72 /* Initialise bitset BSET of TYPE for N_BITS. */ 73 bitset 74 bitset_init (bitset bset, bitset_bindex n_bits, enum bitset_type type) 99 /* Select a bitset type for a set of N_BITS and with attribute hints 111 /* Choose the type of bitset. Note that sometimes we will be asked 112 for a zero length fixed size bitset. */ 132 /* Create a bitset of N_BITS of type TYPE. * [all...] |
bitset_stats.c | 0 /* Bitset statistics. 20 /* This file is a wrapper bitset implementation for the other bitset 21 implementations. It provides bitset compatibility checking and 22 statistics gathering without having to instrument the bitset 23 implementations. When statistics gathering is enabled, the bitset 44 #define BITSET_STATS_FILE "bitset.dat" 168 /* Print bitset statistics to FILE. */ 203 /* Print all bitset statistics to FILE. */ 212 fprintf (file, _("Bitset statistics:\n\n")) [all...] |
/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/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/sets/ |
ANTLRBitSetTest.m | 19 ANTLRBitSet *bitSet = [ANTLRBitSet newANTLRBitSetWithBits:bitData Count:2]; 20 CFIndex actual = (CFIndex)[bitSet numBits]; 24 [bitSet release]; 42 ANTLRBitSet *bitSet = [ANTLRBitSet newANTLRBitSetWithArray:bits]; 43 CFIndex actual = (CFIndex)[bitSet numBits]; 46 [bitSet release]; 52 ANTLRBitSet *bitSet = [ANTLRBitSet newANTLRBitSet]; 53 [bitSet add:1]; 54 [bitSet add:2]; 55 [bitSet add:3] [all...] |
/external/antlr/antlr-3.4/runtime/Perl5/ |
port.yml | 3 runtime/Java/src/org/antlr/runtime/BitSet.java:
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/ |
bitset.c | 2 /* Bitset primitives used by the parser generator */
5 #include "bitset.h"
7 bitset
11 bitset ss = (char *)PyObject_MALLOC(sizeof(BYTE) * nbytes);
14 Py_FatalError("no mem for bitset");
23 delbitset(bitset ss)
29 addbit(bitset ss, int ibit)
42 testbit(bitset ss, int ibit)
49 samebitset(bitset ss1, bitset ss2, int nbits) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/ |
bitset.c | 2 /* Bitset primitives used by the parser generator */
5 #include "bitset.h"
7 bitset
11 bitset ss = (char *)PyObject_MALLOC(sizeof(BYTE) * nbytes);
14 Py_FatalError("no mem for bitset");
23 delbitset(bitset ss)
29 addbit(bitset ss, int ibit)
42 testbit(bitset ss, int ibit)
49 samebitset(bitset ss1, bitset ss2, int nbits) [all...] |
/external/compiler-rt/test/asan/TestCases/ |
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; local 38 size_t main_bit = bitset; 43 size_t foo_bit = bitset & ~main_bit; 48 size_t bar_bit = bitset & ~(main_bit | foo_bit); 54 assert(bitset == 0); 58 assert(bitset == foo_bit) [all...] |
/external/icu/icu4c/source/test/perf/usetperf/ |
bitset.h | 18 * A simple, limited clone of the java.util.BitSet. 20 class BitSet { 29 BitSet(); 30 ~BitSet();
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/debug/ |
bitset | 1 // Debugging bitset implementation -*- C++ -*- 25 /** @file debug/bitset 32 #include <bitset> 40 /// Class std::bitset with additional safety/checking/debug instrumentation. 42 class bitset 43 : public _GLIBCXX_STD_C::bitset<_Nb> 48 typedef _GLIBCXX_STD_C::bitset<_Nb> _Base; 52 // of bitset to be use as a literal. 64 friend class bitset; 68 bitset* __seq __attribute__((__unused__))) _GLIBCXX_NOEXCEP [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/debug/ |
bitset | 1 // Debugging bitset implementation -*- C++ -*- 25 /** @file debug/bitset 32 #include <bitset> 40 /// Class std::bitset with additional safety/checking/debug instrumentation. 42 class bitset 43 : public _GLIBCXX_STD_C::bitset<_Nb> 48 typedef _GLIBCXX_STD_C::bitset<_Nb> _Base; 52 // of bitset to be use as a literal. 64 friend class bitset; 68 bitset* __seq __attribute__((__unused__))) _GLIBCXX_NOEXCEP [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/debug/ |
bitset | 1 // Debugging bitset implementation -*- C++ -*- 25 /** @file debug/bitset 32 #include <bitset> 40 /// Class std::bitset with additional safety/checking/debug instrumentation. 42 class bitset 43 : public _GLIBCXX_STD_C::bitset<_Nb> 48 typedef _GLIBCXX_STD_C::bitset<_Nb> _Base; 52 // of bitset to be use as a literal. 64 friend class bitset; 68 bitset* __seq __attribute__((__unused__))) _GLIBCXX_NOEXCEP [all...] |
/prebuilts/ndk/r10/sources/cxx-stl/gnu-libstdc++/4.9/include/debug/ |
bitset | 1 // Debugging bitset implementation -*- C++ -*- 25 /** @file debug/bitset 32 #include <bitset> 40 /// Class std::bitset with additional safety/checking/debug instrumentation. 42 class bitset 43 : public _GLIBCXX_STD_C::bitset<_Nb> 48 typedef _GLIBCXX_STD_C::bitset<_Nb> _Base; 52 // of bitset to be use as a literal. 64 friend class bitset; 68 bitset* __seq __attribute__((__unused__))) _GLIBCXX_NOEXCEP [all...] |
/prebuilts/ndk/r11/sources/cxx-stl/gnu-libstdc++/4.9/include/debug/ |
bitset | 1 // Debugging bitset implementation -*- C++ -*- 25 /** @file debug/bitset 32 #include <bitset> 40 /// Class std::bitset with additional safety/checking/debug instrumentation. 42 class bitset 43 : public _GLIBCXX_STD_C::bitset<_Nb> 48 typedef _GLIBCXX_STD_C::bitset<_Nb> _Base; 52 // of bitset to be use as a literal. 64 friend class bitset; 68 bitset* __seq __attribute__((__unused__))) _GLIBCXX_NOEXCEP [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/gnu-libstdc++/4.9/include/debug/ |
bitset | 1 // Debugging bitset implementation -*- C++ -*- 25 /** @file debug/bitset 32 #include <bitset> 40 /// Class std::bitset with additional safety/checking/debug instrumentation. 42 class bitset 43 : public _GLIBCXX_STD_C::bitset<_Nb> 48 typedef _GLIBCXX_STD_C::bitset<_Nb> _Base; 52 // of bitset to be use as a literal. 64 friend class bitset; 68 bitset* __seq __attribute__((__unused__))) _GLIBCXX_NOEXCEP [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/profile/ |
bitset | 1 // Profiling bitset implementation -*- C++ -*- 25 /** @file profile/bitset 32 #include <bitset> 38 /// Class std::bitset wrapper with performance instrumentation. 40 class bitset 41 : public _GLIBCXX_STD_C::bitset<_Nb> 43 typedef _GLIBCXX_STD_C::bitset<_Nb> _Base; 52 friend class bitset; 55 reference(const _Base_ref& __base, bitset* __seq) _GLIBCXX_NOEXCEPT 98 _GLIBCXX_CONSTEXPR bitset() _GLIBCXX_NOEXCEP [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/profile/ |
bitset | 1 // Profiling bitset implementation -*- C++ -*- 25 /** @file profile/bitset 32 #include <bitset> 38 /// Class std::bitset wrapper with performance instrumentation. 40 class bitset 41 : public _GLIBCXX_STD_C::bitset<_Nb> 43 typedef _GLIBCXX_STD_C::bitset<_Nb> _Base; 52 friend class bitset; 55 reference(const _Base_ref& __base, bitset* __seq) _GLIBCXX_NOEXCEPT 98 _GLIBCXX_CONSTEXPR bitset() _GLIBCXX_NOEXCEP [all...] |