• Home
  • Raw
  • Download

Lines Matching refs:plimit

347 BINN_PRIVATE unsigned char* AdvanceDataPos(unsigned char *p, unsigned char *plimit) {  in AdvanceDataPos()  argument
350 if (p > plimit) { in AdvanceDataPos()
377 if (p + sizeof(int) - 1 > plimit) { in AdvanceDataPos()
385 if (p > plimit) { in AdvanceDataPos()
390 if (p + sizeof(int) - 1 > plimit) { in AdvanceDataPos()
401 if (p > plimit) { in AdvanceDataPos()
406 if (p + sizeof(int) - 1 > plimit) { in AdvanceDataPos()
422 if (p > plimit) { in AdvanceDataPos()
429 unsigned char *plimit, *base; in SearchForID() local
433 plimit = p + size - 1; in SearchForID()
441 if (p > plimit) { in SearchForID()
449 p = AdvanceDataPos(p, plimit); in SearchForID()
461 unsigned char len, *plimit, *base; in SearchForKey() local
465 plimit = p + size - 1; in SearchForKey()
472 if (p > plimit) { in SearchForKey()
484 if (p > plimit) { in SearchForKey()
491 p = AdvanceDataPos(p, plimit); in SearchForKey()
934 const unsigned char *p, *plimit = 0; in IsValidBinnHeader() local
942 plimit = p + *psize - 1; in IsValidBinnHeader()
965 if (plimit && (p > plimit)) { in IsValidBinnHeader()
970 if (plimit && (p + sizeof(int) - 1 > plimit)) { in IsValidBinnHeader()
983 if (plimit && (p > plimit)) { in IsValidBinnHeader()
988 if (plimit && (p + sizeof(int) - 1 > plimit)) { in IsValidBinnHeader()
1126 unsigned char *p, *plimit, *base, len; in binn_is_valid_ex() local
1168 plimit = p + size; in binn_is_valid_ex()
1190 p = AdvanceDataPos(p, plimit); in binn_is_valid_ex()
1428 unsigned char *p, *plimit, *base; in binn_list_get_value() local
1453 plimit = p + size; in binn_list_get_value()
1457 p = AdvanceDataPos(p, plimit); in binn_list_get_value()
1470 unsigned char *p, *plimit, *base, *key = 0, len = 0; in binn_read_pair() local
1485 plimit = p + size - 1; in binn_read_pair()
1494 if (p > plimit) { in binn_read_pair()
1502 if (p > plimit) { in binn_read_pair()
1507 if (p > plimit) { in binn_read_pair()
1517 p = AdvanceDataPos(p, plimit); in binn_read_pair()
1630 iter->plimit = (unsigned char*) ptr + size - 1; in binn_iter_init()
1643 || (iter->pnext > iter->plimit) in binn_list_next()
1655 iter->pnext = AdvanceDataPos(pnow, iter->plimit); in binn_list_next()
1669 || (iter->pnext > iter->plimit) in binn_read_next_pair()
1687 if (p > iter->plimit) { in binn_read_next_pair()
1700 if (p > iter->plimit) { in binn_read_next_pair()
1709 iter->pnext = AdvanceDataPos(p, iter->plimit); in binn_read_next_pair()
1723 || (iter->pnext > iter->plimit) in binn_read_next_pair2()
1742 if (p > iter->plimit) { in binn_read_next_pair2()
1755 if (p > iter->plimit) { in binn_read_next_pair2()
1766 iter->pnext = AdvanceDataPos(p, iter->plimit); in binn_read_next_pair2()