/external/image_io/includes/image_io/base/ |
D | data_range.h | 19 DataRange(size_t begin, size_t end) : begin_(begin), end_(end) {} in DataRange() 23 DataRange() : begin_(0), end_(0) {} in DataRange() 32 size_t GetEnd() const { return end_; } in GetEnd() 35 bool IsValid() const { return begin_ < end_; } in IsValid() 38 size_t GetLength() const { return IsValid() ? end_ - begin_ : 0; } in GetLength() 44 return location >= begin_ && location < end_; in Contains() 52 data_range.end_ <= end_; in Contains() 63 std::min(data_range.end_, end_)); in GetIntersection() 69 return begin_ == rhs.begin_ && end_ == rhs.end_; 75 return begin_ != rhs.begin_ || end_ != rhs.end_; [all …]
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_vector.h | 30 , end_() in Vector() 43 end_ = 0; in Reset() 48 return end_ - begin_; in Size() 52 DCHECK_LT(i, end_ - begin_); 57 DCHECK_LT(i, end_ - begin_); 63 T *p = &end_[-1]; in PushBack() 70 T *p = &end_[-1]; in PushBack() 76 DCHECK_GT(end_, begin_); in PopBack() 77 end_--; in PopBack() 82 end_ = begin_; in Resize() [all …]
|
/external/v8/src/wasm/ |
D | function-body-decoder.h | 106 DCHECK_LT(ptr_, end_); in NON_EXPORTED_BASE() 107 ptr_ += OpcodeLength(ptr_, end_); in NON_EXPORTED_BASE() 119 const byte* end_; in NON_EXPORTED_BASE() local 120 iterator_base(const byte* ptr, const byte* end) : ptr_(ptr), end_(end) {} in NON_EXPORTED_BASE() 130 DCHECK_LT(ptr_, end_); in NON_EXPORTED_BASE() 146 DCHECK_LT(ptr_, end_); in NON_EXPORTED_BASE() 164 return base::iterator_range<opcode_iterator>(opcode_iterator(pc_, end_), in NON_EXPORTED_BASE() 165 opcode_iterator(end_, end_)); in NON_EXPORTED_BASE() 170 offset_iterator(start_, pc_, end_), in NON_EXPORTED_BASE() 171 offset_iterator(start_, end_, end_)); in NON_EXPORTED_BASE() [all …]
|
D | decoder.h | 53 : start_(start), pc_(pc), end_(end), buffer_offset_(buffer_offset) { in start_() 63 DCHECK_LE(pc, end_); in validate_size() 64 if (V8_UNLIKELY(length > static_cast<uint32_t>(end_ - pc))) { in validate_size() 165 pc_ = end_; 171 DCHECK_LE(pc_, end_); in checkAvailable() 172 if (V8_UNLIKELY(size > static_cast<uint32_t>(end_ - pc_))) { in checkAvailable() 216 traceByteRange(pc_, end_); in traceOffEnd() 237 end_ = end; 249 bool more() const { return pc_ < end_; } in more() 264 const byte* end() const { return end_; } in end() [all …]
|
/external/perfetto/include/perfetto/protozero/ |
D | proto_decoder.h | 48 : begin_(buffer), end_(buffer + length), read_ptr_(buffer) {} in ProtoDecoder() 63 PERFETTO_DCHECK(pos >= begin_ && pos < end_); in Reset() 73 PERFETTO_DCHECK(read_ptr_ <= end_); in bytes_left() 74 return static_cast<size_t>(end_ - read_ptr_); in bytes_left() 78 const uint8_t* end() const { return end_; } in end() 82 const uint8_t* const end_; variable 105 : field_id_(field_id), iter_(begin), end_(end), last_(last) { in RepeatedFieldIterator() 111 inline explicit operator bool() const { return iter_ != end_; } 114 PERFETTO_DCHECK(iter_ != end_); 116 iter_ = end_; [all …]
|
/external/libchrome/base/containers/ |
D | circular_deque.h | 439 end_(other.end_) { in circular_deque() 441 other.end_ = 0; in circular_deque() 446 ~circular_deque() { DestructRange(begin_, end_); } in ~circular_deque() 470 end_ = other.end_; 473 other.end_ = 0; 519 if (begin_ <= end_ || i < right_size) in at() 558 iterator end() { return iterator(this, end_); } in end() 559 const_iterator end() const { return const_iterator(this, end_); } in end() 560 const_iterator cend() const { return const_iterator(this, end_); } in cend() 617 bool empty() const { return begin_ == end_; } in empty() [all …]
|
/external/libchrome/base/ |
D | big_endian.cc | 12 : ptr_(buf), end_(ptr_ + len) {} in BigEndianReader() 15 if (ptr_ + len > end_) in Skip() 22 if (ptr_ + len > end_) in ReadBytes() 30 if (ptr_ + len > end_) in ReadPiece() 39 if (ptr_ + sizeof(T) > end_) in Read() 63 : ptr_(buf), end_(ptr_ + len) {} in BigEndianWriter() 66 if (ptr_ + len > end_) in Skip() 73 if (ptr_ + len > end_) in WriteBytes() 82 if (ptr_ + sizeof(T) > end_) in Write()
|
/external/jsoncpp/src/lib_json/ |
D | json_reader.cpp | 80 : errors_(), document_(), begin_(), end_(), current_(), lastValueEnd_(), in Reader() 85 : errors_(), document_(), begin_(), end_(), current_(), lastValueEnd_(), in Reader() 119 end_ = endDoc; in parse() 141 token.end_ = endDoc; in parse() 187 currentValue().setOffsetLimit(token.end_ - begin_); in readValue() 192 currentValue().setOffsetLimit(token.end_ - begin_); in readValue() 197 currentValue().setOffsetLimit(token.end_ - begin_); in readValue() 212 currentValue().setOffsetLimit(token.end_ - begin_); in readValue() 308 token.end_ = current_; in readToken() 313 while (current_ != end_) { in skipSpaces() [all …]
|
/external/protobuf/js/binary/ |
D | decoder.js | 240 this.end_ = 0; 320 this.start_, this.end_ - this.start_); 330 this.end_ = 0; 356 this.end_ = 366 return this.end_; 374 this.end_ = end; 410 goog.asserts.assert(this.cursor_ <= this.end_); 419 return this.cursor_ == this.end_; 428 return this.cursor_ > this.end_; 439 (this.cursor_ > this.end_); [all …]
|
/external/perfetto/include/perfetto/base/ |
D | circular_queue.h | 159 PERFETTO_DCHECK(pos_ <= queue_->end_); in Add() 200 T* slot = Get(end_++); in emplace_back() 206 for (; n && (begin_ < end_); --n) { in erase_front() 220 Iterator end() { return Iterator(this, end_, generation()); } in end() 227 PERFETTO_DCHECK(end_ - begin_ <= capacity_); in size() 228 return static_cast<size_t>(end_ - begin_); in size() 260 for (uint64_t i = begin_; i < end_; i++) 265 for (uint64_t i = begin_; i < end_; i++) 270 end_ = new_size; 276 PERFETTO_DCHECK(pos >= begin_ && pos < end_); in Get() [all …]
|
/external/libchrome/ui/gfx/range/ |
D | range_f.cc | 34 uint32_t end = end_ > 0 ? static_cast<uint32_t>(std::floor(end_)) : 0; in Floor() 40 uint32_t end = end_ > 0 ? static_cast<uint32_t>(std::ceil(end_)) : 0; in Ceil() 46 uint32_t end = end_ > 0 ? static_cast<uint32_t>(std::round(end_)) : 0; in Round()
|
/external/v8/src/base/ |
D | iterator.h | 38 iterator_range() : begin_(), end_() {} in iterator_range() 42 end_(std::forward<ForwardIterator2>(end)) {} in iterator_range() 45 iterator end() { return end_; } in end() 47 const_iterator end() const { return end_; } in end() 49 const_iterator cend() const { return end_; } in cend() 59 const_iterator const end_; variable
|
/external/v8/src/compiler/ |
D | graph.h | 45 : graph_(graph), start_(graph->start()), end_(graph->end()) {} in NON_EXPORTED_BASE() 48 graph_->SetEnd(end_); in NON_EXPORTED_BASE() 54 Node* const end_; in NON_EXPORTED_BASE() local 79 Node* end() const { return end_; } in NON_EXPORTED_BASE() 82 void SetEnd(Node* end) { end_ = end; } in NON_EXPORTED_BASE() 100 Node* end_; in NON_EXPORTED_BASE() local
|
/external/v8/src/ |
D | eh-frame.h | 210 : start_(start), next_(start), end_(end) { in EhFrameIterator() 228 DCHECK_LE(next_, end_); in Skip() 242 DCHECK_LE(next_, end_); in Done() 243 return next_ == end_; in Done() 251 int GetBufferSize() { return static_cast<int>(end_ - start_); } in GetBufferSize() 266 DCHECK_LE(next_ + sizeof(result), end_); in GetNextValue() 274 const byte* end_; variable 282 : start_(start), end_(end) { in EhFrameDisassembler() 295 const byte* end_; variable
|
/external/libcxx/src/ |
D | debug.cpp | 300 while (p->end_ != p->beg_) in __invalidate_all() 302 --p->end_; in __invalidate_all() 303 (*p->end_)->__c_ = nullptr; in __invalidate_all() 392 while (p->end_ != p->beg_) in __erase_c() 394 --p->end_; in __erase_c() 395 (*p->end_)->__c_ = nullptr; in __erase_c() 507 std::swap(p1->end_, p2->end_); in swap() 509 for (__i_node** p = p1->beg_; p != p1->end_; ++p) in swap() 511 for (__i_node** p = p2->beg_; p != p2->end_; ++p) in swap() 527 if (end_ == cap_) in __add() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | iterator.h | 121 : begin_(b), end_(e) {} in IteratorRange() 123 : begin_(std::move(b)), end_(std::move(e)) {} in IteratorRange() 126 IteratorType end() const { return end_; } in end() 128 bool empty() const { return begin_ == end_; } in empty() 129 size_t size() const { return end_ - begin_; } in size() 133 IteratorType end_; variable 195 end_(iteration_range.end()), in FilterIterator() 219 return cur_ == rhs.cur_ && end_ == rhs.end_; 229 FilterIterator GetEnd() const { return FilterIterator(end_, predicate_); } in GetEnd() 234 bool IsPredicateSatisfied() { return cur_ == end_ || predicate_(*cur_); } in IsPredicateSatisfied() [all …]
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | iterator.h | 121 : begin_(b), end_(e) {} in IteratorRange() 123 : begin_(std::move(b)), end_(std::move(e)) {} in IteratorRange() 126 IteratorType end() const { return end_; } in end() 128 bool empty() const { return begin_ == end_; } in empty() 129 size_t size() const { return end_ - begin_; } in size() 133 IteratorType end_; variable 195 end_(iteration_range.end()), in FilterIterator() 219 return cur_ == rhs.cur_ && end_ == rhs.end_; 229 FilterIterator GetEnd() const { return FilterIterator(end_, predicate_); } in GetEnd() 234 bool IsPredicateSatisfied() { return cur_ == end_ || predicate_(*cur_); } in IsPredicateSatisfied() [all …]
|
/external/webrtc/webrtc/base/ |
D | bytebuffer.cc | 58 end_ = len; in Construct() 59 memcpy(bytes_, bytes, end_); in Construct() 61 end_ = 0; in Construct() 190 char* start = bytes_ + end_; in ReserveWriteBuffer() 191 end_ += len; in ReserveWriteBuffer() 196 size_t len = std::min(end_ - start_, size); in Resize() 209 end_ = len; in Resize() 234 start_ = end_ = 0; in Clear()
|
/external/v8/src/parsing/ |
D | preparser-logger.h | 13 PreParserLogger() : end_(-1), num_parameters_(-1), num_inner_functions_(-1) {} in PreParserLogger() 16 end_ = end; in LogFunction() 21 int end() const { return end_; } in end() 26 int end_;
|
/external/clang/test/SemaCXX/ |
D | for-range-examples.cpp | 16 value_range(const T &a, const T &b) : begin_(a), end_(b) {} in value_range() 17 value_range_iter<T> begin_, end_; member 23 value_range_iter<T> end(const value_range<T> &r) { return r.end_; } in end() 40 T it, step, end_; member in value_range_detail::value_range_step 43 it(it), end_(end), step(step) {} in value_range_step() 46 iterator end() const { return iterator(end_, step); } in end() 94 T begin_, end_; member 95 iter_pair(T begin, T end) : begin_(begin), end_(end) {} in iter_pair() 98 template<typename T> T end(iter_pair<T> p) { return p.end_; } in end()
|
/external/libcxx/test/support/ |
D | test_iterators.h | 345 : begin_(nullptr), end_(nullptr), current_(nullptr), action_(TADereference), index_(0) {} in ThrowingIterator() 347 : begin_(first), end_(last), current_(first), action_(action), index_(index) {} in begin_() 349 …: begin_(rhs.begin_), end_(rhs.end_), current_(rhs.current_), action_(rhs.action_), index_(rhs.ind… in ThrowingIterator() 365 end_ = rhs.end_; 449 bool atEndL = current_ == end_; 450 bool atEndR = rhs.current_ == rhs.end_; 458 const T* end_; member 482 : begin_(nullptr), end_(nullptr), current_(nullptr) {} in NonThrowingIterator() 484 : begin_(first), end_(last), current_(first) {} in NonThrowingIterator() 486 : begin_(rhs.begin_), end_(rhs.end_), current_(rhs.current_) {} in NonThrowingIterator() [all …]
|
/external/libchrome/base/strings/ |
D | string_tokenizer.h | 160 end_ = string_end; in Init() 173 if (token_end_ == end_) in QuickGetNext() 180 while (token_end_ != end_ && delims_.find(*token_end_) == str::npos) in QuickGetNext() 191 if (token_end_ == end_) in FullGetNext() 202 while (token_end_ != end_ && AdvanceOne(&state, *token_end_)) in FullGetNext() 243 const_iterator end_; variable
|
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/utils/ |
D | sparse_column_iterable.h | 49 if (cur_ < end_ && iter_->ix()(cur_, 0) < example_idx_) { 74 if (cur_ < end_ && iter_->ix()(cur_, 0) == example_idx_) { 86 next_ = std::min(next_ + 1, end_); in UpdateNext() 87 while (next_ < end_ && iter_->ix()(cur_, 0) == iter_->ix()(next_, 0)) { in UpdateNext() 96 const int64 end_; variable
|
/external/protobuf/conformance/third_party/jsoncpp/ |
D | jsoncpp.cpp | 275 : errors_(), document_(), begin_(), end_(), current_(), lastValueEnd_(), in Reader() 280 : errors_(), document_(), begin_(), end_(), current_(), lastValueEnd_(), in Reader() 314 end_ = endDoc; in parse() 337 token.end_ = endDoc; in parse() 384 currentValue().setOffsetLimit(token.end_ - begin_); in readValue() 392 currentValue().setOffsetLimit(token.end_ - begin_); in readValue() 400 currentValue().setOffsetLimit(token.end_ - begin_); in readValue() 418 currentValue().setOffsetLimit(token.end_ - begin_); in readValue() 508 token.end_ = current_; in readToken() 513 while (current_ != end_) { in skipSpaces() [all …]
|
/external/webp/src/enc/ |
D | backward_references_cost_enc.c | 167 int end_; member 177 int end_; // Exclusive. member 294 cur->end_ = 1; in CostManagerInit() 304 cur->end_ = i + 1; in CostManagerInit() 380 if (current->end_ <= i) { in UpdateCostAtIndex() 449 interval_new->end_ = end; in InsertInterval() 492 const int end = position + (cost_cache_intervals[i].end_ > len in PushInterval() 494 : cost_cache_intervals[i].end_); in PushInterval() 502 if (start >= interval->end_) continue; in PushInterval() 512 const int start_new = interval->end_; in PushInterval() [all …]
|