Home
last modified time | relevance | path

Searched refs:bits (Results 1 – 25 of 327) sorted by relevance

12345678910>>...14

/device/linaro/bootloader/edk2/EmbeddedPkg/Library/ZLib/
Dinffast.c68 unsigned bits; /* local strm->bits */ local
95 bits = state->bits;
104 if (bits < 15) {
105 hold += (unsigned long)(*in++) << bits;
106 bits += 8;
107 hold += (unsigned long)(*in++) << bits;
108 bits += 8;
112 op = (unsigned)(here.bits);
114 bits -= op;
126 if (bits < op) {
[all …]
Dinflate.c136 state->bits = 0;
247 int ZEXPORT inflatePrime(strm, bits, value) in inflatePrime() argument
249 int bits;
256 if (bits < 0) {
258 state->bits = 0;
261 if (bits > 16 || state->bits + (uInt)bits > 32) return Z_STREAM_ERROR;
262 value &= (1L << bits) - 1;
263 state->hold += (unsigned)value << state->bits;
264 state->bits += (uInt)bits;
288 unsigned sym, bits; local
[all …]
Dinftrees.c32 int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work) in inflate_table() argument
37 unsigned FAR *bits;
113 root = *bits;
119 here.bits = (unsigned char)1;
123 *bits = 1;
216 here.bits = (unsigned char)(len - drop);
285 (*table)[low].bits = (unsigned char)root;
295 here.bits = (unsigned char)(len - drop);
302 *bits = root;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/
Dinffast.c85 unsigned bits; /* local strm->bits */ local
112 bits = state->bits;
121 if (bits < 15) {
122 hold += (unsigned long)(PUP(in)) << bits;
123 bits += 8;
124 hold += (unsigned long)(PUP(in)) << bits;
125 bits += 8;
129 op = (unsigned)(this.bits);
131 bits -= op;
143 if (bits < op) {
[all …]
Dinfback.c83 unsigned sym, bits; local
94 bits = 9;
95 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work);
101 bits = 5;
102 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work);
126 bits = state->bits; \
137 state->bits = bits; \
144 bits = 0; \
167 hold += (unsigned long)(*next++) << bits; \
168 bits += 8; \
[all …]
Dinflate.c122 state->bits = 0;
128 int ZEXPORT inflatePrime(strm, bits, value) in inflatePrime() argument
130 int bits;
137 if (bits > 16 || state->bits + bits > 32) return Z_STREAM_ERROR;
138 value &= (1L << bits) - 1;
139 state->hold += value << state->bits;
140 state->bits += bits;
215 unsigned sym, bits; local
226 bits = 9;
227 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work);
[all …]
Dinftrees.c32 int inflate_table(type, lens, codes, table, bits, work) in inflate_table() argument
37 unsigned FAR *bits;
113 root = *bits;
119 this.bits = (unsigned char)1;
123 *bits = 1;
218 this.bits = (unsigned char)(len - drop);
286 (*table)[low].bits = (unsigned char)root;
299 this.bits = (unsigned char)(len - drop);
307 this.bits = (unsigned char)len;
327 *bits = root;
Dalgorithm.txt67 inflate() sets up a first level table that covers some number of bits of
68 input less than the length of longest code. It gets that many bits from the
70 code is that many bits or less and how many, and if it is, it will tell
72 grabs more bits and tries to decode a longer code.
74 How many bits to make the first lookup is a tradeoff between the time it
78 building the table ends up taking a lot longer for more bits since short
80 simply to make the number of bits in the first table a variable, and then
84 of the first table is nine bits. Also the distance trees have 30 possible
85 values, and the size of the first table is six bits. Note that for each of
88 little more than eight bits for 286 symbols and a little less than five bits
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/
Dinffast.c85 unsigned bits; /* local strm->bits */ local
112 bits = state->bits;
121 if (bits < 15) {
122 hold += (unsigned long)(PUP(in)) << bits;
123 bits += 8;
124 hold += (unsigned long)(PUP(in)) << bits;
125 bits += 8;
129 op = (unsigned)(here.bits);
131 bits -= op;
143 if (bits < op) {
[all …]
Dinfback.c92 unsigned sym, bits; local
103 bits = 9;
104 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work);
110 bits = 5;
111 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work);
135 bits = state->bits; \
146 state->bits = bits; \
153 bits = 0; \
176 hold += (unsigned long)(*next++) << bits; \
177 bits += 8; \
[all …]
Dinflate.c121 state->bits = 0;
230 int ZEXPORT inflatePrime(strm, bits, value) in inflatePrime() argument
232 int bits;
239 if (bits < 0) {
241 state->bits = 0;
244 if (bits > 16 || state->bits + bits > 32) return Z_STREAM_ERROR;
245 value &= (1L << bits) - 1;
246 state->hold += value << state->bits;
247 state->bits += bits;
271 unsigned sym, bits; local
[all …]
Dinftrees.c32 int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work) in inflate_table() argument
37 unsigned FAR *bits;
113 root = *bits;
119 here.bits = (unsigned char)1;
123 *bits = 1;
218 here.bits = (unsigned char)(len - drop);
287 (*table)[low].bits = (unsigned char)root;
297 here.bits = (unsigned char)(len - drop);
304 *bits = root;
Dalgorithm.txt67 inflate() sets up a first level table that covers some number of bits of
68 input less than the length of longest code. It gets that many bits from the
70 code is that many bits or less and how many, and if it is, it will tell
72 grabs more bits and tries to decode a longer code.
74 How many bits to make the first lookup is a tradeoff between the time it
78 building the table ends up taking a lot longer for more bits since short
80 simply to make the number of bits in the first table a variable, and then
84 of the first table is nine bits. Also the distance trees have 30 possible
85 values, and the size of the first table is six bits. Note that for each of
88 little more than eight bits for 286 symbols and a little less than five bits
[all …]
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dinet_net_pton.c143 int bits; in inet_net_pton_ipv4() local
197 bits = -1; in inet_net_pton_ipv4()
201 bits = 0; in inet_net_pton_ipv4()
205 bits *= 10; in inet_net_pton_ipv4()
206 bits += n; in inet_net_pton_ipv4()
210 if (bits > 32) in inet_net_pton_ipv4()
222 if (bits == -1) { in inet_net_pton_ipv4()
224 bits = 32; in inet_net_pton_ipv4()
226 bits = 4; in inet_net_pton_ipv4()
228 bits = 24; in inet_net_pton_ipv4()
[all …]
Dinet_net_ntop.c39 static char * inet_net_ntop_ipv4 (const u_char *src, int bits,
56 int bits, in inet_net_ntop() argument
63 return (inet_net_ntop_ipv4(src, bits, dst, size)); in inet_net_ntop()
86 int bits, in inet_net_ntop_ipv4() argument
96 if (bits < 0 || bits > 32) { in inet_net_ntop_ipv4()
100 if (bits == 0) { in inet_net_ntop_ipv4()
108 for (b = bits / 8; b > 0; b--) { in inet_net_ntop_ipv4()
121 b = bits % 8; in inet_net_ntop_ipv4()
136 dst += SPRINTF((dst, "/%u", bits)); in inet_net_ntop_ipv4()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/D03/Library/DS3231RealTimeClockLib/
DDS3231RealTimeClock.h52 }bits; member
64 }bits; member
73 }bits; member
81 }bits; member
90 }bits; member
99 }bits; member
108 }bits; member
119 }bits; member
127 }bits; member
137 }bits; member
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Library/DS3231RealTimeClockLib/
DDS3231RealTimeClock.h52 }bits; member
64 }bits; member
73 }bits; member
81 }bits; member
90 }bits; member
99 }bits; member
108 }bits; member
119 }bits; member
127 }bits; member
137 }bits; member
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Library/I2CLib/
DI2CHw.h87 } bits; member
101 } bits; member
113 } bits; member
124 } bits; member
135 } bits; member
146 } bits; member
157 } bits; member
179 } bits; member
190 } bits; member
201 } bits; member
[all …]
/device/linaro/bootloader/edk2/StdLib/Include/X64/machine/
Datomic.h66 x86_atomic_setbits_u32(volatile u_int32_t *ptr, u_int32_t bits) { in x86_atomic_setbits_u32() argument
67 __asm volatile("lock ; orl %1,%0" : "=m" (*ptr) : "ir" (bits)); in x86_atomic_setbits_u32()
71 x86_atomic_clearbits_u32(volatile u_int32_t *ptr, u_int32_t bits) { in x86_atomic_clearbits_u32() argument
72 __asm volatile("lock ; andl %1,%0" : "=m" (*ptr) : "ir" (~bits)); in x86_atomic_clearbits_u32()
78 x86_atomic_setbits_u64(volatile u_int64_t *ptr, u_int64_t bits) { in x86_atomic_setbits_u64() argument
79 __asm volatile("lock ; orq %1,%0" : "=m" (*ptr) : "ir" (~bits)); in x86_atomic_setbits_u64()
83 x86_atomic_clearbits_u64(volatile u_int64_t *ptr, u_int64_t bits) { in x86_atomic_clearbits_u64() argument
84 __asm volatile("lock ; andq %1,%0" : "=m" (*ptr) : "ir" (~bits)); in x86_atomic_clearbits_u64()
/device/google/contexthub/firmware/os/core/
Dsyscall.c36 const uint8_t *bits = mLevelBits; in syscallAddTable() local
39 uint32_t idx = path >> (32 - *bits); in syscallAddTable()
40 path <<= *bits++; in syscallAddTable()
47 if (*bits == 0) in syscallAddTable()
60 const uint8_t *bits = mLevelBits; in syscallFindHandlerLoc() local
63 uint32_t idx = path >> (32 - *bits); in syscallFindHandlerLoc()
65 path <<= *bits++; in syscallFindHandlerLoc()
70 if (!*bits) in syscallFindHandlerLoc()
/device/linaro/bootloader/edk2/StdLib/LibC/gdtoa/
Dstrtopx.c65 ULong bits[2]; local
70 k = strtodg(s, sp, &fpi, &expt, bits);
87 L[_4] = (UShort)bits[0];
88 L[_3] = (UShort)(bits[0] >> 16);
89 L[_2] = (UShort)bits[1];
90 L[_1] = (UShort)(bits[1] >> 16);
Dstrtof.c50 ULong bits[1]; variable
55 k = strtodg(s, sp, &fpi, &expt, bits);
68 u.L[0] = (bits[0] & 0x7fffff) | ((expt + 0x7f + 23) << 23);
72 u.L[0] = bits[0];
Dldtoa.c73 uint32_t bits[(LDBL_MANT_DIG + 31) / 32]; in ldtoa() local
78 EXT_TO_ARRAY32(u, bits); in ldtoa()
84 bits[LDBL_MANT_DIG / 32] |= 1 << ((LDBL_MANT_DIG - 1) % 32); in ldtoa()
106 ret = gdtoa(&fpi, be, (ULong *)bits, &kind, mode, ndigits, decpt, rve); in ldtoa()
/device/linaro/hikey/hifi/xaf/host-apf/playback/
Dxa_playback.c75 unsigned int rate, unsigned int bits, unsigned int period_size,
202 unsigned int rate, unsigned int bits, unsigned int period_size, in sample_is_playable() argument
216 can_play &= check_param(params, PCM_PARAM_SAMPLE_BITS, bits, "Bitrate", " bits"); in sample_is_playable()
229 unsigned int bits, in xa_playback_open() argument
241 if (bits == 32) in xa_playback_open()
243 else if (bits == 16) in xa_playback_open()
249 if (!sample_is_playable(card, device, channels, rate, bits, period_size, period_count)) { in xa_playback_open()
289 unsigned int rate, unsigned int bits, unsigned int period_size,
310 if (bits == 32)
312 else if (bits == 16)
[all …]
/device/linaro/bootloader/edk2/StdLib/LibC/CRT/Ia32/
Dllshr.c25 ; Handle shifts of 64 bits or more (if shifting 64 bits or more, the result in _allshr()
32 ; Handle shifts of between 0 and 31 bits in _allshr()
41 ; Handle shifts of between 32 and 63 bits in _allshr()

12345678910>>...14