Home
last modified time | relevance | path

Searched refs:remaining_bytes (Results 1 – 15 of 15) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dpnm_parser.c30 int remaining_bytes; member
51 if (pnmpc->remaining_bytes) { in pnm_parse()
52 int inc = FFMIN(pnmpc->remaining_bytes, buf_size); in pnm_parse()
54 pnmpc->remaining_bytes -= inc; in pnm_parse()
56 if (!pnmpc->remaining_bytes) in pnm_parse()
120 pnmpc->remaining_bytes = next - buf_size; in pnm_parse()
/third_party/curl/tests/libtest/
Dlib1533.c38 size_t remaining_bytes; member
47 data->remaining_bytes = 3; in reset_data()
60 size_t bytes_to_send = data->remaining_bytes; in read_callback()
66 data->remaining_bytes -= bytes_to_send; in read_callback()
151 (curl_off_t)data.remaining_bytes); in test()
/third_party/mesa3d/src/amd/common/
Dac_nir_lower_esgs_io_to_mem.c59 unsigned remaining_bytes = total_bytes - full_dwords * 4u; in emit_split_buffer_load() local
65 if (remaining_bytes == 3) { in emit_split_buffer_load()
66 remaining_bytes = 0; in emit_split_buffer_load()
74 if (remaining_bytes) in emit_split_buffer_load()
75 comps[full_dwords] = nir_build_load_buffer_amd(b, 1, remaining_bytes * 8, desc, v_off, s_off, in emit_split_buffer_load()
78 return nir_extract_bits(b, comps, full_dwords + !!remaining_bytes, 0, num_components, bit_size); in emit_split_buffer_load()
/third_party/libsoup/libsoup/
Dsoup-multipart-input-stream.c59 goffset remaining_bytes; member
145 if (priv->remaining_bytes > priv->boundary_size) { in soup_multipart_input_stream_read_real()
146 goffset bytes_to_read = MIN (count, priv->remaining_bytes - priv->boundary_size); in soup_multipart_input_stream_read_real()
153 priv->remaining_bytes -= nread; in soup_multipart_input_stream_read_real()
337 priv->remaining_bytes = soup_message_headers_get_content_length (priv->current_headers); in soup_multipart_input_stream_parse_headers()
/third_party/grpc/src/core/ext/transport/cronet/transport/
Dcronet_transport.cc129 int remaining_bytes = 0; member
301 s->state.rs.remaining_bytes = GRPC_HEADER_SIZE_IN_BYTES; in read_grpc_header()
306 s->state.rs.remaining_bytes); in read_grpc_header()
612 s->state.rs.remaining_bytes -= count; in on_read_completed()
613 if (s->state.rs.remaining_bytes > 0) { in on_read_completed()
618 s->state.rs.remaining_bytes); in on_read_completed()
1222 stream_state->rs.remaining_bytes == 0) { in execute_stream_op()
1234 stream_state->rs.remaining_bytes = stream_state->rs.length_field; in execute_stream_op()
1240 stream_state->rs.remaining_bytes); in execute_stream_op()
1243 stream_state->rs.remaining_bytes = 0; in execute_stream_op()
[all …]
/third_party/glib/glib/
Dgutf8.c1817 gsize remaining_bytes, valid_bytes; in g_utf8_make_valid() local
1826 remaining_bytes = len; in g_utf8_make_valid()
1828 while (remaining_bytes != 0) in g_utf8_make_valid()
1830 if (g_utf8_validate (remainder, remaining_bytes, &invalid)) in g_utf8_make_valid()
1835 string = g_string_sized_new (remaining_bytes); in g_utf8_make_valid()
1841 remaining_bytes -= valid_bytes + 1; in g_utf8_make_valid()
1848 g_string_append_len (string, remainder, remaining_bytes); in g_utf8_make_valid()
/third_party/skia/third_party/externals/zlib/google/
Dzip_internal.cc178 size_t remaining_bytes = buffer->length - buffer->offset; in ReadZipBuffer() local
179 if (!buffer || !buffer->data || !remaining_bytes) in ReadZipBuffer()
181 size = std::min(size, static_cast<uLong>(remaining_bytes)); in ReadZipBuffer()
/third_party/flutter/skia/third_party/externals/zlib/google/
Dzip_internal.cc176 size_t remaining_bytes = buffer->length - buffer->offset; in ReadZipBuffer() local
177 if (!buffer || !buffer->data || !remaining_bytes) in ReadZipBuffer()
179 size = std::min(size, static_cast<uLong>(remaining_bytes)); in ReadZipBuffer()
/third_party/node/deps/zlib/google/
Dzip_internal.cc176 size_t remaining_bytes = buffer->length - buffer->offset; in ReadZipBuffer() local
177 if (!buffer || !buffer->data || !remaining_bytes) in ReadZipBuffer()
179 size = std::min(size, static_cast<uLong>(remaining_bytes)); in ReadZipBuffer()
/third_party/skia/third_party/externals/icu/fuzzers/
Dicu_appendable_fuzzer.cc36 while (provider.remaining_bytes() > 0) { in LLVMFuzzerTestOneInput()
/third_party/node/tools/inspector_protocol/encoding/
Dencoding.cc751 const size_t remaining_bytes = bytes_.size() - status_.pos; in ReadNextToken() local
783 if (token_byte_length > remaining_bytes) { in ReadNextToken()
791 if (kEncodedDoubleSize > remaining_bytes) { in ReadNextToken()
799 if (kEncodedEnvelopeHeaderSize > remaining_bytes) { in ReadNextToken()
817 if (token_byte_length > remaining_bytes) { in ReadNextToken()
868 if (token_byte_length > remaining_bytes) { in ReadNextToken()
885 if (token_byte_length > remaining_bytes) { in ReadNextToken()
/third_party/glib/gio/
Dglocalfileinfo.c1107 gsize remaining_bytes, valid_bytes; in make_valid_utf8() local
1111 remaining_bytes = strlen (name); in make_valid_utf8()
1113 while (remaining_bytes != 0) in make_valid_utf8()
1115 if (g_utf8_validate_len (remainder, remaining_bytes, &invalid)) in make_valid_utf8()
1120 string = g_string_sized_new (remaining_bytes); in make_valid_utf8()
1126 remaining_bytes -= valid_bytes + 1; in make_valid_utf8()
/third_party/grpc/src/core/ext/transport/chttp2/transport/
Dframe_data.cc196 if (p->parsing_frame->remaining_bytes() == 0) { in grpc_deframe_unprocessed_incoming_frames()
Dinternal.h250 uint32_t remaining_bytes() const { return remaining_bytes_; } in remaining_bytes() function
/third_party/node/tools/inspector_protocol/lib/
Dencoding_cpp.template759 const size_t remaining_bytes = bytes_.size() - status_.pos;
791 if (token_byte_length > remaining_bytes) {
799 if (kEncodedDoubleSize > remaining_bytes) {
807 if (kEncodedEnvelopeHeaderSize > remaining_bytes) {
825 if (token_byte_length > remaining_bytes) {
876 if (token_byte_length > remaining_bytes) {
893 if (token_byte_length > remaining_bytes) {