Home | History | Annotate | Download | only in libiptc

Lines Matching defs:debug

50 #ifdef DEBUG
51 #define debug(x, args...) fprintf(stderr, x, ## args)
53 #define debug(x, args...)
348 debug("WARNING: handle->chain_index_sz == 0\n");
356 debug("bsearch Find chain:%s (pos:%d end:%d) (offset:%d)\n",
366 debug("bsearch Index[%d] name:%s ",
375 debug("head_offset:[%d] foot_offset:[%d] ",
386 debug("res:%d ", res);
393 debug("[found] Direct hit pos:%d end:%d\n", pos, end);
401 debug("[found] Reached first array elem (end%d)\n",end);
404 debug("jump back to pos:%d (end:%d)\n", pos, end);
410 debug("[found] Last array elem (end:%d)\n", end);
425 debug("[found] closest list (end:%d)\n", end);
430 debug("jump forward to pos:%d (end:%d)\n", pos, end);
465 #ifdef DEBUG
508 debug("Alloc Chain index, elems:%d mem:%d bytes\n",
529 #ifdef DEBUG
553 debug("Building chain index\n");
555 debug("Number of user defined chains:%d bucket_sz:%d array_sz:%d\n",
575 debug("\nIndex[%d] Chains:", cindex);
580 debug("%s, ", c->name);
582 debug("\n");
589 debug("REBUILD chain index array\n");
617 debug("Del chain[%s] c->list:%p index_ptr:%p\n",
637 debug("Update cindex[%d] with next ptr name:[%s]\n",
705 debug("Offset:[%u] starting search at index:[%u]\n", offset, i);
709 debug(".");
711 debug("Offset search found chain:[%s]\n", c->name);
748 #ifdef DEBUG
755 debug("BUG in chain_index search\n");
758 debug("Verify search found:\n");
759 debug(" Chain:%s\n", test_c->name);
760 debug("BSearch found:\n");
761 debug(" Chain:%s\n", tmp_c->name);
775 debug("List search name:%s == %s res:%d\n", name, c->name, res);
781 debug(" Not in list, walked too far, sorted list\n");
787 debug("Stop, list head reached\n");
792 debug("List search NOT found name:%s\n", name);
865 debug("Update chain_index[0] with %s\n", c->name);
883 debug("Insert, list head reached add to tail\n");
928 debug("NOTICE: chain:[%s] was NOT sorted(ctail:%s)\n",
2278 debug("Capacity(%d) exceeded(%d) rebuild (chains:%d)\n",