Home
last modified time | relevance | path

Searched refs:startOffset (Results 1 – 25 of 142) sorted by relevance

123456

/external/webkit/Source/WebCore/dom/
DDocumentMarkerController.cpp66 …DocumentMarker marker = {type, textPiece->startOffset(exception), textPiece->endOffset(exception),… in addMarker()
79 int startOffset = textPiece->startOffset(); in removeMarkers() local
81 …removeMarkers(textPiece->startContainer(), startOffset, endOffset - startOffset, markerTypes, shou… in removeMarkers()
90 ASSERT(newMarker.endOffset >= newMarker.startOffset); in addMarker()
91 if (newMarker.endOffset == newMarker.startOffset) in addMarker()
114 if (marker.startOffset > newMarker.startOffset) in addMarker()
116 if (marker.type == newMarker.type && marker.endOffset >= newMarker.startOffset) { in addMarker()
117 newMarker.startOffset = marker.startOffset; in addMarker()
130 if (marker.startOffset > newMarker.endOffset) in addMarker()
155 void DocumentMarkerController::copyMarkers(Node* srcNode, unsigned startOffset, int length, Node* d… in copyMarkers() argument
[all …]
DDocumentMarkerController.h50 void copyMarkers(Node* srcNode, unsigned startOffset, int length, Node* dstNode, int delta);
58 …void removeMarkers(Node*, unsigned startOffset, int length, DocumentMarker::MarkerTypes = Document…
65 void shiftMarkers(Node*, unsigned startOffset, int delta);
67 void setMarkersActive(Node*, unsigned startOffset, unsigned endOffset, bool);
DDocumentMarker.h83 unsigned startOffset; member
90 return type == o.type && startOffset == o.startOffset && endOffset == o.endOffset;
DRange.h45 …nge> create(PassRefPtr<Document>, PassRefPtr<Node> startContainer, int startOffset, PassRefPtr<Nod…
51 int startOffset() const { return m_start.offset(); } in startOffset() function
56 int startOffset(ExceptionCode&) const;
139 …Range(PassRefPtr<Document>, PassRefPtr<Node> startContainer, int startOffset, PassRefPtr<Node> end…
152 …tweenOffsets(ActionType, PassRefPtr<DocumentFragment>, Node*, unsigned startOffset, unsigned endOf…
DRange.cpp73 …ssRefPtr<Document> ownerDocument, PassRefPtr<Node> startContainer, int startOffset, PassRefPtr<Nod… in Range() argument
87 setStart(startContainer, startOffset, ec); in Range()
93 …ssRefPtr<Document> ownerDocument, PassRefPtr<Node> startContainer, int startOffset, PassRefPtr<Nod… in create() argument
95 return adoptRef(new Range(ownerDocument, startContainer, startOffset, endContainer, endOffset)); in create()
134 int Range::startOffset(ExceptionCode& ec) const in startOffset() function in WebCore::Range
761 static inline void deleteCharacterData(PassRefPtr<CharacterData> data, unsigned startOffset, unsign… in deleteCharacterData() argument
765 if (startOffset) in deleteCharacterData()
766 data->deleteData(0, startOffset, ec); in deleteCharacterData()
770 Node* container, unsigned startOffset, unsigned endOffset, ExceptionCode& ec) in processContentsBetweenOffsets() argument
773 ASSERT(startOffset <= endOffset); in processContentsBetweenOffsets()
[all …]
/external/webkit/Source/JavaScriptCore/parser/
DNodeConstructors.h97 …inline ResolveNode::ResolveNode(JSGlobalData* globalData, const Identifier& ident, int startOffset) in ResolveNode() argument
100 , m_startOffset(startOffset) in ResolveNode()
238 …SGlobalData* globalData, ArgumentsNode* args, unsigned divot, unsigned startOffset, unsigned endOf… in EvalFunctionCallNode() argument
240 , ThrowableExpressionData(divot, startOffset, endOffset) in EvalFunctionCallNode()
245 …a, ExpressionNode* expr, ArgumentsNode* args, unsigned divot, unsigned startOffset, unsigned endOf… in FunctionCallValueNode() argument
247 , ThrowableExpressionData(divot, startOffset, endOffset) in FunctionCallValueNode()
253 …const Identifier& ident, ArgumentsNode* args, unsigned divot, unsigned startOffset, unsigned endOf… in FunctionCallResolveNode() argument
255 , ThrowableExpressionData(divot, startOffset, endOffset) in FunctionCallResolveNode()
261 …pressionNode* subscript, ArgumentsNode* args, unsigned divot, unsigned startOffset, unsigned endOf… in FunctionCallBracketNode() argument
263 , ThrowableSubExpressionData(divot, startOffset, endOffset) in FunctionCallBracketNode()
[all …]
DNodes.h256 ThrowableExpressionData(unsigned divot, unsigned startOffset, unsigned endOffset) in ThrowableExpressionData() argument
258 , m_startOffset(startOffset) in ThrowableExpressionData()
263 void setExceptionSourceCode(unsigned divot, unsigned startOffset, unsigned endOffset) in setExceptionSourceCode() argument
266 m_startOffset = startOffset; in setExceptionSourceCode()
271 uint16_t startOffset() const { return m_startOffset; } in startOffset() function
291 ThrowableSubExpressionData(unsigned divot, unsigned startOffset, unsigned endOffset) in ThrowableSubExpressionData() argument
292 : ThrowableExpressionData(divot, startOffset, endOffset) in ThrowableSubExpressionData()
320 ThrowablePrefixedSubExpressionData(unsigned divot, unsigned startOffset, unsigned endOffset) in ThrowablePrefixedSubExpressionData() argument
321 : ThrowableExpressionData(divot, startOffset, endOffset) in ThrowablePrefixedSubExpressionData()
362 ResolveNode(JSGlobalData*, const Identifier&, int startOffset);
[all …]
/external/proguard/src/proguard/classfile/visitor/
DExceptionRangeFilter.java37 private final int startOffset; field in ExceptionRangeFilter
49 public ExceptionRangeFilter(int startOffset, in ExceptionRangeFilter() argument
53 this.startOffset = startOffset; in ExceptionRangeFilter()
63 if (exceptionInfo.isApplicable(startOffset, endOffset)) in visitExceptionInfo()
DExceptionHandlerFilter.java37 private final int startOffset; field in ExceptionHandlerFilter
49 public ExceptionHandlerFilter(int startOffset, in ExceptionHandlerFilter() argument
53 this.startOffset = startOffset; in ExceptionHandlerFilter()
64 if (handlerPC >= startOffset && in visitExceptionInfo()
/external/icu4c/test/perf/ubrkperf/
Dubrkperf.cpp90 UniCharCount startOffset = 0, breakOffset = 0, numUniChars = textSize;
91 startOffset = 0;
94 while (startOffset < numUniChars)
97 startOffset, &breakOffset);
106 startOffset = breakOffset;
110 startOffset = 0;
112 while (startOffset < numUniChars)
115 startOffset, &breakOffset);
117 startOffset = breakOffset;
/external/webkit/Source/JavaScriptCore/runtime/
DRegExp.cpp133 int RegExp::match(const UString& s, int startOffset, Vector<int, 32>* ovector) in match() argument
135 if (startOffset < 0) in match()
136 startOffset = 0; in match()
142 if (static_cast<unsigned>(startOffset) > s.length() || s.isNull()) in match()
167 …result = Yarr::execute(m_representation->m_regExpJITCode, s.characters(), startOffset, s.length(),… in match()
169 matchCompareWithInterpreter(s, startOffset, offsetVector, result); in match()
173 …r::interpret(m_representation->m_regExpBytecode.get(), s.characters(), startOffset, s.length(), of… in match()
189 void RegExp::matchCompareWithInterpreter(const UString& s, int startOffset, int* offsetVector, int … in matchCompareWithInterpreter() argument
204 …r::interpret(m_representation->m_regExpBytecode.get(), s.characters(), startOffset, s.length(), in… in matchCompareWithInterpreter()
216 unsigned segmentLen = s.length() - static_cast<unsigned>(startOffset); in matchCompareWithInterpreter()
[all …]
/external/proguard/src/proguard/optimize/evaluation/
DPartialEvaluator.java284 public boolean isTraced(int startOffset, int endOffset) in isTraced() argument
286 for (int index = startOffset; index < endOffset; index++) in isTraced()
500 int startOffset) in pushCallingInstructionBlock() argument
504 startOffset)); in pushCallingInstructionBlock()
513 int startOffset) in pushInstructionBlock() argument
517 startOffset)); in pushInstructionBlock()
530 int startOffset, in evaluateInstructionBlockAndExceptionHandlers() argument
538 startOffset); in evaluateInstructionBlockAndExceptionHandlers()
543 startOffset, in evaluateInstructionBlockAndExceptionHandlers()
557 int startOffset) in evaluateInstructionBlock() argument
[all …]
/external/webkit/Source/WebKit/gtk/tests/
Dtestatk.c83 gint startOffset; in testGetTextFunction() local
85 char* text = fn(textObject, offset, boundary, &startOffset, &endOffset); in testGetTextFunction()
87 g_assert_cmpint(startOffset, ==, startOffsetResult); in testGetTextFunction()
979 gint startOffset; in testWebkitAtkTextAttributes() local
981 AtkAttributeSet* set1 = atk_text_get_run_attributes(childText, 0, &startOffset, &endOffset); in testWebkitAtkTextAttributes()
982 g_assert_cmpint(startOffset, ==, 0); in testWebkitAtkTextAttributes()
986 AtkAttributeSet* set2 = atk_text_get_run_attributes(childText, 15, &startOffset, &endOffset); in testWebkitAtkTextAttributes()
987 g_assert_cmpint(startOffset, ==, 12); in testWebkitAtkTextAttributes()
991 AtkAttributeSet* set3 = atk_text_get_run_attributes(childText, 17, &startOffset, &endOffset); in testWebkitAtkTextAttributes()
992 g_assert_cmpint(startOffset, ==, 17); in testWebkitAtkTextAttributes()
[all …]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DStringExtensions.cs121 public static string substring( this string str, int startOffset ) in substring() argument
123 return str.Substring( startOffset ); in substring()
127 public static string substring(this string str, int startOffset, int endOffset) in substring() argument
129 return str.Substring( startOffset, endOffset - startOffset ); in substring()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
DStringExtensions.cs126 public static string substring( string str, int startOffset ) in substring() argument
128 return str.Substring( startOffset ); in substring()
131 public static string substring( string str, int startOffset, int endOffset ) in substring() argument
133 return str.Substring( startOffset, endOffset - startOffset ); in substring()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowAnimation.java24 private long startOffset; field in ShadowAnimation
98 public void setStartOffset(long startOffset) { in setStartOffset() argument
99 this.startOffset = startOffset; in setStartOffset()
104 return startOffset; in getStartOffset()
/external/webkit/Source/WebKit/chromium/public/
DWebCompositionUnderline.h42 : startOffset(0) in WebCompositionUnderline()
48 : startOffset(s) in WebCompositionUnderline()
53 unsigned startOffset; member
/external/webkit/Source/WebCore/accessibility/gtk/
DAccessibilityObjectWrapperAtk.cpp167 static gchar* webkit_accessible_text_get_text(AtkText* text, gint startOffset, gint endOffset);
532 …&& (range->startContainer() != lastDescendant || range->startOffset() != lastOffsetInNode(lastDesc… in selectionBelongsToObject()
1126 static gchar* webkit_accessible_text_get_text(AtkText* text, gint startOffset, gint endOffset) in webkit_accessible_text_get_text() argument
1164 ret = ret.substring(startOffset, end - startOffset); in webkit_accessible_text_get_text()
1201 …offset(AtkText* text, gint offset, AtkTextBoundary boundaryType, gint* startOffset, gint* endOffse… in webkit_accessible_text_get_text_after_offset() argument
1203 …ext), getPangoLayoutForAtk(text), GAIL_AFTER_OFFSET, boundaryType, offset, startOffset, endOffset); in webkit_accessible_text_get_text_after_offset()
1206 …offset(AtkText* text, gint offset, AtkTextBoundary boundaryType, gint* startOffset, gint* endOffse… in webkit_accessible_text_get_text_at_offset() argument
1208 …k(text), getPangoLayoutForAtk(text), GAIL_AT_OFFSET, boundaryType, offset, startOffset, endOffset); in webkit_accessible_text_get_text_at_offset()
1211 …offset(AtkText* text, gint offset, AtkTextBoundary boundaryType, gint* startOffset, gint* endOffse… in webkit_accessible_text_get_text_before_offset() argument
1213 …xt), getPangoLayoutForAtk(text), GAIL_BEFORE_OFFSET, boundaryType, offset, startOffset, endOffset); in webkit_accessible_text_get_text_before_offset()
[all …]
/external/webkit/Source/JavaScriptCore/bytecompiler/
DNodesCodegen.cpp81 generator.emitExpressionInfo(divot(), startOffset(), endOffset()); in emitThrowReferenceError()
270 generator.emitExpressionInfo(divot(), startOffset(), endOffset()); in emitBytecode()
276 generator.emitExpressionInfo(divot(), startOffset(), endOffset()); in emitBytecode()
290 generator.emitExpressionInfo(divot(), startOffset(), endOffset()); in emitBytecode()
296 generator.emitExpressionInfo(divot(), startOffset(), endOffset()); in emitBytecode()
314 …or.finalDestinationOrIgnored(dst), func.get(), callArguments, divot(), startOffset(), endOffset()); in emitBytecode()
338 generator.emitExpressionInfo(divot() - startOffset() + 4, 4, 0); in emitBytecode()
340 …finalDestination(dst, func.get()), func.get(), callArguments, divot(), startOffset(), endOffset()); in emitBytecode()
350 …inationOrIgnored(dst, func.get()), func.get(), callArguments, divot(), startOffset(), endOffset()); in emitBytecode()
360 …t, callArguments.thisRegister()), local.get(), callArguments, divot(), startOffset(), endOffset()); in emitBytecode()
[all …]
/external/webkit/Source/WebCore/editing/
DDeleteSelectionCommand.cpp432 int startOffset = m_upstreamStart.deprecatedEditingOffset(); in handleGeneralDelete() local
436 …if (startNode == m_startBlock && startOffset == 0 && canHaveChildrenForEditing(startNode) && !star… in handleGeneralDelete()
437 startOffset = 0; in handleGeneralDelete()
441 if (startOffset >= caretMaxOffset(startNode) && startNode->isTextNode()) { in handleGeneralDelete()
447 if (startOffset >= lastOffsetForEditing(startNode)) { in handleGeneralDelete()
449 startOffset = 0; in handleGeneralDelete()
457 if (m_downstreamEnd.deprecatedEditingOffset() - startOffset > 0) { in handleGeneralDelete()
461 … deleteTextFromNode(text, startOffset, m_downstreamEnd.deprecatedEditingOffset() - startOffset); in handleGeneralDelete()
463 … removeChildrenInRange(startNode, startOffset, m_downstreamEnd.deprecatedEditingOffset()); in handleGeneralDelete()
469 … if (!startNode->renderer() || (!startOffset && m_downstreamEnd.atLastEditingPositionForNode())) in handleGeneralDelete()
[all …]
DSpellChecker.cpp161 int startOffset = 0; in didCheck() local
169 ASSERT(startOffset <= results[i].location); in didCheck()
170 if (!forwardIterator(start, results[i].location - startOffset)) in didCheck()
187 startOffset = results[i].location; in didCheck()
DApplyBlockElementCommand.cpp194 int startOffset = start.offsetInContainerNode(); in rangeForParagraphSplittingTextNodesIfNeeded() local
195 splitTextNode(static_cast<Text*>(start.deprecatedNode()), startOffset); in rangeForParagraphSplittingTextNodesIfNeeded()
198 ASSERT(end.offsetInContainerNode() >= startOffset); in rangeForParagraphSplittingTextNodesIfNeeded()
199 …end = Position(end.deprecatedNode(), end.offsetInContainerNode() - startOffset, Position::Position… in rangeForParagraphSplittingTextNodesIfNeeded()
202 ASSERT(m_endOfLastParagraph.offsetInContainerNode() >= startOffset); in rangeForParagraphSplittingTextNodesIfNeeded()
203 …(m_endOfLastParagraph.deprecatedNode(), m_endOfLastParagraph.offsetInContainerNode() - startOffset, in rangeForParagraphSplittingTextNodesIfNeeded()
/external/proguard/src/proguard/classfile/attribute/
DCodeAttribute.java129 …public void instructionsAccept(Clazz clazz, Method method, int startOffset, int endOffset, Instruc… in instructionsAccept() argument
131 int offset = startOffset; in instructionsAccept()
179 …public void exceptionsAccept(Clazz clazz, Method method, int startOffset, int endOffset, Exception… in exceptionsAccept() argument
184 if (exceptionInfo.isApplicable(startOffset, endOffset)) in exceptionsAccept()
/external/webkit/Source/WebCore/rendering/
DRenderTextFragment.cpp31 RenderTextFragment::RenderTextFragment(Node* node, StringImpl* str, int startOffset, int length) in RenderTextFragment() argument
32 : RenderText(node, str ? str->substring(startOffset, length) : 0) in RenderTextFragment()
33 , m_start(startOffset) in RenderTextFragment()
/external/webkit/Source/WebCore/wml/
DWMLTableElement.cpp138 …ntToTargetElement(WMLElement* sourceElement, WMLElement* targetElement, unsigned startOffset) const in transferAllChildrenOfElementToTargetElement()
147 for (unsigned i = startOffset; i < length; ++i) { in transferAllChildrenOfElementToTargetElement()
192 unsigned startOffset = 0; in joinSuperflousColumns() local
196 ++startOffset; in joinSuperflousColumns()
198 transferAllChildrenOfElementToTargetElement(columnElement, newCell.get(), startOffset); in joinSuperflousColumns()

123456