line |
true |
false |
branch |
94
|
0 |
1 |
if(d >= 0) { |
109
|
0 |
0 |
if(d >= 0) { |
124
|
0 |
0 |
if(d >= 0) { |
139
|
0 |
0 |
if(d >= 0) { |
207
|
3 |
0 |
if (*u->z == NULL) { |
209
|
0 |
3 |
if(*u->z == NULL) { |
216
|
0 |
3 |
if(o->via.array.ptr == NULL) { return MSGPACK_UNPACK_NOMEM_ERROR; } |
251
|
2 |
0 |
if (*u->z == NULL) { |
253
|
0 |
2 |
if(*u->z == NULL) { |
260
|
0 |
2 |
if(o->via.map.ptr == NULL) { return MSGPACK_UNPACK_NOMEM_ERROR; } |
281
|
1 |
0 |
if (*u->z == NULL) { |
283
|
0 |
1 |
if(*u->z == NULL) { |
297
|
1 |
9 |
if (*u->z == NULL) { |
299
|
0 |
1 |
if(*u->z == NULL) { |
313
|
0 |
2 |
if (l == 0) { |
316
|
2 |
0 |
if (*u->z == NULL) { |
318
|
0 |
2 |
if(*u->z == NULL) { |
347
|
6 |
8 |
if(_msgpack_sync_decr_and_fetch((volatile _msgpack_atomic_counter_t*)buffer) == 0) { |
368
|
0 |
6 |
if(initial_buffer_size < COUNTER_SIZE) { |
373
|
0 |
6 |
if(buffer == NULL) { |
378
|
0 |
6 |
if(ctx == NULL) { |
411
|
0 |
0 |
if(mpac == NULL) { |
415
|
0 |
0 |
if(!msgpack_unpacker_init(mpac, initial_buffer_size)) { |
431
|
0 |
0 |
if(mpac->used == mpac->off && get_count(mpac->buffer) == 1 |
|
0 |
0 |
if(mpac->used == mpac->off && get_count(mpac->buffer) == 1 |
432
|
0 |
0 |
&& !CTX_REFERENCED(mpac)) { |
438
|
0 |
0 |
if(mpac->free >= size) { |
443
|
0 |
0 |
if(mpac->off == COUNTER_SIZE) { |
446
|
0 |
0 |
while(next_size < size + mpac->used) { |
448
|
0 |
0 |
if (tmp_next_size <= next_size) { |
456
|
0 |
0 |
if(tmp == NULL) { |
467
|
0 |
0 |
while(next_size < size + not_parsed + COUNTER_SIZE) { |
469
|
0 |
0 |
if (tmp_next_size <= next_size) { |
477
|
0 |
0 |
if(tmp == NULL) { |
485
|
0 |
0 |
if(CTX_REFERENCED(mpac)) { |
486
|
0 |
0 |
if(!msgpack_zone_push_finalizer(mpac->z, decr_count, mpac->buffer)) { |
509
|
14 |
7 |
if(mpac->off > off) { |
524
|
5 |
9 |
if (old == NULL) return NULL; |
525
|
0 |
9 |
if(!msgpack_unpacker_flush_zone(mpac)) { |
542
|
8 |
1 |
if(CTX_REFERENCED(mpac)) { |
543
|
0 |
8 |
if(!msgpack_zone_push_finalizer(mpac->z, decr_count, mpac->buffer)) { |
570
|
0 |
21 |
if(ret < 0) { |
576
|
7 |
14 |
if(ret == 0) { |
591
|
14 |
7 |
if (ret == MSGPACK_UNPACK_SUCCESS) { |
605
|
0 |
0 |
if (ret == MSGPACK_UNPACK_SUCCESS || ret == MSGPACK_UNPACK_CONTINUE) { |
|
0 |
0 |
if (ret == MSGPACK_UNPACK_SUCCESS || ret == MSGPACK_UNPACK_CONTINUE) { |
609
|
0 |
0 |
if (ret == MSGPACK_UNPACK_SUCCESS) { |
621
|
0 |
0 |
if(off != NULL) { noff = *off; } |
623
|
0 |
0 |
if(len <= noff) { |
636
|
0 |
0 |
if(e < 0) { |
640
|
0 |
0 |
if(off != NULL) { *off = noff; } |
642
|
0 |
0 |
if(e == 0) { |
648
|
0 |
0 |
if(noff < len) { |
663
|
0 |
0 |
if(off != NULL) { noff = *off; } |
665
|
0 |
0 |
if(len <= noff) { |
679
|
0 |
0 |
if(off != NULL) { *off = noff; } |
681
|
0 |
0 |
if(e < 0) { |
687
|
0 |
0 |
if(e == 0) { |