/hardware/interfaces/neuralnetworks/1.0/vts/functional/ |
D | GeneratedTestHarness.cpp | 49 const auto& op = testModel.main.operands[i]; in createModel() local 52 if (op.lifetime == TestOperandLifeTime::CONSTANT_COPY) { in createModel() 55 .length = static_cast<uint32_t>(op.data.size())}; in createModel() 56 constCopySize += op.data.alignedSize(); in createModel() 57 } else if (op.lifetime == TestOperandLifeTime::CONSTANT_REFERENCE) { in createModel() 60 .length = static_cast<uint32_t>(op.data.size())}; in createModel() 61 constRefSize += op.data.alignedSize(); in createModel() 64 operands[i] = {.type = static_cast<OperandType>(op.type), in createModel() 65 .dimensions = op.dimensions, in createModel() 66 .numberOfConsumers = op.numberOfConsumers, in createModel() [all …]
|
D | Utils.cpp | 109 const auto& op = testModel.main.operands[testModel.main.inputIndexes[i]]; in createRequest() local 110 if (op.data.size() == 0) { in createRequest() 116 .length = static_cast<uint32_t>(op.data.size())}; in createRequest() 117 inputSize += op.data.alignedSize(); in createRequest() 126 const auto& op = testModel.main.operands[testModel.main.outputIndexes[i]]; in createRequest() local 134 size_t bufferSize = std::max<size_t>(op.data.size(), 1); in createRequest() 139 outputSize += op.data.size() == 0 ? TestBuffer::kAlignment : op.data.alignedSize(); in createRequest() 158 const auto& op = testModel.main.operands[testModel.main.inputIndexes[i]]; in createRequest() local 159 if (op.data.size() > 0) { in createRequest() 160 const uint8_t* begin = op.data.get<uint8_t>(); in createRequest() [all …]
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/ |
D | parse_dependency.py | 110 def opMarkupAsciidoc(op): argument 115 return opMarkupAsciidocMap[op] 119 def opMarkupC(op): argument 124 return opMarkupCMap[op] 187 op, num_args = stack.pop(), 0 188 if isinstance(op, tuple): 189 op, num_args = op 191 if op in '+,': 195 return _opn[op](op1, op2) 196 elif op[0].isalpha(): [all …]
|
/hardware/google/graphics/common/libscaler/ |
D | libscaler-m2m1shot.h | 79 m_task.op.op &= ~(M2M1SHOT_OP_CSC_WIDE | M2M1SHOT_OP_CSC_NARROW); in SetCSCWide() 80 m_task.op.op |= wide ? M2M1SHOT_OP_CSC_WIDE : M2M1SHOT_OP_CSC_NARROW; in SetCSCWide() 85 m_task.op.op &= ~(M2M1SHOT_OP_CSC_601 | M2M1SHOT_OP_CSC_709); in SetCSCEq() 87 m_task.op.op |= M2M1SHOT_OP_CSC_709; in SetCSCEq() 89 m_task.op.op |= M2M1SHOT_OP_CSC_601; in SetCSCEq() 93 m_task.op.op &= ~LIBSC_M2M1SHOT_OP_FILTER_MASK; in SetFilter() 94 m_task.op.op |= filter << LIBSC_M2M1SHOT_OP_FILTER_SHIFT; in SetFilter()
|
D | libscaler-m2m1shot.cpp | 114 m_task.op.rotate)) in Run() 226 m_task.op.rotate = rot; in SetRotate() 227 m_task.op.op &= ~(M2M1SHOT_OP_FLIP_HORI | M2M1SHOT_OP_FLIP_VIRT); in SetRotate() 229 m_task.op.op |= M2M1SHOT_OP_FLIP_HORI; in SetRotate() 231 m_task.op.op |= M2M1SHOT_OP_FLIP_VIRT; in SetRotate() 272 if (m_task.op.rotate != 0) { in RunSWScaling()
|
/hardware/interfaces/neuralnetworks/1.1/vts/functional/ |
D | GeneratedTestHarness.cpp | 56 const auto& op = testModel.main.operands[i]; in createModel() local 59 if (op.lifetime == TestOperandLifeTime::CONSTANT_COPY) { in createModel() 62 .length = static_cast<uint32_t>(op.data.size())}; in createModel() 63 constCopySize += op.data.alignedSize(); in createModel() 64 } else if (op.lifetime == TestOperandLifeTime::CONSTANT_REFERENCE) { in createModel() 67 .length = static_cast<uint32_t>(op.data.size())}; in createModel() 68 constRefSize += op.data.alignedSize(); in createModel() 71 operands[i] = {.type = static_cast<OperandType>(op.type), in createModel() 72 .dimensions = op.dimensions, in createModel() 73 .numberOfConsumers = op.numberOfConsumers, in createModel() [all …]
|
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/ |
D | vk_deferred_operation.c | 37 struct vk_deferred_operation *op = in vk_common_CreateDeferredOperationKHR() local 38 vk_alloc2(&device->alloc, pAllocator, sizeof(*op), 8, in vk_common_CreateDeferredOperationKHR() 40 if (op == NULL) in vk_common_CreateDeferredOperationKHR() 43 vk_object_base_init(device, &op->base, in vk_common_CreateDeferredOperationKHR() 46 *pDeferredOperation = vk_deferred_operation_to_handle(op); in vk_common_CreateDeferredOperationKHR() 57 VK_FROM_HANDLE(vk_deferred_operation, op, operation); in vk_common_DestroyDeferredOperationKHR() 59 if (op == NULL) in vk_common_DestroyDeferredOperationKHR() 62 vk_object_base_finish(&op->base); in vk_common_DestroyDeferredOperationKHR() 63 vk_free2(&device->alloc, pAllocator, op); in vk_common_DestroyDeferredOperationKHR()
|
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/ |
D | TriState.h | 87 #define UNARY_OP(op) \ argument 88 TriState<T> operator op() { \ 91 tmp.mValue = op tmp.mValue; \ 101 #define COMPOUND_ASSIGN_OP(op) \ argument 102 TriState<T>& operator op (const TriState<T>& rhs) { \ 104 mValue op rhs.mValue; \ 110 TriState<T>& operator op(const T& rhs) { \ 112 mValue op rhs; \ 153 #define BINARY_OP(op, compound_op) \ argument 154 friend TriState<T> operator op(TriState<T> lhs, const TriState<T>& rhs) { \ [all …]
|
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | enum_operators.h | 30 #define MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, op) \ argument 33 Enum operator op (Enum a, Enum b) \ 38 return static_cast<Enum>(ua op ub); \ 42 Enum& operator op##= (Enum &a, Enum b) \ 47 ua op##= ub; \ 53 #define MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, op) \ argument 56 Enum operator op (Enum a) \ 60 return static_cast<Enum>(op ua); \
|
/hardware/interfaces/neuralnetworks/1.2/vts/functional/ |
D | GeneratedTestHarness.cpp | 82 const auto& op = testModel.main.operands[i]; in createModel() local 85 if (op.lifetime == TestOperandLifeTime::CONSTANT_COPY) { in createModel() 88 .length = static_cast<uint32_t>(op.data.size())}; in createModel() 89 constCopySize += op.data.alignedSize(); in createModel() 90 } else if (op.lifetime == TestOperandLifeTime::CONSTANT_REFERENCE) { in createModel() 93 .length = static_cast<uint32_t>(op.data.size())}; in createModel() 94 constRefSize += op.data.alignedSize(); in createModel() 98 if (op.type == TestOperandType::TENSOR_QUANT8_SYMM_PER_CHANNEL) { in createModel() 100 .scales = op.channelQuant.scales, .channelDim = op.channelQuant.channelDim}); in createModel() 103 operands[i] = {.type = static_cast<OperandType>(op.type), in createModel() [all …]
|
/hardware/google/aemu/host-common/include/host-common/ |
D | DeviceContextRunner.h | 113 virtual void performDeviceOperation(const T& op) = 0; 119 void queueDeviceOperation(const T& op) { in queueDeviceOperation() argument 124 performDeviceOperation(op); in queueDeviceOperation() 129 mPending.push_back(op); in queueDeviceOperation() 140 void removeAllPendingOperations(const Predicate& op) { in removeAllPendingOperations() argument 142 mPending.erase(std::remove_if(mPending.begin(), mPending.end(), op), in removeAllPendingOperations() 148 void forEachPendingOperation(const Func& op) const { in forEachPendingOperation() argument 150 for (const auto& p : mPending) { op(p); } in forEachPendingOperation()
|
/hardware/qcom/sm8150/display/sdm/include/core/ |
D | dpps_interface.h | 54 virtual DisplayError DppsProcessOps(enum DppsOps op, void *payload, size_t size) = 0; 64 virtual int DppsNotifyOps(enum DppsNotifyOps op, void *payload, size_t size) = 0; 81 int DppsNotifyOps(enum DppsNotifyOps op, void *payload, size_t size) { in DppsNotifyOps() argument 82 (void)op; in DppsNotifyOps()
|
/hardware/qcom/sm7250/display/sdm/include/core/ |
D | dpps_interface.h | 70 virtual DisplayError DppsProcessOps(enum DppsOps op, void *payload, size_t size) = 0; 80 virtual int DppsNotifyOps(enum DppsNotifyOps op, void *payload, size_t size) = 0; 97 int DppsNotifyOps(enum DppsNotifyOps op, void *payload, size_t size) { in DppsNotifyOps() argument 98 (void)op; in DppsNotifyOps()
|
/hardware/interfaces/neuralnetworks/1.3/vts/functional/ |
D | GeneratedTestHarness.cpp | 199 const auto& op = testSubgraph.operands[i]; in createSubgraph() local 202 if (op.lifetime == TestOperandLifeTime::CONSTANT_COPY) { in createSubgraph() 206 .length = static_cast<uint32_t>(op.data.size()), in createSubgraph() 208 constCopies->push_back(&op.data); in createSubgraph() 209 *constCopySize += op.data.alignedSize(); in createSubgraph() 210 } else if (op.lifetime == TestOperandLifeTime::CONSTANT_REFERENCE) { in createSubgraph() 214 .length = static_cast<uint32_t>(op.data.size()), in createSubgraph() 216 constReferences->push_back(&op.data); in createSubgraph() 217 *constRefSize += op.data.alignedSize(); in createSubgraph() 218 } else if (op.lifetime == TestOperandLifeTime::SUBGRAPH) { in createSubgraph() [all …]
|
/hardware/interfaces/neuralnetworks/aidl/vts/functional/ |
D | Utils.cpp | 204 const auto& op = testModel.main.operands[testModel.main.inputIndexes[i]]; in createRequest() local 205 if (op.data.size() == 0) { in createRequest() 211 .length = static_cast<int64_t>(op.data.size())}; in createRequest() 212 inputSize += op.data.alignedSize(); in createRequest() 221 const auto& op = testModel.main.operands[testModel.main.outputIndexes[i]]; in createRequest() local 229 size_t bufferSize = std::max<size_t>(op.data.size(), 1); in createRequest() 234 outputSize += op.data.size() == 0 ? TestBuffer::kAlignment : op.data.alignedSize(); in createRequest() 263 const auto& op = testModel.main.operands[testModel.main.inputIndexes[i]]; in createRequest() local 264 if (op.data.size() > 0) { in createRequest() 265 const uint8_t* begin = op.data.get<uint8_t>(); in createRequest() [all …]
|
D | GeneratedTestHarness.cpp | 214 const auto& op = testSubgraph.operands[i]; in createSubgraph() local 217 if (op.lifetime == TestOperandLifeTime::CONSTANT_COPY) { in createSubgraph() 221 .length = static_cast<int64_t>(op.data.size()), in createSubgraph() 223 constCopies->push_back(&op.data); in createSubgraph() 224 *constCopySize += op.data.alignedSize(); in createSubgraph() 225 } else if (op.lifetime == TestOperandLifeTime::CONSTANT_REFERENCE) { in createSubgraph() 229 .length = static_cast<int64_t>(op.data.size()), in createSubgraph() 231 constReferences->push_back(&op.data); in createSubgraph() 232 *constRefSize += op.data.alignedSize(); in createSubgraph() 233 } else if (op.lifetime == TestOperandLifeTime::SUBGRAPH) { in createSubgraph() [all …]
|
/hardware/interfaces/bluetooth/1.0/default/ |
D | vendor_interface.cc | 131 void a2dp_offload_cb(bt_vendor_op_result_t result, bt_vendor_opcode_t op, in a2dp_offload_cb() argument 133 ALOGD("%s result: %d, op: %d, handle: %d", __func__, result, op, av_handle); in a2dp_offload_cb() 230 lib_interface_->op(BT_VND_OP_POWER_CTRL, &power_state); in Open() 235 int fd_count = lib_interface_->op(BT_VND_OP_USERIAL_OPEN, &fd_list); in Open() 275 lib_interface_->op(BT_VND_OP_FW_CFG, nullptr); in Open() 285 lib_interface_->op(BT_VND_OP_LPM_SET_MODE, &mode); in Close() 296 lib_interface_->op(BT_VND_OP_USERIAL_CLOSE, nullptr); in Close() 299 lib_interface_->op(BT_VND_OP_POWER_CTRL, &power_state); in Close() 327 lib_interface_->op(BT_VND_OP_LPM_WAKE_SET_STATE, &wakeState); in Send() 347 lib_interface_->op(BT_VND_OP_GET_LPM_IDLE_TIMEOUT, &lpm_timeout_ms); in OnFirmwareConfigured() [all …]
|
/hardware/qcom/display/msm8909/sdm/libs/core/fb/ |
D | hw_color_manager.cpp | 62 kernel_params->op = mdp_op_pcc_cfg; in SetPCC() 77 kernel_params->op = mdp_op_lut_cfg; in SetIGC() 91 kernel_params->op = mdp_op_lut_cfg; in SetPGC() 105 kernel_params->op = mdp_op_lut_cfg; in SetMixerGC() 118 kernel_params->op = mdp_op_pa_v2_cfg; in SetPAV2() 133 kernel_params->op = mdp_op_dither_cfg; in SetDither() 145 kernel_params->op = mdp_op_gamut_cfg; in SetGamut() 158 kernel_params->op = mdp_op_pa_dither_cfg; in SetPADither() 170 kernel_params->op = mdp_op_csc_cfg; in SetCSCLegacy()
|
/hardware/qcom/sm8150/display/sdm/libs/core/fb/ |
D | hw_color_manager.cpp | 61 kernel_params->op = mdp_op_pcc_cfg; in SetPCC() 76 kernel_params->op = mdp_op_lut_cfg; in SetIGC() 90 kernel_params->op = mdp_op_lut_cfg; in SetPGC() 104 kernel_params->op = mdp_op_lut_cfg; in SetMixerGC() 117 kernel_params->op = mdp_op_pa_v2_cfg; in SetPAV2() 132 kernel_params->op = mdp_op_dither_cfg; in SetDither() 144 kernel_params->op = mdp_op_gamut_cfg; in SetGamut() 157 kernel_params->op = mdp_op_pa_dither_cfg; in SetPADither()
|
/hardware/qcom/display/msm8998/sdm/libs/core/fb/ |
D | hw_color_manager.cpp | 61 kernel_params->op = mdp_op_pcc_cfg; in SetPCC() 76 kernel_params->op = mdp_op_lut_cfg; in SetIGC() 90 kernel_params->op = mdp_op_lut_cfg; in SetPGC() 104 kernel_params->op = mdp_op_lut_cfg; in SetMixerGC() 117 kernel_params->op = mdp_op_pa_v2_cfg; in SetPAV2() 132 kernel_params->op = mdp_op_dither_cfg; in SetDither() 144 kernel_params->op = mdp_op_gamut_cfg; in SetGamut() 157 kernel_params->op = mdp_op_pa_dither_cfg; in SetPADither()
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/ |
D | hw_color_manager.cpp | 61 kernel_params->op = mdp_op_pcc_cfg; in SetPCC() 76 kernel_params->op = mdp_op_lut_cfg; in SetIGC() 90 kernel_params->op = mdp_op_lut_cfg; in SetPGC() 104 kernel_params->op = mdp_op_lut_cfg; in SetMixerGC() 117 kernel_params->op = mdp_op_pa_v2_cfg; in SetPAV2() 132 kernel_params->op = mdp_op_dither_cfg; in SetDither() 144 kernel_params->op = mdp_op_gamut_cfg; in SetGamut() 157 kernel_params->op = mdp_op_pa_dither_cfg; in SetPADither()
|
/hardware/qcom/sm8150/display/gralloc/ |
D | gr_ion_alloc.cpp | 130 int /*handle*/, int op, int dma_buf_fd) { in CleanBuffer() argument 132 ATRACE_INT("operation id", op); in CleanBuffer() 137 switch (op) { in CleanBuffer() 148 ALOGE("%s: Invalid operation %d", __FUNCTION__, op); in CleanBuffer() 252 int IonAlloc::CleanBuffer(void *base, unsigned int size, unsigned int offset, int handle, int op, in CleanBuffer() argument 254 if (op == CACHE_READ_DONE) { in CleanBuffer() 259 ATRACE_INT("operation id", op); in CleanBuffer() 270 switch (op) { in CleanBuffer()
|
/hardware/qcom/display/msm8996/sdm/libs/core/fb/ |
D | hw_color_manager.cpp | 61 kernel_params->op = mdp_op_pcc_cfg; in SetPCC() 76 kernel_params->op = mdp_op_lut_cfg; in SetIGC() 90 kernel_params->op = mdp_op_lut_cfg; in SetPGC() 104 kernel_params->op = mdp_op_lut_cfg; in SetMixerGC() 117 kernel_params->op = mdp_op_pa_v2_cfg; in SetPAV2() 132 kernel_params->op = mdp_op_dither_cfg; in SetDither() 144 kernel_params->op = mdp_op_gamut_cfg; in SetGamut()
|
/hardware/qcom/sm7250/display/gralloc/ |
D | gr_ion_alloc.cpp | 126 int /*handle*/, int op, int dma_buf_fd) { in CleanBuffer() argument 128 ATRACE_INT("operation id", op); in CleanBuffer() 133 switch (op) { in CleanBuffer() 144 ALOGE("%s: Invalid operation %d", __FUNCTION__, op); in CleanBuffer()
|
/hardware/interfaces/security/keymint/aidl/default/ta/ |
D | rpc.rs | 85 let mut op = ec.begin_sign(private_key.into(), self.signing_digest())?; in sign_data() localVariable 86 op.update(data)?; in sign_data() 87 let sig = op.finish()?; in sign_data() 206 let mut op = ec.begin_sign(private_key.clone(), self.signing_digest())?; in generate_dice_artifacts() localVariable 207 op.update(input)?; in generate_dice_artifacts() 208 let sig = op.finish()?; in generate_dice_artifacts()
|