Home
last modified time | relevance | path

Searched refs:ContextKind (Results 1 – 22 of 22) sorted by relevance

/external/clang/include/clang/Analysis/
DAnalysisContext.h216 enum ContextKind { StackFrame, Scope, Block }; enum
219 ContextKind Kind;
228 LocationContext(ContextKind k, AnalysisDeclContext *ctx, in LocationContext()
235 ContextKind getKind() const { return Kind; } in getKind()
272 ContextKind ck,
/external/llvm-project/clang/include/clang/Analysis/
DAnalysisDeclContext.h215 enum ContextKind { StackFrame, Block }; enum
218 ContextKind Kind;
228 LocationContext(ContextKind k, AnalysisDeclContext *ctx, in LocationContext()
235 ContextKind getKind() const { return Kind; } in getKind()
287 static void ProfileCommon(llvm::FoldingSetNodeID &ID, ContextKind ck,
/external/tensorflow/tensorflow/core/lib/core/
Dthreadpool_test.cc42 Context outer_context(ContextKind::kThread); in TEST()
54 Context inner_context(ContextKind::kThread); in TEST()
262 Context outer_context(ContextKind::kThread); in TEST()
275 Context inner_context(ContextKind::kThread); in TEST()
288 Context outer_context(ContextKind::kThread); in TEST()
305 Context inner_context(ContextKind::kThread); in TEST()
/external/tensorflow/tensorflow/core/platform/
Dcontext.h23 enum class ContextKind { enum
Dthreadpool.cc75 Context(ContextKind::kThread), in CreateTask()
/external/tensorflow/tensorflow/core/platform/default/
Dcontext.h24 Context(const ContextKind kind) {} in Context()
/external/clang/lib/Format/
DTokenAnnotator.cpp61 Left->ParentBracket = Contexts.back().ContextKind; in parseAngle()
116 Left->ParentBracket = Contexts.back().ContextKind; in parseParens()
306 Left->ParentBracket = Contexts.back().ContextKind; in parseSquare()
325 Contexts.back().ContextKind == tok::l_brace && in parseSquare()
400 Left->ParentBracket = Contexts.back().ContextKind; in parseBrace()
497 Contexts.back().ContextKind == tok::l_paren || // function params in consumeToken()
498 Contexts.back().ContextKind == tok::l_square || // array type in consumeToken()
532 } else if (Contexts.back().ContextKind == tok::l_paren) { in consumeToken()
884 Context(tok::TokenKind ContextKind, unsigned BindingStrength, in Context()
886 : ContextKind(ContextKind), BindingStrength(BindingStrength), in Context()
[all …]
/external/llvm-project/clang/lib/Format/
DTokenAnnotator.cpp99 Left->ParentBracket = Contexts.back().ContextKind; in parseAngle()
203 Left->ParentBracket = Contexts.back().ContextKind; in parseParens()
514 Left->ParentBracket = Contexts.back().ContextKind; in parseSquare()
562 Contexts.back().ContextKind == tok::l_brace && in parseSquare()
565 } else if (Style.isCpp() && Contexts.back().ContextKind == tok::l_brace && in parseSquare()
728 Left->ParentBracket = Contexts.back().ContextKind; in parseBrace()
838 Contexts.back().ContextKind == tok::l_paren || // function params in consumeToken()
839 Contexts.back().ContextKind == tok::l_square || // array type in consumeToken()
841 Contexts.back().ContextKind == tok::l_brace) || // object type in consumeToken()
853 if (Contexts.back().ContextKind == tok::l_paren) { in consumeToken()
[all …]
/external/clang/tools/libclang/
DCIndexCodeCompletion.cpp292 enum clang::CodeCompletionContext::Kind ContextKind; member
557 AllocatedResults.ContextKind = contextKind; in ProcessCodeCompleteResults()
/external/llvm-project/clang/tools/libclang/
DCIndexCodeCompletion.cpp285 enum clang::CodeCompletionContext::Kind ContextKind; member
597 AllocatedResults.ContextKind = contextKind; in ProcessCodeCompleteResults()
/external/tensorflow/tensorflow/core/kernels/batching_util/
Dbatch_resource_base.cc136 task->propagated_context = Context(ContextKind::kThread); in CreateSplitTask()
161 batch_components->propagated_context = Context(ContextKind::kThread); in RegisterInput()
/external/clang/lib/Analysis/
DAnalysisDeclContext.cpp356 ContextKind ck, in ProfileCommon()
/external/llvm-project/clang/lib/Analysis/
DAnalysisDeclContext.cpp352 ContextKind ck, in ProfileCommon()
/external/tensorflow/tensorflow/core/framework/
Drun_handler.cc78 Context(ContextKind::kThread), in CreateTask()
/external/llvm-project/clang-tools-extra/clangd/
DCodeComplete.cpp271 CodeCompletionContext::Kind ContextKind, in CodeCompletionBuilder()
291 C.SemaResult->Kind, C.SemaResult->Declaration, ContextKind); in CodeCompletionBuilder()
/external/tensorflow/tensorflow/core/common_runtime/
Dexecutor.cc407 context_(ContextKind::kThread), in ExecutorState()
/external/clang/lib/Sema/
DSemaCodeComplete.cpp3773 enum CodeCompletionContext::Kind ContextKind in CodeCompleteTag() local
3778 ContextKind = CodeCompletionContext::CCC_EnumTag; in CodeCompleteTag()
3783 ContextKind = CodeCompletionContext::CCC_UnionTag; in CodeCompleteTag()
3790 ContextKind = CodeCompletionContext::CCC_ClassOrStructTag; in CodeCompleteTag()
3798 CodeCompleter->getCodeCompletionTUInfo(), ContextKind); in CodeCompleteTag()
DSemaLambda.cpp284 enum ContextKind { in getCurrentMangleNumberContext() enum
/external/llvm-project/clang/lib/Sema/
DSemaCodeComplete.cpp5322 enum CodeCompletionContext::Kind ContextKind = in CodeCompleteTag() local
5327 ContextKind = CodeCompletionContext::CCC_EnumTag; in CodeCompleteTag()
5332 ContextKind = CodeCompletionContext::CCC_UnionTag; in CodeCompleteTag()
5339 ContextKind = CodeCompletionContext::CCC_ClassOrStructTag; in CodeCompleteTag()
5347 CodeCompleter->getCodeCompletionTUInfo(), ContextKind); in CodeCompleteTag()
DSemaLambda.cpp281 enum ContextKind { in getCurrentMangleNumberContext() enum
DSemaExpr.cpp17050 unsigned ContextKind = 3; // unknown in diagnoseUncapturableValueReference() local
17053 ContextKind = 2; in diagnoseUncapturableValueReference()
17055 ContextKind = 0; in diagnoseUncapturableValueReference()
17057 ContextKind = 1; in diagnoseUncapturableValueReference()
17061 << var << ValueKind << ContextKind << VarDC; in diagnoseUncapturableValueReference()
/external/llvm-project/clang-tools-extra/clangd/unittests/
DCodeCompleteTests.cpp50 using ContextKind = CodeCompletionContext::Kind; typedef