Home
last modified time | relevance | path

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

/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/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/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.h993 PreprocessorDirective getDirective() const { return mDirective; } in getDirective() function
DOutputGLSLBase.cpp1211 switch (node->getDirective()) in visitPreprocessorDirective()