Home
last modified time | relevance | path

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

/third_party/skia/src/sksl/ir/
DSkSLSwitchStatement.cpp184 std::unique_ptr<Expression> caseValue; in Convert() local
189 caseValue = value->type().coerceExpression(std::move(caseValues[i]), context); in Convert()
190 if (!caseValue) { in Convert()
195 if (!ConstantFolder::GetConstantInt(*caseValue, &intValue)) { in Convert()
196 context.fErrors->error(caseValue->fLine, "case value must be a constant integer"); in Convert()
203 cases.push_back(std::make_unique<SwitchCase>(caseLine, std::move(caseValue), in Convert()
260 SKSL_INT caseValue; in Make() local
261 SkAssertResult(ConstantFolder::GetConstantInt(*sc.value(), &caseValue)); in Make()
262 if (caseValue == switchValue) { in Make()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/reconvergence/
DvktReconvergenceTests.cpp295 : type(_type), value(_value), caseValue(_caseValue) in OP()
303 deUint32 caseValue; member in vkt::Reconvergence::__anon18a0a2210111::OP
1115 if ((1u<<b) & ops[i].caseValue) in genCode()
1124 if (ops[i].caseValue == 0xFFFFFFFF) in genCode()
1130 printIndent(*css); *css << "case " << ops[i].caseValue << ": {\n"; in genCode()
1190 ops[i].caseValue = 1; in simulate()
1199 ops[i].caseValue = 1; in simulate()
1213 if (ops[i].caseValue) in simulate()
1551 if (ops[i].type == OP_BALLOT && ops[i].caseValue == 0) in hasUCF()
/third_party/flutter/skia/src/sksl/
DSkSLIRGenerator.cpp524 std::unique_ptr<Expression> caseValue; in convertSwitch() local
527 caseValue = this->convertExpression(*childIter); in convertSwitch()
528 if (!caseValue) { in convertSwitch()
531 caseValue = this->coerce(std::move(caseValue), value->fType); in convertSwitch()
532 if (!caseValue) { in convertSwitch()
535 if (!caseValue->isConstant()) { in convertSwitch()
536 fErrors.error(caseValue->fOffset, "case value must be a constant"); in convertSwitch()
540 this->getConstantInt(*caseValue, &v); in convertSwitch()
542 fErrors.error(caseValue->fOffset, "duplicate case value"); in convertSwitch()
555 cases.emplace_back(new SwitchCase(c.fOffset, std::move(caseValue), in convertSwitch()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DLongNameHandler.java252 … private boolean loadForCase(UResource.Table caseTable, String caseValue, UResource.Value value) { in loadForCase() argument
253 if (!caseTable.findValue(caseValue, value)) { in loadForCase()
/third_party/icu/icu4c/source/i18n/
Dnumber_longnames.cpp334 bool loadForCase(const ResourceTable &caseTable, const char *caseValue, ResourceValue &value) { in loadForCase() argument
335 if (!caseTable.findValue(caseValue, value)) { in loadForCase()
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_longnames.cpp334 bool loadForCase(const ResourceTable &caseTable, const char *caseValue, ResourceValue &value) { in loadForCase() argument
335 if (!caseTable.findValue(caseValue, value)) { in loadForCase()
/third_party/node/deps/icu-small/source/i18n/
Dnumber_longnames.cpp330 bool loadForCase(const ResourceTable &caseTable, const char *caseValue, ResourceValue &value) { in loadForCase() argument
331 if (!caseTable.findValue(caseValue, value)) { in loadForCase()
/third_party/skia/src/sksl/codegen/
DSkSLVMCodeGenerator.cpp1725 Value caseValue = this->writeExpression(*c.value()); in writeSwitchStatement() local
1731 switchFallthrough | (i32(caseValue) == i32(switchValue))); in writeSwitchStatement()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DOutputSPIRV.cpp5393 TConstantUnion caseValue; in visitSwitch() local
5394 caseValue.cast(EbtUInt, *condition->getConstantValue()); in visitSwitch()
5396 caseValues.push_back(caseValue.getUConst()); in visitSwitch()