Home
last modified time | relevance | path

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

12345678910>>...23

/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.Type == TT_CtorInitializerComma && in startsNextParameter()
54 return Previous.is(tok::comma) && !Current.isTrailingComment() && in startsNextParameter()
92 const FormatToken &Current = *State.NextToken; in canBreak() local
93 const FormatToken &Previous = *Current.Previous; in canBreak()
94 assert(&Previous == Current.Previous); in canBreak()
95 if (!Current.CanBreakBefore && !(State.Stack.back().BreakBeforeClosingBrace && in canBreak()
96 Current.closesBlockTypeList(Style))) in canBreak()
100 if (!Current.MustBreakBefore && Previous.is(tok::l_brace) && in canBreak()
[all …]
DTokenAnnotator.cpp331 void updateParameterCount(FormatToken *Left, FormatToken *Current) { in updateParameterCount() argument
332 if (Current->Type == TT_LambdaLSquare || in updateParameterCount()
333 (Current->is(tok::caret) && Current->Type == TT_UnaryOperator) || in updateParameterCount()
335 Current->TokenText == "function")) { in updateParameterCount()
338 if (Current->is(tok::comma)) { in updateParameterCount()
342 Left->Role->CommaFound(Current); in updateParameterCount()
343 } else if (Left->ParameterCount == 0 && Current->isNot(tok::comment)) { in updateParameterCount()
692 void determineTokenType(FormatToken &Current) { in determineTokenType() argument
693 if (Current.getPrecedence() == prec::Assignment && in determineTokenType()
695 (!Current.Previous || Current.Previous->isNot(tok::kw_operator))) { in determineTokenType()
[all …]
/external/llvm/lib/Support/
DYAMLParser.cpp277 if (Current >= End) in setError()
278 Current = End - 1; in setError()
283 printError(SMLoc::getFromPointer(Current), SourceMgr::DK_Error, Message); in setError()
288 setError(Message, Current); in setError()
298 return StringRef(Current, End - Current); in currentInput()
475 StringRef::iterator Current; member in llvm::yaml::Scanner
713 Current = InputBuffer->getBufferStart(); in Scanner()
720 , Current(InputBuffer->getBufferStart()) in Scanner()
854 StringRef::iterator Start = Current; in scan_ns_uri_char()
856 if (Current == End) 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 …]
DDeclBase.h732 Decl *Current; variable
742 redecl_iterator() : Current(nullptr) { } in redecl_iterator()
743 explicit redecl_iterator(Decl *C) : Current(C), Starter(C) { } in redecl_iterator()
745 reference operator*() const { return Current; }
746 value_type operator->() const { return Current; }
749 assert(Current && "Advancing while iterator has reached end");
751 Decl *Next = Current->getNextRedeclarationImpl();
753 Current = (Next != Starter) ? Next : nullptr;
764 return x.Current == y.Current;
767 return x.Current != y.Current;
[all …]
DRedeclarable.h176 decl_type *Current; variable
187 redecl_iterator() : Current(nullptr) { } in redecl_iterator()
189 : Current(C), Starter(C), PassedFirst(false) { } in redecl_iterator()
191 reference operator*() const { return Current; }
192 pointer operator->() const { return Current; }
195 assert(Current && "Advancing while iterator has reached end");
197 if (Current->isFirstDecl()) {
200 Current = nullptr;
207 decl_type *Next = Current->getNextRedeclaration();
208 Current = (Next != Starter) ? Next : nullptr;
[all …]
/external/chromium_org/third_party/angle/src/libEGL/
Dmain.cpp18 Current *AllocateCurrent() in AllocateCurrent()
20 Current *current = (egl::Current*)LocalAlloc(LPTR, sizeof(egl::Current)); in AllocateCurrent()
107 Current *GetCurrentData() in GetCurrentData()
109 Current *current = (Current*)TlsGetValue(currentTLS); in GetCurrentData()
118 Current *current = GetCurrentData(); in setCurrentError()
125 Current *current = GetCurrentData(); in getCurrentError()
132 Current *current = GetCurrentData(); in setCurrentAPI()
139 Current *current = GetCurrentData(); in getCurrentAPI()
146 Current *current = GetCurrentData(); in setCurrentDisplay()
153 Current *current = GetCurrentData(); in getCurrentDisplay()
[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 …]
/external/chromium_org/third_party/mesa/src/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 …]
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Dtransportchannelproxy.cc47 worker_thread_ = talk_base::Thread::Current(); in TransportChannelProxy()
58 ASSERT(talk_base::Thread::Current() == worker_thread_); in SetImplementation()
106 ASSERT(talk_base::Thread::Current() == worker_thread_); in SendPacket()
115 ASSERT(talk_base::Thread::Current() == worker_thread_); in SetOption()
124 ASSERT(talk_base::Thread::Current() == worker_thread_); in GetError()
132 ASSERT(talk_base::Thread::Current() == worker_thread_); in GetStats()
140 ASSERT(talk_base::Thread::Current() == worker_thread_); in IsDtlsActive()
148 ASSERT(talk_base::Thread::Current() == worker_thread_); in GetSslRole()
156 ASSERT(talk_base::Thread::Current() == worker_thread_); in SetSslRole()
165 ASSERT(talk_base::Thread::Current() == worker_thread_); in SetSrtpCiphers()
[all …]
/external/chromium_org/third_party/libjingle/source/talk/base/
Dsignalthread_unittest.cc42 EXPECT_EQ(harness_->main_thread_, Thread::Current()); in ~SlowSignalThread()
52 EXPECT_EQ(harness_->main_thread_, Thread::Current()); in OnWorkStart()
58 EXPECT_EQ(harness_->main_thread_, Thread::Current()); in OnWorkStop()
64 EXPECT_EQ(harness_->main_thread_, Thread::Current()); in OnWorkDone()
69 EXPECT_NE(harness_->main_thread_, Thread::Current()); in DoWork()
70 EXPECT_EQ(worker(), Thread::Current()); in DoWork()
71 Thread::Current()->socketserver()->Wait(250, false); in DoWork()
82 EXPECT_EQ(main_thread_, Thread::Current()); in OnWorkComplete()
91 main_thread_ = Thread::Current(); in SetUp()
132 Thread::Current()->socketserver()->Wait(100, false); in Run()
[all …]
/external/chromium_org/third_party/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 …]
/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/chromium_org/third_party/angle/src/libGLESv2/
Dmain.cpp19 Current *AllocateCurrent() in AllocateCurrent()
21 Current *current = (Current*)LocalAlloc(LPTR, sizeof(Current)); in AllocateCurrent()
90 Current *GetCurrentData() in GetCurrentData()
92 Current *current = (Current*)TlsGetValue(currentTLS); in GetCurrentData()
101 Current *current = GetCurrentData(); in makeCurrent()
114 Current *current = GetCurrentData(); in getContext()
140 Current *current = GetCurrentData(); in getDisplay()
/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/chromium_org/third_party/mesa/src/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/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/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/mesa/src/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 …]

12345678910>>...23