Home
last modified time | relevance | path

Searched refs:endOffset (Results 1 – 25 of 115) sorted by relevance

12345

/external/webkit/Source/WebCore/dom/
DDocumentMarkerController.cpp66 …DocumentMarker marker = {type, textPiece->startOffset(exception), textPiece->endOffset(exception),… in addMarker()
80 int endOffset = textPiece->endOffset(); 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()
116 if (marker.type == newMarker.type && marker.endOffset >= newMarker.startOffset) { in addMarker()
130 if (marker.startOffset > newMarker.endOffset) in addMarker()
135 if (newMarker.endOffset <= marker.endOffset) { in addMarker()
136 newMarker.endOffset = marker.endOffset; in addMarker()
171 unsigned endOffset = startOffset + length - 1; in copyMarkers() local
[all …]
DDocumentMarker.h84 unsigned endOffset; member
90 return type == o.type && startOffset == o.startOffset && endOffset == o.endOffset;
DRange.h45 …>, PassRefPtr<Node> startContainer, int startOffset, PassRefPtr<Node> endContainer, int endOffset);
53 int endOffset() const { return m_end.offset(); } in endOffset() function
58 int endOffset(ExceptionCode&) const;
139 …>, PassRefPtr<Node> startContainer, int startOffset, PassRefPtr<Node> endContainer, int endOffset);
152 …pe, PassRefPtr<DocumentFragment>, Node*, unsigned startOffset, unsigned endOffset, ExceptionCode&);
DRange.cpp73 …nt, PassRefPtr<Node> startContainer, int startOffset, PassRefPtr<Node> endContainer, int endOffset) in Range() argument
89 setEnd(endContainer, endOffset, ec); in Range()
93 …nt, PassRefPtr<Node> startContainer, int startOffset, PassRefPtr<Node> endContainer, int endOffset) in create() argument
95 return adoptRef(new Range(ownerDocument, startContainer, startOffset, endContainer, endOffset)); in create()
154 int Range::endOffset(ExceptionCode& ec) const in endOffset() function in WebCore::Range
761 …cterData(PassRefPtr<CharacterData> data, unsigned startOffset, unsigned endOffset, ExceptionCode& … in deleteCharacterData() argument
763 if (data->length() - endOffset) in deleteCharacterData()
764 data->deleteData(endOffset, data->length() - endOffset, 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.h238 …balData* globalData, ArgumentsNode* args, unsigned divot, unsigned startOffset, unsigned endOffset) in EvalFunctionCallNode() argument
240 , ThrowableExpressionData(divot, startOffset, endOffset) in EvalFunctionCallNode()
245 …xpressionNode* expr, ArgumentsNode* args, unsigned divot, unsigned startOffset, unsigned endOffset) in FunctionCallValueNode() argument
247 , ThrowableExpressionData(divot, startOffset, endOffset) in FunctionCallValueNode()
253 …t Identifier& ident, ArgumentsNode* args, unsigned divot, unsigned startOffset, unsigned endOffset) in FunctionCallResolveNode() argument
255 , ThrowableExpressionData(divot, startOffset, endOffset) in FunctionCallResolveNode()
261 …sionNode* subscript, ArgumentsNode* args, unsigned divot, unsigned startOffset, unsigned endOffset) in FunctionCallBracketNode() argument
263 , ThrowableSubExpressionData(divot, startOffset, endOffset) in FunctionCallBracketNode()
270 …t Identifier& ident, ArgumentsNode* args, unsigned divot, unsigned startOffset, unsigned endOffset) in FunctionCallDotNode() argument
272 , ThrowableSubExpressionData(divot, startOffset, endOffset) in FunctionCallDotNode()
[all …]
DNodes.h256 ThrowableExpressionData(unsigned divot, unsigned startOffset, unsigned endOffset) in ThrowableExpressionData() argument
259 , m_endOffset(endOffset) in ThrowableExpressionData()
263 void setExceptionSourceCode(unsigned divot, unsigned startOffset, unsigned endOffset) in setExceptionSourceCode() argument
267 m_endOffset = endOffset; in setExceptionSourceCode()
272 uint16_t endOffset() const { return m_endOffset; } in endOffset() 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()
519 …nCallNode(JSGlobalData*, ArgumentsNode*, unsigned divot, unsigned startOffset, unsigned endOffset);
[all …]
/external/proguard/src/proguard/classfile/visitor/
DExceptionRangeFilter.java38 private final int endOffset; field in ExceptionRangeFilter
50 int endOffset, in ExceptionRangeFilter() argument
54 this.endOffset = endOffset; in ExceptionRangeFilter()
63 if (exceptionInfo.isApplicable(startOffset, endOffset)) in visitExceptionInfo()
DExceptionHandlerFilter.java38 private final int endOffset; field in ExceptionHandlerFilter
50 int endOffset, in ExceptionHandlerFilter() argument
54 this.endOffset = endOffset; in ExceptionHandlerFilter()
65 handlerPC < endOffset) in visitExceptionInfo()
/external/webkit/Source/WebKit/gtk/tests/
Dtestatk.c84 gint endOffset; in testGetTextFunction() local
85 char* text = fn(textObject, offset, boundary, &startOffset, &endOffset); in testGetTextFunction()
88 g_assert_cmpint(endOffset, ==, endOffsetResult); in testGetTextFunction()
980 gint endOffset; in testWebkitAtkTextAttributes() local
981 AtkAttributeSet* set1 = atk_text_get_run_attributes(childText, 0, &startOffset, &endOffset); in testWebkitAtkTextAttributes()
983 g_assert_cmpint(endOffset, ==, 12); in testWebkitAtkTextAttributes()
986 AtkAttributeSet* set2 = atk_text_get_run_attributes(childText, 15, &startOffset, &endOffset); in testWebkitAtkTextAttributes()
988 g_assert_cmpint(endOffset, ==, 17); in testWebkitAtkTextAttributes()
991 AtkAttributeSet* set3 = atk_text_get_run_attributes(childText, 17, &startOffset, &endOffset); in testWebkitAtkTextAttributes()
993 g_assert_cmpint(endOffset, ==, 40); in testWebkitAtkTextAttributes()
[all …]
/external/webkit/Source/WebKit/chromium/public/
DWebCompositionUnderline.h43 , endOffset(0) in WebCompositionUnderline()
49 , endOffset(e) in WebCompositionUnderline()
54 unsigned endOffset; member
/external/webkit/Source/WebCore/accessibility/gtk/
DAccessibilityObjectWrapperAtk.cpp167 static gchar* webkit_accessible_text_get_text(AtkText* text, gint startOffset, gint endOffset);
531 && (range->endContainer() != node || range->endOffset()) in selectionBelongsToObject()
1126 static gchar* webkit_accessible_text_get_text(AtkText* text, gint startOffset, gint endOffset) in webkit_accessible_text_get_text() argument
1130 int end = endOffset; in webkit_accessible_text_get_text()
1131 if (endOffset == -1) { in webkit_accessible_text_get_text()
1139 ret = coreObject->doAXStringForRange(PlainTextRange(0, endOffset)); in webkit_accessible_text_get_text()
1159 if (endOffset == -1) in webkit_accessible_text_get_text()
1201 …ffset(AtkText* text, gint offset, AtkTextBoundary boundaryType, gint* startOffset, gint* endOffset) 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 …ffset(AtkText* text, gint offset, AtkTextBoundary boundaryType, gint* startOffset, gint* endOffset) in webkit_accessible_text_get_text_at_offset() argument
[all …]
/external/proguard/src/proguard/classfile/attribute/
DCodeAttribute.java129 …public void instructionsAccept(Clazz clazz, Method method, int startOffset, int endOffset, Instruc… in instructionsAccept() argument
133 while (offset < endOffset) 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()
DExceptionInfo.java82 public boolean isApplicable(int startOffset, int endOffset) in isApplicable() argument
84 return u2startPC < endOffset && in isApplicable()
/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()
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()
371 …inationOrIgnored(dst, func.get()), func.get(), callArguments, divot(), startOffset(), endOffset()); in emitBytecode()
[all …]
DBytecodeGenerator.h229 void emitExpressionInfo(unsigned divot, unsigned startOffset, unsigned endOffset) in emitExpressionInfo() argument
239 endOffset = 0; in emitExpressionInfo()
245 endOffset = 0; in emitExpressionInfo()
246 } else if (endOffset > ExpressionRangeInfo::MaxOffset) { in emitExpressionInfo()
250 endOffset = 0; in emitExpressionInfo()
257 info.endOffset = endOffset; in emitExpressionInfo()
332 …* dst, RegisterID* func, CallArguments&, unsigned divot, unsigned startOffset, unsigned endOffset);
333 …* dst, RegisterID* func, CallArguments&, unsigned divot, unsigned startOffset, unsigned endOffset);
334 …rID* thisRegister, RegisterID* argCount, unsigned divot, unsigned startOffset, unsigned endOffset);
340 …* dst, RegisterID* func, CallArguments&, unsigned divot, unsigned startOffset, unsigned endOffset);
[all …]
/external/webkit/Source/WebCore/editing/
DSpellingCorrectionController.h123 bool shouldStartTimeFor(const DocumentMarker& marker, int endOffset) const in shouldStartTimeFor() argument
126 … || marker.type == DocumentMarker::Spelling) && static_cast<int>(marker.endOffset) == endOffset); in shouldStartTimeFor()
DTextIterator.cpp312 int endOffset = r->endOffset(); in TextIterator() local
322 m_endOffset = endOffset; in TextIterator()
334 m_pastEndNode = nextInPreOrderCrossingShadowBoundaries(endContainer, endOffset); in TextIterator()
1106 int endOffset = r->endOffset(); in SimplifiedBackwardsTextIterator() local
1115 if (endOffset > 0 && endOffset <= static_cast<int>(endNode->childNodeCount())) { in SimplifiedBackwardsTextIterator()
1116 endNode = endNode->childNode(endOffset - 1); in SimplifiedBackwardsTextIterator()
1117 endOffset = lastOffsetInNode(endNode); in SimplifiedBackwardsTextIterator()
1123 m_offset = endOffset; in SimplifiedBackwardsTextIterator()
1125 m_handledChildren = endOffset == 0; in SimplifiedBackwardsTextIterator()
1130 m_endOffset = endOffset; in SimplifiedBackwardsTextIterator()
[all …]
/external/webkit/Source/WebKit/chromium/src/
DWebRange.cpp63 int WebRange::endOffset() const in endOffset() function in WebKit::WebRange
65 return m_private->endOffset(); in endOffset()
/external/webkit/Source/WebKit/mac/WebView/
DWebHTMLRepresentation.h62 …m:(DOMNode *)startNode startOffset:(int)startOffset to:(DOMNode *)endNode endOffset:(int)endOffset;
/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()
531 int endOffset) in evaluateInstructionBlockAndExceptionHandlers() argument
544 endOffset); in evaluateInstructionBlockAndExceptionHandlers()
986 int endOffset) in evaluateExceptionHandlers() argument
988 …f (DEBUG) System.out.println("Evaluating exceptions covering ["+startOffset+" -> "+endOffset+"]:"); in evaluateExceptionHandlers()
992 endOffset, in evaluateExceptionHandlers()
1006 endOffset, in evaluateExceptionHandlers()
1190 int endOffset,
1198 for (int index = startOffset; index < endOffset; index++)
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DStringExtensions.cs127 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.cs131 public static string substring( string str, int startOffset, int endOffset ) in substring() argument
133 return str.Substring( startOffset, endOffset - startOffset ); in substring()
/external/proguard/src/proguard/optimize/peephole/
DUnreachableExceptionRemover.java114 int endOffset) in mayThrowExceptions() argument
120 while (offset < endOffset) in mayThrowExceptions()
/external/webkit/Tools/DumpRenderTree/win/
DEditingDelegate.cpp104 int endOffset; in dump() local
105 if (FAILED(range->endOffset(&endOffset))) in dump()
117 …m %ld of %s to %ld of %s", startOffset, dumpPath(startContainer.get()), endOffset, dumpPath(endCon… in dump()
/external/webkit/Source/WebCore/rendering/
DInlineTextBox.cpp390 …tomicString& emphasisMark, int emphasisMarkOffset, int startOffset, int endOffset, int truncationP… in paintTextWithShadows() argument
406 if (startOffset <= endOffset) { in paintTextWithShadows()
408 context->drawText(font, textRun, textOrigin + extraOffset, startOffset, endOffset); in paintTextWithShadows()
410 …, emphasisMark, textOrigin + extraOffset + IntSize(0, emphasisMarkOffset), startOffset, endOffset); in paintTextWithShadows()
412 if (endOffset > 0) { in paintTextWithShadows()
414 context->drawText(font, textRun, textOrigin + extraOffset, 0, endOffset); in paintTextWithShadows()
416 …, textRun, emphasisMark, textOrigin + extraOffset + IntSize(0, emphasisMarkOffset), 0, endOffset); in paintTextWithShadows()
751 if (underline.endOffset <= start()) in paint()
760 if (underline.endOffset > end() + 1) in paint()
998 if ((end() + 1) != marker.endOffset) // end points at the last char, not past it in paintSpellingOrGrammarMarker()
[all …]

12345