Home
last modified time | relevance | path

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

12345

/external/chromium_org/third_party/WebKit/Source/core/dom/
DDocumentMarkerController.cpp89 …addMarker(textPiece->startContainer(), DocumentMarker(type, textPiece->startOffset(), textPiece->e… in addMarker()
98 …addMarker(textPiece->startContainer(), DocumentMarker(type, textPiece->startOffset(), textPiece->e… in addMarker()
107 …addMarker(textPiece->startContainer(), DocumentMarker(type, textPiece->startOffset(), textPiece->e… in addMarker()
112 void DocumentMarkerController::addMarkerToNode(Node* node, unsigned startOffset, unsigned length, D… in addMarkerToNode() argument
114 addMarker(node, DocumentMarker(type, startOffset, startOffset + length)); in addMarkerToNode()
117 void DocumentMarkerController::addMarkerToNode(Node* node, unsigned startOffset, unsigned length, D… in addMarkerToNode() argument
119 addMarker(node, DocumentMarker(type, startOffset, startOffset + length, details)); in addMarkerToNode()
128 unsigned startOffset = textPiece->startOffset(); in addTextMatchMarker() local
130 addMarker(textPiece->startContainer(), DocumentMarker(startOffset, endOffset, activeMatch)); in addTextMatchMarker()
131 if (endOffset > startOffset) { in addTextMatchMarker()
[all …]
DDocumentMarker.cpp108 DocumentMarker::DocumentMarker(MarkerType type, unsigned startOffset, unsigned endOffset) in DocumentMarker() argument
110 , m_startOffset(startOffset) in DocumentMarker()
116 DocumentMarker::DocumentMarker(MarkerType type, unsigned startOffset, unsigned endOffset, const Str… in DocumentMarker() argument
118 , m_startOffset(startOffset) in DocumentMarker()
125 DocumentMarker::DocumentMarker(MarkerType type, unsigned startOffset, unsigned endOffset, const Str… in DocumentMarker() argument
127 , m_startOffset(startOffset) in DocumentMarker()
134 DocumentMarker::DocumentMarker(unsigned startOffset, unsigned endOffset, bool activeMatch) in DocumentMarker() argument
136 , m_startOffset(startOffset) in DocumentMarker()
143 DocumentMarker::DocumentMarker(MarkerType type, unsigned startOffset, unsigned endOffset, PassRefPt… in DocumentMarker() argument
145 , m_startOffset(startOffset) in DocumentMarker()
DDocumentMarker.h97 DocumentMarker(MarkerType, unsigned startOffset, unsigned endOffset);
98 DocumentMarker(MarkerType, unsigned startOffset, unsigned endOffset, const String& description);
99 …DocumentMarker(MarkerType, unsigned startOffset, unsigned endOffset, const String& description, ui…
100 DocumentMarker(unsigned startOffset, unsigned endOffset, bool activeMatch);
101 …DocumentMarker(MarkerType, unsigned startOffset, unsigned endOffset, PassRefPtr<DocumentMarkerDeta…
104 unsigned startOffset() const { return m_startOffset; } in startOffset() function
123 … return type() == o.type() && startOffset() == o.startOffset() && endOffset() == o.endOffset();
DDocumentMarkerController.h55 void addMarkerToNode(Node*, unsigned startOffset, unsigned length, DocumentMarker::MarkerType);
56 …void addMarkerToNode(Node*, unsigned startOffset, unsigned length, DocumentMarker::MarkerType, Pas…
59 void copyMarkers(Node* srcNode, unsigned startOffset, int length, Node* dstNode, int delta);
68 …void removeMarkers(Node*, unsigned startOffset, int length, DocumentMarker::MarkerTypes = Document…
74 void shiftMarkers(Node*, unsigned startOffset, int delta);
76 void setMarkersActive(Node*, unsigned startOffset, unsigned endOffset, bool);
DRange.h53 …static PassRefPtr<Range> create(Document&, Node* startContainer, int startOffset, Node* endContain…
59 int startOffset() const { return m_start.offset(); } in startOffset() function
64 int startOffset(ExceptionState&) const;
154 Range(Document&, Node* startContainer, int startOffset, Node* endContainer, int endOffset);
166 …tweenOffsets(ActionType, PassRefPtr<DocumentFragment>, Node*, unsigned startOffset, unsigned endOf…
/external/lzma/C/
DXzIn.c141 static SRes Xz_ReadBackward(CXzStream *p, ILookInStream *stream, Int64 *startOffset, ISzAlloc *allo… in Xz_ReadBackward() argument
146 if ((*startOffset & 3) != 0 || *startOffset < XZ_STREAM_FOOTER_SIZE) in Xz_ReadBackward()
148 *startOffset = -XZ_STREAM_FOOTER_SIZE; in Xz_ReadBackward()
149 RINOK(SeekFromCur(stream, startOffset)); in Xz_ReadBackward()
156 *startOffset += XZ_STREAM_FOOTER_SIZE; in Xz_ReadBackward()
163 if (*startOffset < XZ_STREAM_FOOTER_SIZE || i > (1 << 16)) in Xz_ReadBackward()
165 processedSize = (*startOffset > TEMP_BUF_SIZE) ? TEMP_BUF_SIZE : (size_t)*startOffset; in Xz_ReadBackward()
167 *startOffset = -(Int64)processedSize; in Xz_ReadBackward()
168 RINOK(SeekFromCur(stream, startOffset)); in Xz_ReadBackward()
177 *startOffset += j; in Xz_ReadBackward()
[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/chromium_org/third_party/icu/source/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/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/chromium_org/third_party/WebKit/Source/core/animation/
DTimedItem.cpp88 …const double startOffset = multiplyZeroAlwaysGivesZero(m_specified.iterationStart, iterationDurati… in updateInheritedTime() local
89 ASSERT(startOffset >= 0); in updateInheritedTime()
90 …scaledActiveTime = calculateScaledActiveTime(activeDuration, activeTime, startOffset, m_specified); in updateInheritedTime()
91 …lateIterationTime(iterationDuration, repeatedDuration, scaledActiveTime, startOffset, m_specified); in updateInheritedTime()
110 const double startOffset = m_specified.iterationStart * localIterationDuration; in updateInheritedTime() local
111 ASSERT(startOffset >= 0); in updateInheritedTime()
112 …veTime = calculateScaledActiveTime(localActiveDuration, localActiveTime, startOffset, m_specified); in updateInheritedTime()
113 …ionTime(localIterationDuration, localRepeatedDuration, scaledActiveTime, startOffset, m_specified); in updateInheritedTime()
DTimedItemCalculations.h102 …ulateScaledActiveTime(double activeDuration, double activeTime, double startOffset, const Timing& … in calculateScaledActiveTime() argument
105 ASSERT(startOffset >= 0); in calculateScaledActiveTime()
111 …playbackRate < 0 ? activeTime - activeDuration : activeTime, specified.playbackRate) + startOffset; in calculateScaledActiveTime()
120 …tionDuration, double repeatedDuration, double scaledActiveTime, double startOffset, const Timing& … in calculateIterationTime() argument
129 ASSERT(scaledActiveTime <= repeatedDuration + startOffset); in calculateIterationTime()
132 …|| (scaledActiveTime - startOffset == repeatedDuration && specified.iterationCount && endsOnIterat… in calculateIterationTime()
/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/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/chromium_org/third_party/WebKit/Source/core/editing/
DCompositionUnderline.h35 : startOffset(0), endOffset(0), thick(false) { } in CompositionUnderline()
37 : startOffset(s), endOffset(e), color(c), thick(t) { } in CompositionUnderline()
38 unsigned startOffset; member
DPlainTextRange.cpp110 … textRunRange->setEnd(range->startContainer(), range->startOffset(), ASSERT_NO_EXCEPTION); in createRangeFor()
124 …Range->setStart(textRunRange->startContainer(), offset + textRunRange->startOffset(), IGNORE_EXCEP… in createRangeFor()
127 …resultRange->setStart(textRunRange->startContainer(), textRunRange->startOffset(), IGNORE_EXCEPTIO… in createRangeFor()
136 …ltRange->setEnd(textRunRange->startContainer(), offset + textRunRange->startOffset(), IGNORE_EXCEP… in createRangeFor()
139 …resultRange->setEnd(textRunRange->startContainer(), textRunRange->startOffset(), IGNORE_EXCEPTION); in createRangeFor()
174 …reate(scope.document(), const_cast<Node*>(&scope), 0, range.startContainer(), range.startOffset()); in create()
DDeleteSelectionCommand.cpp450 int startOffset = m_upstreamStart.deprecatedEditingOffset(); in handleGeneralDelete() local
457 …if (startNode->isSameNode(m_startBlock.get()) && !startOffset && canHaveChildrenForEditing(startNo… in handleGeneralDelete()
458 startOffset = 0; in handleGeneralDelete()
464 if (startOffset >= caretMaxOffset(startNode) && startNode->isTextNode()) { in handleGeneralDelete()
470 if (startOffset >= lastOffsetForEditing(startNode)) { in handleGeneralDelete()
472 startOffset = 0; in handleGeneralDelete()
480 if (m_downstreamEnd.deprecatedEditingOffset() - startOffset > 0) { in handleGeneralDelete()
484 … deleteTextFromNode(text, startOffset, m_downstreamEnd.deprecatedEditingOffset() - startOffset); in handleGeneralDelete()
486 … removeChildrenInRange(startNode, startOffset, m_downstreamEnd.deprecatedEditingOffset()); in handleGeneralDelete()
492 … if (!startNode->renderer() || (!startOffset && m_downstreamEnd.atLastEditingPositionForNode())) in handleGeneralDelete()
[all …]
DApplyBlockElementCommand.cpp196 int startOffset = start.offsetInContainerNode(); in rangeForParagraphSplittingTextNodesIfNeeded() local
198 splitTextNode(startText, startOffset); in rangeForParagraphSplittingTextNodesIfNeeded()
201 ASSERT(end.offsetInContainerNode() >= startOffset); in rangeForParagraphSplittingTextNodesIfNeeded()
202 end = Position(startText, end.offsetInContainerNode() - startOffset); in rangeForParagraphSplittingTextNodesIfNeeded()
205 ASSERT(m_endOfLastParagraph.offsetInContainerNode() >= startOffset); in rangeForParagraphSplittingTextNodesIfNeeded()
206 …dOfLastParagraph = Position(startText, m_endOfLastParagraph.offsetInContainerNode() - startOffset); in rangeForParagraphSplittingTextNodesIfNeeded()
/external/chromium_org/tools/perf/page_sets/mse_cases/
Dstartup_test.js30 testParams.startOffset = 0;
154 function BufferAppender(mimetype, url, id, startOffset, appendSize) { argument
158 this.startOffset = startOffset;
167 this.xhr.setRequestHeader('Range', 'bytes=' + this.startOffset + '-' +
168 (this.startOffset + this.appendSize - 1));
227 function StreamAppender(mimetype, url, id, startOffset, appendSize) { argument
231 this.startOffset = startOffset;
243 this.xhr.setRequestHeader('Range', 'bytes=' + this.startOffset + '-' +
244 (this.startOffset + this.appendSize - 1));
444 …pender("audio/mp4; codecs=\"mp4a.40.2\"", "audio.mp4", "a", testParams.startOffset, testParams.app…
[all …]
/external/chromium_org/third_party/WebKit/public/web/
DWebCompositionUnderline.h42 : startOffset(0) in WebCompositionUnderline()
48 : startOffset(s) in WebCompositionUnderline()
53 unsigned startOffset; member
/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()
DExceptionInfo.java82 public boolean isApplicable(int startOffset, int endOffset) in isApplicable() argument
85 u2endPC > startOffset; in isApplicable()
/external/chromium_org/content/browser/accessibility/
Dbrowser_accessibility_delegate_mac.h19 startOffset:(int32)startOffset

12345