/external/cronet/base/containers/ |
D | buffer_iterator.h | 69 : buffer_(buffer), remaining_(buffer) {} in BufferIterator() 79 if (size > remaining_.size()) in MutableObject() 81 T* t = reinterpret_cast<T*>(remaining_.data()); in MutableObject() 82 remaining_ = remaining_.subspan(size); in MutableObject() 100 if (remaining_.size() >= sizeof(T)) { in CopyObject() 101 memcpy(&t.emplace(), remaining_.data(), sizeof(T)); in CopyObject() 102 remaining_ = remaining_.subspan(sizeof(T)); in CopyObject() 117 if (size > remaining_.size()) in MutableSpan() 119 auto result = span<T>(reinterpret_cast<T*>(remaining_.data()), count); in MutableSpan() 120 remaining_ = remaining_.subspan(size); in MutableSpan() [all …]
|
/external/abseil-cpp/absl/strings/internal/ |
D | cord_rep_btree_reader.h | 105 size_t remaining() const { return remaining_; } in remaining() 158 size_t remaining_ = 0; 170 remaining_ = tree->length - edge->length; in Init() 175 if (remaining_ == 0) return {}; in Next() 178 remaining_ -= edge->length; in Next() 188 remaining_ = 0; in Skip() 193 remaining_ -= skip - pos.offset + pos.edge->length; in Skip() 200 remaining_ = 0; in Seek() 204 remaining_ = length() - offset - chunk.length(); in Seek()
|
D | cord_rep_btree_reader.cc | 56 if (consumed_by_read >= remaining_) { in Read() 57 remaining_ = 0; in Read() 63 remaining_ -= consumed_by_read + edge->length; in Read()
|
/external/tensorflow/third_party/absl/abseil-cpp/absl/strings/internal/ |
D | cord_rep_btree_reader.h | 105 size_t remaining() const { return remaining_; } in remaining() 158 size_t remaining_ = 0; 170 remaining_ = tree->length - edge->length; in Init() 175 if (remaining_ == 0) return {}; in Next() 178 remaining_ -= edge->length; in Next() 188 remaining_ = 0; in Skip() 193 remaining_ -= skip - pos.offset + pos.edge->length; in Skip() 200 remaining_ = 0; in Seek() 204 remaining_ = length() - offset - chunk.length(); in Seek()
|
D | cord_rep_btree_reader.cc | 56 if (consumed_by_read >= remaining_) { in Read() 57 remaining_ = 0; in Read() 63 remaining_ -= consumed_by_read + edge->length; in Read()
|
/external/webrtc/third_party/abseil-cpp/absl/strings/internal/ |
D | cord_rep_btree_reader.h | 105 size_t remaining() const { return remaining_; } in remaining() 158 size_t remaining_ = 0; 170 remaining_ = tree->length - edge->length; in Init() 175 if (remaining_ == 0) return {}; in Next() 178 remaining_ -= edge->length; in Next() 188 remaining_ = 0; in Skip() 193 remaining_ -= skip - pos.offset + pos.edge->length; in Skip() 200 remaining_ = 0; in Seek() 204 remaining_ = length() - offset - chunk.length(); in Seek()
|
D | cord_rep_btree_reader.cc | 56 if (consumed_by_read >= remaining_) { in Read() 57 remaining_ = 0; in Read() 63 remaining_ -= consumed_by_read + edge->length; in Read()
|
/external/cronet/third_party/abseil-cpp/absl/strings/internal/ |
D | cord_rep_btree_reader.h | 105 size_t remaining() const { return remaining_; } in remaining() 158 size_t remaining_ = 0; 170 remaining_ = tree->length - edge->length; in Init() 175 if (remaining_ == 0) return {}; in Next() 178 remaining_ -= edge->length; in Next() 188 remaining_ = 0; in Skip() 193 remaining_ -= skip - pos.offset + pos.edge->length; in Skip() 200 remaining_ = 0; in Seek() 204 remaining_ = length() - offset - chunk.length(); in Seek()
|
D | cord_rep_btree_reader.cc | 56 if (consumed_by_read >= remaining_) { in Read() 57 remaining_ = 0; in Read() 63 remaining_ -= consumed_by_read + edge->length; in Read()
|
/external/angle/third_party/abseil-cpp/absl/strings/internal/ |
D | cord_rep_btree_reader.h | 105 size_t remaining() const { return remaining_; } in remaining() 158 size_t remaining_ = 0; 170 remaining_ = tree->length - edge->length; in Init() 175 if (remaining_ == 0) return {}; in Next() 178 remaining_ -= edge->length; in Next() 188 remaining_ = 0; in Skip() 193 remaining_ -= skip - pos.offset + pos.edge->length; in Skip() 200 remaining_ = 0; in Seek() 204 remaining_ = length() - offset - chunk.length(); in Seek()
|
D | cord_rep_btree_reader.cc | 56 if (consumed_by_read >= remaining_) { in Read() 57 remaining_ = 0; in Read() 63 remaining_ -= consumed_by_read + edge->length; in Read()
|
/external/libtextclassifier/native/utils/base/ |
D | arena.cc | 120 : remaining_(0), in BaseArena() 195 if (waste >= remaining_) { in SatisfyAlignment() 199 remaining_ -= waste; in SatisfyAlignment() 213 remaining_ = first_blocks_[0].size; in Reset() 216 ASAN_POISON_MEMORY_REGION(freestart_, remaining_); in Reset() 238 remaining_ = block->size; in MakeNewBlock() 393 if (!SatisfyAlignment(alignment) || size > remaining_) { in AllocNewBlock() 396 TC3_CHECK_LE(size, remaining_); in AllocNewBlock() 398 remaining_ -= size; in AllocNewBlock() 455 assert(remaining_ >= 0); // should be: it's a size_t! in AllocNewBlock() [all …]
|
D | arena.h | 115 assert(remaining_ <= block_size_); // an invariant in GetMemory() 116 if (size > 0 && size <= remaining_ && align == 1) { // common case in GetMemory() 119 remaining_ -= size; in GetMemory() 132 remaining_ += size; in ReturnMemory() 145 size_t remaining_; variable 276 size_t bytes_until_next_allocation() const { return remaining_; } in bytes_until_next_allocation()
|
/external/cronet/net/third_party/quiche/src/quiche/http2/hpack/decoder/ |
D | hpack_string_decoder.h | 66 remaining_ = length; in Start() 103 << db->Remaining() << " remaining_=" << remaining_; in Resume() 170 remaining_ = static_cast<size_t>(length_decoder_.value()); in OnStringStart() 172 cb->OnStringStart(huffman_encoded_, remaining_); in OnStringStart() 180 size_t len = std::min(remaining_, db->Remaining()); in DecodeString() 184 remaining_ -= len; in DecodeString() 186 if (remaining_ == 0) { in DecodeString() 198 size_t remaining_ = 0; variable
|
D | hpack_string_decoder.cc | 14 ", remaining=", remaining_, in DebugString()
|
/external/tensorflow/tensorflow/core/lib/core/ |
D | arena.cc | 46 : remaining_(0), in Arena() 76 if (waste >= remaining_) { in SatisfyAlignment() 80 remaining_ -= waste; in SatisfyAlignment() 94 remaining_ = first_blocks_[0].size; in Reset() 113 remaining_ = block->size; in MakeNewBlock() 210 if (!SatisfyAlignment(alignment) || size > remaining_) { in GetMemoryFallback() 213 CHECK_LE(size, remaining_); in GetMemoryFallback() 215 remaining_ -= size; in GetMemoryFallback()
|
D | arena.h | 68 assert(remaining_ <= block_size_); // an invariant in GetMemory() 69 if (size > 0 && size < remaining_ && align == 1) { // common case in GetMemory() 72 remaining_ -= size; in GetMemory() 78 size_t remaining_; variable
|
/external/cronet/net/third_party/quiche/src/quiche/http2/adapter/ |
D | nghttp2_test_utils.h | 23 const size_t to_send = std::min(size, remaining_.size()); in ReadNext() 24 auto ret = remaining_.substr(0, to_send); in ReadNext() 25 remaining_.remove_prefix(to_send); in ReadNext() 30 return std::min(max_length, remaining_.size()); in SelectPayloadLength() 59 absl::string_view remaining_ = data_; variable
|
D | test_utils.cc | 93 remaining_ = encoded_entries_; in TestMetadataSource() 98 const size_t copied = std::min(dest_len, remaining_.size()); in Pack() 99 std::memcpy(dest, remaining_.data(), copied); in Pack() 100 remaining_.remove_prefix(copied); in Pack() 101 return std::make_pair(copied, remaining_.empty()); in Pack()
|
D | test_utils.h | 117 absl::string_view remaining_; variable
|
/external/pigweed/pw_kvs/ |
D | fake_flash_memory.cc | 49 if (remaining_ == 0u) { in Check() 53 if (remaining_ != kAlways) { in Check() 54 remaining_ -= 1; in Check()
|
/external/pigweed/pw_kvs/public/pw_kvs/ |
D | fake_flash_memory.h | 67 remaining_(times) {} in FlashError() 75 size_t remaining_; variable
|