Home
last modified time | relevance | path

Searched refs:GetByteSize (Results 1 - 24 of 24) sorted by relevance

/foundation/ability/ability_base/test/unittest/base/
H A Dzchar_wrapper_test.cpp66 * @tc.name: GetByteSize
73 EXPECT_EQ(0, zcharValue.GetByteSize(value)); in HWTEST_F()
78 * @tc.name: GetByteSize
85 EXPECT_EQ(0, zcharValue.GetByteSize(value)); in HWTEST_F()
90 * @tc.name: GetByteSize
97 EXPECT_EQ(2, zcharValue.GetByteSize(value)); in HWTEST_F()
102 * @tc.name: GetByteSize
109 EXPECT_EQ(3, zcharValue.GetByteSize(value)); in HWTEST_F()
114 * @tc.name: GetByteSize
121 EXPECT_EQ(4, zcharValue.GetByteSize(valu in HWTEST_F()
[all...]
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dnntensor.cpp71 auto ret = m_tensorDesc->GetByteSize(&byteSize); in CreateData()
106 auto ret = m_tensorDesc->GetByteSize(&byteSize); in CreateData()
138 auto ret = m_tensorDesc->GetByteSize(&byteSize); in CreateData()
315 auto ret = m_tensorDesc->GetByteSize(&byteSize); in CheckTensorData()
H A Dnnexecutor.cpp738 auto ret = m_outputTensorDescs[index].first->GetByteSize(&dataLength); in SetOutput()
805 auto ret = m_outputTensorDescs[index].first->GetByteSize(&dataLength); in SetOutputFromMemory()
/foundation/ability/ability_base/interfaces/inner_api/base/src/
H A Dzchar_wrapper.cpp40 int byteSize = GetByteSize(value_); in ToString()
65 int Char::GetByteSize(zchar c) in GetByteSize() function in OHOS::AAFwk::Char
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_core/
H A Dtensor_desc.h40 OH_NN_ReturnCode GetByteSize(size_t* byteSize) const;
H A Dtensor_desc.cpp151 OH_NN_ReturnCode TensorDesc::GetByteSize(size_t* byteSize) const in GetByteSize() function in OHOS::NeuralNetworkRuntime::TensorDesc
154 LOGE("GetByteSize failed, byteSize is nullptr."); in GetByteSize()
163 LOGE("GetByteSize failed, get element num failed."); in GetByteSize()
169 LOGE("GetByteSize failed, data type is invalid."); in GetByteSize()
H A Dneural_network_core.cpp979 return tensorDescImpl->GetByteSize(byteSize); in OH_NNTensorDesc_GetByteSize()
1069 auto ret = descImpl->GetByteSize(&byteSize); in OH_NNTensor_CreateWithFd()
/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/inner_model/
H A Dnn_tensor_desc_test.cpp174 * @tc.desc: Verify the success of the GetByteSize function
181 EXPECT_EQ(OH_NN_INVALID_PARAMETER, tensordesc.GetByteSize(testbytesize)); in HWTEST_F()
186 * @tc.desc: Verify the success of the GetByteSize function
193 EXPECT_EQ(OH_NN_INVALID_PARAMETER, tensordesc.GetByteSize(testbytesize)); in HWTEST_F()
/foundation/ability/ability_base/interfaces/inner_api/base/include/
H A Dzchar_wrapper.h45 static int GetByteSize(zchar c); /* [in] */
/foundation/graphic/graphic_3d/lume/LumeRender/src/util/
H A Dlinear_allocator.h73 inline size_t GetByteSize() const in GetByteSize() function in LinearAllocator
H A Dproperty_util.h83 size_t GetByteSize() const;
173 size_t GetByteSize() const;
H A Dproperty_util.cpp293 size_t CustomPropertyPodContainer::GetByteSize() const in GetByteSize() function in CustomPropertyPodContainer
649 size_t CustomPropertyBindingContainer::GetByteSize() const in GetByteSize() function in CustomPropertyBindingContainer
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/
H A Dlinear_allocator.h73 inline size_t GetByteSize() const in GetByteSize() function in LinearAllocator
H A Dproperty_util.h82 size_t GetByteSize() const;
H A Dproperty_util.cpp291 size_t CustomPropertyPodContainer::GetByteSize() const in GetByteSize() function in CustomPropertyPodContainer
/foundation/graphic/graphic_3d/lume/LumeEngine/src/util/
H A Dlinear_allocator.h74 inline size_t GetByteSize() const in GetByteSize() function in LinearAllocator
/foundation/ai/neural_network_runtime/test/unittest/components/nn_tensor/
H A Dnn_tensor_test.cpp89 MOCK_METHOD1(GetByteSize, OH_NN_ReturnCode(size_t*));
229 EXPECT_CALL(*((MockTensorDesc *) tensorDesc.get()), GetByteSize(::testing::_)) in HWTEST_F()
319 EXPECT_CALL(*((MockTensorDesc *) tensorDesc.get()), GetByteSize(::testing::_)) in HWTEST_F()
349 EXPECT_CALL(*((MockTensorDesc *) tensorDesc.get()), GetByteSize(::testing::_)) in HWTEST_F()
653 EXPECT_CALL(*((MockTensorDesc *) tensorDesc.get()), GetByteSize(::testing::_)) in HWTEST_F()
746 EXPECT_CALL(*((MockTensorDesc *) tensorDesc.get()), GetByteSize(::testing::_)) in HWTEST_F()
1050 EXPECT_CALL(*((MockTensorDesc *) tensorDesc.get()), GetByteSize(::testing::_)) in HWTEST_F()
/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/
H A Drender_barrier_list.cpp40 PLUGIN_ASSERT_MSG(allocator.allocators[allocator.currentIndex]->GetByteSize() > 0, in AllocateBarrierListMemory()
/foundation/multimedia/audio_framework/services/audio_service/common/src/
H A Dvolume_tools.cpp104 size_t GetByteSize(AudioSampleFormat format) in GetByteSize() function
194 size_t byteSizePerData = GetByteSize(format); in Process()
/foundation/graphic/graphic_3d/lume/LumeRender/src/device/
H A Dshader_pipeline_binder.cpp91 }(properties.GetByteSize(), align); in UpdateCustomPropertyMetadata()
153 }(properties.GetByteSize(), align); in UpdateBindingPropertyMetadata()
647 return (customPropertyData_.properties) ? static_cast<uint32_t>(customPropertyData_.properties->GetByteSize()) : 0U; in GetPropertyBindingByteSize()
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/components/
H A Dpost_process_configuration_component_manager.cpp111 }(properties.GetByteSize(), align); in UpdateCustomPropertyMetadata()
H A Dmaterial_component_manager.cpp284 }(properties.GetByteSize(), align); in UpdateCustomPropertyMetadata()
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/
H A Dext_decoder.cpp650 static uint64_t GetByteSize(int32_t width, int32_t height) in HeapMemAlloc() function
/foundation/ai/neural_network_runtime/test/unittest/components/nn_executor/
H A Dnn_executor_test.cpp109 MOCK_METHOD1(GetByteSize, OH_NN_ReturnCode(size_t*));

Completed in 32 milliseconds