Searched refs:bits (Results 1 - 25 of 156) sorted by relevance

1234567

/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
H A Dinet_net_pton.c91 * number of bits, either imputed classfully or specified with /CIDR,
121 * number of bits, either imputed classfully or specified with /CIDR,
143 int bits; local
197 bits = -1;
201 bits = 0;
205 bits *= 10;
206 bits += n;
210 if (bits > 32)
222 if (bits == -1) {
224 bits
[all...]
H A Dinet_net_ntop.c39 static char * inet_net_ntop_ipv4 (const u_char *src, int bits,
44 * inet_net_ntop(af, src, bits, dst, size)
56 int bits,
63 return (inet_net_ntop_ipv4(src, bits, dst, size));
72 * inet_net_ntop_ipv4(src, bits, dst, size)
86 int bits,
96 if (bits < 0 || bits > 32) {
100 if (bits == 0) {
108 for (b = bits /
53 inet_net_ntop( int af, const void *src, int bits, char *dst, size_t size ) argument
84 inet_net_ntop_ipv4( const u_char *src, int bits, char *dst, size_t size ) argument
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/
H A Dinffast.c46 state->bits < 8
56 - The maximum input bits used by a length/distance pair is 15 bits for the
57 length code, 5 bits for the length extra, 15 bits for the distance code,
58 and 13 bits for the distance extra. This totals 48 bits, or six bytes.
85 unsigned bits; /* local strm->bits */ local
91 unsigned op; /* code bits, operatio
[all...]
H A Dinftrees.h14 table that indexes more bits of the code. op indicates whether
17 pointer, the low four bits of op is the number of index bits of
18 that table. For a length or distance, the low four bits of op
19 is the number of extra bits to get after the code. bits is
20 the number of bits in this code or part of the code to drop off
25 unsigned char op; /* operation, extra bits, table bits */
26 unsigned char bits; /* bit member in struct:__anon2841
[all...]
H A 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
262 unsigned bits; /* bits in bit buffer */ local
[all...]
H A Dinftrees.c23 whose indices are 0..2^bits-1. work is a writable array of at least
27 on return points to the next available entry's address. bits is the
28 requested root table index bits, and on return it is the actual root
29 table index bits. It will differ if the request is greater than the
32 int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work)
37 unsigned FAR *bits;
40 unsigned len; /* a code's length in bits */
43 unsigned root; /* number of index bits for root table */
44 unsigned curr; /* number of index bits for current table */
45 unsigned drop; /* code bits t
[all...]
H A Dinflate.c30 * - Add comments on state->bits assertion in inffast.c
121 state->bits = 0;
166 /* set number of window bits, free window if different */
230 int ZEXPORT inflatePrime(strm, bits, value)
232 int bits;
239 if (bits < 0) {
241 state->bits = 0;
244 if (bits > 16 || state->bits + bits > 3
271 unsigned sym, bits; local
614 unsigned bits; /* bits in bit buffer */ local
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/
H A Dinffast.c46 state->bits < 8
56 - The maximum input bits used by a length/distance pair is 15 bits for the
57 length code, 5 bits for the length extra, 15 bits for the distance code,
58 and 13 bits for the distance extra. This totals 48 bits, or six bytes.
85 unsigned bits; /* local strm->bits */ local
91 unsigned op; /* code bits, operatio
[all...]
H A Dinftrees.h14 table that indexes more bits of the code. op indicates whether
17 pointer, the low four bits of op is the number of index bits of
18 that table. For a length or distance, the low four bits of op
19 is the number of extra bits to get after the code. bits is
20 the number of bits in this code or part of the code to drop off
25 unsigned char op; /* operation, extra bits, table bits */
26 unsigned char bits; /* bit member in struct:__anon3186
[all...]
H A 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
253 unsigned bits; /* bits in bit buffer */ local
[all...]
H A Dinflate.c30 * - Add comments on state->bits assertion in inffast.c
122 state->bits = 0;
128 int ZEXPORT inflatePrime(strm, bits, value)
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
215 unsigned sym, bits; local
563 unsigned bits; /* bits in bit buffer */ local
[all...]
/device/google/contexthub/firmware/os/core/
H A Dsyscall.c36 const uint8_t *bits = mLevelBits; local
39 uint32_t idx = path >> (32 - *bits);
40 path <<= *bits++; local
47 if (*bits == 0)
60 const uint8_t *bits = mLevelBits; local
63 uint32_t idx = path >> (32 - *bits);
65 path <<= *bits++; local
70 if (!*bits)
/device/linaro/bootloader/edk2/StdLib/Include/X64/machine/
H A Datomic.h66 x86_atomic_setbits_u32(volatile u_int32_t *ptr, u_int32_t bits) { argument
67 __asm volatile("lock ; orl %1,%0" : "=m" (*ptr) : "ir" (bits));
71 x86_atomic_clearbits_u32(volatile u_int32_t *ptr, u_int32_t bits) { argument
72 __asm volatile("lock ; andl %1,%0" : "=m" (*ptr) : "ir" (~bits));
78 x86_atomic_setbits_u64(volatile u_int64_t *ptr, u_int64_t bits) { argument
79 __asm volatile("lock ; orq %1,%0" : "=m" (*ptr) : "ir" (~bits));
83 x86_atomic_clearbits_u64(volatile u_int64_t *ptr, u_int64_t bits) { argument
84 __asm volatile("lock ; andq %1,%0" : "=m" (*ptr) : "ir" (~bits));
/device/linaro/bootloader/edk2/StdLib/LibC/gdtoa/
H A Dstrtof.c50 ULong bits[1]; local
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];
H A 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);
H A Dldtoa.c73 uint32_t bits[(LDBL_MANT_DIG + 31) / 32]; local
78 EXT_TO_ARRAY32(u, bits);
84 bits[LDBL_MANT_DIG / 32] |= 1 << ((LDBL_MANT_DIG - 1) % 32);
106 ret = gdtoa(&fpi, be, (ULong *)bits, &kind, mode, ndigits, decpt, rve);
/device/linaro/bootloader/edk2/CryptoPkg/Library/IntrinsicLib/Ia32/
H A DMathLShiftS64.c19 * Shifts a 64-bit signed value left by a particular number of bits.
25 ; Handle shifting of 64 or more bits (return 0)
31 ; Handle shifting of between 0 and 31 bits local
40 ; Handle shifting of between 32 and 63 bits local
H A DMathRShiftU64.c19 * Shifts a 64-bit unsigned value right by a certain number of bits.
31 ; Handle shifting between 0 and 31 bits local
40 ; Handle shifting of 32-63 bits
50 ; Invalid number (less then 32bits), return 0
H A DMathLShiftS64.S19 # Shifts a 64-bit signed value left by a certain number of bits.
35 # Handle shifting of 64 or more bits (return 0)
41 # Handle shifting of between 0 and 31 bits
50 # Handle shifting of between 32 and 63 bits
H A DMathRShiftU64.S19 # Shifts a 64-bit unsigned value right by a certain number of bits.
42 # Handle shifting between 0 and 31 bits
51 # Handle shifting of 32-63 bits
61 # Invalid number (less then 32bits), return 0
/device/linaro/bootloader/edk2/StdLib/LibC/CRT/Ia32/
H A Dllshl.c19 * Shifts a 64-bit signed value left by a particular number of bits.
25 ; Handle shifting of 64 or more bits (return 0)
31 ; Handle shifting of between 0 and 31 bits local
40 ; Handle shifting of between 32 and 63 bits local
H A Dullshr.c19 * Shifts a 64-bit unsigned value right by a certain number of bits.
31 ; Handle shifting between 0 and 31 bits local
40 ; Handle shifting of 32-63 bits
50 ; Invalid number (less then 32bits), return 0
H A Dllshr.c19 * Shifts a 64-bit signed value right by a particular number of bits.
25 ; Handle shifts of 64 bits or more (if shifting 64 bits or more, the result
32 ; Handle shifts of between 0 and 31 bits local
41 ; Handle shifts of between 32 and 63 bits local
H A Dashrdi3.S19 # Shifts a 64-bit unsigned value right by a certain number of bits.
42 # Handle shifting between 0 and 31 bits
51 # Handle shifting of 32-63 bits
61 # Invalid number (less then 32bits), return 0
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
H A Drotatingtree.c15 randombits(int bits) argument
18 if (random_stream < (1U << bits)) {
22 result = random_stream & ((1<<bits)-1);
23 random_stream >>= bits; local

Completed in 287 milliseconds

1234567