Home
last modified time | relevance | path

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

12345678910>>...19

/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.closesBlockTypeList(Style))) in canBreak()
102 if (!Current.MustBreakBefore && Previous.is(tok::l_brace) && in canBreak()
[all …]
DTokenAnnotator.cpp364 void updateParameterCount(FormatToken *Left, FormatToken *Current) { in updateParameterCount() argument
365 if (Current->is(TT_LambdaLSquare) || in updateParameterCount()
366 (Current->is(tok::caret) && Current->is(TT_UnaryOperator)) || in updateParameterCount()
368 Current->is(Keywords.kw_function))) { in updateParameterCount()
371 if (Current->is(tok::comma)) { in updateParameterCount()
375 Left->Role->CommaFound(Current); in updateParameterCount()
376 } else if (Left->ParameterCount == 0 && Current->isNot(tok::comment)) { in updateParameterCount()
768 void modifyContext(const FormatToken &Current) { in modifyContext() argument
769 if (Current.getPrecedence() == prec::Assignment && in modifyContext()
771 (!Current.Previous || Current.Previous->isNot(tok::kw_operator))) { 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.cpp278 if (Current >= End) in setError()
279 Current = End - 1; in setError()
284 printError(SMLoc::getFromPointer(Current), SourceMgr::DK_Error, Message); in setError()
289 setError(Message, Current); in setError()
301 return StringRef(Current, End - Current); in currentInput()
478 StringRef::iterator Current; member in llvm::yaml::Scanner
715 Current = InputBuffer.getBufferStart(); in init()
851 StringRef::iterator Start = Current; in scan_ns_uri_char()
853 if (Current == End) in scan_ns_uri_char()
855 if (( *Current == '%' in scan_ns_uri_char()
[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.h738 Decl *Current; variable
748 redecl_iterator() : Current(nullptr) { } in redecl_iterator()
749 explicit redecl_iterator(Decl *C) : Current(C), Starter(C) { } in redecl_iterator()
751 reference operator*() const { return Current; }
752 value_type operator->() const { return Current; }
755 assert(Current && "Advancing while iterator has reached end");
757 Decl *Next = Current->getNextRedeclarationImpl();
759 Current = (Next != Starter) ? Next : nullptr;
770 return x.Current == y.Current;
773 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/llvm/include/llvm/ADT/
Dedit_distance.h66 unsigned *Current = Previous + (n + 1); variable
72 Current[0] = y;
73 unsigned BestThisRow = Current[0];
77 Current[x] = std::min(
79 std::min(Current[x-1], Previous[x])+1);
82 if (FromArray[y-1] == ToArray[x-1]) Current[x] = Previous[x-1];
83 else Current[x] = std::min(Current[x-1], Previous[x]) + 1;
85 BestThisRow = std::min(BestThisRow, Current[x]);
91 unsigned *tmp = Current;
92 Current = Previous;
/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/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/clang/unittests/Tooling/
DCommentHandlerTest.cpp91 CommentList::const_iterator Current; member in clang::CommentVerifier
97 : Current(Comments.begin()), End(Comments.end()), PP(PP) in CommentVerifier()
101 if (Current != End) { in ~CommentVerifier()
102 EXPECT_TRUE(Current == End) << "Unexpected comment \"" in ~CommentVerifier()
103 << Current->Message << "\" at line " << Current->Line << ", column " in ~CommentVerifier()
104 << Current->Col; in ~CommentVerifier()
109 EXPECT_TRUE(Current != End) << "Comment " << Message << " not found"; in Match()
110 if (Current == End) return; in Match()
112 const Comment &C = *Current; in Match()
119 ++Current; in Match()
/external/llvm/include/llvm/Object/
DELF.h69 ELFEntityIterator() : EntitySize(0), Current(nullptr) {} in ELFEntityIterator()
71 : EntitySize(EntSize), Current(Start) {} in ELFEntityIterator()
74 assert(Current && "Attempted to dereference an invalid iterator!");
75 return *reinterpret_cast<pointer>(Current);
79 assert(Current && "Attempted to dereference an invalid iterator!");
80 return reinterpret_cast<pointer>(Current);
84 return Current == Other.Current;
92 assert(Current && "Attempted to increment an invalid iterator!");
93 Current += EntitySize;
98 assert(Current && "Attempted to increment an invalid iterator!");
[all …]
/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/clang/lib/Basic/
DModule.cpp84 for (const Module *Current = this; Current; Current = Current->Parent) { in isAvailable() local
85 if (!Current->MissingHeaders.empty()) { in isAvailable()
86 MissingHeader = Current->MissingHeaders.front(); in isAvailable()
89 for (unsigned I = 0, N = Current->Requirements.size(); I != N; ++I) { in isAvailable()
90 if (hasFeature(Current->Requirements[I].first, LangOpts, Target) != in isAvailable()
91 Current->Requirements[I].second) { in isAvailable()
92 Req = Current->Requirements[I]; in isAvailable()
193 Module *Current = Stack.back(); in markUnavailable() local
196 if (!Current->IsAvailable) in markUnavailable()
199 Current->IsAvailable = false; in markUnavailable()
[all …]
/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>>...19