Home
last modified time | relevance | path

Searched refs:bytes_available (Results 1 – 18 of 18) sorted by relevance

/external/image_io/src/base/
Ddata_scanner.cc107 size_t bytes_available, in ScanLiteral() argument
116 size_t bytes_to_compare = std::min(bytes_still_needed, bytes_available); in ScanLiteral()
131 size_t bytes_available, in ScanName() argument
142 bytes_available -= 1; in ScanName()
146 ScanOptionalNameChars(cbytes, bytes_available); in ScanName()
151 } else if (optional_bytes_consumed < bytes_available) { in ScanName()
160 size_t bytes_available, in ScanQuotedString() argument
179 bytes_available--; in ScanQuotedString()
184 memchr(cbytes, static_cast<int>(data_), bytes_available)); in ScanQuotedString()
185 size_t bytes_scanned = ebytes ? ebytes - cbytes : bytes_available; in ScanQuotedString()
[all …]
/external/perfetto/src/protozero/
Dscattered_stream_writer_unittest.cc46 EXPECT_EQ(kChunkSize - i - 1, ssw.bytes_available()); in TEST()
49 EXPECT_EQ(0u, ssw.bytes_available()); in TEST()
54 EXPECT_EQ(7u, ssw.bytes_available()); in TEST()
60 EXPECT_EQ(3u, ssw.bytes_available()); in TEST()
65 EXPECT_EQ(7u, ssw.bytes_available()); in TEST()
70 EXPECT_EQ(7u, ssw.bytes_available()); in TEST()
76 EXPECT_EQ(7u, ssw.bytes_available()); in TEST()
89 EXPECT_EQ(3u, ssw.bytes_available()); in TEST()
Dscattered_stream_writer.cc51 const size_t burst_size = std::min(bytes_available(), bytes_left); in WriteBytesSlowPath()
Dscattered_heap_buffer.cc92 slices_.back().set_unused_bytes(writer_->bytes_available()); in AdjustUsedSizeOfCurrentSlice()
Dmessage_unittest.cc95 stream_writer_->bytes_available(); in GetNumSerializedBytes()
/external/image_io/includes/image_io/base/
Ddata_scanner.h140 DataMatchResult ScanLiteral(const char* cbytes, size_t bytes_available,
142 DataMatchResult ScanName(const char* cbytes, size_t bytes_available,
144 DataMatchResult ScanQuotedString(const char* cbytes, size_t bytes_available,
146 DataMatchResult ScanSentinel(const char* cbytes, size_t bytes_available,
148 DataMatchResult ScanThroughLiteral(const char* cbytes, size_t bytes_available,
150 DataMatchResult ScanWhitespace(const char* cbytes, size_t bytes_available,
/external/libaom/libaom/av1/common/
Dobu_util.c36 size_t bytes_available, in read_obu_size() argument
40 if (aom_uleb_decode(data, bytes_available, &u_obu_size, length_field_size) != in read_obu_size()
112 size_t bytes_available, in aom_read_obu_header_and_size() argument
125 read_obu_size(data, bytes_available, &obu_size, &length_field_size_obu); in aom_read_obu_header_and_size()
131 data + bytes_available, 0, NULL, NULL }; in aom_read_obu_header_and_size()
146 bytes_available - length_field_size_obu - obu_header->size, in aom_read_obu_header_and_size()
Dobu_util.h37 size_t bytes_available,
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_ev_driver_posix.cc70 size_t bytes_available = 0; in IsFdStillReadableLocked() local
71 return ioctl(grpc_fd_wrapped_fd(fd_), FIONREAD, &bytes_available) == 0 && in IsFdStillReadableLocked()
72 bytes_available > 0; in IsFdStillReadableLocked()
/external/google-breakpad/src/common/windows/
Dhttp_upload.cc213 DWORD bytes_available; in ReadResponse() local
217 while (((return_code = InternetQueryDataAvailable(request, &bytes_available, in ReadResponse()
218 0, 0)) != 0) && bytes_available > 0) { in ReadResponse()
219 vector<char> response_buffer(bytes_available); in ReadResponse()
224 bytes_available, &size_read); in ReadResponse()
/external/puffin/src/
Dhuffman_table.cc286 auto bytes_available = (*length - index); in BuildDynamicHuffmanTable() local
289 br, buffer + index, &bytes_available, code_max_bits_, in BuildDynamicHuffmanTable()
291 index += bytes_available; in BuildDynamicHuffmanTable()
437 auto bytes_available = length - index; in BuildDynamicHuffmanTable() local
439 BuildHuffmanCodeLengths(buffer + index, &bytes_available, bw, in BuildDynamicHuffmanTable()
441 index += bytes_available; in BuildDynamicHuffmanTable()
/external/dynamic_depth/internal/xmpmeta/
Djpeg_io.cc120 const size_t bytes_available = GetBytesAvailable(input_stream); in Parse() local
121 section.data.resize(bytes_available); in Parse()
122 input_stream->read(&section.data[0], bytes_available); in Parse()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_format_h264.cc193 size_t bytes_available = max_payload_len_ - kFuAHeaderSize; in PacketizeFuA() local
195 (fragment_length + (bytes_available - 1)) / bytes_available; in PacketizeFuA()
/external/libchrome/mojo/core/
Ddata_pipe_consumer_dispatcher.cc38 uint32_t bytes_available; member
311 state->bytes_available = bytes_available_; in EndSerialize()
406 dispatcher->bytes_available_ = state->bytes_available; in Deserialize()
407 dispatcher->new_data_available_ = state->bytes_available > 0; in Deserialize()
/external/perfetto/include/perfetto/protozero/
Dscattered_stream_writer.h103 size_t bytes_available() const { in bytes_available() function
/external/perfetto/src/tracing/core/
Dtrace_writer_impl.cc112 protobuf_stream_writer_.bytes_available() < kPacketHeaderSize + 8; in NewTracePacket()
/external/libaom/libaom/av1/decoder/
Dobu.c884 const size_t bytes_available = data_end - data; in aom_decode_frame_from_obus() local
886 if (bytes_available == 0 && !pbi->seen_frame_header) { in aom_decode_frame_from_obus()
893 aom_read_obu_header_and_size(data, bytes_available, pbi->is_annexb, in aom_decode_frame_from_obus()
/external/tensorflow/tensorflow/core/common_runtime/
Dbfc_allocator.cc448 int64 bytes_available = in AddTraceMe()
453 ",bytes_available=", bytes_available, in AddTraceMe()