/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/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/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/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 …]
|
D | ValidateModel.cpp | 1056 static bool removeOperationInputSkip(const Operation& op, size_t input) { in removeOperationInputSkip() argument 1064 switch (op.type) { in removeOperationInputSkip() 1066 if (op.inputs.size() > 2 && input != op.inputs.size() - 1) { in removeOperationInputSkip() 1071 if ((op.inputs.size() == 12 && input == 11) || (op.inputs.size() == 9 && input == 8)) { in removeOperationInputSkip() 1079 if ((op.inputs.size() == 11 && input == 10) || (op.inputs.size() == 8 && input == 7)) { in removeOperationInputSkip() 1084 if (op.inputs.size() == 4 && input == 3) { in removeOperationInputSkip() 1091 if (op.inputs.size() == 3 && input == 2) { in removeOperationInputSkip() 1096 if (op.inputs.size() == 4 && input == 3) { in removeOperationInputSkip() 1101 if (op.inputs.size() == 2 && input == 1) { in removeOperationInputSkip() 1106 if (op.inputs.size() == 6 && input == 5) { in removeOperationInputSkip() [all …]
|
/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/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 …]
|
D | ValidateModel.cpp | 1137 static bool removeOperationInputSkip(const Operation& op, size_t input) { in removeOperationInputSkip() argument 1147 switch (op.type) { in removeOperationInputSkip() 1149 if (op.inputs.size() > 2 && input != op.inputs.size() - 1) { in removeOperationInputSkip() 1154 if ((op.inputs.size() == 12 && input == 11) || (op.inputs.size() == 9 && input == 8)) { in removeOperationInputSkip() 1162 if ((op.inputs.size() == 11 && input == 10) || (op.inputs.size() == 8 && input == 7)) { in removeOperationInputSkip() 1167 if (op.inputs.size() >= 4 && input >= 3) { in removeOperationInputSkip() 1172 if (op.inputs.size() >= 5 && input >= 3) { in removeOperationInputSkip() 1179 if (op.inputs.size() == 3 && input == 2) { in removeOperationInputSkip() 1184 if (op.inputs.size() == 4 && input == 3) { in removeOperationInputSkip() 1189 if (op.inputs.size() == 2 && input == 1) { in removeOperationInputSkip() [all …]
|
/hardware/interfaces/bluetooth/1.0/default/ |
D | vendor_interface.cc | 127 void a2dp_offload_cb(bt_vendor_op_result_t result, bt_vendor_opcode_t op, in a2dp_offload_cb() argument 129 ALOGD("%s result: %d, op: %d, handle: %d", __func__, result, op, av_handle); in a2dp_offload_cb() 226 lib_interface_->op(BT_VND_OP_POWER_CTRL, &power_state); in Open() 231 int fd_count = lib_interface_->op(BT_VND_OP_USERIAL_OPEN, &fd_list); in Open() 271 lib_interface_->op(BT_VND_OP_FW_CFG, nullptr); in Open() 281 lib_interface_->op(BT_VND_OP_LPM_SET_MODE, &mode); in Close() 292 lib_interface_->op(BT_VND_OP_USERIAL_CLOSE, nullptr); in Close() 295 lib_interface_->op(BT_VND_OP_POWER_CTRL, &power_state); in Close() 323 lib_interface_->op(BT_VND_OP_LPM_WAKE_SET_STATE, &wakeState); in Send() 343 lib_interface_->op(BT_VND_OP_GET_LPM_IDLE_TIMEOUT, &lpm_timeout_ms); in OnFirmwareConfigured() [all …]
|
D | bt_vendor_lib.h | 325 typedef void (*cfg_a2dp_cb)(bt_vendor_op_result_t result, bt_vendor_opcode_t op, 397 int (*op)(bt_vendor_opcode_t opcode, void* param); member
|
/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/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/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/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/sdm845/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/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/neuralnetworks/hvxservice/1.0/ |
D | HexagonModel.h | 113 bool addBasicOperation(op_type op, hexagon_nn_padding_type pad, 116 bool addFloatOperationWithActivation(op_type op, hexagon_nn_padding_type pad, 120 bool addQuant8OperationWithActivation(op_type op, hexagon_nn_padding_type pad, 124 bool addFusedFloatOperation(op_type op, hexagon_nn_padding_type pad, 128 bool addFusedQuant8Operation(op_type op, hexagon_nn_padding_type pad, 139 uint32_t addOperationInternal(op_type op, hexagon_nn_padding_type pad, 144 std::vector<hexagon_nn_input> setupActivationArgs(op_type op);
|
D | HexagonModel.cpp | 279 uint32_t Model::addOperationInternal(op_type op, hexagon_nn_padding_type pad, in addOperationInternal() argument 287 return hexagon::Controller::getInstance().append_node(mGraphId, node, op, pad, inputs.data(), in addOperationInternal() 322 bool Model::addBasicOperation(op_type op, hexagon_nn_padding_type pad, in addBasicOperation() argument 326 uint32_t node = addOperationInternal(op, pad, inputs, outs); in addBasicOperation() 331 std::vector<hexagon_nn_input> Model::setupActivationArgs(op_type op) { in setupActivationArgs() argument 332 switch (op) { in setupActivationArgs() 348 HEXAGON_SOFT_ASSERT(false, "Unknown activation symbol " << op); in setupActivationArgs() 352 bool Model::addFloatOperationWithActivation(op_type op, hexagon_nn_padding_type pad, in addFloatOperationWithActivation() argument 359 uint32_t node = addOperationInternal(op, pad, inputs, outs); in addFloatOperationWithActivation() 370 bool Model::addQuant8OperationWithActivation(op_type op, hexagon_nn_padding_type pad, in addQuant8OperationWithActivation() argument [all …]
|
/hardware/google/av/codec2/include/ |
D | C2.h | 300 #define DEFINE_C2_CNTR_BINARY_OP(attrib, op, op_assign) \ argument 308 attrib inline constexpr c2_cntr_t<T> operator op(const U &value) const { \ 309 return c2_cntr_t<T>(mValue op compat::get(value)); \ 313 attrib inline constexpr c2_cntr_t<U> operator op(const c2_cntr_t<U> &value) const { \ 314 return c2_cntr_t<U>(U(mValue) op value.peeku()); \ 317 #define DEFINE_C2_CNTR_UNARY_OP(attrib, op) \ argument 318 attrib inline constexpr c2_cntr_t<T> operator op() const { \ 319 return c2_cntr_t<T>(op mValue); \ 322 #define DEFINE_C2_CNTR_CREMENT_OP(attrib, op) \ argument 323 attrib inline c2_cntr_t<T> &operator op() { \ [all …]
|
/hardware/interfaces/confirmationui/1.0/default/ |
D | PlatformSpecifics.h | 60 static MyOperation op; in get() local 61 return op; in get()
|
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/test/ |
D | TriStateTest.cpp | 153 #define TEST_COMPOUND_ASSIGN(a, op, op_c, b) \ in TEST() argument 158 EXPECT_EQ(y, (a op b)); \ in TEST() 159 EXPECT_EQ(y, (z op b)); \ in TEST() 160 EXPECT_EQ(y, (a op w)); in TEST()
|
/hardware/qcom/bt/msm8960/libbt-vendor/src/ |
D | bt_vendor_qcom.c | 96 static int op(bt_vendor_opcode_t opcode, void *param) in op() function 207 op,
|
/hardware/qcom/display/msm8996/libgralloc1/ |
D | gr_ion_alloc.cpp | 169 int IonAlloc::CleanBuffer(void *base, unsigned int size, unsigned int offset, int handle, int op) { in CleanBuffer() argument 171 ATRACE_INT("operation id", op); in CleanBuffer() 182 switch (op) { in CleanBuffer()
|