Home
last modified time | relevance | path

Searched refs:PositionType (Results 1 – 13 of 13) sorted by relevance

/third_party/node/deps/v8/src/interpreter/
Dbytecode-source-info.h20 : position_type_(PositionType::kNone), in BytecodeSourceInfo()
24 : position_type_(is_statement ? PositionType::kStatement in BytecodeSourceInfo()
25 : PositionType::kExpression), in BytecodeSourceInfo()
37 position_type_ = PositionType::kStatement; in MakeStatementPosition()
46 position_type_ = PositionType::kExpression; in MakeExpressionPosition()
52 position_type_ = PositionType::kExpression; in ForceExpressionPosition()
62 return position_type_ == PositionType::kStatement; in is_statement()
65 return position_type_ == PositionType::kExpression; in is_expression()
68 bool is_valid() const { return position_type_ != PositionType::kNone; } in is_valid()
70 position_type_ = PositionType::kNone; in set_invalid()
[all …]
/third_party/skia/experimental/sktext/include/
DInterface.h98 …std::unique_ptr<DrawableText> prepareToDraw(UnicodeText* unicodeText, PositionType positionType, S…
128 …void visit(UnicodeText* unicodeText, Visitor* visitor, PositionType positionType, SkSpan<TextIndex…
141 …Position(PositionType positionType, size_t lineIndex, GlyphRange glyphRange, TextRange textRange, …
142 Position(PositionType positionType);
143 PositionType fPositionType;
173 Position adjustedPosition(PositionType positionType, SkPoint point) const;
177 Position firstPosition(PositionType positionType) const;
178 Position lastPosition(PositionType positionType) const;
179 Position firstInLinePosition(PositionType positionType, LineIndex lineIndex) const;
180 Position lastInLinePosition(PositionType positionType, LineIndex lineIndex) const;
DText.h201 …std::unique_ptr<Drawable> prepareToDraw(UnicodeText* unicodeText, PositionType positionType, SkSpa… in prepareToDraw()
233 …void visit(UnicodeText* unicodeText, Visitor* visitor, PositionType positionType, SkSpan<size_t> c…
241 …GlyphRange textToGlyphs(UnicodeText* unicodeText, PositionType positionType, RunIndex runIndex, Di…
276 …Position(PositionType positionType, size_t lineIndex, GlyphRange glyphRange, TextRange textRange, … in Position()
283 Position(PositionType positionType) in Position()
286 PositionType fPositionType;
318 Position adjustedPosition(PositionType positionType, SkPoint point) const;
324 Position firstPosition(PositionType positionType) const;
325 Position lastPosition(PositionType positionType) const;
326 Position firstInLinePosition(PositionType positionType, LineIndex lineIndex) const;
[all …]
DTypes.h31 enum class PositionType { enum
/third_party/skia/experimental/sktext/editor/
DEditor.cpp15 : fDefaultPositionType(PositionType::kGraphemeCluster) in Editor()
73 auto position = fEditableText->adjustedPosition(PositionType::kGraphemeCluster, cursorPosition); in moveCursor()
80 position = fEditableText->firstElement(PositionType::kGraphemeCluster); in moveCursor()
82 position = fEditableText->lastElement(PositionType::kGraphemeCluster); in moveCursor()
90 position = fEditableText->adjustedPosition(PositionType::kGraphemeCluster, cursorPosition); in moveCursor()
98 position = fEditableText->adjustedPosition(PositionType::kGraphemeCluster, cursorPosition); in moveCursor()
DTexts.cpp13 PositionType::kGraphemeCluster, in paint()
42 PositionType::kGraphemeCluster, in paint()
DTexts.h149 Position adjustedPosition(PositionType positionType, SkPoint point) const { in adjustedPosition()
159 …Position firstElement(PositionType positionType) const { return fSelectableText->firstPosition(pos… in firstElement()
160 …Position lastElement(PositionType positionType) const { return fSelectableText->lastPosition(posit… in lastElement()
DEditor.h62 PositionType fDefaultPositionType;
/third_party/skia/experimental/sktext/tests/
DSelectableText.cpp162 auto firstPosition = selectableText->firstPosition(PositionType::kGraphemeCluster); in UNIX_ONLY_TEST()
174 auto lastPosition = selectableText->lastPosition(PositionType::kGraphemeCluster); in UNIX_ONLY_TEST()
201 auto firstPosition = selectableText->firstPosition(PositionType::kGraphemeCluster); in UNIX_ONLY_TEST()
202 auto lastPosition = selectableText->lastPosition(PositionType::kGraphemeCluster); in UNIX_ONLY_TEST()
242 auto firstPosition = selectableText->firstPosition(PositionType::kGraphemeCluster); in UNIX_ONLY_TEST()
243 auto lastPosition = selectableText->lastPosition(PositionType::kGraphemeCluster); in UNIX_ONLY_TEST()
284 auto position = selectableText->lastInLinePosition(PositionType::kGraphemeCluster, 0); in UNIX_ONLY_TEST()
293 …position = selectableText->lastInLinePosition(PositionType::kGraphemeCluster, selectableText->coun… in UNIX_ONLY_TEST()
/third_party/skia/experimental/sktext/src/
DText.cpp570 void WrappedText::visit(UnicodeText* unicodeText, Visitor* visitor, PositionType positionType, SkSp… in visit()
613 GlyphRange WrappedText::textToGlyphs(UnicodeText* unicodeText, PositionType positionType, RunIndex … in textToGlyphs()
620 …if (positionType == PositionType::kGraphemeCluster && unicodeText->hasProperty(textIndex, CodeUnit… in textToGlyphs()
692 Position SelectableText::findPosition(PositionType positionType, const BoxLine& line, SkScalar x) c… in findPosition()
706 if (position.fPositionType == PositionType::kGraphemeCluster) { in findPosition()
721 if (position.fPositionType == PositionType::kGraphemeCluster) { in findPosition()
738 Position SelectableText::adjustedPosition(PositionType positionType, SkPoint xy) const { in adjustedPosition()
770 if (current.fPositionType == PositionType::kGraphemeCluster) { in previousPosition()
792 if (current.fPositionType == PositionType::kGraphemeCluster) { in nextPosition()
809 if (current.fPositionType == PositionType::kGraphemeCluster) { in upPosition()
[all …]
DPaint.cpp120 …wrappedText->visit(unicodeText, this, PositionType::kGraphemeCluster, SkSpan<size_t>(chunks.data()… in paint()
/third_party/node/deps/v8/include/
Dv8-callbacks.h54 enum PositionType { POSITION, STATEMENT_POSITION }; enum
93 PositionType position_type;
/third_party/node/deps/v8/src/logging/
Dlog.cc702 JitCodeEvent::PositionType position_type,
814 JitCodeEvent::PositionType position_type, in AddCodeLinePosInfoEvent()