Home
last modified time | relevance | path

Searched refs:begin_ (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_vector.h26 Vector() : begin_(), end_(), last_() {} in Vector()
29 if (begin_) in ~Vector()
30 InternalFree(begin_); in ~Vector()
34 if (begin_) in Reset()
35 InternalFree(begin_); in Reset()
36 begin_ = 0; in Reset()
42 return end_ - begin_; in Size()
46 DCHECK_LT(i, end_ - begin_);
47 return begin_[i];
51 DCHECK_LT(i, end_ - begin_);
[all …]
H A Dsanitizer_array_ref.h31 constexpr ArrayRef(const T *begin, const T *end) : begin_(begin), end_(end) { in ArrayRef()
43 const T *data() const { return empty() ? nullptr : begin_; } in data()
45 const T *begin() const { return begin_; } in begin()
48 bool empty() const { return begin_ == end_; } in empty()
50 uptr size() const { return end_ - begin_; } in size()
103 return begin_[index];
107 const T *begin_ = nullptr;
/freebsd/contrib/llvm-project/libc/src/__support/
H A Dfreelist.cpp14 if (begin_) { in push()
16 begin_->block()->outer_size() && in push()
19 node->prev = begin_->prev; in push()
20 node->next = begin_; in push()
21 begin_->prev->next = node; in push()
22 begin_->prev = node; in push()
24 begin_ = node->prev = node->next = node; in push()
29 LIBC_ASSERT(begin_ && "cannot remove from empty list"); in remove()
31 LIBC_ASSERT(node == begin_ && in remove()
33 begin_ = nullptr; in remove()
[all …]
H A Dfreelist.h47 LIBC_INLINE constexpr FreeList(Node *begin) : begin_(begin) {} in FreeList()
49 LIBC_INLINE bool empty() const { return !begin_; } in empty()
53 LIBC_ASSERT(begin_ && "empty lists have no size"); in size()
54 return begin_->size(); in size()
58 LIBC_INLINE Node *begin() { return begin_; } in begin()
61 LIBC_INLINE Block *front() { return begin_->block(); } in front()
78 LIBC_INLINE void pop() { remove(begin_); } in pop()
84 Node *begin_;
/freebsd/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-param-util.h216 : begin_(begin), in RangeGenerator()
223 return new Iterator(this, begin_, 0, step_); in Begin()
286 const T begin_; variable
852 begin_(std::get<I>(generators).begin()...), in GTEST_DISABLE_MSC_WARNINGS_POP_()
854 current_(is_end ? end_ : begin_) { in GTEST_DISABLE_MSC_WARNINGS_POP_()
912 std::get<ThisI>(current_) = std::get<ThisI>(begin_); in GTEST_DISABLE_MSC_WARNINGS_POP_()
930 std::tuple<typename ParamGenerator<T>::iterator...> begin_; in GTEST_DISABLE_MSC_WARNINGS_POP_() local