Home
last modified time | relevance | path

Searched refs:m_pos (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/lib/lzo/
Dlzo1x_decompress.c25 #define HAVE_LB(m_pos, out, op) (m_pos < out || m_pos >= op) argument
35 const unsigned char *ip = in, *m_pos; in lzo1x_decompress_safe() local
102 m_pos = op - (1 + M2_MAX_OFFSET); in lzo1x_decompress_safe()
103 m_pos -= t >> 2; in lzo1x_decompress_safe()
104 m_pos -= *ip++ << 2; in lzo1x_decompress_safe()
106 if (HAVE_LB(m_pos, out, op)) in lzo1x_decompress_safe()
111 *op++ = *m_pos++; in lzo1x_decompress_safe()
112 *op++ = *m_pos++; in lzo1x_decompress_safe()
113 *op++ = *m_pos; in lzo1x_decompress_safe()
120 m_pos = op - 1; in lzo1x_decompress_safe()
[all …]
Dlzo1x_compress.c28 const unsigned char *end, *m, *m_pos; in _lzo1x_1_do_compress() local
36 m_pos = dict[dindex]; in _lzo1x_1_do_compress()
38 if (m_pos < in) in _lzo1x_1_do_compress()
41 if (ip == m_pos || ((size_t)(ip - m_pos) > M4_MAX_OFFSET)) in _lzo1x_1_do_compress()
44 m_off = ip - m_pos; in _lzo1x_1_do_compress()
45 if (m_off <= M2_MAX_OFFSET || m_pos[3] == ip[3]) in _lzo1x_1_do_compress()
49 m_pos = dict[dindex]; in _lzo1x_1_do_compress()
51 if (m_pos < in) in _lzo1x_1_do_compress()
54 if (ip == m_pos || ((size_t)(ip - m_pos) > M4_MAX_OFFSET)) in _lzo1x_1_do_compress()
57 m_off = ip - m_pos; in _lzo1x_1_do_compress()
[all …]