Lines Matching refs:ip
213 const lzo_bytep ip;
220 ip = in;
221 while (ip < ip_end)
223 t = *ip++; /* get marker */
229 t = *ip++;
246 MEMCPY8_DS(op,ip,t);
251 MEMCPY_DS(op,ip,t);
258 m_pos -= (lzo_uint)(t & OMASK) | (((lzo_uint) *ip++) << OBITS);
262 tt = (MIN_MATCH_LONG - THRESHOLD) + *ip++; /* a long match */
278 return (ip == ip_end ? LZO_E_OK :
279 (ip < ip_end ? LZO_E_INPUT_NOT_CONSUMED : LZO_E_INPUT_OVERRUN));
348 const lzo_bytep ip;
364 ip = in;
365 ii = ip; /* point to start of literal run */
374 DVAL_FIRST(dv,ip);
375 UPDATE_D(dict,0,dv,ip,in);
376 ip++;
377 DVAL_NEXT(dv,ip);
383 DINDEX1(dindex,ip);
385 if (LZO_CHECK_MPOS(m_pos,m_off,in,ip,MAX_OFFSET))
387 if (m_pos[0] == ip[0] && m_pos[1] == ip[1] && m_pos[2] == ip[2])
389 DINDEX2(dindex,ip);
391 if (LZO_CHECK_MPOS(m_pos,m_off,in,ip,MAX_OFFSET))
393 if (m_pos[0] == ip[0] && m_pos[1] == ip[1] && m_pos[2] == ip[2])
399 UPDATE_I(dict,0,dindex,ip,in);
400 if (++ip >= ip_end)
405 UPDATE_I(dict,0,dindex,ip,in);
413 assert((m_pos_sav = ip - m_off) == (m_pos - 3));
416 if (pd(ip,ii) > 0)
418 lzo_uint t = pd(ip,ii);
432 ii = ip; /* point to start of current match */
436 ip += MIN_MATCH;
437 assert(m_pos < ip);
442 #define PS *m_pos++ != *ip++
463 assert(pd(ip,m_pos) == m_off);
464 --ip; /* ran one too far, point back to non-match */
465 m_len = pd(ip, ii);
484 #define XI assert(ii < ip); ii = ip; DVAL_FIRST(dv,(ip));
487 /* Insert the whole match (ii+1)..(ip-1) into dictionary. */
492 } while (++ii < ip);
494 assert(ii == ip);
495 DVAL_ASSERT(dv,ip);
511 assert(ip <= in_end);
512 assert(ii == ip - MIN_MATCH_LONG);
514 if (pd(in_end,ip) <= (MAX_MATCH_LONG - MIN_MATCH_LONG))
518 end = ip + (MAX_MATCH_LONG - MIN_MATCH_LONG);
522 while (ip < end && *m_pos == *ip)
523 m_pos++, ip++;
524 assert(ip <= in_end);
527 m_len = pd(ip, ii);
534 assert(pd(ip,m_pos) == m_off);
546 /* Insert the whole match (ii+1)..(ip-1) into dictionary. */
552 } while (++ii < ip);
554 assert(ii == ip);
555 DVAL_ASSERT(dv,ip);
576 assert(ii == ip);
578 } while (ip < ip_end);
583 assert(ip <= in_end);