/external/llvm-project/mlir/lib/Dialect/SPIRV/Serialization/ |
D | Serializer.cpp | 214 LogicalResult processName(uint32_t resultID, StringRef name); 225 LogicalResult processDecoration(Location loc, uint32_t resultID, 261 LogicalResult prepareBasicType(Location loc, Type type, uint32_t resultID, 648 if (auto resultID = prepareConstant(op.getLoc(), op.getType(), op.value())) { in processConstantOp() local 649 valueIDMap[op.getResult()] = resultID; in processConstantOp() 656 if (auto resultID = prepareConstantScalar(op.getLoc(), op.default_value(), in processSpecConstantOp() local 661 emitDecoration(resultID, spirv::Decoration::SpecId, {val}); in processSpecConstantOp() 664 specConstIDMap[op.sym_name()] = resultID; in processSpecConstantOp() 665 return processName(resultID, op.sym_name()); in processSpecConstantOp() 677 auto resultID = getNextID(); in processSpecConstantCompositeOp() local [all …]
|
D | Deserializer.cpp | 233 spirv::SpecConstantOp createSpecConstant(Location loc, uint32_t resultID, 1031 uint32_t resultID, in createSpecConstant() argument 1033 auto symName = opBuilder.getStringAttr(getSpecConstantSymbol(resultID)); in createSpecConstant() 1036 if (decorations.count(resultID)) { in createSpecConstant() 1037 for (auto attr : decorations[resultID].getAttrs()) in createSpecConstant() 1040 specConstMap[resultID] = op; in createSpecConstant() 1546 auto resultID = operands[1]; in processConstant() local 1571 createSpecConstant(unknownLoc, resultID, attr); in processConstant() 1575 constantMap.try_emplace(resultID, attr, intType); in processConstant() 1606 createSpecConstant(unknownLoc, resultID, attr); in processConstant() [all …]
|
/external/llvm-project/mlir/tools/mlir-tblgen/ |
D | SPIRVUtilsGen.cpp | 618 StringRef operands, StringRef resultID, in emitResultSerialization() argument 631 os << tabs << formatv("{0} = getNextID();\n", resultID); in emitResultSerialization() 633 << formatv("valueIDMap[{0}.getResult()] = {1};\n", opVar, resultID); in emitResultSerialization() 634 os << tabs << formatv("{0}.push_back({1});\n", operands, resultID); in emitResultSerialization() 645 StringRef resultID, raw_ostream &os) { in emitDecorationSerialization() argument 657 opVar, resultID); in emitDecorationSerialization() 673 resultID("resultID"); in emitSerializationFunction() local 682 os << formatv(" uint32_t {0} = 0;\n", resultID); in emitSerializationFunction() 684 resultID, os); in emitSerializationFunction() 705 emitDecorationSerialization(op, " ", opVar, elidedAttrs, resultID, os); in emitSerializationFunction()
|
/external/icu/icu4c/source/test/intltest/ |
D | icusvtst.cpp | 429 UnicodeString resultID; in testAPI_One() local 431 Integer* result = (Integer*)service.get("EN_us_fOo", &resultID, status); in testAPI_One() 433 confirmStringsEqual("14b) find non-canonical", resultID, "en_US_FOO"); in testAPI_One() 441 UnicodeString resultID; in testAPI_One() local 443 Integer* result = (Integer*)service.get("En_Ca_DuDe", &resultID, status); in testAPI_One() 445 confirmStringsEqual("15b) register non-canonical", resultID, "en_CA_DUDE"); in testAPI_One() 645 UnicodeString resultID; in testAPI_Two() local 646 UnicodeString* result = (UnicodeString*)service.get("EN_us_bar", &resultID, status); in testAPI_Two() 647 confirmEqual("22) locale", &resultID, &en_US_BAR); in testAPI_Two()
|
/external/icu/icu4c/source/i18n/ |
D | ucal.cpp | 820 UnicodeString resultID; in ucal_getTimeZoneIDForWindowsID() local 822 TimeZone::getIDForWindowsID(UnicodeString(winid, len), region, resultID, *status); in ucal_getTimeZoneIDForWindowsID() 823 if (U_SUCCESS(*status) && resultID.length() > 0) { in ucal_getTimeZoneIDForWindowsID() 824 resultLen = resultID.length(); in ucal_getTimeZoneIDForWindowsID() 825 resultID.extract(id, idCapacity, *status); in ucal_getTimeZoneIDForWindowsID()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | ICUServiceTest.java | 179 String[] resultID = new String[1]; in TestAPI() local 180 result = service.get("EN_us_fOo", resultID); in TestAPI() 181 confirmEqual("14) find non-canonical", resultID[0], "en_US_FOO"); in TestAPI() 185 result = service.get("En_Ca_DuDe", resultID); in TestAPI() 186 confirmEqual("15) register non-canonical", resultID[0], "en_CA_DUDE"); in TestAPI()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | ICUServiceTest.java | 182 String[] resultID = new String[1]; in TestAPI() local 183 result = service.get("EN_us_fOo", resultID); in TestAPI() 184 confirmEqual("14) find non-canonical", resultID[0], "en_US_FOO"); in TestAPI() 188 result = service.get("En_Ca_DuDe", resultID); in TestAPI() 189 confirmEqual("15) register non-canonical", resultID[0], "en_CA_DUDE"); in TestAPI()
|