line |
true |
false |
branch |
54
|
0 |
95 |
Newx(stack->begin, size, srl_stack_type_t); |
55
|
0 |
95 |
if (expect_false(stack->begin == NULL)) |
73
|
0 |
0 |
Renew(stack->begin, new_size, srl_stack_type_t); |
74
|
0 |
0 |
if (stack->begin == NULL) |
89
|
133 |
0 |
if (stack == NULL || stack->begin == NULL) return; |
|
0 |
133 |
if (stack == NULL || stack->begin == NULL) return; |
103
|
0 |
38 |
Newx(to->begin, size, srl_stack_type_t); |
104
|
0 |
38 |
if (expect_false(to->begin == NULL)) |
107
|
0 |
38 |
if (from->ptr == NULL) { |
110
|
0 |
38 |
Copy(from->begin, to->begin, SRL_STACK_SPACE(from), srl_stack_type_t); |