Home
last modified time | relevance | path

Searched refs:dataType (Results 1 - 25 of 91) sorted by relevance

1234

/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...]
H A Deffect_filter_test.cpp925 setValue.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_FLOAT; in OHEffectFilterSetValue()
930 setValue.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_INT32; in OHEffectFilterSetValue()
935 setValue.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_FLOAT; in OHEffectFilterSetValue()
940 setValue.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_FLOAT; in OHEffectFilterSetValue()
972 setValue.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_FLOAT; in OHEffectFilterGetValue()
976 if (retValue.dataType != setValue.dataType || retValue.dataValue.floatValue != setValue.dataValue.floatValue) { in OHEffectFilterGetValue()
982 setValue.dataType = ImageEffect_DataType::EFFECT_DATA_TYPE_INT32; in OHEffectFilterGetValue()
/test/xts/acts/ai/nncore/nncoretest/src/
H A DHdiTensorDescTest.cpp105 int dataType = static_cast<int>(OH_NN_FLOAT64)+1; in HWTEST_F() local
106 ASSERT_EQ(OH_NN_INVALID_PARAMETER, OH_NNTensorDesc_SetDataType(tensorDesc, static_cast<OH_NN_DataType>(dataType))); in HWTEST_F()
107 dataType = static_cast<int>(OH_NN_UNKNOWN)-1; in HWTEST_F()
108 ASSERT_EQ(OH_NN_INVALID_PARAMETER, OH_NNTensorDesc_SetDataType(tensorDesc, static_cast<OH_NN_DataType>(dataType))); in HWTEST_F()
119 OH_NN_DataType dataType; in HWTEST_F() local
120 ASSERT_EQ(OH_NN_INVALID_PARAMETER, OH_NNTensorDesc_GetDataType(nullptr, &dataType)); in HWTEST_F()
132 OH_NN_DataType dataType = OH_NN_UNKNOWN; in HWTEST_F() local
133 ASSERT_EQ(OH_NN_SUCCESS, OH_NNTensorDesc_GetDataType(tensorDesc, &dataType)); in HWTEST_F()
134 ASSERT_EQ(OH_NN_UNKNOWN, dataType); in HWTEST_F()
/test/xts/acts/ai/neural_network_runtime/v2_0/interface/src/
H A DExecutorTest.cpp99 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
127 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
155 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
184 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), dimensions, quantParam, in HWTEST_F()
212 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
240 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
267 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
300 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), shape, in HWTEST_F()
335 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), shape, in HWTEST_F()
370 OH_NN_Tensor operand = {operandTem.dataType, (uint32_ in HWTEST_F()
[all...]
H A DMemoryTest.cpp561 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
588 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
638 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
665 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
692 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
814 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
858 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
/test/xts/dcts/communication/softbus_standard/socket_trans/server/
H A DSocketTestServer.cpp69 .dataType = DATA_TYPE_BYTES,
75 .dataType = DATA_TYPE_MESSAGE,
81 .dataType = DATA_TYPE_FILE,
87 .dataType = DATA_TYPE_VIDEO_STREAM,
93 LOG("[cb][data]OnBind success {socket:%d, name:%s, deviceId:%s, pkgName:%s, dataType:%d}", socket, in OnBind()
94 info.name, info.networkId, info.pkgName, info.dataType); in OnBind()
/test/xts/acts/ai/nncore/opstest/src/
H A Dconstant_of_shape_test.cpp36 OHNNOperandTest dataType = {OH_NN_INT64, OH_NN_CONSTANT_OF_SHAPE_DATA_TYPE, {1}, dataTypeValue, sizeof(int64_t)}; member
39 .operands = {input, output, dataType, value},
55 OHNNOperandTest dataType = {OH_NN_INT64, OH_NN_CONSTANT_OF_SHAPE_DATA_TYPE, {1}, dataTypeValue, sizeof(int64_t)}; member
58 .operands = {input, output, dataType, value},
135 constantOfShapeModel.dataType, constantOfShapeModel.value}; in HWTEST_F()
157 constantOfShapeModel.dataType, constantOfShapeModel.value}; in HWTEST_F()
181 graphArgs.operands = {constantOfShapeModel.input, constantOfShapeModel.output, constantOfShapeModel.dataType, in HWTEST_F()
261 operandTem.dataType, operandTem.format); in HWTEST_F()
298 operandTem.dataType, operandTem.format); in HWTEST_F()
334 operandTem.dataType, operandTe in HWTEST_F()
[all...]
H A Dnncore_utils.cpp28 NN_TensorDesc* createTensorDesc(const int32_t* shape, size_t shapeNum, OH_NN_DataType dataType, OH_NN_Format format) in createTensorDesc() argument
36 OH_NN_ReturnCode ret = OH_NNTensorDesc_SetDataType(tensorDescTmp, dataType); in createTensorDesc()
100 operandTem.dataType, operandTem.format); in BuildSingleOpGraph()
/test/xts/acts/ai/neural_network_runtime/v1_0/interface/src/
H A DExecutorTest.cpp99 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
127 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
155 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
184 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), dimensions, quantParam, in HWTEST_F()
212 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
240 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
267 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
300 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
340 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
380 OH_NN_Tensor operand = {operandTem.dataType, (uint32_ in HWTEST_F()
[all...]
H A DMemoryTest.cpp561 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
588 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
638 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
665 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
692 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
814 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
858 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t)operandTem.shape.size(), operandTem.shape.data(), in HWTEST_F()
/test/xts/dcts/communication/softbus_standard/common/
H A Dnet_trans_common.c1217 g_sessionAttr4Data->dataType = TYPE_BYTES; in TestSetUp()
1221 g_sessionAttr4Ctl->dataType = TYPE_BYTES; in TestSetUp()
1225 g_sessionAttr4Pass->dataType = TYPE_BYTES; in TestSetUp()
1229 g_sessionAttr4Perf->dataType = TYPE_BYTES; in TestSetUp()
1233 g_sessionAttr4Proxy->dataType = TYPE_MESSAGE; in TestSetUp()
1237 g_p2pattribute->dataType = TYPE_BYTES; in TestSetUp()
1243 g_p2pattributeProxy->dataType = TYPE_MESSAGE; in TestSetUp()
/test/xts/acts/ai/nncore/opstest/include/
H A Dnncore_utils.h30 OH_NN_DataType dataType; member
70 NN_TensorDesc* createTensorDesc(const int32_t* shape, size_t shapeNum, OH_NN_DataType dataType, OH_NN_Format format);
/test/xts/dcts/communication/softbus_standard/transmission/sendstream/
H A Dtrans_stream_test.cpp87 attr.dataType = TYPE_STREAM; in HWTEST_F()
132 attr.dataType = TYPE_STREAM; in HWTEST_F()
/test/xts/hats/ai/nnrt/hdi/v1_0/common/
H A Dhdi_nnrt_test_utils.cpp152 .dataType = V1_0::DATA_TYPE_FLOAT32, in CreateIOTensor()
180 .dataType = V1_0::DATA_TYPE_FLOAT32, in CreateInputIOTensor()
201 .dataType = V1_0::DATA_TYPE_FLOAT32, in CreateOutputIOTensor()
/test/xts/hats/ai/nnrt/hdi/v2_0/common/
H A Dhdi_nnrt_test_utils.cpp152 .dataType = V2_0::DATA_TYPE_FLOAT32, in CreateIOTensor()
180 .dataType = V2_0::DATA_TYPE_FLOAT32, in CreateInputIOTensor()
201 .dataType = V2_0::DATA_TYPE_FLOAT32, in CreateOutputIOTensor()
/test/xts/acts/ai/neural_network_runtime/v2_0/common/
H A Dnnrt_utils.cpp37 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t) operandTem.shape.size(), in BuildMultiOpGraph()
86 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t) operandTem.shape.size(), in BuildSingleOpGraph()
226 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t) operandTem.shape.size(), in ExecuteGraphMock()
269 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t) operandTem.shape.size(), in ExecutorWithMemory()
/test/xts/acts/ai/neural_network_runtime/v1_0/common/
H A Dnnrt_utils.cpp37 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t) operandTem.shape.size(), in BuildMultiOpGraph()
86 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t) operandTem.shape.size(), in BuildSingleOpGraph()
226 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t) operandTem.shape.size(), in ExecuteGraphMock()
269 OH_NN_Tensor operand = {operandTem.dataType, (uint32_t) operandTem.shape.size(), in ExecutorWithMemory()
/test/xts/acts/security/cryptoFramework/js_api_test_one/entry/src/ohosTest/js/test/utils/asymmetric/
H A DpublicAsymmetricPromise.js346 async function signAndVerifyNormalProcessDataException(asyAlgoName, signVerifyAlgoName, dataType) {
351 if (dataType == "null") {
385 if (dataType == "null") {
393 if (dataType == "null") {
/test/xts/dcts/communication/softbus_standard/socket_trans/client/func/
H A Dsocket_trans_func_test.cpp93 .dataType = DATA_TYPE_BYTES,
101 .dataType = DATA_TYPE_MESSAGE,
109 .dataType = DATA_TYPE_FILE,
117 .dataType = DATA_TYPE_VIDEO_STREAM,
/test/xts/acts/ai/nncore/common/
H A Dnncore_utils.cpp29 NN_TensorDesc* createTensorDesc(const int32_t* shape, size_t shapeNum, OH_NN_DataType dataType, OH_NN_Format format) in createTensorDesc() argument
37 OH_NN_ReturnCode ret = OH_NNTensorDesc_SetDataType(tensorDescTmp, dataType); in createTensorDesc()
87 operandTem.dataType, operandTem.format); in BuildMultiOpGraph()
161 operandTem.dataType, operandTem.format); in BuildSingleOpGraph()
193 operandTem.dataType, operandTem.format); in BuildSingleOpGraphWithQuantParams()
/test/ostest/wukong/report/src/
H A Ddata_unit.cpp22 ErrCode DataUnit::AddData(std::string key, std::string value, DataType dataType) in AddData() argument
/test/xts/hats/ai/nnrt/hdi/v2_0/nnrtFunctionTest_additional/src/
H A Dhdi_model_prepare_test.cpp3873 * @tc.desc: Call function V2 PrepareModel, tensor.dataType is DATA_TYPE_UNKNOWN
3886 tensor.dataType = static_cast<V2_0::DataType>(mindspore::lite::DATA_TYPE_UNKNOWN); in HWTEST_F()
3902 * @tc.desc: Call function V2 PrepareModel, tensor.dataType is DATA_TYPE_BOOL
3915 tensor.dataType = static_cast<V2_0::DataType>(mindspore::lite::DATA_TYPE_BOOL); in HWTEST_F()
3944 * @tc.desc: Call function V2 PrepareModel, tensor.dataType is DATA_TYPE_INT8
3957 tensor.dataType = static_cast<V2_0::DataType>(mindspore::lite::DATA_TYPE_INT8); in HWTEST_F()
3973 * @tc.desc: Call function V2 PrepareModel, tensor.dataType is DATA_TYPE_INT16
3986 Tensor.dataType = V2_0::DATA_TYPE_INT16; in HWTEST_F()
3999 * @tc.desc: Call function V2 PrepareModel, tensor.dataType is DATA_TYPE_INT32
4012 tensor.dataType in HWTEST_F()
[all...]
H A Dhdi_device_test.cpp1861 * @tc.desc: Call function V2 GetSupportedOperation, tensor.dataType is DATA_TYPE_UNKNOWN
1874 tensor.dataType = static_cast<V2_0::DataType>(mindspore::lite::DATA_TYPE_UNKNOWN); in HWTEST_F()
1892 * @tc.desc: Call function V2 GetSupportedOperation, tensor.dataType is DATA_TYPE_BOOL
1905 tensor.dataType = static_cast<V2_0::DataType>(mindspore::lite::DATA_TYPE_BOOL); in HWTEST_F()
1923 * @tc.desc: Call function V2 GetSupportedOperation, tensor.dataType is DATA_TYPE_INT8
1936 tensor.dataType = static_cast<V2_0::DataType>(mindspore::lite::DATA_TYPE_INT8); in HWTEST_F()
1954 * @tc.desc: Call function V2 GetSupportedOperation, tensor.dataType is DATA_TYPE_INT16
1967 tensor.dataType = static_cast<V2_0::DataType>(mindspore::lite::DATA_TYPE_INT16); in HWTEST_F()
1985 * @tc.desc: Call function V2 GetSupportedOperation, tensor.dataType is DATA_TYPE_INT32
1998 tensor.dataType in HWTEST_F()
[all...]
/test/ostest/wukong/report/include/
H A Ddata_unit.h32 ErrCode AddData(std::string key, std::string value, DataType dataType);
/test/xts/acts/ai/nncore/e2etest/src/
H A DEndToEndTest.cpp125 OH_NN_DataType dataType(OH_NN_FLOAT32); in SetInputData()
139 ret = OH_NNTensorDesc_GetDataType(desc, &dataType); in SetInputData()
149 switch (dataType) { in SetInputData()

Completed in 52 milliseconds

1234