Home
last modified time | relevance | path

Searched refs:bytes_len (Results 1 – 4 of 4) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dvc2enc.c571 int bytes_start, bytes_len, pad_s, pad_c; in count_hq_slice() local
601 bytes_len = (bits >> 3) - bytes_start - 1; in count_hq_slice()
602 pad_s = FFALIGN(bytes_len, s->size_scaler)/s->size_scaler; in count_hq_slice()
603 pad_c = (pad_s*s->size_scaler) - bytes_len; in count_hq_slice()
746 int bytes_start, bytes_len, pad_s, pad_c; in encode_hq_slice() local
757 bytes_len = (put_bits_count(pb) >> 3) - bytes_start - 1; in encode_hq_slice()
760 pad_s = FFALIGN((bytes_len + len_diff), s->size_scaler)/s->size_scaler; in encode_hq_slice()
761 pad_c = (pad_s*s->size_scaler) - bytes_len; in encode_hq_slice()
763 pad_s = FFALIGN(bytes_len, s->size_scaler)/s->size_scaler; in encode_hq_slice()
764 pad_c = (pad_s*s->size_scaler) - bytes_len; in encode_hq_slice()
/third_party/python/Objects/
Dbytearrayobject.c446 char *bytes, Py_ssize_t bytes_len) in bytearray_setslice_linear() argument
450 Py_ssize_t growth = bytes_len - avail; in bytearray_setslice_linear()
475 memmove(buf + lo + bytes_len, buf + hi, in bytearray_setslice_linear()
518 memmove(buf + lo + bytes_len, buf + hi, in bytearray_setslice_linear()
519 Py_SIZE(self) - lo - bytes_len); in bytearray_setslice_linear()
522 if (bytes_len > 0) in bytearray_setslice_linear()
523 memcpy(buf + lo, bytes, bytes_len); in bytearray_setslice_linear()
/third_party/python/Modules/_io/
Dtextio.c1687 Py_ssize_t bytes_len; in _io_TextIOWrapper_write_impl() local
1689 bytes_len = PyUnicode_GET_LENGTH(b); in _io_TextIOWrapper_write_impl()
1692 bytes_len = PyBytes_GET_SIZE(b); in _io_TextIOWrapper_write_impl()
1699 else if (self->pending_bytes_count + bytes_len > self->chunk_size) { in _io_TextIOWrapper_write_impl()
1725 self->pending_bytes_count += bytes_len; in _io_TextIOWrapper_write_impl()
/third_party/python/Lib/test/
Dtest_tracemalloc.py37 bytes_len = (size - EMPTY_STRING_SIZE)
39 data = b'x' * bytes_len