/external/image_io/src/base/ |
D | data_scanner.cc | 107 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/ |
D | scattered_stream_writer_unittest.cc | 46 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()
|
D | scattered_stream_writer.cc | 51 const size_t burst_size = std::min(bytes_available(), bytes_left); in WriteBytesSlowPath()
|
D | scattered_heap_buffer.cc | 92 slices_.back().set_unused_bytes(writer_->bytes_available()); in AdjustUsedSizeOfCurrentSlice()
|
D | message_unittest.cc | 95 stream_writer_->bytes_available(); in GetNumSerializedBytes()
|
/external/image_io/includes/image_io/base/ |
D | data_scanner.h | 140 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/ |
D | obu_util.c | 36 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()
|
D | obu_util.h | 37 size_t bytes_available,
|
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/ |
D | grpc_ares_ev_driver_posix.cc | 70 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/ |
D | http_upload.cc | 213 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/ |
D | huffman_table.cc | 286 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/ |
D | jpeg_io.cc | 120 const size_t bytes_available = GetBytesAvailable(input_stream); in Parse() local 121 section.data.resize(bytes_available); in Parse() 122 input_stream->read(§ion.data[0], bytes_available); in Parse()
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | rtp_format_h264.cc | 193 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/ |
D | data_pipe_consumer_dispatcher.cc | 38 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/ |
D | scattered_stream_writer.h | 103 size_t bytes_available() const { in bytes_available() function
|
/external/perfetto/src/tracing/core/ |
D | trace_writer_impl.cc | 112 protobuf_stream_writer_.bytes_available() < kPacketHeaderSize + 8; in NewTracePacket()
|
/external/libaom/libaom/av1/decoder/ |
D | obu.c | 884 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/ |
D | bfc_allocator.cc | 448 int64 bytes_available = in AddTraceMe() 453 ",bytes_available=", bytes_available, in AddTraceMe()
|