Home
last modified time | relevance | path

Searched refs:getDirective (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/src/OpenGL/compiler/preprocessor/
DDirectiveParser.cpp49 static DirectiveType getDirective(const pp::Token *token) in getDirective() function
272 DirectiveType directive = getDirective(token); in parseDirective()
343 assert(getDirective(token) == DIRECTIVE_DEFINE); in parseDefine()
439 assert(getDirective(token) == DIRECTIVE_UNDEF); in parseUndef()
480 assert(getDirective(token) == DIRECTIVE_IF); in parseIf()
486 assert(getDirective(token) == DIRECTIVE_IFDEF); in parseIfdef()
492 assert(getDirective(token) == DIRECTIVE_IFNDEF); in parseIfndef()
498 assert(getDirective(token) == DIRECTIVE_ELSE); in parseElse()
539 assert(getDirective(token) == DIRECTIVE_ELIF); in parseElif()
579 assert(getDirective(token) == DIRECTIVE_ENDIF); in parseEndif()
[all …]
/external/angle/src/compiler/preprocessor/
DDirectiveParser.cpp45 DirectiveType getDirective(const pp::Token *token) in getDirective() function
205 DirectiveType directive = getDirective(token); in parseDirective()
275 ASSERT(getDirective(token) == DIRECTIVE_DEFINE); in parseDefine()
369 ASSERT(getDirective(token) == DIRECTIVE_UNDEF); in parseUndef()
409 ASSERT(getDirective(token) == DIRECTIVE_IF); in parseIf()
415 ASSERT(getDirective(token) == DIRECTIVE_IFDEF); in parseIfdef()
421 ASSERT(getDirective(token) == DIRECTIVE_IFNDEF); in parseIfndef()
427 ASSERT(getDirective(token) == DIRECTIVE_ELSE); in parseElse()
468 ASSERT(getDirective(token) == DIRECTIVE_ELIF); in parseElif()
508 ASSERT(getDirective(token) == DIRECTIVE_ENDIF); in parseEndif()
[all …]
/external/llvm-project/clang/include/clang/Lex/
DMacroInfo.h349 const DefMacroDirective *getDirective() const { return DefDirective; } in getDirective() function
350 DefMacroDirective *getDirective() { return DefDirective; } in getDirective() function
DPreprocessor.h1097 return MacroDefinition(DI.getDirective(), in getMacroDefinitionAtLoc()
/external/clang/include/clang/Lex/
DMacroInfo.h364 const DefMacroDirective *getDirective() const { return DefDirective; } in getDirective() function
365 DefMacroDirective *getDirective() { return DefDirective; } in getDirective() function
DPreprocessor.h840 return MacroDefinition(DI.getDirective(), in getMacroDefinitionAtLoc()
/external/angle/src/compiler/translator/
DIntermNode.h1013 PreprocessorDirective getDirective() const { return mDirective; } in getDirective() function
DOutputGLSLBase.cpp1049 switch (node->getDirective()) in visitPreprocessorDirective()
/external/llvm-project/clang/lib/Sema/
DSemaOpenMP.cpp613 OpenMPDirectiveKind getDirective(unsigned Level) const { in getDirective() function in __anon0bb9e2bb0111::DSAStackTy
621 getOpenMPCaptureRegions(CaptureRegions, getDirective(Level)); in getCaptureRegion()
2208 DSAStack->getDirective(CSI->OpenMPLevel)); in isOpenMPCapturedDecl()
2272 FunctionScopesIndex -= getOpenMPCaptureLevels(DSAStack->getDirective(Level)); in adjustOpenMPTargetScopeIndex()
2301 OpenMPDirectiveKind DKind = DSAStack->getDirective(Level); in isOpenMPPrivateDecl()
2414 getOpenMPCaptureRegions(Regions, DSAStack->getDirective(Level)); in isOpenMPTargetCapturedDecl()
2434 getOpenMPCaptureLevels(DSAStack->getDirective(Level)); in isOpenMPGlobalCapturedDecl()
4168 return getOpenMPCaptureLevels(DSAStack->getDirective(Level)); in getNumberOfConstructScopes()