Searched refs:remaining (Results 1 – 4 of 4) sorted by relevance
26 ptrdiff_t remaining = (ptrdiff_t)cb->end; in would_overflow() local27 remaining -= (ptrdiff_t)cb->ptr; in would_overflow()28 remaining -= (ptrdiff_t)len; in would_overflow()29 return (remaining < 0); in would_overflow()
260 if (it->remaining != UINT32_MAX) { in preparse_next_value()262 if (it->type != CborTagType && !--it->remaining) { in preparse_next_value()266 } else if (it->remaining == UINT32_MAX && it->offset != it->parser->end && in preparse_next_value()271 it->remaining = 0; in preparse_next_value()341 it->remaining = 1;/* there's one type altogether, usually an array or map */ in cbor_parser_init()407 if (!it->remaining) in cbor_value_advance_fixed()454 if (!it->remaining) in cbor_value_advance()521 recursed->remaining = UINT32_MAX; in cbor_value_enter_container()534 recursed->remaining = (uint32_t)len; in cbor_value_enter_container()535 if (recursed->remaining != len || len == UINT32_MAX) { in cbor_value_enter_container()[all …]
284 QCOMPARE(encoder.remaining, size_t(1)); in compare()664 QCOMPARE(container.remaining, size_t(2)); in tooShortArrays()678 QCOMPARE(container.remaining, size_t(4)); in tooShortMaps()693 QCOMPARE(container.remaining, size_t(0)); in tooBigArrays()709 QCOMPARE(container.remaining, size_t(0)); in tooBigMaps()
266 uint32_t remaining; member276 { return it->remaining == 0; } in cbor_value_at_end()