Searched defs:length (Results 1 - 11 of 11) sorted by relevance

/lib/
H A Dcheck_signature.c8 * @length: length of signature
16 const unsigned char *signature, int length)
18 while (length--) {
15 check_signature(const volatile void __iomem *io_addr, const unsigned char *signature, int length) argument
H A Dlibcrc32c.c42 u32 crc32c(u32 crc, const void *address, unsigned int length) argument
52 err = crypto_shash_update(shash, address, length);
H A Ducs2_string.c8 unsigned long length = 0; local
10 while (*s++ != 0 && length < maxlength)
11 length++;
12 return length;
24 * Return the number of bytes is the length of this string
H A Dcrc32.c141 * @len: length of buffer @p
286 * @len: length of buffer @p
867 u32 length; /* random 11 bit length of test */ member in struct:crc_test
992 bytes += 2*test[i].length;
995 test[i].start, test[i].length);
1005 test[i].start, test[i].length))
1037 test[i].length);
1038 for (j = 0; j <= test[i].length; ++j) {
1040 u32 len1 = j, len2 = test[i].length
[all...]
H A Ddecompress_bunzip2.c234 unsigned char length[MAX_SYMBOLS], temp[MAX_HUFCODE_BITS+1]; local
242 test inside the loop simpler: symbol length 0
267 * final symbol length */
268 length[i] = t+1;
271 minLen = maxLen = length[0];
274 if (length[i] > maxLen)
275 maxLen = length[i];
276 else if (length[i] < minLen)
277 minLen = length[i];
281 * length[]
[all...]
H A Dkobject.c105 int length = 1; local
115 length += strlen(kobject_name(parent)) + 1;
118 return length;
121 static void fill_kobj_path(struct kobject *kobj, char *path, int length) argument
125 --length;
129 length -= cur;
130 strncpy(path + length, kobject_name(parent), cur);
131 *(path + --length) = '/';
/lib/lz4/
H A Dlz4_compress.c72 int length; local
117 /* Encode Literal length */
118 length = (int)(ip - anchor);
121 if (unlikely(op + length + (2 + 1 + LASTLITERALS) +
122 (length >> 8) > oend))
125 if (length >= (int)RUN_MASK) {
128 len = length - RUN_MASK;
133 *token = (length << ML_BITS);
136 LZ4_BLINDCOPY(anchor, op, length);
174 length
254 int len, length; local
[all...]
H A Dlz4_decompress.c63 size_t length; local
69 length = (token >> ML_BITS);
70 if (length == RUN_MASK) {
74 for (; len == 255; length += 255)
76 if (unlikely(length > (size_t)(length + len)))
78 length += len;
82 cpy = op + length;
91 memcpy(op, ip, length);
92 ip += length;
189 size_t length; local
[all...]
H A Dlz4hc_compress.c272 int length, len; local
275 /* Encode Literal length */
276 length = (int)(*ip - *anchor);
278 if (length >= (int)RUN_MASK) {
280 len = length - RUN_MASK;
285 *token = (length << ML_BITS);
288 LZ4_BLINDCOPY(*anchor, *op, length);
/lib/zlib_inflate/
H A Dinflate.h20 EXLEN, /* i: waiting for extra length (gzip) */
29 STORED, /* i: waiting for stored size (length and complement) */
32 LENLENS, /* i: waiting for code length code lengths */
33 CODELENS, /* i: waiting for length/lit and distance code lengths */
34 LEN, /* i: waiting for length/lit code */
35 LENEXT, /* i: waiting for length extra bits */
41 LENGTH, /* i: waiting for 32-bit length (gzip) */
92 unsigned length; /* literal or length of data to copy */ member in struct:inflate_state
97 code const *lencode; /* starting table for length/litera
[all...]
/lib/zlib_deflate/
H A Ddeftree.c49 /* Bit length codes must not exceed MAX_BL_BITS bits */
55 /* repeat previous bit length 3-6 times (2 bits of repeat count) */
58 /* repeat a zero length 3-10 times (3 bits of repeat count) */
61 /* repeat a zero length 11-138 times (7 bits of repeat count) */
63 static const int extra_lbits[LENGTH_CODES] /* extra bits for each length code */
69 static const int extra_blbits[BL_CODES]/* extra bits for each bit length code */
74 /* The lengths of the bit length codes are sent in order of decreasing
75 * probability, to avoid transmitting the lengths for unused bit length codes.
106 /* length code for each normalized match length (
230 int length; /* length value */ local
[all...]

Completed in 120 milliseconds