Home
last modified time | relevance | path

Searched refs:bitsLeft (Results 1 – 25 of 243) sorted by relevance

12345678910

/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/classes/com/sun/imageio/plugins/common/
H A DBitFile.java54 bitsLeft = 8; in BitFile()
66 bitsLeft = 8; in flush()
84 bitsLeft = 8; in writeBits()
91 bitsLeft -= numbits; in writeBits()
96 bitsLeft -= numbits; in writeBits()
103 buffer[index] |= (bits & ((1 << bitsLeft) - 1)) << (8 - bitsLeft); in writeBits()
105 bits >>= bitsLeft; in writeBits() local
106 numbits -= bitsLeft; in writeBits()
108 bitsLeft = 8; in writeBits()
113 int topbits = (bits >>> (numbits - bitsLeft)) & ((1 << bitsLeft) - 1); in writeBits()
[all …]
/dports/devel/kyra/kyra/util/
H A Dglbitstream.cpp49 bitsLeft = 8; in GlWriteBitStream()
80 bitsLeft = 0; in WriteBits()
88 if ( bitsLeft == 0 ) in WriteBits()
93 bitsLeft = 8; in WriteBits()
102 if ( bitsLeft != 8 ) in Flush()
107 bitsLeft = 8; in Flush()
116 bitsLeft = 0; in GlReadBitStream()
130 if ( bitsLeft == 0 ) in ReadBits()
132 bitsLeft = 8; in ReadBits()
158 bitsLeft = 0; in ReadBits()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/share/classes/com/sun/imageio/plugins/common/
H A DBitFile.java54 bitsLeft = 8; in BitFile()
66 bitsLeft = 8; in flush()
84 bitsLeft = 8; in writeBits()
91 bitsLeft -= numbits; in writeBits()
96 bitsLeft -= numbits; in writeBits()
103 buffer[index] |= (bits & ((1 << bitsLeft) - 1)) << (8 - bitsLeft); in writeBits()
105 bits >>= bitsLeft; in writeBits() local
106 numbits -= bitsLeft; in writeBits()
108 bitsLeft = 8; in writeBits()
113 int topbits = (bits >>> (numbits - bitsLeft)) & ((1 << bitsLeft) - 1); in writeBits()
[all …]
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/classes/com/sun/imageio/plugins/common/
H A DBitFile.java54 bitsLeft = 8; in BitFile()
66 bitsLeft = 8; in flush()
84 bitsLeft = 8; in writeBits()
91 bitsLeft -= numbits; in writeBits()
96 bitsLeft -= numbits; in writeBits()
103 buffer[index] |= (bits & ((1 << bitsLeft) - 1)) << (8 - bitsLeft); in writeBits()
105 bits >>= bitsLeft; in writeBits() local
106 numbits -= bitsLeft; in writeBits()
108 bitsLeft = 8; in writeBits()
113 int topbits = (bits >>> (numbits - bitsLeft)) & ((1 << bitsLeft) - 1); in writeBits()
[all …]
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/com/sun/imageio/plugins/common/
H A DBitFile.java54 bitsLeft = 8; in BitFile()
66 bitsLeft = 8; in flush()
84 bitsLeft = 8; in writeBits()
91 bitsLeft -= numbits; in writeBits()
96 bitsLeft -= numbits; in writeBits()
103 buffer[index] |= (bits & ((1 << bitsLeft) - 1)) << (8 - bitsLeft); in writeBits()
105 bits >>= bitsLeft; in writeBits() local
106 numbits -= bitsLeft; in writeBits()
108 bitsLeft = 8; in writeBits()
113 int topbits = (bits >>> (numbits - bitsLeft)) & ((1 << bitsLeft) - 1); in writeBits()
[all …]
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.desktop/share/classes/com/sun/imageio/plugins/common/
H A DBitFile.java54 bitsLeft = 8; in BitFile()
66 bitsLeft = 8; in flush()
84 bitsLeft = 8; in writeBits()
91 bitsLeft -= numbits; in writeBits()
96 bitsLeft -= numbits; in writeBits()
103 buffer[index] |= (bits & ((1 << bitsLeft) - 1)) << (8 - bitsLeft); in writeBits()
105 bits >>= bitsLeft; in writeBits() local
106 numbits -= bitsLeft; in writeBits()
108 bitsLeft = 8; in writeBits()
113 int topbits = (bits >>> (numbits - bitsLeft)) & ((1 << bitsLeft) - 1); in writeBits()
[all …]
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.desktop/share/classes/com/sun/imageio/plugins/common/
H A DBitFile.java54 bitsLeft = 8; in BitFile()
66 bitsLeft = 8; in flush()
84 bitsLeft = 8; in writeBits()
91 bitsLeft -= numbits; in writeBits()
96 bitsLeft -= numbits; in writeBits()
103 buffer[index] |= (bits & ((1 << bitsLeft) - 1)) << (8 - bitsLeft); in writeBits()
105 bits >>= bitsLeft; in writeBits() local
106 numbits -= bitsLeft; in writeBits()
108 bitsLeft = 8; in writeBits()
113 int topbits = (bits >>> (numbits - bitsLeft)) & ((1 << bitsLeft) - 1); in writeBits()
[all …]
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.desktop/share/classes/com/sun/imageio/plugins/common/
H A DBitFile.java54 bitsLeft = 8; in BitFile()
66 bitsLeft = 8; in flush()
84 bitsLeft = 8; in writeBits()
91 bitsLeft -= numbits; in writeBits()
96 bitsLeft -= numbits; in writeBits()
103 buffer[index] |= (bits & ((1 << bitsLeft) - 1)) << (8 - bitsLeft); in writeBits()
105 bits >>= bitsLeft; in writeBits() local
106 numbits -= bitsLeft; in writeBits()
108 bitsLeft = 8; in writeBits()
113 int topbits = (bits >>> (numbits - bitsLeft)) & ((1 << bitsLeft) - 1); in writeBits()
[all …]
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.desktop/share/classes/com/sun/imageio/plugins/common/
H A DBitFile.java54 bitsLeft = 8; in BitFile()
66 bitsLeft = 8; in flush()
84 bitsLeft = 8; in writeBits()
91 bitsLeft -= numbits; in writeBits()
96 bitsLeft -= numbits; in writeBits()
103 buffer[index] |= (bits & ((1 << bitsLeft) - 1)) << (8 - bitsLeft); in writeBits()
105 bits >>= bitsLeft; in writeBits() local
106 numbits -= bitsLeft; in writeBits()
108 bitsLeft = 8; in writeBits()
113 int topbits = (bits >>> (numbits - bitsLeft)) & ((1 << bitsLeft) - 1); in writeBits()
[all …]
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.desktop/share/classes/com/sun/imageio/plugins/common/
H A DBitFile.java54 bitsLeft = 8; in BitFile()
66 bitsLeft = 8; in flush()
84 bitsLeft = 8; in writeBits()
91 bitsLeft -= numbits; in writeBits()
96 bitsLeft -= numbits; in writeBits()
103 buffer[index] |= (bits & ((1 << bitsLeft) - 1)) << (8 - bitsLeft); in writeBits()
105 bits >>= bitsLeft; in writeBits() local
106 numbits -= bitsLeft; in writeBits()
108 bitsLeft = 8; in writeBits()
113 int topbits = (bits >>> (numbits - bitsLeft)) & ((1 << bitsLeft) - 1); in writeBits()
[all …]
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/com/sun/imageio/plugins/common/
H A DBitFile.java54 bitsLeft = 8; in BitFile()
66 bitsLeft = 8; in flush()
84 bitsLeft = 8; in writeBits()
91 bitsLeft -= numbits; in writeBits()
96 bitsLeft -= numbits; in writeBits()
103 buffer[index] |= (bits & ((1 << bitsLeft) - 1)) << (8 - bitsLeft); in writeBits()
105 bits >>= bitsLeft; in writeBits() local
106 numbits -= bitsLeft; in writeBits()
108 bitsLeft = 8; in writeBits()
113 int topbits = (bits >>> (numbits - bitsLeft)) & ((1 << bitsLeft) - 1); in writeBits()
[all …]
/dports/misc/fq/fq-0.0.2/pkg/bitio/
H A Drw64.go18 bitsLeft := nBits
20 for bitsLeft > 0 {
24 bytesLeft := bitsLeft >> 3
65 if bitsLeft >= 8 {
69 bitsLeft -= 8
71 n = n<<bitsLeft | (uint64(b) >> (8 - bitsLeft))
83 n = n<<bitsLeft | (uint64(b)&((1<<byteBitsLeft)-1))>>(byteBitsLeft-bitsLeft)
100 bitsLeft := nBits
102 for bitsLeft > 0 {
143 if bitsLeft >= 8 {
[all …]
/dports/security/pam_google_authenticator/google-authenticator-libpam-1.09/src/
H A Dbase32.c24 int bitsLeft = 0; in base32_decode() local
52 bitsLeft += 5; in base32_decode()
53 if (bitsLeft >= 8) { in base32_decode()
54 result[count++] = buffer >> (bitsLeft - 8); in base32_decode()
55 bitsLeft -= 8; in base32_decode()
73 int bitsLeft = 8; in base32_encode() local
75 if (bitsLeft < 5) { in base32_encode()
79 bitsLeft += 8; in base32_encode()
81 int pad = 5 - bitsLeft; in base32_encode()
83 bitsLeft += pad; in base32_encode()
[all …]
/dports/audio/codec2/codec2-1.0.3/src/
H A Dpack.c74 unsigned int bitsLeft = WordSize - (bI & IndexMask); in pack_natural_or_gray() local
76 bitsLeft < fieldWidth ? bitsLeft : fieldWidth; in pack_natural_or_gray()
81 << (bitsLeft - sliceWidth))); in pack_natural_or_gray()
118 unsigned int bitsLeft = WordSize - (bI & IndexMask); in unpack_natural_or_gray() local
120 bitsLeft < fieldWidth ? bitsLeft : fieldWidth; in unpack_natural_or_gray()
122 …field |= (((bitArray[bI >> ShiftRight] >> (bitsLeft - sliceWidth)) & ((1 << sliceWidth) - 1)) << (… in unpack_natural_or_gray()
/dports/x11-toolkits/swt/swt-4.20/org/eclipse/swt/internal/image/
H A DLZWCodec.java130 if (bitsLeft == 8) { in encode()
235 blockSize = bitsLeft = 0; in initializeForDecoding()
257 bitsLeft = 8; in initializeForEncoding()
282 if (bitsLeft == 0) { in nextCode()
290 bitsLeft = 8; in nextCode()
308 bitsLeft += 8; in nextCode()
310 bitsLeft -= codeSize; in nextCode()
350 codeBitsToDo -= bitsLeft; in nextPutCode()
353 bitsLeft -= codeSize; in nextPutCode()
354 if (bitsLeft == 0) { in nextPutCode()
[all …]
/dports/misc/veles/veles-2018.05.0/src/data/
H A Dbindata.cc76 auto bitsLeft = width(); in toString() local
77 auto bitsToRead = bitsLeft % 64; in toString()
81 bits64(elementIndex, bitsLeft - bitsToRead, bitsToRead), 16) in toString()
83 bitsLeft -= bitsToRead; in toString()
86 while (bitsLeft >= 64) { in toString()
87 element += QString::number(bits64(elementIndex, bitsLeft - 64, 64), 16) in toString()
89 bitsLeft -= 64; in toString()
91 assert(bitsLeft == 0); in toString()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/
H A DLZWCodec.java130 if (bitsLeft == 8) { in encode()
234 blockSize = bitsLeft = 0; in initializeForDecoding()
256 bitsLeft = 8; in initializeForEncoding()
281 if (bitsLeft == 0) { in nextCode()
289 bitsLeft = 8; in nextCode()
307 bitsLeft += 8; in nextCode()
309 bitsLeft -= codeSize; in nextCode()
349 codeBitsToDo -= bitsLeft; in nextPutCode()
352 bitsLeft -= codeSize; in nextPutCode()
353 if (bitsLeft == 0) { in nextPutCode()
[all …]
/dports/multimedia/mpeg_encode/mpeg_encode/
H A Dbitio.c307 int bitsLeft; local
315 bitsLeft = bbPtr->totalbits;
322 if ( bitsLeft >= 32 ) {
342 bitsLeft -= (numWords * 32);
353 while ( bitsLeft > 0 ) {
358 bitsLeft -= 8;
400 int bitsLeft; local
405 bitsLeft = bbPtr->totalbits;
412 if ( bitsLeft >= 32 ) {
443 while ( bitsLeft > 0 ) {
[all …]
/dports/science/afni/afni-AFNI_21.3.16/src/mpeg_encodedir/
H A Dbitio.c319 int bitsLeft; local
327 bitsLeft = bbPtr->totalbits;
334 if ( bitsLeft >= 32 ) {
354 bitsLeft -= (numWords * 32);
365 while ( bitsLeft > 0 ) {
370 bitsLeft -= 8;
412 int bitsLeft; local
417 bitsLeft = bbPtr->totalbits;
424 if ( bitsLeft >= 32 ) {
455 while ( bitsLeft > 0 ) {
[all …]
/dports/graphics/netpbm/netpbm-10.91.01/converter/ppm/ppmtompeg/
H A Dbitio.c342 int bitsLeft; in Bitio_Flush() local
350 bitsLeft = bbPtr->totalbits; in Bitio_Flush()
357 if ( bitsLeft >= 32 ) { in Bitio_Flush()
384 bitsLeft -= (numWords * 32); in Bitio_Flush()
395 while ( bitsLeft > 0 ) { in Bitio_Flush()
400 bitsLeft -= 8; in Bitio_Flush()
449 int bitsLeft; in Bitio_WriteToSocket() local
454 bitsLeft = bbPtr->totalbits; in Bitio_WriteToSocket()
461 if ( bitsLeft >= 32 ) { in Bitio_WriteToSocket()
495 while ( bitsLeft > 0 ) { in Bitio_WriteToSocket()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/netwerk/protocol/http/
H A DHttp2Compression.cpp700 if (bitsLeft) { in ExtractByte()
721 uint8_t& bitsLeft) { in DecodeHuffmanCharacter() argument
756 bitsLeft = 8 - (entry->mPrefixLen - bitsLeft); in DecodeHuffmanCharacter()
771 uint8_t bitsLeft = 0; in CopyHuffmanStringFromInput() local
794 if (bitsLeft) { in CopyHuffmanStringFromInput()
804 if (bitsLeft > 7) { in CopyHuffmanStringFromInput()
809 if (bitsLeft) { in CopyHuffmanStringFromInput()
1303 uint8_t bitsLeft = 8; in HuffmanAppend() local
1313 if (bitsLeft < 8) { in HuffmanAppend()
1329 bitsLeft = 8; in HuffmanAppend()
[all …]
/dports/www/firefox/firefox-99.0/netwerk/protocol/http/
H A DHttp2Compression.cpp700 if (bitsLeft) { in ExtractByte()
721 uint8_t& bitsLeft) { in DecodeHuffmanCharacter() argument
756 bitsLeft = 8 - (entry->mPrefixLen - bitsLeft); in DecodeHuffmanCharacter()
771 uint8_t bitsLeft = 0; in CopyHuffmanStringFromInput() local
794 if (bitsLeft) { in CopyHuffmanStringFromInput()
804 if (bitsLeft > 7) { in CopyHuffmanStringFromInput()
809 if (bitsLeft) { in CopyHuffmanStringFromInput()
1303 uint8_t bitsLeft = 8; in HuffmanAppend() local
1313 if (bitsLeft < 8) { in HuffmanAppend()
1329 bitsLeft = 8; in HuffmanAppend()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/netwerk/protocol/http/
H A DHttp2Compression.cpp683 if (bitsLeft) { in ExtractByte()
704 uint8_t &bitsLeft) { in DecodeHuffmanCharacter() argument
739 bitsLeft = 8 - (entry->mPrefixLen - bitsLeft); in DecodeHuffmanCharacter()
754 uint8_t bitsLeft = 0; in CopyHuffmanStringFromInput() local
777 if (bitsLeft) { in CopyHuffmanStringFromInput()
787 if (bitsLeft > 7) { in CopyHuffmanStringFromInput()
792 if (bitsLeft) { in CopyHuffmanStringFromInput()
1270 uint8_t bitsLeft = 8; in HuffmanAppend() local
1280 if (bitsLeft < 8) { in HuffmanAppend()
1297 bitsLeft = 8; in HuffmanAppend()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/netwerk/protocol/http/
H A DHttp2Compression.cpp705 idx <<= (8 - bitsLeft); in DecodeFinalHuffmanCharacter()
742 if (bitsLeft) { in ExtractByte()
799 bitsLeft = 8 - (entry->mPrefixLen - bitsLeft); in DecodeHuffmanCharacter()
815 uint8_t bitsLeft = 0; in CopyHuffmanStringFromInput() local
838 if (bitsLeft) { in CopyHuffmanStringFromInput()
848 if (bitsLeft > 7) { in CopyHuffmanStringFromInput()
853 if (bitsLeft) { in CopyHuffmanStringFromInput()
1331 uint8_t bitsLeft = 8; in HuffmanAppend() local
1341 if (bitsLeft < 8) { in HuffmanAppend()
1357 bitsLeft = 8; in HuffmanAppend()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/netwerk/protocol/http/
H A DHttp2Compression.cpp700 if (bitsLeft) { in ExtractByte()
721 uint8_t& bitsLeft) { in DecodeHuffmanCharacter() argument
756 bitsLeft = 8 - (entry->mPrefixLen - bitsLeft); in DecodeHuffmanCharacter()
771 uint8_t bitsLeft = 0; in CopyHuffmanStringFromInput() local
794 if (bitsLeft) { in CopyHuffmanStringFromInput()
804 if (bitsLeft > 7) { in CopyHuffmanStringFromInput()
809 if (bitsLeft) { in CopyHuffmanStringFromInput()
1303 uint8_t bitsLeft = 8; in HuffmanAppend() local
1313 if (bitsLeft < 8) { in HuffmanAppend()
1329 bitsLeft = 8; in HuffmanAppend()
[all …]

12345678910