Home
last modified time | relevance | path

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

/external/antlr/antlr-3.4/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/antlr-3.4/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/antlr-3.4/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()
255 return (el >> LOG_BITS) + 1; in numWordsToHold()
259 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()
293 return bit >> LOG_BITS; // bit / BITS in wordNumber()
306 for (int i = 0; i < (bits.length << LOG_BITS); i++) { in toString()
/external/antlr/antlr-3.4/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()
272 for (int i = 0; i < (bits.length << LOG_BITS); i++) { in getSingleElement()
322 return (el >> LOG_BITS) + 1; in numWordsToHold()
415 return bits.length << LOG_BITS; // num words * bits per word in numBits()
457 for (int i = 0; i < (bits.length << LOG_BITS); i++) { in toArray()
483 for (int i = 0; i < (bits.length << LOG_BITS); i++) { in toString()
512 for (int i = 0; i < (bits.length << LOG_BITS); i++) { in toString()
572 return bit >> LOG_BITS; // bit / BITS in wordNumber()
/external/antlr/antlr-3.4/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/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/
DBitSet.pm19 Readonly my $LOG_BITS => 6;
20 sub LOG_BITS { return $LOG_BITS } subroutine
/external/antlr/antlr-3.4/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/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRBitSet.h33 #define LOG_BITS ((sizeof(NSUInteger)==8)?6:5) macro
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
DANTLRBitSet.h33 #define LOG_BITS ((sizeof(NSUInteger)==8)?6:5) macro
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
DANTLRBitSet.h33 #define LOG_BITS ((sizeof(NSUInteger)==8)?6:5) macro
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRBitSet.h34 #define LOG_BITS ((sizeof(NSUInteger)==8)?6:5) macro
/external/antlr/antlr-3.4/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