Searched refs:fCursor (Results 1 – 14 of 14) sorted by relevance
/third_party/flutter/skia/src/core/ |
D | SkArenaAlloc.cpp | 21 , fCursor {block} 28 fEnd = fCursor = fDtorCursor = nullptr; 31 if (fCursor != nullptr) { 52 memmove(fCursor, &encodedFooter, sizeof(Footer)); in installFooter() 53 fCursor += sizeof(Footer); in installFooter() 54 fDtorCursor = fCursor; in installFooter() 58 memmove(fCursor, &ptr, sizeof(char*)); in installPtrFooter() 59 fCursor += sizeof(char*); in installPtrFooter() 92 memmove(fCursor, &value, sizeof(uint32_t)); in installUint32Footer() 93 fCursor += sizeof(uint32_t); in installUint32Footer() [all …]
|
D | SkArenaAlloc.h | 81 fCursor = objStart + size; in make() 85 uint32_t padding = ToU32(objStart - fCursor); in make() 88 fCursor = objStart + size; in make() 132 fCursor = objStart + size; in makeBytesAlignedTo() 161 uintptr_t alignedOffset = (~reinterpret_cast<uintptr_t>(fCursor) + 1) & mask; in allocObject() 164 if (totalSize > static_cast<uintptr_t>(fEnd - fCursor)) { in allocObject() 166 alignedOffset = (~reinterpret_cast<uintptr_t>(fCursor) + 1) & mask; in allocObject() 168 return fCursor + alignedOffset; in allocObject() 182 fCursor = objStart + arraySize; in commonArrayAlloc() 190 uint32_t padding = ToU32(objStart - fCursor); in commonArrayAlloc() [all …]
|
/third_party/skia/src/core/ |
D | SkArenaAlloc.cpp | 16 , fCursor {block} 21 fEnd = fCursor = fDtorCursor = nullptr; 24 if (fCursor != nullptr) { 37 fDtorCursor = fCursor; in installFooter() 94 fCursor = newBlock; in ensureSpace() 96 fEnd = fCursor + allocationSize; in ensureSpace() 106 const bool needsSkipFooter = fCursor != fDtorCursor; in allocObjectWithFooter() 113 if (!fCursor) { in allocObjectWithFooter() 120 char* objStart = (char*)((uintptr_t)(fCursor + skipOverhead + mask) & ~mask); in allocObjectWithFooter() 131 this->installRaw(SkToU32(fCursor - fDtorCursor)); in allocObjectWithFooter()
|
D | SkArenaAlloc.h | 129 fCursor = objStart + size; 133 uint32_t padding = SkToU32(objStart - fCursor); 136 fCursor = objStart + size; 189 fCursor = objStart + size; in makeBytesAlignedTo() 208 memcpy(fCursor, &val, sizeof(val)); in installRaw() 209 fCursor += sizeof(val); in installRaw() 217 uintptr_t alignedOffset = (~reinterpret_cast<uintptr_t>(fCursor) + 1) & mask; in allocObject() 220 if (totalSize > static_cast<uintptr_t>(fEnd - fCursor)) { in allocObject() 222 alignedOffset = (~reinterpret_cast<uintptr_t>(fCursor) + 1) & mask; in allocObject() 225 char* object = fCursor + alignedOffset; in allocObject() [all …]
|
D | SkBlockAllocator.h | 146 int cursor() const { return this->alignedOffset<Align, Padding>(fCursor); } in cursor() 151 bool isScratch() const { return fCursor < 0; } in isScratch() 153 fCursor = -1; in markAsScratch() 165 int fCursor; // (this + fCursor) points to next available allocation variable 592 SkASSERT(offset - fTail->fCursor >= (int) Padding && in allocate() 593 offset - fTail->fCursor <= (int) (Padding + Align - 1)); in allocate() 596 int start = fTail->fCursor; in allocate() 597 fTail->fCursor = end; in allocate() 653 if (fCursor == end) { in resize() 658 if (nextCursor < fCursor) { in resize() [all …]
|
D | SkBlockAllocator.cpp | 35 , fCursor(kDataStart) in Block() 76 size += (b->fCursor - kDataStart); in totalSpaceInUse() 99 block->fCursor = kDataStart; in releaseBlock() 171 b->fCursor = kDataStart; in reset() 183 fHead.metadata() == 0 && fHead.fCursor == kDataStart); in reset() 281 SkASSERT(block->fCursor >= kDataStart); in validate() 282 SkASSERT(block->fCursor <= block->fSize); in validate()
|
/third_party/skia/experimental/sktext/editor/ |
D | Editor.cpp | 19 fCursor = Cursor::Make(); in Editor() 51 fCursor->place(endOfText.fBoundaries); in Editor() 61 …auto position = fEditableText->adjustedPosition(fDefaultPositionType, fCursor->getCenterPosition()… in update() 63 fCursor->place(position.fBoundaries); in update() 72 auto cursorPosition = fCursor->getCenterPosition(); in moveCursor() 103 fCursor->place(position.fBoundaries); in moveCursor() 153 auto cursorPosition = fCursor->getCenterPosition(); in deleteElement() 163 fCursor->place(position.fBoundaries); in deleteElement() 172 fCursor->place(position.fBoundaries); in deleteElement() 179 auto cursorPosition = fCursor->getCenterPosition(); in insertCodepoint() [all …]
|
D | Editor.h | 34 void blink() { fCursor->blink(); } in blink() 55 std::unique_ptr<Cursor> fCursor; variable
|
/third_party/skia/modules/skplaintexteditor/include/ |
D | editor.h | 97 TextPosition fCursor; member
|
/third_party/flutter/skia/experimental/editor/ |
D | editor.h | 99 TextPosition fCursor; member
|
D | editor_application.cpp | 110 options.fCursor = fTextPos; in onPaint()
|
D | editor.cpp | 449 c->drawRect(Editor::getLocation(options.fCursor), SkPaint(options.fCursorColor)); in paint()
|
/third_party/skia/modules/skplaintexteditor/app/ |
D | editor_application.cpp | 129 options.fCursor = fTextPos; in onPaint()
|
/third_party/skia/modules/skplaintexteditor/src/ |
D | editor.cpp | 449 c->drawRect(Editor::getLocation(options.fCursor), SkPaint(options.fCursorColor)); in paint()
|