Lines Matching refs:bid
348 * Allow each registered stream transform to bid on whether
355 int number_bidders, i, bid, best_bid;
369 if (bidder->bid != NULL) {
370 bid = (bidder->bid)(bidder, a->filter);
371 if (bid > best_bid) {
372 best_bid = bid;
495 * Allow each registered format to bid on whether it wants to handle
503 int bid, best_bid;
513 if (a->format->bid) {
514 bid = (a->format->bid)(a);
515 if (bid == ARCHIVE_FATAL)
517 if ((bid > best_bid) || (best_bid_slot < 0)) {
518 best_bid = bid;
813 * Used internally by read format handlers to register their bid and
820 int (*bid)(struct archive_read *),
836 if (a->formats[i].bid == bid)
838 if (a->formats[i].bid == NULL) {
839 a->formats[i].bid = bid;
856 * Used internally by decompression routines to register their bid and
871 if (a->bidders[i].bid == NULL) {