Home
last modified time | relevance | path

Searched refs:op (Results 1 – 11 of 11) sorted by relevance

/lib/lz4/
Dlz4_decompress.c54 BYTE *op = (BYTE *) dest; in lz4_uncompress() local
55 BYTE * const oend = op + osize; in lz4_uncompress()
81 cpy = op + length; in lz4_uncompress()
90 memcpy(op, ip, length); in lz4_uncompress()
94 LZ4_WILDCOPY(ip, op, cpy); in lz4_uncompress()
95 ip -= (op - cpy); in lz4_uncompress()
96 op = cpy; in lz4_uncompress()
117 if (unlikely((op - ref) < STEPSIZE)) { in lz4_uncompress()
119 size_t dec64 = dec64table[op - ref]; in lz4_uncompress()
123 op[0] = ref[0]; in lz4_uncompress()
[all …]
Dlz4_compress.c70 u8 *op = (u8 *) dest; in lz4_compressctx() local
71 u8 *const oend = op + maxoutputsize; in lz4_compressctx()
119 token = op++; in lz4_compressctx()
121 if (unlikely(op + length + (2 + 1 + LASTLITERALS) + in lz4_compressctx()
130 *op++ = 255; in lz4_compressctx()
131 *op++ = (u8)len; in lz4_compressctx()
136 LZ4_BLINDCOPY(anchor, op, length); in lz4_compressctx()
139 LZ4_WRITE_LITTLEENDIAN_16(op, (u16)(ip - ref)); in lz4_compressctx()
176 if (unlikely(op + (1 + LASTLITERALS) + (length >> 8) > oend)) in lz4_compressctx()
182 *op++ = 255; in lz4_compressctx()
[all …]
Dlz4hc_compress.c269 static inline int lz4_encodesequence(const u8 **ip, u8 **op, const u8 **anchor, in lz4_encodesequence() argument
277 token = (*op)++; in lz4_encodesequence()
282 *(*op)++ = 255; in lz4_encodesequence()
283 *(*op)++ = (u8)len; in lz4_encodesequence()
288 LZ4_BLINDCOPY(*anchor, *op, length); in lz4_encodesequence()
291 LZ4_WRITE_LITTLEENDIAN_16(*op, (u16)(*ip - ref)); in lz4_encodesequence()
299 *(*op)++ = 255; in lz4_encodesequence()
300 *(*op)++ = 255; in lz4_encodesequence()
304 *(*op)++ = 255; in lz4_encodesequence()
306 *(*op)++ = (u8)len; in lz4_encodesequence()
[all …]
/lib/lzo/
Dlzo1x_decompress_safe.c23 #define HAVE_OP(x) ((size_t)(op_end - op) >= (size_t)(x))
31 unsigned char *op; in lzo1x_decompress_safe() local
39 op = out; in lzo1x_decompress_safe()
70 unsigned char *oe = op + t; in lzo1x_decompress_safe()
72 COPY8(op, ip); in lzo1x_decompress_safe()
73 op += 8; in lzo1x_decompress_safe()
75 COPY8(op, ip); in lzo1x_decompress_safe()
76 op += 8; in lzo1x_decompress_safe()
80 op = oe; in lzo1x_decompress_safe()
87 *op++ = *ip++; in lzo1x_decompress_safe()
[all …]
Dlzo1x_compress.c26 unsigned char *op; in lzo1x_1_do_compress() local
32 op = out; in lzo1x_1_do_compress()
58 op[-2] |= t; in lzo1x_1_do_compress()
59 COPY4(op, ii); in lzo1x_1_do_compress()
60 op += t; in lzo1x_1_do_compress()
62 *op++ = (t - 3); in lzo1x_1_do_compress()
63 COPY8(op, ii); in lzo1x_1_do_compress()
64 COPY8(op + 8, ii + 8); in lzo1x_1_do_compress()
65 op += t; in lzo1x_1_do_compress()
68 *op++ = (t - 3); in lzo1x_1_do_compress()
[all …]
/lib/zlib_inflate/
Dinffast.c110 unsigned op; /* code bits, operation, extra bits, or */ in inflate_fast() local
148 op = (unsigned)(this.bits); in inflate_fast()
149 hold >>= op; in inflate_fast()
150 bits -= op; in inflate_fast()
151 op = (unsigned)(this.op); in inflate_fast()
152 if (op == 0) { /* literal */ in inflate_fast()
155 else if (op & 16) { /* length base */ in inflate_fast()
157 op &= 15; /* number of extra bits */ in inflate_fast()
158 if (op) { in inflate_fast()
159 if (bits < op) { in inflate_fast()
[all …]
Dinftrees.c104 this.op = (unsigned char)64; /* invalid code marker */ in zlib_inflate_table()
206 this.op = (unsigned char)0; in zlib_inflate_table()
210 this.op = (unsigned char)(extra[work[sym]]); in zlib_inflate_table()
214 this.op = (unsigned char)(32 + 64); /* end of block */ in zlib_inflate_table()
271 (*table)[low].op = (unsigned char)curr; in zlib_inflate_table()
284 this.op = (unsigned char)64; /* invalid code marker */ in zlib_inflate_table()
Dinflate.c584 if (this.op && (this.op & 0xf0) == 0) { in zlib_inflate()
588 (BITS(last.bits + last.op) >> last.bits)]; in zlib_inflate()
596 if ((int)(this.op) == 0) { in zlib_inflate()
600 if (this.op & 32) { in zlib_inflate()
604 if (this.op & 64) { in zlib_inflate()
609 state->extra = (unsigned)(this.op) & 15; in zlib_inflate()
624 if ((this.op & 0xf0) == 0) { in zlib_inflate()
628 (BITS(last.bits + last.op) >> last.bits)]; in zlib_inflate()
635 if (this.op & 64) { in zlib_inflate()
641 state->extra = (unsigned)(this.op) & 15; in zlib_inflate()
Dinftrees.h28 unsigned char op; /* operation, extra bits, table bits */ member
/lib/
Dasn1_decoder.c173 enum asn1_opcode op; in asn1_ber_decoder() local
202 op = machine[pc]; in asn1_ber_decoder()
203 if (unlikely(pc + asn1_op_lengths[op] > machlen)) in asn1_ber_decoder()
209 if (op <= ASN1_OP__MATCHES_TAG) { in asn1_ber_decoder()
213 if ((op & ASN1_OP_MATCH__COND && flags & FLAG_MATCHED) || in asn1_ber_decoder()
214 (op & ASN1_OP_MATCH__SKIP && dp == datalen)) { in asn1_ber_decoder()
215 pc += asn1_op_lengths[op]; in asn1_ber_decoder()
229 if (op & ASN1_OP_MATCH__ANY) { in asn1_ber_decoder()
246 if (op & ASN1_OP_MATCH__SKIP) { in asn1_ber_decoder()
247 pc += asn1_op_lengths[op]; in asn1_ber_decoder()
[all …]
Ddynamic_debug.c383 int op = '=', i; in ddebug_parse_flags() local
389 op = *str++; in ddebug_parse_flags()
395 vpr_info("op='%c'\n", op); in ddebug_parse_flags()
412 switch (op) { in ddebug_parse_flags()