Lines Matching refs:stream
865 /* Recursively dumps to the FILE stream given by stream the contents
872 static void dump_nodes(FILE *stream, struct node *nodep,
886 fprintf(stream, "%*s---- %s nodep: %p\n", indent, "", node_type, nodep);
887 fprintf(stream, "%*s parent: %p left: %p right: %p\n", indent, "",
889 fprintf(stream, "%*s idx: 0x%lx mask: 0x%x num_after: 0x%lx\n",
894 dump_nodes(stream, nodep->left, indent + 2);
898 dump_nodes(stream, nodep->right, indent + 2);
917 /* Dumps to the FILE stream specified by stream, the implementation dependent
925 static void sparsebit_dump_internal(FILE *stream, struct sparsebit *s,
929 fprintf(stream, "%*sroot: %p\n", indent, "", s->root);
930 fprintf(stream, "%*snum_set: 0x%lx\n", indent, "", s->num_set);
933 dump_nodes(stream, s->root, indent);
1549 static size_t display_range(FILE *stream, sparsebit_idx_t low,
1562 * When stream is NULL, just determine the size of what would
1565 if (!stream)
1568 sz = fprintf(stream, fmt_str, low, high);
1574 /* Dumps to the FILE stream given by stream, the bit settings
1587 void sparsebit_dump(FILE *stream, struct sparsebit *s,
1598 fprintf(stream, "%*s", indent, "");
1633 fputs("\n", stream);
1634 fprintf(stream, "%*s", indent, "");
1639 sz = display_range(stream, low, high,
1667 fputs("\n", stream);
1668 fprintf(stream, "%*s", indent, "");
1673 sz = display_range(stream, low, high,
1678 fputs("\n", stream);