Home
last modified time | relevance | path

Searched refs:lifetime (Results 1 – 25 of 88) sorted by relevance

1234

/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DBasicTests.cpp85 .lifetime = OperandLifeTime::MODEL_INPUT, in TEST_P()
95 .lifetime = OperandLifeTime::MODEL_INPUT, in TEST_P()
105 .lifetime = OperandLifeTime::MODEL_INPUT, in TEST_P()
115 .lifetime = OperandLifeTime::TEMPORARY_VARIABLE, in TEST_P()
125 .lifetime = OperandLifeTime::TEMPORARY_VARIABLE, in TEST_P()
135 .lifetime = OperandLifeTime::MODEL_OUTPUT, in TEST_P()
DGeneratedTestHarness.cpp52 if (op.lifetime == TestOperandLifeTime::CONSTANT_COPY) { in createModel()
57 } else if (op.lifetime == TestOperandLifeTime::CONSTANT_REFERENCE) { in createModel()
69 .lifetime = static_cast<OperandLifeTime>(op.lifetime), in createModel()
86 if (op.lifetime == TestOperandLifeTime::CONSTANT_COPY) { in createModel()
108 if (op.lifetime == TestOperandLifeTime::CONSTANT_REFERENCE) { in createModel()
DValidateModel.cpp83 .lifetime = OperandLifeTime::MODEL_INPUT, in addOperand()
88 static uint32_t addOperand(Model* model, OperandLifeTime lifetime) { in addOperand() argument
91 model->operands[index].lifetime = lifetime; in addOperand()
178 size += sizeForBinder(operand.lifetime); in sizeForBinder()
261 if (model.operands[input].lifetime == OperandLifeTime::TEMPORARY_VARIABLE || in mutateExecutionOrderTest()
262 model.operands[input].lifetime == OperandLifeTime::MODEL_OUTPUT) { in mutateExecutionOrderTest()
419 switch (operand.lifetime) { in getInvalidLifeTimes()
466 toString(model.operands[operand].lifetime); in mutateOperandLifeTimeTest()
470 switch (operandObj.lifetime) { in mutateOperandLifeTimeTest()
482 operandObj.lifetime = invalidLifeTime; in mutateOperandLifeTimeTest()
[all …]
/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DBasicTests.cpp92 .lifetime = OperandLifeTime::MODEL_INPUT, in TEST_P()
102 .lifetime = OperandLifeTime::MODEL_INPUT, in TEST_P()
112 .lifetime = OperandLifeTime::MODEL_INPUT, in TEST_P()
122 .lifetime = OperandLifeTime::TEMPORARY_VARIABLE, in TEST_P()
132 .lifetime = OperandLifeTime::TEMPORARY_VARIABLE, in TEST_P()
142 .lifetime = OperandLifeTime::MODEL_OUTPUT, in TEST_P()
DGeneratedTestHarness.cpp59 if (op.lifetime == TestOperandLifeTime::CONSTANT_COPY) { in createModel()
64 } else if (op.lifetime == TestOperandLifeTime::CONSTANT_REFERENCE) { in createModel()
76 .lifetime = static_cast<OperandLifeTime>(op.lifetime), in createModel()
93 if (op.lifetime == TestOperandLifeTime::CONSTANT_COPY) { in createModel()
115 if (op.lifetime == TestOperandLifeTime::CONSTANT_REFERENCE) { in createModel()
DValidateModel.cpp102 .lifetime = OperandLifeTime::MODEL_INPUT, in addOperand()
107 static uint32_t addOperand(Model* model, OperandLifeTime lifetime) { in addOperand() argument
110 model->operands[index].lifetime = lifetime; in addOperand()
197 size += sizeForBinder(operand.lifetime); in sizeForBinder()
281 if (model.operands[input].lifetime == OperandLifeTime::TEMPORARY_VARIABLE || in mutateExecutionOrderTest()
282 model.operands[input].lifetime == OperandLifeTime::MODEL_OUTPUT) { in mutateExecutionOrderTest()
444 switch (operand.lifetime) { in getInvalidLifeTimes()
491 toString(model.operands[operand].lifetime); in mutateOperandLifeTimeTest()
496 switch (operandObj.lifetime) { in mutateOperandLifeTimeTest()
508 operandObj.lifetime = invalidLifeTime; in mutateOperandLifeTimeTest()
[all …]
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DBasicTests.cpp97 .lifetime = OperandLifeTime::SUBGRAPH_INPUT, in TEST_P()
106 .lifetime = OperandLifeTime::SUBGRAPH_INPUT, in TEST_P()
115 .lifetime = OperandLifeTime::SUBGRAPH_INPUT, in TEST_P()
124 .lifetime = OperandLifeTime::TEMPORARY_VARIABLE, in TEST_P()
133 .lifetime = OperandLifeTime::TEMPORARY_VARIABLE, in TEST_P()
142 .lifetime = OperandLifeTime::SUBGRAPH_OUTPUT, in TEST_P()
DValidateModel.cpp143 .lifetime = OperandLifeTime::SUBGRAPH_INPUT, in addOperand()
149 static uint32_t addOperand(Model* model, OperandLifeTime lifetime) { in addOperand() argument
151 model->main.operands[index].lifetime = lifetime; in addOperand()
264 size += sizeForBinder(operand.lifetime); in sizeForBinder()
374 if (model.main.operands[input].lifetime == OperandLifeTime::TEMPORARY_VARIABLE || in mutateExecutionOrderTest()
375 model.main.operands[input].lifetime == OperandLifeTime::SUBGRAPH_OUTPUT) { in mutateExecutionOrderTest()
570 switch (operand.lifetime) { in getInvalidLifeTimes()
619 toString(model.main.operands[operand].lifetime); in mutateOperandLifeTimeTest()
624 switch (operandObj.lifetime) { in mutateOperandLifeTimeTest()
640 operandObj.lifetime = invalidLifeTime; in mutateOperandLifeTimeTest()
[all …]
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DBasicTests.cpp107 .lifetime = OperandLifeTime::SUBGRAPH_INPUT, in TEST_P()
117 .lifetime = OperandLifeTime::SUBGRAPH_INPUT, in TEST_P()
127 .lifetime = OperandLifeTime::SUBGRAPH_INPUT, in TEST_P()
137 .lifetime = OperandLifeTime::TEMPORARY_VARIABLE, in TEST_P()
147 .lifetime = OperandLifeTime::TEMPORARY_VARIABLE, in TEST_P()
157 .lifetime = OperandLifeTime::SUBGRAPH_OUTPUT, in TEST_P()
DValidateModel.cpp110 .lifetime = OperandLifeTime::SUBGRAPH_INPUT, in addOperand()
115 static uint32_t addOperand(Model* model, OperandLifeTime lifetime) { in addOperand() argument
118 model->main.operands[index].lifetime = lifetime; in addOperand()
231 size += sizeForBinder(operand.lifetime); in sizeForBinder()
337 if (model.main.operands[input].lifetime == OperandLifeTime::TEMPORARY_VARIABLE || in mutateExecutionOrderTest()
338 model.main.operands[input].lifetime == OperandLifeTime::SUBGRAPH_OUTPUT) { in mutateExecutionOrderTest()
535 switch (operand.lifetime) { in getInvalidLifeTimes()
584 toString(model.main.operands[operand].lifetime); in mutateOperandLifeTimeTest()
589 switch (operandObj.lifetime) { in mutateOperandLifeTimeTest()
601 operandObj.lifetime = invalidLifeTime; in mutateOperandLifeTimeTest()
[all …]
/hardware/interfaces/neuralnetworks/1.0/utils/src/
DConversions.cpp210 GeneralResult<Operand::LifeTime> unvalidatedConvert(const hal::V1_0::OperandLifeTime& lifetime) { in unvalidatedConvert() argument
211 return static_cast<Operand::LifeTime>(lifetime); in unvalidatedConvert()
251 const auto lifetime = NN_TRY(unvalidatedConvert(operand.lifetime)); in unvalidatedConvert() local
258 .lifetime = lifetime, in unvalidatedConvert()
325 const auto lifetime = argument.hasNoValue ? Request::Argument::LifeTime::NO_VALUE in unvalidatedConvert() local
329 .lifetime = lifetime, in unvalidatedConvert()
494 nn::GeneralResult<OperandLifeTime> unvalidatedConvert(const nn::Operand::LifeTime& lifetime) { in unvalidatedConvert() argument
495 if (lifetime == nn::Operand::LifeTime::POINTER) { in unvalidatedConvert()
499 return static_cast<OperandLifeTime>(lifetime); in unvalidatedConvert()
535 const auto lifetime = NN_TRY(unvalidatedConvert(operand.lifetime)); in unvalidatedConvert() local
[all …]
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DBasicTests.cpp166 .lifetime = OperandLifeTime::MODEL_INPUT, in TEST_P()
176 .lifetime = OperandLifeTime::MODEL_INPUT, in TEST_P()
186 .lifetime = OperandLifeTime::MODEL_INPUT, in TEST_P()
196 .lifetime = OperandLifeTime::TEMPORARY_VARIABLE, in TEST_P()
206 .lifetime = OperandLifeTime::TEMPORARY_VARIABLE, in TEST_P()
216 .lifetime = OperandLifeTime::MODEL_OUTPUT, in TEST_P()
DValidateModel.cpp103 .lifetime = OperandLifeTime::MODEL_INPUT, in addOperand()
108 static uint32_t addOperand(Model* model, OperandLifeTime lifetime) { in addOperand() argument
111 model->operands[index].lifetime = lifetime; in addOperand()
224 size += sizeForBinder(operand.lifetime); in sizeForBinder()
320 if (model.operands[input].lifetime == OperandLifeTime::TEMPORARY_VARIABLE || in mutateExecutionOrderTest()
321 model.operands[input].lifetime == OperandLifeTime::MODEL_OUTPUT) { in mutateExecutionOrderTest()
513 switch (operand.lifetime) { in getInvalidLifeTimes()
560 toString(model.operands[operand].lifetime); in mutateOperandLifeTimeTest()
565 switch (operandObj.lifetime) { in mutateOperandLifeTimeTest()
577 operandObj.lifetime = invalidLifeTime; in mutateOperandLifeTimeTest()
[all …]
DGeneratedTestHarness.cpp85 if (op.lifetime == TestOperandLifeTime::CONSTANT_COPY) { in createModel()
90 } else if (op.lifetime == TestOperandLifeTime::CONSTANT_REFERENCE) { in createModel()
108 .lifetime = static_cast<OperandLifeTime>(op.lifetime), in createModel()
126 if (op.lifetime == TestOperandLifeTime::CONSTANT_COPY) { in createModel()
148 if (op.lifetime == TestOperandLifeTime::CONSTANT_REFERENCE) { in createModel()
/hardware/interfaces/neuralnetworks/1.2/utils/src/
DConversions.cpp161 const auto lifetime = NN_TRY(unvalidatedConvert(operand.lifetime)); in unvalidatedConvert() local
169 .lifetime = lifetime, in unvalidatedConvert()
322 nn::GeneralResult<V1_0::OperandLifeTime> unvalidatedConvert(const nn::Operand::LifeTime& lifetime) { in unvalidatedConvert() argument
323 return V1_0::utils::unvalidatedConvert(lifetime); in unvalidatedConvert()
471 const auto lifetime = NN_TRY(unvalidatedConvert(operand.lifetime)); in unvalidatedConvert() local
480 .lifetime = lifetime, in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/
DOperand.aidl89 OperandLifeTime lifetime = OperandLifeTime.TEMPORARY_VARIABLE;
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/2/android/hardware/neuralnetworks/
DOperand.aidl41 …android.hardware.neuralnetworks.OperandLifeTime lifetime = android.hardware.neuralnetworks.Operand…
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/1/android/hardware/neuralnetworks/
DOperand.aidl41 …android.hardware.neuralnetworks.OperandLifeTime lifetime = android.hardware.neuralnetworks.Operand…
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/
DOperand.aidl41 …android.hardware.neuralnetworks.OperandLifeTime lifetime = android.hardware.neuralnetworks.Operand…
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/4/android/hardware/neuralnetworks/
DOperand.aidl41 …android.hardware.neuralnetworks.OperandLifeTime lifetime = android.hardware.neuralnetworks.Operand…
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/3/android/hardware/neuralnetworks/
DOperand.aidl41 …android.hardware.neuralnetworks.OperandLifeTime lifetime = android.hardware.neuralnetworks.Operand…
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DConversions.h29 GeneralResult<Operand::LifeTime> unvalidatedConvert(const hal::V1_0::OperandLifeTime& lifetime);
59 nn::GeneralResult<OperandLifeTime> unvalidatedConvert(const nn::Operand::LifeTime& lifetime);
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DConversions.cpp255 const auto lifetime = NN_TRY(unvalidatedConvert(operand.lifetime)); in unvalidatedConvert() local
263 .lifetime = lifetime, in unvalidatedConvert()
481 const auto lifetime = argument.hasNoValue ? Request::Argument::LifeTime::NO_VALUE in unvalidatedConvert() local
486 .lifetime = lifetime, in unvalidatedConvert()
955 const auto lifetime = NN_TRY(unvalidatedConvert(operand.lifetime)); in unvalidatedConvert() local
963 .lifetime = lifetime, in unvalidatedConvert()
1056 if (requestArgument.lifetime == nn::Request::Argument::LifeTime::POINTER) { in unvalidatedConvert()
1060 const bool hasNoValue = requestArgument.lifetime == nn::Request::Argument::LifeTime::NO_VALUE; in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DConversions.cpp177 const auto lifetime = NN_TRY(unvalidatedConvert(operand.lifetime)); in unvalidatedConvert() local
185 .lifetime = lifetime, in unvalidatedConvert()
541 const auto lifetime = NN_TRY(unvalidatedConvert(operand.lifetime)); in unvalidatedConvert() local
550 .lifetime = lifetime, in unvalidatedConvert()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_KHR_win32_surface.adoc85 the remainder of its lifetime.
94 window object alters the object for the remainder of its lifetime.
98 object for its remaining lifetime.

1234