Lines Matching defs:length
1855 inline uint32_t length() const;
1964 wuffs_base__range_ie_u32::length() const {
2104 inline uint64_t length() const;
2213 wuffs_base__range_ie_u64::length() const {
2790 // wuffs_base__io_buffer is a 1-dimensional buffer (a pointer and length) plus
3075 inline uint64_t length() const;
3209 // token length (after adjusting for FORMAT_IGNORE_ETC) discriminates
3319 wuffs_base__token::length() const {
3356 // wuffs_base__token_buffer is a 1-dimensional buffer (a pointer and length)
3583 // bytes, and it returns a slice (a pointer and a length) instead of just a
4918 // non-empty, it will have length
5393 // - It takes a slice (a pointer and length), not a NUL-terminated C string.
5438 // - It takes a slice (a pointer and length), not a NUL-terminated C string.
5465 // WUFFS_BASE__I64__BYTE_LENGTH__MAX_INCL is the string length of
5469 // WUFFS_BASE__U64__BYTE_LENGTH__MAX_INCL is the string length of
5513 // dst will never be too short if its length is at least 20, also known as
5528 // dst will never be too short if its length is at least 21, also known as
5609 // overall encoded length in bytes is a multiple of 4. A successful decoding
5616 // the output will be padded with '=' bytes so that the overall encoded length
5736 // s will never be too short if its length is at least 4, also known as
5746 // point's byte length) at the start of the read-only slice (s_ptr, s_len).
10357 // - m_buf.meta.wi is roughly analogous to a Go slice's length.
10363 // bytes referenced by that pointer-length pair (e.g. compactions).
10672 // AllocWorkbuf allocates the work buffer. The allocated buffer's length
11058 // which iteration should stop. The overall slice has length total_len, each
11059 // iteration's sub-slice has length iter_len and are placed iter_advance apart.
11300 uint32_t length,
11304 if (n > length) {
11305 n = length;
11321 // The low 3 bits of a hold the prefix length, n.
11408 uint32_t length,
11419 if ((size_t)(length) > n) {
11420 length = (uint32_t)(n);
11422 n = (size_t)(length);
11425 // is mostly because 3 is the minimum length for the deflate format. This
11441 return length;
11449 // - length <= (io2_w - *ptr_iop_w)
11456 uint32_t length,
11460 uint32_t n = length;
11470 return length;
11477 // In terms of number of bytes copied, length is rounded up to a multiple of 8.
11478 // As a special case, a zero length rounds up to 8 (even though 0 is already a
11481 // In terms of advancing *ptr_iop_w, length is not rounded up.
11484 // - (length + 8) <= (io2_w - *ptr_iop_w)
11492 uint32_t length,
11499 uint32_t n = length;
11510 return length;
11517 // In terms of number of bytes copied, length is rounded up to a multiple of 8.
11518 // As a special case, a zero length rounds up to 8 (even though 0 is already a
11521 // In terms of advancing *ptr_iop_w, length is not rounded up.
11524 // - (length + 8) <= (io2_w - *ptr_iop_w)
11532 uint32_t length,
11536 uint32_t n = length;
11548 return length;
11554 uint32_t length,
11558 size_t n = length;
11577 uint32_t length,
11581 if (n > length) {
11582 n = length;
11723 const char wuffs_base__error__bad_argument_length_too_short[] = "#base: bad argument (length too short)";
11731 const char wuffs_base__error__bad_workbuf_length[] = "#base: bad workbuf length";
12363 // additional length in the decimal representation. For example, shifting "234"
12365 // 3-length string to a 4-length string means that 1 new digit was added (and
12391 // etc__powers_of_5 array (of length 0x051C, so offsets fit in 11 bits). When i
16059 // table holds the 'magic numbers' (which are actually variable length
16061 // value starts with the length-minus-1 of the 'magic number'.
21508 // wuffs_base__utf_8__byte_length_minus_1 is the byte length (minus 1) of a
24586 const char wuffs_cbor__error__internal_error_inconsistent_token_length[] = "#cbor: internal error: inconsistent token length";
26470 const char wuffs_deflate__error__bad_huffman_code_length_count[] = "#deflate: bad Huffman code length count";
26471 const char wuffs_deflate__error__bad_huffman_code_length_repetition[] = "#deflate: bad Huffman code length repetition";
26473 const char wuffs_deflate__error__bad_huffman_minimum_code_length[] = "#deflate: bad Huffman minimum code length";
26477 const char wuffs_deflate__error__bad_literal_length_code_count[] = "#deflate: bad literal/length code count";
26478 const char wuffs_deflate__error__inconsistent_stored_block_length[] = "#deflate: inconsistent stored block length";
32351 const char wuffs_json__error__unsupported_number_length[] = "#json: unsupported number length";
35882 const char wuffs_png__error__internal_error_inconsistent_workbuf_length[] = "#png: internal error: inconsistent workbuf length";
42001 const char wuffs_tga__error__bad_run_length_encoding[] = "#tga: bad run length encoding";
44186 uint64_t num_to_copy = r.length();
44402 uint64_t token_len = token.length();
45281 uint64_t token_len = token.length(); \