Home
last modified time | relevance | path

Searched refs:LOG_BITS (Results 1 – 9 of 9) sorted by relevance

/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DBitSet.cs51 private const int LOG_BITS = 6; // 2^6 == 64 field in Antlr.Runtime.BitSet
86 _bits = new ulong[((nbits - 1) >> LOG_BITS) + 1]; in BitSet()
257 return (el >> LOG_BITS) + 1; in NumWordsToHold()
261 return _bits.Length << LOG_BITS; // num words * bits per word in NumBits()
280 for (int i = 0; i < (_bits.Length << LOG_BITS); i++) { in ToArray()
289 return bit >> LOG_BITS; // bit / BITS in WordNumber()
302 for (int i = 0; i < (_bits.Length << LOG_BITS); i++) { in ToString()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/
DBitSet.cs53 private const int LOG_BITS = 6; // 2^6 == 64 field in Antlr.Runtime.BitSet
93 _bits = new ulong[( ( nbits - 1 ) >> LOG_BITS ) + 1]; in BitSet()
304 return ( el >> LOG_BITS ) + 1; in NumWordsToHold()
309 return _bits.Length << LOG_BITS; // num words * bits per word in NumBits()
330 for ( int i = 0; i < ( _bits.Length << LOG_BITS ); i++ ) in ToArray()
342 return bit >> LOG_BITS; // bit / BITS in WordNumber()
357 for ( int i = 0; i < ( _bits.Length << LOG_BITS ); i++ ) in ToString()
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/
DBitSet.java38 protected final static int LOG_BITS = 6; // 2^6 == 64 field in BitSet
73 bits = new long[((nbits - 1) >> LOG_BITS) + 1]; in BitSet()
257 return (el >> LOG_BITS) + 1; in numWordsToHold()
261 return bits.length << LOG_BITS; // num words * bits per word in numBits()
282 for (int i = 0; i < (bits.length << LOG_BITS); i++) { in toArray()
295 return bit >> LOG_BITS; // bit / BITS in wordNumber()
309 for (int i = 0; i < (bits.length << LOG_BITS); i++) { in toString()
/external/antlr/tool/src/main/java/org/antlr/misc/
DBitSet.java55 protected final static int LOG_BITS = 6; // 2^6 == 64 field in BitSet
81 bits = new long[((nbits - 1) >> LOG_BITS) + 1]; in BitSet()
273 for (int i = 0; i < (bits.length << LOG_BITS); i++) { in getSingleElement()
325 return (el >> LOG_BITS) + 1; in numWordsToHold()
418 return bits.length << LOG_BITS; // num words * bits per word in numBits()
462 for (int i = 0; i < (bits.length << LOG_BITS); i++) { in toArray()
490 for (int i = 0; i < (bits.length << LOG_BITS); i++) { in toString()
519 for (int i = 0; i < (bits.length << LOG_BITS); i++) { in toString()
579 return bit >> LOG_BITS; // bit / BITS in wordNumber()
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/
DBitSet.js43 LOG_BITS: 5, // 2^5 == 32 property
79 return (el >> org.antlr.runtime.BitSet.LOG_BITS) + 1;
90 return bit >> org.antlr.runtime.BitSet.LOG_BITS; // bit / BITS
383 for (i = 0; i < (this.bits.length << org.antlr.runtime.BitSet.LOG_BITS); i++) {
527 return this.bits.length << org.antlr.runtime.BitSet.LOG_BITS; // num words * bits per word
592 for (i = 0; i < (this.bits.length << org.antlr.runtime.BitSet.LOG_BITS); i++) {
660 for (i = 0; i < (this.bits.length << org.antlr.runtime.BitSet.LOG_BITS); i++) {
688 for (i = 0; i < (this.bits.length << org.antlr.runtime.BitSet.LOG_BITS); i++) {
/external/antlr/runtime/Perl5/lib/ANTLR/Runtime/
DBitSet.pm19 Readonly my $LOG_BITS => 6;
20 sub LOG_BITS { return $LOG_BITS } method in ANTLR::Runtime::BitSet
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/
DBitSet.as36 protected static const LOG_BITS:uint = 5; // 2^5 == 32 constant in org.antlr.runtime.BitSet
205 return (el >> LOG_BITS) + 1;
209 return bits.length << LOG_BITS; // num words * bits per word
222 for (var i:int = 0; i < (bits.length << LOG_BITS); i++) {
235 return bit >> LOG_BITS; // bit / BITS
248 for (var i:int = 0; i < (bits.length << LOG_BITS); i++) {
/external/antlr/runtime/ObjC/Framework/
DANTLRBitSet.h34 #define LOG_BITS ((sizeof(NSUInteger)==8)?6:5) macro
/external/antlr/runtime/Delphi/Sources/Antlr3.Runtime/
DAntlr.Runtime.pas1724 LOG_BITS = 6; // 2 shl 6 = 64
3486 SetLength(FBits,((ANBits - 1) shr LOG_BITS) + 1);
3573 Result := Length(FBits) shl LOG_BITS;
3578 Result := (El shr LOG_BITS) + 1;
3633 for I := 0 to (Length(FBits) shl LOG_BITS) - 1 do
3663 for I := 0 to (Length(FBits) shl LOG_BITS) - 1 do
3685 Result := Bit shr LOG_BITS; // Bit / BITS