bson/bson-writer.c | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 0 | 22 | 0.0 |
line | true | false | branch |
---|---|---|---|
166 | 0 | 0 | BSON_ASSERT (writer); |
167 | 0 | 0 | BSON_ASSERT (writer->ready); |
168 | 0 | 0 | BSON_ASSERT (bson); |
186 | 0 | 0 | while ((writer->offset + writer->b.len) > *writer->buflen) { |
187 | 0 | 0 | if (!writer->realloc_func) { |
194 | 0 | 0 | if (!*writer->buflen) { |
201 | 0 | 0 | if (grown) { |
233 | 0 | 0 | BSON_ASSERT (writer); |
234 | 0 | 0 | BSON_ASSERT (!writer->ready); |
264 | 0 | 0 | BSON_ASSERT (writer); |
266 | 0 | 0 | if (writer->b.len) { |