Home
last modified time | relevance | path

Searched refs:fDeque (Results 1 – 6 of 6) sorted by relevance

/external/skqp/src/core/
DSkRasterClipStack.h18 SkTStack(void* storage, size_t size) : fDeque(sizeof(T), storage, size), fTop(nullptr) {} in SkTStack()
20 while (!fDeque.empty()) { in ~SkTStack()
21 ((T*)fDeque.back())->~T(); in ~SkTStack()
22 fDeque.pop_back(); in ~SkTStack()
26 bool empty() const { return fDeque.empty(); } in empty()
28 int count() const { return fDeque.count(); } in count()
40 T* push_raw() { return (T*)fDeque.push_back(); } in push_raw()
54 fDeque.pop_back(); in pop()
55 fTop = fDeque.empty() ? nullptr : (T*)fDeque.back(); in pop()
59 SkDeque fDeque;
DSkClipStack.cpp573 : fDeque(sizeof(Element), kDefaultElementAllocCnt) in SkClipStack()
578 : fDeque(sizeof(Element), storage, size, kDefaultElementAllocCnt) in SkClipStack()
583 : fDeque(sizeof(Element), kDefaultElementAllocCnt) { in SkClipStack()
598 SkDeque::F2BIter recIter(b.fDeque); in operator =()
602 new (fDeque.push_back()) Element(*element); in operator =()
613 fDeque.count() != b.fDeque.count()) { in operator ==()
616 SkDeque::F2BIter myIter(fDeque); in operator ==()
617 SkDeque::F2BIter bIter(b.fDeque); in operator ==()
634 while (!fDeque.empty()) { in reset()
635 Element* element = (Element*)fDeque.back(); in reset()
[all …]
DSkClipStack.h493 SkDeque fDeque; variable
/external/skia/src/core/
DSkRasterClipStack.h18 SkTStack(void* storage, size_t size) : fDeque(sizeof(T), storage, size), fTop(nullptr) {} in SkTStack()
20 while (!fDeque.empty()) { in ~SkTStack()
21 ((T*)fDeque.back())->~T(); in ~SkTStack()
22 fDeque.pop_back(); in ~SkTStack()
26 bool empty() const { return fDeque.empty(); } in empty()
28 int count() const { return fDeque.count(); } in count()
40 T* push_raw() { return (T*)fDeque.push_back(); } in push_raw()
54 fDeque.pop_back(); in pop()
55 fTop = fDeque.empty() ? nullptr : (T*)fDeque.back(); in pop()
59 SkDeque fDeque;
DSkClipStack.cpp616 : fDeque(sizeof(Element), kDefaultElementAllocCnt) in SkClipStack()
621 : fDeque(sizeof(Element), storage, size, kDefaultElementAllocCnt) in SkClipStack()
626 : fDeque(sizeof(Element), kDefaultElementAllocCnt) { in SkClipStack()
641 SkDeque::F2BIter recIter(b.fDeque); in operator =()
645 new (fDeque.push_back()) Element(*element); in operator =()
656 fDeque.count() != b.fDeque.count()) { in operator ==()
659 SkDeque::F2BIter myIter(fDeque); in operator ==()
660 SkDeque::F2BIter bIter(b.fDeque); in operator ==()
677 while (!fDeque.empty()) { in reset()
678 Element* element = (Element*)fDeque.back(); in reset()
[all …]
DSkClipStack.h509 SkDeque fDeque; variable