Home
last modified time | relevance | path

Searched refs:resultId (Results 1 – 25 of 60) sorted by relevance

123

/external/libtextclassifier/notification/src/com/android/textclassifier/notification/
DSmartSuggestionsLogSession.java33 private final String resultId; field in SmartSuggestionsLogSession
48 String resultId, in SmartSuggestionsLogSession() argument
52 this.resultId = resultId; in SmartSuggestionsLogSession()
73 createTextClassifierEventBuilder(TextClassifierEvent.TYPE_ACTIONS_SHOWN, resultId).build(); in onNotificationExpansionChanged()
93 createTextClassifierEventBuilder(TextClassifierEvent.TYPE_SMART_ACTION, resultId) in onActionClicked()
110 createTextClassifierEventBuilder(TextClassifierEvent.TYPE_SMART_ACTION, resultId) in onSuggestedReplySent()
120 createTextClassifierEventBuilder(TextClassifierEvent.TYPE_MANUAL_REPLY, resultId).build(); in onDirectReplied()
127 createTextClassifierEventBuilder(TextClassifierEvent.TYPE_ACTIONS_GENERATED, resultId) in onSuggestionsGenerated()
140 int eventType, String resultId) { in createTextClassifierEventBuilder() argument
143 .setResultId(resultId); in createTextClassifierEventBuilder()
/external/angle/third_party/vulkan-deps/glslang/src/SPIRV/
Ddisassemble.cpp104 void disassembleInstruction(Id resultId, Id typeId, Op opCode, int numOperands);
187 Id resultId = 0; in processInstructions() local
189 resultId = stream[word++]; in processInstructions()
193 idInstruction[resultId] = instructionStart; in processInstructions()
196 outputResultId(resultId); in processInstructions()
201 disassembleInstruction(resultId, typeId, opCode, numOperands); in processInstructions()
320 void SpirvStream::disassembleInstruction(Id resultId, Id /*typeId*/, Op opCode, int numOperands) in disassembleInstruction() argument
334 idDescriptor[resultId] = (const char*)(&stream[word]); in disassembleInstruction()
337 if (resultId != 0 && idDescriptor[resultId].size() == 0) { in disassembleInstruction()
341 case 8: idDescriptor[resultId] = "int8_t"; break; in disassembleInstruction()
[all …]
DSpvBuilder.h191 Id getTypeId(Id resultId) const { return module.getTypeId(resultId); } in getTypeId() argument
192 Id getDerefTypeId(Id resultId) const;
196 int getNumComponents(Id resultId) const { return getNumTypeComponents(getTypeId(resultId)); } in getNumComponents() argument
206 bool isPointer(Id resultId) const { return isPointerType(getTypeId(resultId)); } in isPointer() argument
207 bool isScalar(Id resultId) const { return isScalarType(getTypeId(resultId)); } in isScalar() argument
208 bool isVector(Id resultId) const { return isVectorType(getTypeId(resultId)); } in isVector() argument
209 bool isMatrix(Id resultId) const { return isMatrixType(getTypeId(resultId)); } in isMatrix() argument
210 …bool isCooperativeMatrix(Id resultId)const { return isCooperativeMatrixType(getTypeId(resultId)); } in isCooperativeMatrix() argument
211 bool isAggregate(Id resultId) const { return isAggregateType(getTypeId(resultId)); } in isAggregate() argument
212 bool isSampledImage(Id resultId) const { return isSampledImageType(getTypeId(resultId)); } in isSampledImage() argument
[all …]
DspvIR.h96 …Instruction(Id resultId, Id typeId, Op opCode) : resultId(resultId), typeId(typeId), opCode(opCode… in Instruction() argument
97 …explicit Instruction(Op opCode) : resultId(NoResult), typeId(NoType), opCode(opCode), block(nullpt… in Instruction()
147 Id getResultId() const { return resultId; } in getResultId()
165 if (resultId) in dump()
173 if (resultId) in dump()
174 out.push_back(resultId); in dump()
183 Id resultId; variable
422 spv::Id resultId = instruction->getResultId(); in mapInstruction() local
424 if (resultId >= idToInstruction.size()) in mapInstruction()
425 idToInstruction.resize(resultId + 16); in mapInstruction()
[all …]
DSpvPostProcess.cpp420 Id resultId = inst.getResultId(); in postProcessFeatures() local
421 if (containsPhysicalStorageBufferOrArray(getDerefTypeId(resultId))) { in postProcessFeatures()
424 if (decoration.get()->getIdOperand(0) == resultId && in postProcessFeatures()
433 addDecoration(resultId, spv::DecorationAliasedPointerEXT); in postProcessFeatures()
/external/deqp-deps/glslang/SPIRV/
Ddisassemble.cpp104 void disassembleInstruction(Id resultId, Id typeId, Op opCode, int numOperands);
187 Id resultId = 0; in processInstructions() local
189 resultId = stream[word++]; in processInstructions()
193 idInstruction[resultId] = instructionStart; in processInstructions()
196 outputResultId(resultId); in processInstructions()
201 disassembleInstruction(resultId, typeId, opCode, numOperands); in processInstructions()
320 void SpirvStream::disassembleInstruction(Id resultId, Id /*typeId*/, Op opCode, int numOperands) in disassembleInstruction() argument
334 idDescriptor[resultId] = (const char*)(&stream[word]); in disassembleInstruction()
337 if (resultId != 0 && idDescriptor[resultId].size() == 0) { in disassembleInstruction()
341 case 8: idDescriptor[resultId] = "int8_t"; break; in disassembleInstruction()
[all …]
DSpvBuilder.h191 Id getTypeId(Id resultId) const { return module.getTypeId(resultId); } in getTypeId() argument
192 Id getDerefTypeId(Id resultId) const;
196 int getNumComponents(Id resultId) const { return getNumTypeComponents(getTypeId(resultId)); } in getNumComponents() argument
206 bool isPointer(Id resultId) const { return isPointerType(getTypeId(resultId)); } in isPointer() argument
207 bool isScalar(Id resultId) const { return isScalarType(getTypeId(resultId)); } in isScalar() argument
208 bool isVector(Id resultId) const { return isVectorType(getTypeId(resultId)); } in isVector() argument
209 bool isMatrix(Id resultId) const { return isMatrixType(getTypeId(resultId)); } in isMatrix() argument
210 …bool isCooperativeMatrix(Id resultId)const { return isCooperativeMatrixType(getTypeId(resultId)); } in isCooperativeMatrix() argument
211 bool isAggregate(Id resultId) const { return isAggregateType(getTypeId(resultId)); } in isAggregate() argument
212 bool isSampledImage(Id resultId) const { return isSampledImageType(getTypeId(resultId)); } in isSampledImage() argument
[all …]
DspvIR.h96 …Instruction(Id resultId, Id typeId, Op opCode) : resultId(resultId), typeId(typeId), opCode(opCode… in Instruction() argument
97 …explicit Instruction(Op opCode) : resultId(NoResult), typeId(NoType), opCode(opCode), block(nullpt… in Instruction()
147 Id getResultId() const { return resultId; } in getResultId()
165 if (resultId) in dump()
173 if (resultId) in dump()
174 out.push_back(resultId); in dump()
183 Id resultId; variable
422 spv::Id resultId = instruction->getResultId(); in mapInstruction() local
424 if (resultId >= idToInstruction.size()) in mapInstruction()
425 idToInstruction.resize(resultId + 16); in mapInstruction()
[all …]
DSpvPostProcess.cpp420 Id resultId = inst.getResultId(); in postProcessFeatures() local
421 if (containsPhysicalStorageBufferOrArray(getDerefTypeId(resultId))) { in postProcessFeatures()
424 if (decoration.get()->getIdOperand(0) == resultId && in postProcessFeatures()
433 addDecoration(resultId, spv::DecorationAliasedPointerEXT); in postProcessFeatures()
/external/swiftshader/src/Pipeline/
DSpirvShaderMemory.cpp29 Object::ID resultId = insn.word(2); in EmitLoad() local
31 auto &result = getObject(resultId); in EmitLoad()
45 state->createPointer(resultId, ptr); in EmitLoad()
58 auto &dst = state->createIntermediate(resultId, resultTy.componentCount); in EmitLoad()
123 Object::ID resultId = insn.word(2); in EmitVariable() local
124 auto &object = getObject(resultId); in EmitVariable()
134 auto base = &routine->getVariable(resultId)[0]; in EmitVariable()
137 state->createPointer(resultId, SIMD::Pointer(base, size)); in EmitVariable()
145 state->createPointer(resultId, SIMD::Pointer(base, size, workgroupMemory.offsetOf(resultId))); in EmitVariable()
152 auto &dst = routine->getVariable(resultId); in EmitVariable()
[all …]
DSpirvShader.cpp259 Object::ID resultId = insn.word(2); local
262 auto &object = defs[resultId];
291 workgroupMemory.allocate(resultId, sizeInBytes);
517 Object::ID resultId = insn.word(2); local
523 descriptorDecorations[resultId] = d->second;
531 …ApplyDecorationsForAccessChain(&dd, &descriptorDecorations[resultId], pointerId, insn.wordCount() …
534 decorations[resultId].Apply(dd);
779 Type::ID resultId = insn.word(1); in DeclareType() local
781 auto &type = types[resultId]; in DeclareType()
791 auto d = memberDecorations.find(resultId); in DeclareType()
[all …]
DSpirvShaderArithmetic.cpp27 auto &dst = state->createIntermediate(insn.resultId(), type.componentCount); in EmitVectorTimesScalar()
42 auto &dst = state->createIntermediate(insn.resultId(), type.componentCount); in EmitMatrixTimesVector()
62 auto &dst = state->createIntermediate(insn.resultId(), type.componentCount); in EmitVectorTimesMatrix()
82 auto &dst = state->createIntermediate(insn.resultId(), type.componentCount); in EmitMatrixTimesMatrix()
109 auto &dst = state->createIntermediate(insn.resultId(), type.componentCount); in EmitOuterProduct()
130 auto &dst = state->createIntermediate(insn.resultId(), type.componentCount); in EmitTranspose()
150 auto &dst = state->createIntermediate(insn.resultId(), type.componentCount); in EmitUnaryOp()
312 auto &dst = state->createIntermediate(insn.resultId(), type.componentCount); in EmitBinaryOp()
520 auto &dst = state->createIntermediate(insn.resultId(), type.componentCount); in EmitDot()
527 SPIRV_SHADER_DBG("{0}: {1}", insn.resultId(), dst); in EmitDot()
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/common/statsd/
DSelectionEventConverterTest.java82 String resultId = createResultId(); in convert_smartSelection() local
90 .setId(resultId) in convert_smartSelection()
106 assertThat(textSelectionEvent.getResultId()).isEqualTo(resultId); in convert_smartSelection()
113 String resultId = createResultId(); in convert_smartShare() local
120 .setId(resultId) in convert_smartShare()
137 assertThat(textSelectionEvent.getResultId()).isEqualTo(resultId); in convert_smartShare()
144 String resultId = createResultId(); in convert_smartLinkify() local
151 .setId(resultId) in convert_smartLinkify()
166 assertThat(textLinkifyEvent.getResultId()).isEqualTo(resultId); in convert_smartLinkify()
/external/libtextclassifier/java/src/com/android/textclassifier/common/logging/
DTextClassifierEvent.java154 @Nullable private final String resultId; field in TextClassifierEvent
167 resultId = builder.resultId; in TextClassifierEvent()
216 return resultId; in getResultId()
271 out.append(", mResultId=").append(resultId); in toString()
300 @Nullable private String resultId; field in TextClassifierEvent.Builder
345 public T setResultId(@Nullable String resultId) { in setResultId() argument
346 this.resultId = resultId; in setResultId()
DResultIdUtils.java69 public static boolean isFromDefaultTextClassifier(String resultId) { in isFromDefaultTextClassifier() argument
70 return resultId.startsWith(CLASSIFIER_ID + '|'); in isFromDefaultTextClassifier()
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/common/logging/
DResultIdUtilsTest.java48 String resultId = ResultIdUtils.createId(HASH, modelInfos); in createId_customHash() local
50 assertThat(resultId).isEqualTo("androidtc|;en,fr_v1;;zh_v2;|12345"); in createId_customHash()
55 String resultId = in createId_selection() local
64 assertThat(resultId).matches("androidtc\\|en_v703\\|-?\\d+"); in createId_selection()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dstrength_reduction_pass.cpp159 uint32_t resultId = TakeNextId(); in GetConstantId() local
164 resultId, {constant})); in GetConstantId()
172 constant_ids_[val] = resultId; in GetConstantId()
Dinline_pass.cpp37 uint32_t resultId = context()->TakeNextId(); in AddPointerToType() local
38 if (resultId == 0) { in AddPointerToType()
39 return resultId; in AddPointerToType()
43 new Instruction(context(), SpvOpTypePointer, 0, resultId, in AddPointerToType()
53 context()->get_type_mgr()->RegisterType(resultId, *pointerTy); in AddPointerToType()
54 return resultId; in AddPointerToType()
101 void InlinePass::AddLoad(uint32_t type_id, uint32_t resultId, uint32_t ptr_id, in AddLoad() argument
106 new Instruction(context(), SpvOpLoad, type_id, resultId, in AddLoad()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dstrength_reduction_pass.cpp159 uint32_t resultId = TakeNextId(); in GetConstantId() local
164 resultId, {constant})); in GetConstantId()
172 constant_ids_[val] = resultId; in GetConstantId()
Dinline_pass.cpp37 uint32_t resultId = context()->TakeNextId(); in AddPointerToType() local
38 if (resultId == 0) { in AddPointerToType()
39 return resultId; in AddPointerToType()
43 new Instruction(context(), SpvOpTypePointer, 0, resultId, in AddPointerToType()
53 context()->get_type_mgr()->RegisterType(resultId, *pointerTy); in AddPointerToType()
54 return resultId; in AddPointerToType()
101 void InlinePass::AddLoad(uint32_t type_id, uint32_t resultId, uint32_t ptr_id, in AddLoad() argument
106 new Instruction(context(), SpvOpLoad, type_id, resultId, in AddLoad()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dstrength_reduction_pass.cpp159 uint32_t resultId = TakeNextId(); in GetConstantId() local
164 resultId, {constant})); in GetConstantId()
172 constant_ids_[val] = resultId; in GetConstantId()
Dinline_pass.cpp37 uint32_t resultId = context()->TakeNextId(); in AddPointerToType() local
38 if (resultId == 0) { in AddPointerToType()
39 return resultId; in AddPointerToType()
43 new Instruction(context(), SpvOpTypePointer, 0, resultId, in AddPointerToType()
53 context()->get_type_mgr()->RegisterType(resultId, *pointerTy); in AddPointerToType()
54 return resultId; in AddPointerToType()
101 void InlinePass::AddLoad(uint32_t type_id, uint32_t resultId, uint32_t ptr_id, in AddLoad() argument
106 new Instruction(context(), SpvOpLoad, type_id, resultId, in AddLoad()
/external/llvm-project/clang-tools-extra/clangd/test/
Dsemantic-tokens.test28 # CHECK-NEXT: "resultId": "1"
59 # CHECK-NEXT: "resultId": "2"
82 # CHECK-NEXT: "resultId": "3"
/external/skia/modules/svg/src/
DSkSVGFe.cpp113 SkSVGStringType resultId; in parse() local
119 } else if (parse(&resultId)) { in parse()
120 *type = SkSVGFeInputType(resultId); in parse()
/external/libtextclassifier/java/src/com/android/textclassifier/common/statsd/
DTextClassifierEventLogger.java113 String resultId = nullToEmpty(event.getResultId()); in logConversationActionsEvent() local
114 ImmutableList<String> modelNames = ResultIdUtils.getModelNames(resultId); in logConversationActionsEvent()
119 ? Hashing.goodFastHash(64).hashString(resultId, UTF_8).toString() in logConversationActionsEvent()

123