Home
last modified time | relevance | path

Searched refs:Current (Results 1 – 25 of 608) sorted by relevance

12345678910>>...25

/external/clang/lib/Format/
DContinuationIndenter.cpp48 static bool startsNextParameter(const FormatToken &Current, in startsNextParameter() argument
50 const FormatToken &Previous = *Current.Previous; in startsNextParameter()
51 if (Current.is(TT_CtorInitializerComma) && in startsNextParameter()
54 return Previous.is(tok::comma) && !Current.isTrailingComment() && in startsNextParameter()
93 const FormatToken &Current = *State.NextToken; in canBreak() local
94 const FormatToken &Previous = *Current.Previous; in canBreak()
95 assert(&Previous == Current.Previous); in canBreak()
96 if (!Current.CanBreakBefore && in canBreak()
98 Current.closesBlockOrBlockTypeList(Style))) in canBreak()
102 if (!Current.MustBreakBefore && Previous.is(tok::l_brace) && in canBreak()
[all …]
DTokenAnnotator.cpp392 void updateParameterCount(FormatToken *Left, FormatToken *Current) { in updateParameterCount() argument
393 if (Current->is(tok::l_brace) && !Current->is(TT_DictLiteral)) in updateParameterCount()
395 if (Current->is(tok::comma)) { in updateParameterCount()
399 Left->Role->CommaFound(Current); in updateParameterCount()
400 } else if (Left->ParameterCount == 0 && Current->isNot(tok::comment)) { in updateParameterCount()
832 void modifyContext(const FormatToken &Current) { in modifyContext() argument
833 if (Current.getPrecedence() == prec::Assignment && in modifyContext()
835 (!Current.Previous || Current.Previous->isNot(tok::kw_operator))) { in modifyContext()
838 for (FormatToken *Previous = Current.Previous; in modifyContext()
855 } else if (Current.is(tok::lessless) && in modifyContext()
[all …]
DTokenAnnotator.h53 FormatToken *Current = First; in AnnotatedLine() local
58 Current->Next = I->Tok; in AnnotatedLine()
59 I->Tok->Previous = Current; in AnnotatedLine()
60 Current = Current->Next; in AnnotatedLine()
61 Current->Children.clear(); in AnnotatedLine()
64 Current->Children.push_back(Children.back()); in AnnotatedLine()
67 Last = Current; in AnnotatedLine()
75 FormatToken *Current = First; in ~AnnotatedLine() local
76 while (Current) { in ~AnnotatedLine()
77 Current->Children.clear(); in ~AnnotatedLine()
[all …]
/external/llvm/lib/Support/
DYAMLParser.cpp283 if (Current >= End) in setError()
284 Current = End - 1; in setError()
289 printError(SMLoc::getFromPointer(Current), SourceMgr::DK_Error, Message); in setError()
294 setError(Message, Current); in setError()
306 return StringRef(Current, End - Current); in currentInput()
528 StringRef::iterator Current; member in llvm::yaml::Scanner
773 Current = InputBuffer.getBufferStart(); in init()
904 auto Final = skip_while(Func, Current); in advanceWhile()
905 Column += Final - Current; in advanceWhile()
906 Current = Final; in advanceWhile()
[all …]
/external/clang/include/clang/AST/
DAttrIterator.h58 mutable Iterator Current; variable
61 while (!isa<SpecificAttr>(*Current)) in AdvanceToNext()
62 ++Current; in AdvanceToNext()
66 while (Current != I && !isa<SpecificAttr>(*Current)) in AdvanceToNext()
67 ++Current; in AdvanceToNext()
77 specific_attr_iterator() : Current() { } in specific_attr_iterator()
78 explicit specific_attr_iterator(Iterator i) : Current(i) { } in specific_attr_iterator()
82 return cast<SpecificAttr>(*Current);
86 return cast<SpecificAttr>(*Current);
90 ++Current;
[all …]
DRedeclarable.h174 decl_type *Current; variable
185 redecl_iterator() : Current(nullptr) { } in redecl_iterator()
187 : Current(C), Starter(C), PassedFirst(false) { } in redecl_iterator()
189 reference operator*() const { return Current; }
190 pointer operator->() const { return Current; }
193 assert(Current && "Advancing while iterator has reached end");
195 if (Current->isFirstDecl()) {
198 Current = nullptr;
205 decl_type *Next = Current->getNextRedeclaration();
206 Current = (Next != Starter) ? Next : nullptr;
[all …]
DDeclBase.h775 Decl *Current; variable
785 redecl_iterator() : Current(nullptr) { } in redecl_iterator()
786 explicit redecl_iterator(Decl *C) : Current(C), Starter(C) { } in redecl_iterator()
788 reference operator*() const { return Current; }
789 value_type operator->() const { return Current; }
792 assert(Current && "Advancing while iterator has reached end");
794 Decl *Next = Current->getNextRedeclarationImpl();
796 Current = (Next != Starter) ? Next : nullptr;
807 return x.Current == y.Current;
810 return x.Current != y.Current;
[all …]
/external/mesa3d/src/mesa/main/
Ddrawpix.c63 IROUND(ctx->Current.RasterPos[0]), in _mesa_DrawPixels()
64 IROUND(ctx->Current.RasterPos[1])); in _mesa_DrawPixels()
139 if (!ctx->Current.RasterPosValid) { in _mesa_DrawPixels()
146 GLint x = IROUND(ctx->Current.RasterPos[0]); in _mesa_DrawPixels()
147 GLint y = IROUND(ctx->Current.RasterPos[1]); in _mesa_DrawPixels()
174 ctx->Current.RasterPos, in _mesa_DrawPixels()
175 ctx->Current.RasterColor, in _mesa_DrawPixels()
176 ctx->Current.RasterTexCoords[0] ); in _mesa_DrawPixels()
206 IROUND(ctx->Current.RasterPos[0]), in _mesa_CopyPixels()
207 IROUND(ctx->Current.RasterPos[1])); in _mesa_CopyPixels()
[all …]
Drastpos.c238 ctx->Current.RasterPos[0] = x; in window_pos3f()
239 ctx->Current.RasterPos[1] = y; in window_pos3f()
240 ctx->Current.RasterPos[2] = z2; in window_pos3f()
241 ctx->Current.RasterPos[3] = 1.0F; in window_pos3f()
243 ctx->Current.RasterPosValid = GL_TRUE; in window_pos3f()
246 ctx->Current.RasterDistance = ctx->Current.Attrib[VERT_ATTRIB_FOG][0]; in window_pos3f()
248 ctx->Current.RasterDistance = 0.0; in window_pos3f()
251 ctx->Current.RasterColor[0] in window_pos3f()
252 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR0][0], 0.0F, 1.0F); in window_pos3f()
253 ctx->Current.RasterColor[1] in window_pos3f()
[all …]
Datifragshader.c239 struct ati_fragment_shader *curProg = ctx->ATIFragmentShader.Current; in _mesa_BindFragmentShaderATI()
281 ctx->ATIFragmentShader.Current = newProg; in _mesa_BindFragmentShaderATI()
283 ASSERT(ctx->ATIFragmentShader.Current); in _mesa_BindFragmentShaderATI()
308 if (ctx->ATIFragmentShader.Current && in _mesa_DeleteFragmentShaderATI()
309 ctx->ATIFragmentShader.Current->Id == id) { in _mesa_DeleteFragmentShaderATI()
345 if (ctx->ATIFragmentShader.Current->Instructions[i]) in _mesa_BeginFragmentShaderATI()
346 free(ctx->ATIFragmentShader.Current->Instructions[i]); in _mesa_BeginFragmentShaderATI()
347 if (ctx->ATIFragmentShader.Current->SetupInst[i]) in _mesa_BeginFragmentShaderATI()
348 free(ctx->ATIFragmentShader.Current->SetupInst[i]); in _mesa_BeginFragmentShaderATI()
354 ctx->ATIFragmentShader.Current->Instructions[i] = in _mesa_BeginFragmentShaderATI()
[all …]
Darbprogram.c83 curProg = &ctx->VertexProgram.Current->Base; in _mesa_BindProgram()
89 curProg = &ctx->FragmentProgram.Current->Base; in _mesa_BindProgram()
140 _mesa_reference_vertprog(ctx, &ctx->VertexProgram.Current, in _mesa_BindProgram()
145 _mesa_reference_fragprog(ctx, &ctx->FragmentProgram.Current, in _mesa_BindProgram()
150 ASSERT(ctx->VertexProgram.Current); in _mesa_BindProgram()
151 ASSERT(ctx->FragmentProgram.Current); in _mesa_BindProgram()
186 if (ctx->VertexProgram.Current && in _mesa_DeletePrograms()
187 ctx->VertexProgram.Current->Base.Id == ids[i]) { in _mesa_DeletePrograms()
194 if (ctx->FragmentProgram.Current && in _mesa_DeletePrograms()
195 ctx->FragmentProgram.Current->Base.Id == ids[i]) { in _mesa_DeletePrograms()
[all …]
/external/webrtc/webrtc/base/
Dsignalthread_unittest.cc25 EXPECT_EQ(harness_->main_thread_, Thread::Current()); in ~SlowSignalThread()
35 EXPECT_EQ(harness_->main_thread_, Thread::Current()); in OnWorkStart()
41 EXPECT_EQ(harness_->main_thread_, Thread::Current()); in OnWorkStop()
47 EXPECT_EQ(harness_->main_thread_, Thread::Current()); in OnWorkDone()
52 EXPECT_NE(harness_->main_thread_, Thread::Current()); in DoWork()
53 EXPECT_EQ(worker(), Thread::Current()); in DoWork()
54 Thread::Current()->socketserver()->Wait(250, false); in DoWork()
65 EXPECT_EQ(main_thread_, Thread::Current()); in OnWorkComplete()
74 main_thread_ = Thread::Current(); in SetUp()
115 Thread::Current()->socketserver()->Wait(100, false); in Run()
[all …]
Dthread_unittest.cc184 Thread::Current()->ProcessMessages(50); in operator ()()
215 Thread* th_main = Thread::Current(); in TEST()
255 Thread* current_thread = Thread::Current(); in TEST()
290 Thread* current_thread = Thread::Current(); in TEST()
315 Thread* thread_a = Thread::Current(); in TEST()
383 EXPECT_EQ(expected_thread_, Thread::Current()); in IntCallback()
426 SetExpectedThreadForIntCallback(Thread::Current()); in TEST_F()
445 Thread::Current()->ProcessMessages(kWaitTimeout); in TEST_F()
457 &invoker, Thread::Current())); in TEST_F()
462 Thread::Current()->ProcessMessages(kWaitTimeout); in TEST_F()
[all …]
Dautodetectproxy.cc64 Thread::Current()->ProcessMessages(Thread::kForever); in DoWork()
141 Thread::Current()->Post(this, MSG_TIMEOUT); in OnResolveResult()
148 Thread::Current()->Post(this, MSG_UNRESOLVABLE); in OnResolveResult()
162 Thread::Current()->Clear(this, MSG_TIMEOUT); in Next()
163 Thread::Current()->Clear(this, MSG_UNRESOLVABLE); in Next()
165 Thread::Current()->Dispose(socket_); in Next()
179 Thread::Current()->Post(this, MSG_TIMEOUT); in Next()
183 Thread::Current()->PostDelayed(timeout, this, MSG_TIMEOUT); in Next()
192 Thread::Current()->socketserver()->CreateAsyncSocket( in DoConnect()
206 Thread::Current()->Clear(this, MSG_TIMEOUT); in Complete()
[all …]
/external/mesa3d/src/mesa/tnl/
Dt_rasterpos.c379 GLfloat *objnorm = ctx->Current.Attrib[VERT_ATTRIB_NORMAL]; in _tnl_RasterPos()
389 ctx->Current.RasterPosValid = GL_FALSE; in _tnl_RasterPos()
395 ctx->Current.RasterPosValid = GL_FALSE; in _tnl_RasterPos()
402 ctx->Current.RasterPosValid = GL_FALSE; in _tnl_RasterPos()
412 ctx->Current.RasterPos[0] = (ndc[0] * ctx->Viewport._WindowMap.m[MAT_SX] in _tnl_RasterPos()
414 ctx->Current.RasterPos[1] = (ndc[1] * ctx->Viewport._WindowMap.m[MAT_SY] in _tnl_RasterPos()
416 ctx->Current.RasterPos[2] = (ndc[2] * ctx->Viewport._WindowMap.m[MAT_SZ] in _tnl_RasterPos()
419 ctx->Current.RasterPos[3] = clip[3]; in _tnl_RasterPos()
422 ctx->Current.RasterPos[3] = CLAMP(ctx->Current.RasterPos[3], in _tnl_RasterPos()
429 ctx->Current.RasterDistance = ctx->Current.Attrib[VERT_ATTRIB_FOG][0]; in _tnl_RasterPos()
[all …]
/external/clang/unittests/Tooling/
DCommentHandlerTest.cpp91 CommentList::const_iterator Current; member in clang::CommentVerifier
97 : Current(Comments.begin()), End(Comments.end()), PP(PP) in CommentVerifier()
100 CommentVerifier(CommentVerifier &&C) : Current(C.Current), End(C.End), PP(C.PP) { in CommentVerifier()
101 C.Current = C.End; in CommentVerifier()
105 if (Current != End) { in ~CommentVerifier()
106 EXPECT_TRUE(Current == End) << "Unexpected comment \"" in ~CommentVerifier()
107 << Current->Message << "\" at line " << Current->Line << ", column " in ~CommentVerifier()
108 << Current->Col; in ~CommentVerifier()
113 EXPECT_TRUE(Current != End) << "Comment " << Message << " not found"; in Match()
114 if (Current == End) return; in Match()
[all …]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DTreeIterator.cs78 public object Current property in Antlr.Runtime.Tree.TreeIterator
107 Current = tree; in MoveNext()
114 Current = nodes.Dequeue(); in MoveNext()
121 Current = eof; in MoveNext()
130 Current = down; in MoveNext()
150 Current = nodes.Dequeue(); in MoveNext()
159 Current = nodes.Dequeue(); in MoveNext()
166 bool result = Current != eof || !reachedEof; in MoveNext()
167 reachedEof = Current == eof; in MoveNext()
/external/mesa3d/src/glsl/glcpp/
Dglcpp.h73 # define YYLLOC_DEFAULT(Current, Rhs, N) \ argument
77 (Current).first_line = YYRHSLOC(Rhs, 1).first_line; \
78 (Current).first_column = YYRHSLOC(Rhs, 1).first_column; \
79 (Current).last_line = YYRHSLOC(Rhs, N).last_line; \
80 (Current).last_column = YYRHSLOC(Rhs, N).last_column; \
84 (Current).first_line = (Current).last_line = \
86 (Current).first_column = (Current).last_column = \
89 (Current).source = 0; \
/external/mesa3d/src/glsl/
Dglsl_parser_extras.h228 # define YYLLOC_DEFAULT(Current, Rhs, N) \ argument
232 (Current).first_line = YYRHSLOC(Rhs, 1).first_line; \
233 (Current).first_column = YYRHSLOC(Rhs, 1).first_column; \
234 (Current).last_line = YYRHSLOC(Rhs, N).last_line; \
235 (Current).last_column = YYRHSLOC(Rhs, N).last_column; \
239 (Current).first_line = (Current).last_line = \
241 (Current).first_column = (Current).last_column = \
244 (Current).source = 0; \
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_rasterpos.c124 src = ctx->Current.Attrib[defaultAttrib]; in update_attrib()
144 ctx->Current.RasterPosValid = GL_TRUE; in rastpos_point()
148 ctx->Current.RasterPos[0] = pos[0]; in rastpos_point()
150 ctx->Current.RasterPos[1] = height - pos[1]; /* invert Y */ in rastpos_point()
152 ctx->Current.RasterPos[1] = pos[1]; in rastpos_point()
153 ctx->Current.RasterPos[2] = pos[2]; in rastpos_point()
154 ctx->Current.RasterPos[3] = pos[3]; in rastpos_point()
158 ctx->Current.RasterColor, in rastpos_point()
162 ctx->Current.RasterSecondaryColor, in rastpos_point()
167 ctx->Current.RasterTexCoords[i], in rastpos_point()
[all …]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DTreeIterator.cs73 public object Current { property in Antlr.Runtime.Tree.TreeIterator
97 Current = tree; in MoveNext()
101 Current = nodes.Dequeue(); in MoveNext()
105 Current = eof; in MoveNext()
111 Current = down; in MoveNext()
127 Current = nodes.Dequeue(); in MoveNext()
134 Current = nodes.Dequeue(); in MoveNext()
141 return Current != eof; in MoveNext()
/external/llvm/lib/IR/
DUse.cpp95 const Use *Current = this; in getImpliedUser() local
98 unsigned Tag = (Current++)->Prev.getInt(); in getImpliedUser()
105 ++Current; in getImpliedUser()
108 unsigned Tag = Current->Prev.getInt(); in getImpliedUser()
112 ++Current; in getImpliedUser()
116 return Current + Offset; in getImpliedUser()
122 return Current; in getImpliedUser()
/external/llvm/lib/Analysis/
DStratifiedSets.h519 auto *Current = Start; in linksAt() local
520 while (Current->isRemapped()) in linksAt()
521 Current = &Links[Current->getRemapIndex()]; in linksAt()
523 auto NewRemap = Current->Number; in linksAt()
527 Current = Start; in linksAt()
528 while (Current->isRemapped()) { in linksAt()
529 auto *Next = &Links[Current->getRemapIndex()]; in linksAt()
530 Current->updateRemap(NewRemap); in linksAt()
531 Current = Next; in linksAt()
534 return *Current; in linksAt()
[all …]
/external/llvm/lib/CodeGen/
DInterferenceCache.h173 const BlockInterference *Current; variable
177 Current = nullptr; in setEntry()
189 Cursor() : CacheEntry(nullptr), Current(nullptr) {} in Cursor()
192 Cursor(const Cursor &O) : CacheEntry(nullptr), Current(nullptr) { in Cursor()
212 Current = CacheEntry ? CacheEntry->get(MBBNum) : &NoInterference; in moveToBlock()
217 return Current->First.isValid(); in hasInterference()
223 return Current->First; in first()
229 return Current->Last; in last()
/external/mesa3d/src/mesa/program/
Dprogram.c95 _mesa_reference_vertprog(ctx, &ctx->VertexProgram.Current, in _mesa_init_program()
97 assert(ctx->VertexProgram.Current); in _mesa_init_program()
107 _mesa_reference_fragprog(ctx, &ctx->FragmentProgram.Current, in _mesa_init_program()
109 assert(ctx->FragmentProgram.Current); in _mesa_init_program()
116 _mesa_reference_geomprog(ctx, &ctx->GeometryProgram.Current, in _mesa_init_program()
124 ctx->ATIFragmentShader.Current = ctx->Shared->DefaultFragmentShader; in _mesa_init_program()
125 assert(ctx->ATIFragmentShader.Current); in _mesa_init_program()
126 ctx->ATIFragmentShader.Current->RefCount++; in _mesa_init_program()
138 _mesa_reference_vertprog(ctx, &ctx->VertexProgram.Current, NULL); in _mesa_free_program_data()
142 _mesa_reference_fragprog(ctx, &ctx->FragmentProgram.Current, NULL); in _mesa_free_program_data()
[all …]

12345678910>>...25