| line | true | false | branch | 
 
| 21 | 79 | 0 | if (!slot_mutex) | 
 
| 24 | 0 | 79 | if (!ctx) | 
 
| 28 | 1580 | 79 | for (i = 0; i < IM_ERROR_COUNT; ++i) { | 
 
| 43 | 0 | 79 | if (!ctx->slots) { | 
 
| 98 | 0 | 2299 | im_assert(ctx->refcount > 0); | 
 
| 107 | 2221 | 78 | if (ctx->refcount != 0) | 
 
| 112 | 78 | 78 | for (slot = 0; slot < ctx->slot_alloc; ++slot) { | 
 
| 113 | 0 | 78 | if (ctx->slots[slot] && slot_destructors[slot]) | 
 
|  | 0 | 0 | if (ctx->slots[slot] && slot_destructors[slot]) | 
 
| 120 | 1560 | 78 | for (i = 0; i < IM_ERROR_COUNT; ++i) { | 
 
| 121 | 56 | 1504 | if (ctx->error_stack[i].msg) | 
 
| 127 | 1 | 78 | while (p != NULL) { | 
 
| 137 | 17 | 61 | if (ctx->lg_file && ctx->own_log) | 
 
|  | 17 | 0 | if (ctx->lg_file && ctx->own_log) | 
 
| 159 | 0 | 0 | if (!nctx) | 
 
| 164 | 0 | 0 | if (!nctx->slots) { | 
 
| 170 | 0 | 0 | for (i = 0; i < IM_ERROR_COUNT; ++i) { | 
 
| 176 | 0 | 0 | if (ctx->lg_file) { | 
 
| 177 | 0 | 0 | if (ctx->own_log) { | 
 
| 179 | 0 | 0 | if (newfd >= 0) { | 
 
| 182 | 0 | 0 | if (nctx->lg_file) | 
 
| 214 | 0 | 0 | while (inp) { | 
 
| 216 | 0 | 0 | if (!m) { | 
 
| 226 | 0 | 0 | if (m->m.name == NULL || m->m.magic == NULL || m->m.mask == NULL) { | 
 
|  | 0 | 0 | if (m->m.name == NULL || m->m.magic == NULL || m->m.mask == NULL) { | 
 
|  | 0 | 0 | if (m->m.name == NULL || m->m.magic == NULL || m->m.mask == NULL) { | 
 
| 264 | 0 | 0 | if (!slot_mutex) | 
 
| 271 | 0 | 0 | if (!new_destructors) | 
 
| 298 | 0 | 0 | if (slot < 0 || slot >= slot_count) { | 
 
|  | 0 | 0 | if (slot < 0 || slot >= slot_count) { | 
 
| 304 | 0 | 0 | if (slot >= ctx->slot_alloc) { | 
 
| 309 | 0 | 0 | if (!new_slots) | 
 
| 312 | 0 | 0 | for (i = ctx->slot_alloc; i < new_alloc; ++i) | 
 
| 335 | 0 | 0 | if (slot < 0 || slot >= slot_count) { | 
 
|  | 0 | 0 | if (slot < 0 || slot >= slot_count) { | 
 
| 341 | 0 | 0 | if (slot >= ctx->slot_alloc) | 
 
| 361 | 0 | 1 | if (m == NULL) | 
 
| 364 | 0 | 1 | if (length > 512) | 
 
| 372 | 1 | 0 | if (name == NULL || bits == NULL || mask == NULL) { | 
 
|  | 1 | 0 | if (name == NULL || bits == NULL || mask == NULL) { | 
 
|  | 0 | 1 | if (name == NULL || bits == NULL || mask == NULL) { |