Home
last modified time | relevance | path

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

/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/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.h97 UTF8Iterator end_; variable
101 Iter(UTF8Iterator begin, UTF8Iterator end) : begin_(begin), end_(end) {} in Iter()
102 Iter(const Iter& rhs) : begin_(rhs.begin_), end_(rhs.end_) {} in Iter()
105 end_ = rhs.end_;
110 if (begin_ == end_) return *this;
123 } 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.h975 Iterator end_;
978 Range(Iterator begin, Iterator end) : begin_(begin), end_(end) {}
980 const Iterator end() const { return end_; }
/system/tools/aidl/
Dlocation.cpp20 : file_(file), begin_(begin), end_(end), source_(source) {} in AidlLocation()
26 if (l.begin_.line != l.end_.line) { in operator <<()
27 os << l.end_.line << "."; in operator <<()
29 os << l.end_.column; in operator <<()
Dlocation.h56 Point end_; variable
Daidl_language.cpp108 << location_.end_.line << ":" << location_.end_.column; in PrintLocation()
/system/unwinding/libunwindstack/include/unwindstack/
DMapInfo.h43 end_(end), in MapInfo()
51 end_(end), in MapInfo()
139 inline uint64_t end() const { return end_; } in end()
140 inline void set_end(uint64_t value) { end_ = value; } in set_end()
222 uint64_t end_ = 0; variable
/system/keymaster/include/keymaster/
Dmem.h147 ArrayWrapper(T* array, size_t size) : begin_(array), end_(array + size) {} in ArrayWrapper()
150 T* end() { return end_; } in end()
154 T* end_; variable
/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/unwinding/libunwindstack/
DMemoryOfflineBuffer.h37 uint64_t end_; variable
DMemory.cpp449 : data_(data), start_(start), end_(end) {} in MemoryOfflineBuffer()
454 end_ = end; in Reset()
458 if (addr < start_ || addr >= end_) { in Read()
462 size_t read_length = std::min(size, static_cast<size_t>(end_ - addr)); in Read()
/system/nvram/messages/include/nvram/messages/
Dio.h71 const uint8_t* end_ = nullptr; variable
144 uint8_t* end_ = nullptr; variable
/system/extras/simpleperf/
Dutils.h65 : unit_size_(unit_size), cur_(nullptr), end_(nullptr) {} in unit_size_()
76 char* end_; variable
Dutils.cpp58 end_ = nullptr; in Clear()
63 if (cur_ + size > end_) { in AllocateString()
68 end_ = p + alloc_size; in AllocateString()