Home
last modified time | relevance | path

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

/external/angle/src/compiler/translator/
DValidateSwitch.cpp23 static bool validate(TBasicType switchType,
44 ValidateSwitch(TBasicType switchType, TDiagnostics *context);
62 bool ValidateSwitch::validate(TBasicType switchType, in validate() argument
67 ValidateSwitch validate(switchType, diagnostics); in validate()
73 ValidateSwitch::ValidateSwitch(TBasicType switchType, TDiagnostics *diagnostics) in ValidateSwitch() argument
75 mSwitchType(switchType), in ValidateSwitch()
307 bool ValidateSwitchStatementList(TBasicType switchType, in ValidateSwitchStatementList() argument
312 return ValidateSwitch::validate(switchType, diagnostics, statementList, loc); in ValidateSwitchStatementList()
DValidateSwitch.h20 bool ValidateSwitchStatementList(TBasicType switchType,
DParseContext.cpp5751 TBasicType switchType = init->getBasicType(); in addSwitch() local
5752 if ((switchType != EbtInt && switchType != EbtUInt) || init->isMatrix() || init->isArray() || in addSwitch()
5761 if (!ValidateSwitchStatementList(switchType, mDiagnostics, statementList, loc)) in addSwitch()
/external/swiftshader/src/OpenGL/compiler/
DValidateSwitch.cpp19 bool ValidateSwitch::validate(TBasicType switchType, TParseContext *context, in validate() argument
22 ValidateSwitch validate(switchType, context); in validate()
28 ValidateSwitch::ValidateSwitch(TBasicType switchType, TParseContext *context) in ValidateSwitch() argument
30 mSwitchType(switchType), in ValidateSwitch()
DValidateSwitch.h28 static bool validate(TBasicType switchType, TParseContext *context,
43 ValidateSwitch(TBasicType switchType, TParseContext *context);
DParseHelper.cpp3284 TBasicType switchType = init->getBasicType(); in addSwitch() local
3285 if((switchType != EbtInt && switchType != EbtUInt) || in addSwitch()
3297 if(!ValidateSwitch::validate(switchType, this, statementList, loc)) in addSwitch()