Home
last modified time | relevance | path

Searched refs:dataType (Results 26 - 50 of 658) sorted by relevance

12345678910>>...27

/foundation/ai/neural_network_runtime/test/unittest/common/
H A Dbase_test.cpp28 OH_NN_DataType dataType, const std::vector<int32_t>& dim, const OH_NN_QuantParam* quantParam, in TransToNNTensor()
33 tensor.dataType = dataType; in TransToNNTensor()
27 TransToNNTensor( OH_NN_DataType dataType, const std::vector<int32_t>& dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) TransToNNTensor() argument
/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/inner_model/
H A Dnn_tensor_test.cpp54 tensor.dataType = OH_NN_FLOAT32; in HWTEST_F()
409 OH_NN_DataType dataType = (OH_NN_DataType)dataTypeTest; in HWTEST_F() local
410 OH_NN_Tensor tensor {dataType, 2, dim, nullptr, OH_NN_TENSOR}; in HWTEST_F()
443 tensor.dataType = OH_NN_FLOAT32; in HWTEST_F()
467 OH_NN_DataType dataType = OH_NN_FLOAT32; in HWTEST_F() local
473 EXPECT_EQ(OH_NN_SUCCESS, nnTensor.Build(dataType, dimensions, quantParam, type)); in HWTEST_F()
484 OH_NN_DataType dataType = (OH_NN_DataType)dataTypeTest; in HWTEST_F() local
490 EXPECT_EQ(OH_NN_INVALID_PARAMETER, nnTensor.Build(dataType, dimensions, quantParam, type)); in HWTEST_F()
500 OH_NN_DataType dataType = OH_NN_FLOAT32; in HWTEST_F() local
506 EXPECT_EQ(OH_NN_INVALID_PARAMETER, nnTensor.Build(dataType, dimension in HWTEST_F()
516 OH_NN_DataType dataType = OH_NN_FLOAT32; HWTEST_F() local
[all...]
/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/inner_model/
H A Dnn_tensor_test.cpp54 tensor.dataType = OH_NN_FLOAT32; in HWTEST_F()
409 OH_NN_DataType dataType = (OH_NN_DataType)dataTypeTest; in HWTEST_F() local
410 OH_NN_Tensor tensor {dataType, 2, dim, nullptr, OH_NN_TENSOR}; in HWTEST_F()
443 tensor.dataType = OH_NN_FLOAT32; in HWTEST_F()
467 OH_NN_DataType dataType = OH_NN_FLOAT32; in HWTEST_F() local
473 EXPECT_EQ(OH_NN_SUCCESS, nnTensor.Build(dataType, dimensions, quantParam, type)); in HWTEST_F()
484 OH_NN_DataType dataType = (OH_NN_DataType)dataTypeTest; in HWTEST_F() local
490 EXPECT_EQ(OH_NN_INVALID_PARAMETER, nnTensor.Build(dataType, dimensions, quantParam, type)); in HWTEST_F()
500 OH_NN_DataType dataType = OH_NN_FLOAT32; in HWTEST_F() local
506 EXPECT_EQ(OH_NN_INVALID_PARAMETER, nnTensor.Build(dataType, dimension in HWTEST_F()
516 OH_NN_DataType dataType = OH_NN_FLOAT32; HWTEST_F() local
[all...]
/test/xts/acts/multimedia/image_effect/OHImageEffectNDK/entry/src/main/cpp/
H A DimageEffect.cpp219 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_INT32; in OHImageEffectConfigure()
224 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_FLOAT; in OHImageEffectConfigure()
231 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_FLOAT; in OHImageEffectConfigure()
237 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_FLOAT; in OHImageEffectConfigure()
746 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_FLOAT; in OHImageEffectSetInputNativeBuffer()
794 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_INT32; in SetInputUri1()
800 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_FLOAT; in SetInputUri1()
806 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_DOUBLE; in SetInputUri1()
812 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_CHAR; in SetInputUri1()
829 value.dataType in SetInputUri2()
[all...]
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dhdi_prepared_model_v2_1.cpp26 V2_1::DataType TransDataType(const OH_NN_DataType& dataType) in TransDataType() argument
28 switch (dataType) { in TransDataType()
74 iTensor.dataType = TransDataType(tensor.dataType); in TransIOTensor()
121 OH_NN_DataType dataType; in TransIOTensor() local
122 ret = nnTensorDesc->GetDataType(&dataType); in TransIOTensor()
127 ioTensor.dataType = TransDataType(dataType); in TransIOTensor()
H A Dhdi_prepared_model_v2_0.cpp26 V2_0::DataType TransDataType(const OH_NN_DataType& dataType) in TransDataType() argument
28 switch (dataType) { in TransDataType()
74 iTensor.dataType = TransDataType(tensor.dataType); in TransIOTensor()
121 OH_NN_DataType dataType; in TransIOTensor() local
122 ret = nnTensorDesc->GetDataType(&dataType); in TransIOTensor()
127 ioTensor.dataType = TransDataType(dataType); in TransIOTensor()
H A Dhdi_prepared_model_v1_0.cpp25 V1_0::DataType TransDataType(const OH_NN_DataType& dataType) in TransDataType() argument
27 switch (dataType) { in TransDataType()
73 iTensor.dataType = TransDataType(tensor.dataType); in TransIOTensor()
120 OH_NN_DataType dataType; in TransIOTensor() local
121 ret = nnTensorDesc->GetDataType(&dataType); in TransIOTensor()
126 ioTensor.dataType = TransDataType(dataType); in TransIOTensor()
/foundation/ability/dmsfwk/services/dtbschedmgr/src/softbus_adapter/transport/
H A Ddsched_softbus_session.cpp87 int32_t DSchedSoftbusSession::SendData(std::shared_ptr<DSchedDataBuffer> buffer, int32_t dataType) in SendData() argument
94 UnPackSendData(buffer, dataType); in SendData()
184 ret = memcpy_s(&headerPara.dataType, sizeof(headerPara.dataType), ptr, len); in ReadTlvToHeader()
225 DSchedTransportSoftbusAdapter::GetInstance().OnDataReady(sessionId_, postData, headerPara.dataType); in AssembleNoFrag()
268 DSchedTransportSoftbusAdapter::GetInstance().OnDataReady(sessionId_, packBuffer_, headerPara.dataType); in AssembleFrag()
312 int32_t DSchedSoftbusSession::UnPackSendData(std::shared_ptr<DSchedDataBuffer> buffer, int32_t dataType) in UnPackSendData() argument
324 return UnPackStartEndData(buffer, dataType); in UnPackSendData()
331 SessionDataHeader headPara = { PROTOCOL_VERSION, FRAG_START, dataType, 0, totalLen, subSeq }; in UnPackSendData()
371 int32_t DSchedSoftbusSession::UnPackStartEndData(std::shared_ptr<DSchedDataBuffer> buffer, int32_t dataType) in UnPackStartEndData() argument
437 TlvItem dataType = { TLV_TYPE_DATA_TYPE, sizeof(uint32_t), headPara.dataType }; MakeFragDataHeader() local
[all...]
/foundation/communication/dsoftbus/tests/sdk/transmission/fuzztest/socket_fuzzer/
H A Dsocket_fuzzer.cpp50 .dataType = DATA_TYPE_MESSAGE, in SocketTestWithName()
77 .dataType = DATA_TYPE_MESSAGE, in SocketTestWithPeerName()
104 .dataType = DATA_TYPE_MESSAGE, in SocketTestWithNetworkId()
131 .dataType = DATA_TYPE_MESSAGE, in SocketTestWithPkgName()
153 .dataType = socketDataType, in SocketTestWithDataType()
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/src/
H A Dkvdb_notifier_client.cpp59 void KVDBNotifierClient::OnRemoteChange(const std::map<std::string, bool> &mask, int32_t dataType) in OnRemoteChange() argument
61 ZLOGD("remote changed mask:%{public}zu dataType:%{public}d", mask.size(), dataType); in OnRemoteChange()
62 DataType type = static_cast<DataType>(dataType); in OnRemoteChange()
96 bool KVDBNotifierClient::IsChanged(const std::string &deviceId, DataType dataType) in IsChanged() argument
104 switch (dataType) { in IsChanged()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/
H A Djson_util.h53 template<typename T, typename dataType>
55 const nlohmann::json &jsonObject, const std::string &key, dataType &data, ArrayType arrayType, int32_t &parseResult) in CheckArrayType()
109 template<typename T, typename dataType>
111 const std::string &key, dataType &data, JsonType jsonType, bool isNecessary, int32_t &parseResult, in GetValueIfFindKey()
183 template<typename T, typename dataType>
185 const nlohmann::detail::iter_impl<const nlohmann::json> &end, const std::string &key, dataType &data, in GetBigStringIfFindKey()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/
H A Drdb_watcher.cpp37 rdbOrigin.dataType = origin.dataType; in OnChange()
40 ZLOGD("store:%{public}s data change from :%{public}s, dataType:%{public}d, origin:%{public}d.", in OnChange()
43 rdbOrigin.dataType, rdbOrigin.origin); in OnChange()
/foundation/multimedia/image_effect/test/unittest/
H A DTestUtils.cpp57 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_INT32; in HWTEST_F()
68 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_FLOAT; in HWTEST_F()
79 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_DOUBLE; in HWTEST_F()
90 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_CHAR; in HWTEST_F()
100 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_LONG; in HWTEST_F()
110 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_PTR; in HWTEST_F()
127 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_BOOL; in HWTEST_F()
136 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_DOUBLE; in HWTEST_F()
143 valueChar.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_CHAR; in HWTEST_F()
150 valueLong.dataType in HWTEST_F()
[all...]
H A Dnative_image_effect_unittest.cpp245 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_FLOAT;
277 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_FLOAT; in HWTEST_F()
355 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_FLOAT; in HWTEST_F()
387 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_FLOAT; in HWTEST_F()
419 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_FLOAT; in HWTEST_F()
506 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_FLOAT; in HWTEST_F()
541 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_FLOAT; in HWTEST_F()
576 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_FLOAT; in HWTEST_F()
608 value.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_FLOAT; in HWTEST_F()
687 value.dataType in HWTEST_F()
[all...]
/foundation/ability/dmsfwk/services/dtbschedmgr/include/softbus_adapter/transport/
H A Ddsched_softbus_session.h43 int32_t SendData(std::shared_ptr<DSchedDataBuffer> dataBuffer, int32_t dataType);
88 uint32_t dataType; member
107 int32_t UnPackSendData(std::shared_ptr<DSchedDataBuffer> buffer, int32_t dataType);
109 int32_t UnPackStartEndData(std::shared_ptr<DSchedDataBuffer> buffer, int32_t dataType);
/foundation/ai/ai_engine/services/common/platform/os_wrapper/feature/source/
H A Dslide_window_processor.cpp59 if (localConfig.dataType == UNKNOWN) { in Init()
60 HILOGE("[SlideWindowProcessor]Fail with unsupported dataType[UNKNOWN]"); in Init()
71 inType_ = localConfig.dataType; in Init()
107 if (input.dataType != inType_) { in Process()
108 HILOGE("[SlideWindowProcessor]Fail with unmatched input dataType"); in Process()
124 output.dataType = inType_; in Process()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/
H A Dsingle_ver_natural_store_connection.cpp42 LOGD("[PutBatch] entries size is : %zu, dataType : %d", entries.size(), option.dataType); in PutBatch()
43 if (option.dataType != IOption::SYNC_DATA) { in PutBatch()
111 LOGD("[DeleteBatch] keys size is : %zu, dataType : %d", keys.size(), option.dataType); in DeleteBatch()
112 if (option.dataType != IOption::SYNC_DATA) { in DeleteBatch()
/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/hdi_prepared_model/
H A Dhdi_prepared_model_test.cpp81 inputTensor.dataType = OH_NN_INT8; in InitTensor()
82 inputTensor.dataType = OH_NN_INT8; in InitTensor()
251 inputTensor.dataType = OH_NN_INT8; in HWTEST_F()
254 outputTensor.dataType = OH_NN_INT8; in HWTEST_F()
444 inputTensor.dataType = OH_NN_BOOL; in HWTEST_F()
461 inputTensor.dataType = OH_NN_INT16; in HWTEST_F()
478 inputTensor.dataType = OH_NN_INT64; in HWTEST_F()
495 inputTensor.dataType = OH_NN_UINT8; in HWTEST_F()
512 inputTensor.dataType = OH_NN_UINT16; in HWTEST_F()
529 inputTensor.dataType in HWTEST_F()
[all...]
/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/hdi_prepared_model/
H A Dhdi_prepared_model_test.cpp81 inputTensor.dataType = OH_NN_INT8; in InitTensor()
82 inputTensor.dataType = OH_NN_INT8; in InitTensor()
254 inputTensor.dataType = OH_NN_INT8; in HWTEST_F()
257 outputTensor.dataType = OH_NN_INT8; in HWTEST_F()
449 inputTensor.dataType = OH_NN_BOOL; in HWTEST_F()
466 inputTensor.dataType = OH_NN_INT16; in HWTEST_F()
483 inputTensor.dataType = OH_NN_INT64; in HWTEST_F()
500 inputTensor.dataType = OH_NN_UINT8; in HWTEST_F()
517 inputTensor.dataType = OH_NN_UINT16; in HWTEST_F()
534 inputTensor.dataType in HWTEST_F()
[all...]
/foundation/ai/neural_network_runtime/test/unittest/components/v2_1/hdi_prepared_model/
H A Dhdi_prepared_model_test.cpp81 inputTensor.dataType = OH_NN_INT8; in InitTensor()
82 inputTensor.dataType = OH_NN_INT8; in InitTensor()
252 inputTensor.dataType = OH_NN_INT8; in HWTEST_F()
255 outputTensor.dataType = OH_NN_INT8; in HWTEST_F()
443 inputTensor.dataType = OH_NN_BOOL; in HWTEST_F()
460 inputTensor.dataType = OH_NN_INT16; in HWTEST_F()
477 inputTensor.dataType = OH_NN_INT64; in HWTEST_F()
494 inputTensor.dataType = OH_NN_UINT8; in HWTEST_F()
511 inputTensor.dataType = OH_NN_UINT16; in HWTEST_F()
528 inputTensor.dataType in HWTEST_F()
[all...]
/foundation/multimedia/image_effect/frameworks/native/effect/pipeline/filters/sink/
H A Dimage_sink_filter.cpp75 if (buffer->extraInfo_->dataType == DataType::TEX) { in ModifyPixelMap()
126 if (buffer->extraInfo_->dataType == DataType::TEX) { in ModifySurfaceBuffer()
161 if (buffer->extraInfo_->dataType == DataType::TEX) { in ModifyInnerPixelMap()
179 if (buffer->extraInfo_->dataType == DataType::TEX) { in ModifyPictureForInnerPixelMap()
241 switch (src->extraInfo_->dataType) { in ModifyDataInfo()
278 if (inputBuffer->extraInfo_->dataType == DataType::TEX) { in FillOutputData()
298 if (inputBuffer->extraInfo_->dataType == DataType::TEX) { in FillPictureOutputData()
405 EFFECT_LOGD("SaveInputData: dataType=%{public}d", buffer->extraInfo_->dataType); in SaveInputData()
406 switch (src->extraInfo_->dataType) { in SaveInputData()
[all...]
/foundation/ai/neural_network_runtime/test/unittest/ops/
H A Dargmax_test.cpp32 void SetArgmaxAxis(OH_NN_DataType dataType,
34 void SetArgmaxKeepdims(OH_NN_DataType dataType,
36 void SetArgmaxTopK(OH_NN_DataType dataType,
38 void SetArgmaxOutMaxValue(OH_NN_DataType dataType,
55 void ArgMaxBuilderTest::SetArgmaxAxis(OH_NN_DataType dataType, in SetArgmaxAxis() argument
58 std::shared_ptr<NNTensor> tensor = TransToNNTensor(dataType, dim, quantParam, type); in SetArgmaxAxis()
65 void ArgMaxBuilderTest::SetArgmaxKeepdims(OH_NN_DataType dataType, in SetArgmaxKeepdims() argument
68 std::shared_ptr<NNTensor> tensor = TransToNNTensor(dataType, dim, quantParam, type); in SetArgmaxKeepdims()
75 void ArgMaxBuilderTest::SetArgmaxTopK(OH_NN_DataType dataType, in SetArgmaxTopK() argument
78 std::shared_ptr<NNTensor> tensor = TransToNNTensor(dataType, di in SetArgmaxTopK()
85 SetArgmaxOutMaxValue(OH_NN_DataType dataType, const std::vector<int32_t> &dim, const OH_NN_QuantParam* quantParam, OH_NN_TensorType type) SetArgmaxOutMaxValue() argument
[all...]
/foundation/multimedia/media_library/interfaces/inner_api/media_library_helper/include/
H A Dmedia_asset_data_handler_capi.h127 CapiMediaAssetDataHandler(NativeOnDataPrepared dataHandler, ReturnDataType dataType, const std::string &uri,
129 CapiMediaAssetDataHandler(OH_MediaLibrary_OnImageDataPrepared imageDataHandler, ReturnDataType dataType,
131 CapiMediaAssetDataHandler(OH_MediaLibrary_OnMovingPhotoDataPrepared photoDataHandler, ReturnDataType dataType,
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/
H A Dkvdb_notifier_proxy.cpp80 void KVDBNotifierProxy::OnRemoteChange(const std::map<std::string, bool> &mask, int32_t dataType) in OnRemoteChange() argument
84 KVDBNotifierCode::TRANS_ON_REMOTE_CHANGED), reply, mask, dataType); in OnRemoteChange()
86 ZLOGE("status:%{public}d, mask:%{public}zu, dataType:%{public}d", status, mask.size(), dataType); in OnRemoteChange()
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb_data_ability_adapter/src/
H A Dresult_set_utils.cpp30 DataShare::DataType dataType; in GetColumnType() local
31 auto ret = resultSet_->GetDataType(columnIndex, dataType); in GetColumnType()
32 columnType = NativeRdb::ColumnType(int32_t(dataType)); in GetColumnType()

Completed in 21 milliseconds

12345678910>>...27