Lines Matching defs:stream
864 /* Recursively dumps to the FILE stream given by stream the contents
871 static void dump_nodes(FILE *stream, struct node *nodep,
885 fprintf(stream, "%*s---- %s nodep: %p\n", indent, "", node_type, nodep);
886 fprintf(stream, "%*s parent: %p left: %p right: %p\n", indent, "",
888 fprintf(stream, "%*s idx: 0x%lx mask: 0x%x num_after: 0x%lx\n",
893 dump_nodes(stream, nodep->left, indent + 2);
897 dump_nodes(stream, nodep->right, indent + 2);
916 /* Dumps to the FILE stream specified by stream, the implementation dependent
924 static void sparsebit_dump_internal(FILE *stream, const struct sparsebit *s,
928 fprintf(stream, "%*sroot: %p\n", indent, "", s->root);
929 fprintf(stream, "%*snum_set: 0x%lx\n", indent, "", s->num_set);
932 dump_nodes(stream, s->root, indent);
1548 static size_t display_range(FILE *stream, sparsebit_idx_t low,
1561 * When stream is NULL, just determine the size of what would
1564 if (!stream)
1567 sz = fprintf(stream, fmt_str, low, high);
1573 /* Dumps to the FILE stream given by stream, the bit settings
1586 void sparsebit_dump(FILE *stream, const struct sparsebit *s,
1597 fprintf(stream, "%*s", indent, "");
1632 fputs("\n", stream);
1633 fprintf(stream, "%*s", indent, "");
1638 sz = display_range(stream, low, high,
1666 fputs("\n", stream);
1667 fprintf(stream, "%*s", indent, "");
1672 sz = display_range(stream, low, high,
1677 fputs("\n", stream);