Home
last modified time | relevance | path

Searched refs:markers (Results 1 – 25 of 149) sorted by relevance

123456

/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRStringStream.m40 @synthesize markers;
70 markers = [ANTLRPtrBuffer newANTLRPtrBufferWithLen:10];
71 [markers retain];
72 … [markers addObject:[NSNull null]]; // ANTLR generates code that assumes markers to be 1-based,
88 markers = [[ANTLRPtrBuffer newANTLRPtrBufferWithLen:10] retain];
89 … [markers addObject:[NSNull null]]; // ANTLR generates code that assumes markers to be 1-based,
105 markers = [ANTLRPtrBuffer newANTLRPtrBufferWithLen:100];
106 [markers retain];
107 … [markers addObject:[NSNull null]]; // ANTLR generates code that assumes markers to be 1-based,
122 markers = [ANTLRPtrBuffer newANTLRPtrBufferWithLen:100];
[all …]
DANTLRUnbufferedCommonTreeNodeStream.m43 @synthesize markers;
66 markers = [[ANTLRPtrBuffer newANTLRPtrBufferWithLen:100] retain];
67 … // [markers insertObject:[NSNull null] atIndex:0]; // markers is one based - maybe fix this later
82 [markers release]; markers = nil;
97 [markers removeAllObjects];
98 … // [markers insertObject:[NSNull null] atIndex:0]; // markers is one based - maybe fix this later
212 [markers addObject:state];
214 return [markers count];
224 if ( [markers count] < marker ) {
227 ANTLRUnbufferedCommonTreeNodeStreamState *state = [markers objectAtIndex:marker];
[all …]
/external/chromium_org/third_party/WebKit/Source/core/dom/
DDocumentMarkerControllerTest.cpp54 DocumentMarkerController& markerController() const { return *m_document->markers(); } in markerController()
98 EXPECT_EQ(2u, markerController().markers().size()); in TEST_F()
102 EXPECT_EQ(1u, markerController().markers().size()); in TEST_F()
110 EXPECT_EQ(1u, markerController().markers().size()); in TEST_F()
113 EXPECT_EQ(0u, markerController().markers().size()); in TEST_F()
122 EXPECT_EQ(1u, markerController().markers().size()); in TEST_F()
126 EXPECT_EQ(0u, markerController().markers().size()); in TEST_F()
135 EXPECT_EQ(1u, markerController().markers().size()); in TEST_F()
139 EXPECT_EQ(0u, markerController().markers().size()); in TEST_F()
148 EXPECT_EQ(1u, markerController().markers().size()); in TEST_F()
[all …]
DDocumentMarkerController.cpp137 Vector<DocumentMarker*> markers = markersFor(node); in addTextMatchMarker() local
138 … toRenderedDocumentMarker(markers[markers.size() - 1])->setRenderedRect(range->boundingBox()); in addTextMatchMarker()
203 OwnPtr<MarkerLists>& markers = m_markers.add(node, nullptr).iterator->value; in addMarker() local
204 if (!markers) { in addMarker()
205 markers = adoptPtr(new MarkerLists); in addMarker()
206 markers->grow(DocumentMarker::MarkerTypeIndexesCount); in addMarker()
210 if (!markers->at(markerListIndex)) { in addMarker()
211 markers->insert(markerListIndex, adoptPtr(new MarkerList)); in addMarker()
214 OwnPtr<MarkerList>& list = markers->at(markerListIndex); in addMarker()
257 MarkerLists* markers = m_markers.get(srcNode); in copyMarkers() local
[all …]
/external/chromium_org/chrome/browser/spellchecker/
Dspellcheck_message_filter.cc99 const std::vector<uint32>& markers) { in OnRespondDocumentMarkers() argument
106 render_process_id_, markers); in OnRespondDocumentMarkers()
114 std::vector<SpellCheckMarker> markers) { in OnCallSpellingService() argument
118 markers.erase( in OnCallSpellingService()
120 markers.begin(), in OnCallSpellingService()
121 markers.end(), in OnCallSpellingService()
123 markers.end()); in OnCallSpellingService()
124 CallSpellingService(text, route_id, identifier, markers); in OnCallSpellingService()
130 const std::vector<SpellCheckMarker>& markers, in OnTextCheckComplete() argument
141 render_process_id_, text, markers, &results_copy); in OnTextCheckComplete()
[all …]
Dspellcheck_message_filter.h37 void OnRespondDocumentMarkers(const std::vector<uint32>& markers);
42 std::vector<SpellCheckMarker> markers);
49 const std::vector<SpellCheckMarker>& markers,
64 const std::vector<SpellCheckMarker>& markers);
Dspellcheck_message_filter_mac.cc43 const std::vector<SpellCheckMarker>& markers);
97 const std::vector<SpellCheckMarker>& markers) { in RequestCheck() argument
104 markers_ = markers; in RequestCheck()
273 std::vector<SpellCheckMarker> markers) { in OnRequestTextCheck() argument
277 markers.erase( in OnRequestTextCheck()
279 markers.begin(), in OnRequestTextCheck()
280 markers.end(), in OnRequestTextCheck()
282 markers.end()); in OnRequestTextCheck()
287 text, route_id, identifier, ToDocumentTag(route_id), markers); in OnRequestTextCheck()
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
DANTLRStringStream.js48 this.markers = null;
156 if ( !this.markers ) {
157 this.markers = []; property
158 this.markers.push(null); // depth 0 means no backtracking, leave blank
162 if ( this.markDepth>=this.markers.length ) {
164 this.markers.push(state);
167 state = this.markers[this.markDepth];
193 var state = this.markers[m];
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
DANTLRStringStream.java61 protected List markers; field in ANTLRStringStream
151 if ( markers==null ) { in mark()
152 markers = new ArrayList(); in mark()
153 markers.add(null); // depth 0 means no backtracking, leave blank in mark()
157 if ( markDepth>=markers.size() ) { in mark()
159 markers.add(state); in mark()
162 state = (CharStreamState)markers.get(markDepth); in mark()
172 CharStreamState state = (CharStreamState)markers.get(m); in rewind()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/
DSlimStringStream.cs76 protected IList<CharStreamState> markers; field in Antlr.Runtime.SlimStringStream
251 if ( markers == null ) in Mark()
253 markers = new List<CharStreamState>(); in Mark()
254 markers.Add( null ); // depth 0 means no backtracking, leave blank in Mark()
258 if ( markDepth >= markers.Count ) in Mark()
261 markers.Add( state ); in Mark()
265 state = markers[markDepth]; in Mark()
278 CharStreamState state = markers[m]; in Rewind()
/external/chromium_org/third_party/simplejson/
Dencoder.py256 markers = {}
258 markers = None
296 markers, self.default, _encoder, self.indent,
304 markers, self.default, _encoder, self.indent, floatstr,
343 def _make_iterencode(markers, _default, _encoder, _indent, _floatstr, argument
370 if markers is not None:
372 if markerid in markers:
374 markers[markerid] = lst
428 if markers is not None:
429 del markers[markerid]
[all …]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
DANTLRStringStream.cs74 protected IList<CharStreamState> markers; field in Antlr.Runtime.ANTLRStringStream
228 if ( markers == null ) in Mark()
230 markers = new List<CharStreamState>(); in Mark()
231 markers.Add( null ); // depth 0 means no backtracking, leave blank in Mark()
235 if ( markDepth >= markers.Count ) in Mark()
238 markers.Add( state ); in Mark()
242 state = markers[markDepth]; in Mark()
259 CharStreamState state = markers[m]; in Rewind()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DANTLRStringStream.cs72 protected IList<CharStreamState> markers; field in Antlr.Runtime.ANTLRStringStream
200 if (markers == null) { in Mark()
201 markers = new List<CharStreamState>(); in Mark()
202 markers.Add(null); // depth 0 means no backtracking, leave blank in Mark()
206 if (markDepth >= markers.Count) { in Mark()
208 markers.Add(state); in Mark()
210 state = markers[markDepth]; in Mark()
226 CharStreamState state = markers[m]; in Rewind()
/external/chromium_org/third_party/WebKit/Source/core/editing/
DSpellCheckRequester.cpp71 …const Vector<DocumentMarker*>& markers = checkingRange->ownerDocument().markers()->markersInRange(… in create() local
72 Vector<uint32_t> hashes(markers.size()); in create()
73 Vector<unsigned> offsets(markers.size()); in create()
74 for (size_t i = 0; i < markers.size(); i++) { in create()
75 hashes[i] = markers[i]->hash(); in create()
76 offsets[i] = markers[i]->startOffset(); in create()
250 DocumentMarker::MarkerTypes markers = DocumentMarker::SpellCheckClientMarkers(); in didCheckSucceed() local
252 markers.remove(DocumentMarker::Spelling); in didCheckSucceed()
254 markers.remove(DocumentMarker::Grammar); in didCheckSucceed()
255 … m_frame.document()->markers()->removeMarkers(m_processingRequest->checkingRange().get(), markers); in didCheckSucceed()
DSpellChecker.cpp147 m_frame.document()->markers()->removeMarkers(selectedRange.get(), DocumentMarker::Spelling); in ignoreSpelling()
293 …m_frame.document()->markers()->addMarker(badGrammarRange.get(), DocumentMarker::Grammar, grammarDe… in advanceToNextMisspelling()
303 m_frame.document()->markers()->addMarker(misspellingRange.get(), DocumentMarker::Spelling); in advanceToNextMisspelling()
352 …m_frame.document()->markers()->removeMarkers(selectedRange.get(), DocumentMarker::MisspellingMarke… in clearMisspellingsAndBadGrammar()
602 …misspellingRange->startContainer()->document().markers()->addMarker(misspellingRange.get(), Docume… in markAndReplaceFor()
610 …badGrammarRange->startContainer()->document().markers()->addMarker(badGrammarRange.get(), Document… in markAndReplaceFor()
616 …invisibleSpellcheckRange->startContainer()->document().markers()->addMarker(invisibleSpellcheckRan… in markAndReplaceFor()
724 …document->markers()->removeMarkers(wordRange.get(), DocumentMarker::MisspellingMarkers(), Document… in updateMarkersForWordsAffectedByEditing()
738 m_frame.document()->markers()->removeMarkers(node, markerTypes); in didEndEditingOnTextField()
774 … m_frame.document()->markers()->removeMarkers(wordRange.get(), DocumentMarker::Spelling); in respondToChangedSelection()
[all …]
/external/chromium-trace/trace-viewer/src/tracing/
Dtimeline_viewport.js48 this.markers = []; property in anonymousFunction39a0bab60100.TimelineViewport
285 this.markers.push(marker);
292 for (var i = 0; i < this.markers.length; ++i) {
293 if (this.markers[i] === marker) {
294 this.markers.splice(i, 1);
306 for (var i = 0; i < this.markers.length; ++i) {
307 if (Math.abs(this.markers[i].positionWorld - positionWorld) <=
309 var marker = this.markers[i];
338 for (var i = 0; i < this.markers.length; ++i) {
339 this.markers[i].drawTriangle_(ctx, viewLWorld, viewRWorld,
[all …]
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
DANTLRStringStream.as54 protected var markers:Array;
128 if ( markers==null ) {
129 markers = new Array();
130 markers.push(null); // depth 0 means no backtracking, leave blank
134 if ( markDepth>=markers.length ) {
136 markers.push(state);
139 state = CharStreamState(markers[markDepth]);
149 var state:CharStreamState = CharStreamState(markers[m]);
162 // unwind any other markers made after m and release m
/external/chromium_org/third_party/WebKit/Source/platform/text/
DTextChecking.h80 …eMask mask, TextCheckingProcessType processType, const Vector<uint32_t>& markers, const Vector<uns… in TextCheckingRequestData() argument
85 , m_markers(markers) in TextCheckingRequestData()
94 const Vector<uint32_t>& markers() const { return m_markers; } in markers() function
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/
DANTLRStringStream.pm150 if ($self->mark_depth >= @{$self->markers}) {
152 push @{$self->markers}, $state;
154 $state = $self->markers->[$self->mark_depth];
174 my $state = $self->markers->[$m];
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DSVGInlineFlowBox.cpp93 Vector<DocumentMarker*> markers = document.markers()->markersFor(textRenderer->node()); in computeTextMatchMarkerRectForRenderer() local
95 Vector<DocumentMarker*>::iterator markerEnd = markers.end(); in computeTextMatchMarkerRectForRenderer()
96 …for (Vector<DocumentMarker*>::iterator markerIt = markers.begin(); markerIt != markerEnd; ++marker… in computeTextMatchMarkerRectForRenderer()
/external/markdown/tests/extensions-x-footnotes/
Dnamed_markers.txt2 that have named[^bar] markers and
3 oddly[^56] numbered[^99] markers.
/external/chromium_org/third_party/WebKit/Source/web/
DSpellCheckerClientImpl.cpp98 frame->document()->markers()->removeMarkers(DocumentMarker::MisspellingMarkers()); in toggleContinuousSpellChecking()
152 const Vector<uint32_t>& markers = request->data().markers(); in requestCheckingOfString() local
154 …m_webView->spellCheckClient()->requestCheckingOfText(text, markers, markerOffsets, new WebTextChec… in requestCheckingOfString()
/external/chromium_org/chrome/renderer/spellchecker/
Dspellcheck.cc51 const std::vector<uint32>& markers() const { return markers_; } in markers() function in __anon77175e9e0111::DocumentMarkersCollector
62 WebVector<uint32> markers; in Visit() local
63 render_view->GetWebView()->spellingMarkers(&markers); in Visit()
64 for (size_t i = 0; i < markers.size(); ++i) in Visit()
65 markers_.push_back(markers[i]); in Visit()
165 new SpellCheckHostMsg_RespondDocumentMarkers(collector.markers())); in OnRequestDocumentMarkers()
Dspellcheck_provider.cc56 const std::vector<SpellCheckMarker>& markers) { in RequestTextChecking() argument
81 markers)); in RequestTextChecking()
87 markers)); in RequestTextChecking()
167 const WebVector<uint32>& markers, in requestCheckingOfText() argument
171 for (size_t i = 0; i < markers.size(); ++i) { in requestCheckingOfText()
173 SpellCheckMarker(markers[i], marker_offsets[i])); in requestCheckingOfText()
/external/markdown/tests/misc/
Dbr.txt14 `+`, and `-`) as list markers. These three markers are

123456