Home
last modified time | relevance | path

Searched refs:end_ (Results 1 – 25 of 26) sorted by relevance

12

/system/nvram/messages/
Dio.cpp79 end_(static_cast<const uint8_t*>(end)) { in InputStreamBuffer()
80 NVRAM_CHECK(pos_ <= end_); in InputStreamBuffer()
84 return pos_ >= end_ && !Advance(); in Done()
89 NVRAM_CHECK(pos_ <= end_); in Read()
90 while (size > static_cast<size_t>(end_ - pos_)) { in Read()
91 memcpy(buffer, pos_, end_ - pos_); in Read()
92 buffer += end_ - pos_; in Read()
93 size -= end_ - pos_; in Read()
94 pos_ = end_; in Read()
98 NVRAM_CHECK(pos_ < end_); in Read()
[all …]
/system/core/property_service/libpropertyinfoserializer/
Dspace_tokenizer.h26 : string_(string), it_(string_.begin()), end_(string_.end()) {} in SpaceTokenizer()
30 while (it_ != end_ && !isspace(*it_)) { in GetNext()
33 while (it_ != end_ && isspace(*it_)) { in GetNext()
39 std::string GetRemaining() { return std::string(it_, end_); } in GetRemaining()
44 std::string::const_iterator end_; variable
/system/bt/gd/packet/
Diterator.cc29 end_ = 0; in Iterator()
31 end_ += view.size(); in Iterator()
99 this->end_ = itr.end_; in operator =()
136 …ASSERT_LOG(index_ < end_ && !(begin_ > index_), "Index %zu out of bounds: [%zu,%zu)", index_, begi… in operator *()
151 if (end_ > index_ && !(begin_ > index_)) { in NumBytesRemaining()
152 return end_ - index_; in NumBytesRemaining()
165 to_return.end_ = to_return.index_ + length; in Subrange()
168 to_return.end_ = 0; in Subrange()
Dview.cc26 end_(end < data_->size() ? end : data_->size()) {} in View()
31 end_ = (end < view.size() ? end : view.size()); in View()
32 end_ += view.begin_; in View()
36 ASSERT_LOG(i + begin_ < end_, "Out of bounds access at %zu", i); in operator []()
41 return end_ - begin_; in size()
Dview.h41 size_t end_; variable
Diterator.h96 size_t end_; variable
/system/teeui/libteeui/include/teeui/
Dutf8range.h32 UTF8Range(CharIterator begin, CharIterator end) : begin_(begin), end_(end) {} in UTF8Range()
33 UTF8Range() : begin_{}, end_{begin_} {}; in UTF8Range()
101 Iter end() const { return Iter(end_); } in end()
107 for (auto pos = begin_; pos != end_;) { in verify()
112 if (end_ - pos < byte_count) return false; in verify()
123 CharIterator end_; variable
127 std::is_convertible<std::remove_reference_t<decltype(end_ - begin_)>, size_t>::value,
Dfont_rendering.h96 UTF8Iterator end_; variable
100 Iter(UTF8Iterator begin, UTF8Iterator end) : begin_(begin), end_(end) {} in Iter()
101 Iter(const Iter& rhs) : begin_(rhs.begin_), end_(rhs.end_) {} in Iter()
104 end_ = rhs.end_;
109 if (begin_ == end_) return *this;
122 } while (begin_ != end_ && checkAndUpdate(begin_.codePoint()));
Dmsg_formatting.h60 StreamState(T (&buffer)[size]) : begin_(&buffer[0]), end_(&buffer[size]), pos_(begin_) {} in StreamState()
61 StreamState(T* buffer, size_t size) : begin_(buffer), end_(buffer + size), pos_(begin_) {} in StreamState()
62 StreamState() : begin_(nullptr), end_(nullptr), pos_(nullptr) {} in StreamState()
64 auto good_ = pos_ != nullptr && pos_ + offset <= end_;
105 ptr_t end_; variable
Dutils.h970 Iterator end_;
973 Range(Iterator begin, Iterator end) : begin_(begin), end_(end) {}
975 const Iterator end() const { return end_; }
/system/bt/gd/common/
Dbidi_queue_unittest.cc62 …explicit TestBidiQueueEnd(BidiQueueEnd<TA, TB>* end, Handler* handler) : handler_(handler), end_(e… in TestBidiQueueEnd()
87 end_->RegisterEnqueue( in handle_send()
97 end_->UnregisterEnqueue(); in handle_register_enqueue()
103 end_->RegisterDequeue( in handle_receive()
110 end_->UnregisterDequeue(); in handle_register_dequeue()
111 promise->set_value(end_->TryDequeue().get()); in handle_register_dequeue()
116 BidiQueueEnd<TA, TB>* end_; member in bluetooth::common::__anon3d9865f90111::TestBidiQueueEnd
/system/update_engine/update_manager/
Dweekly_time.h71 : start_(start), end_(end) {} in WeeklyTimeInterval()
78 WeeklyTime end() const { return end_; } in end()
81 return start_ == other.start() && end_ == other.end();
90 WeeklyTime end_; variable
Dweekly_time.cc62 (time.GetDurationTo(start_) >= time.GetDurationTo(end_) && in InRange()
63 time != end_); in InRange()
71 end_.day_of_week(), in ToString()
72 end_.time().InMinutes()); in ToString()
/system/bt/profile/sdp/common/
Ddata_element_reader.h39 DataElementReader(Iterator begin, Iterator end) : it_(begin), end_(end){}; in DataElementReader()
61 Iterator end_; variable
Ddata_element_reader.cc30 if ((size_t)(end_ - it_) < x) { \
40 if (it_ > end_) LOG(FATAL) << "Beginning of buffer is past end of buffer."; in ReadNext()
41 if (it_ == end_) return std::monostate(); in ReadNext()
83 it_ = end_; in ParseFail()
/system/core/libunwindstack/
DMemoryOfflineBuffer.h38 uint64_t end_; variable
DMemory.cpp412 : data_(data), start_(start), end_(end) {} in MemoryOfflineBuffer()
417 end_ = end; in Reset()
421 if (addr < start_ || addr >= end_) { in Read()
425 size_t read_length = std::min(size, static_cast<size_t>(end_ - addr)); in Read()
/system/nvram/messages/tests/
Dio_test.cpp47 end_ = buffer + size; in Advance()
48 for (uint8_t* p = buffer; p < end_; ++p) { in Advance()
204 pos_ = end_; in Advance()
211 end_ = buffer + size; in Advance()
/system/nvram/messages/include/nvram/messages/
Dio.h71 const uint8_t* end_ = nullptr; variable
144 uint8_t* end_ = nullptr; variable
/system/extras/simpleperf/
Dutils.h50 : unit_size_(unit_size), cur_(nullptr), end_(nullptr) { in unit_size_()
64 char* end_; variable
Dutils.cpp47 end_ = nullptr; in Clear()
52 if (cur_ + size > end_) { in AllocateString()
57 end_ = p + alloc_size; in AllocateString()
/system/keymaster/include/keymaster/
Dandroid_keymaster_utils.h192 ArrayWrapper(T* array, size_t size) : begin_(array), end_(array + size) {} in ArrayWrapper()
195 T* end() { return end_; } in end()
199 T* end_; variable
/system/tools/aidl/
Daidl_language.cpp82 : file_(file), begin_(begin), end_(end), source_(source) {} in AidlLocation()
88 if (l.begin_.line != l.end_.line) { in operator <<()
89 os << l.end_.line << "."; in operator <<()
91 os << l.end_.column; in operator <<()
107 << location_.end_.line << ":" << location_.end_.column; in PrintLocation()
/system/iorap/src/inode2filename/
Dsearch_directories.cc67 return end_; in end()
71 return begin_ == end_; in empty()
78 std::unordered_multimap<ino_t, Inode>::iterator begin_, end_; member
/system/chre/external/flatbuffers/include/flatbuffers/
Dflatbuffers.h1459 : buf_(buf), end_(buf + buf_len), depth_(0), max_depth_(_max_depth),
1485 return Check(elem_len <= (size_t) (end_ - buf_) &&
1487 elem <= end_ - elem_len);
1565 (size_t(end_ - start) < 2 * sizeof(flatbuffers::uoffset_t) ||
1587 ReadScalar<uoffset_t>(buf_) == end_ - buf_ - sizeof(uoffset_t) &&
1613 return (buf_ + size > end_) ? 0 : size;
1619 const uint8_t *end_;

12