/foundation/ability/ability_base/test/unittest/base/ |
H A D | zchar_wrapper_test.cpp | 66 * @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 D | nntensor.cpp | 71 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 D | nnexecutor.cpp | 738 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 D | zchar_wrapper.cpp | 40 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 D | tensor_desc.h | 40 OH_NN_ReturnCode GetByteSize(size_t* byteSize) const;
|
H A D | tensor_desc.cpp | 151 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 D | neural_network_core.cpp | 979 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 D | nn_tensor_desc_test.cpp | 174 * @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 D | zchar_wrapper.h | 45 static int GetByteSize(zchar c); /* [in] */
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/util/ |
H A D | linear_allocator.h | 73 inline size_t GetByteSize() const in GetByteSize() function in LinearAllocator
|
H A D | property_util.h | 83 size_t GetByteSize() const; 173 size_t GetByteSize() const;
|
H A D | property_util.cpp | 293 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 D | linear_allocator.h | 73 inline size_t GetByteSize() const in GetByteSize() function in LinearAllocator
|
H A D | property_util.h | 82 size_t GetByteSize() const;
|
H A D | property_util.cpp | 291 size_t CustomPropertyPodContainer::GetByteSize() const in GetByteSize() function in CustomPropertyPodContainer
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/util/ |
H A D | linear_allocator.h | 74 inline size_t GetByteSize() const in GetByteSize() function in LinearAllocator
|
/foundation/ai/neural_network_runtime/test/unittest/components/nn_tensor/ |
H A D | nn_tensor_test.cpp | 89 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 D | render_barrier_list.cpp | 40 PLUGIN_ASSERT_MSG(allocator.allocators[allocator.currentIndex]->GetByteSize() > 0, in AllocateBarrierListMemory()
|
/foundation/multimedia/audio_framework/services/audio_service/common/src/ |
H A D | volume_tools.cpp | 104 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 D | shader_pipeline_binder.cpp | 91 }(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 D | post_process_configuration_component_manager.cpp | 111 }(properties.GetByteSize(), align); in UpdateCustomPropertyMetadata()
|
H A D | material_component_manager.cpp | 284 }(properties.GetByteSize(), align); in UpdateCustomPropertyMetadata()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/ |
H A D | ext_decoder.cpp | 650 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 D | nn_executor_test.cpp | 109 MOCK_METHOD1(GetByteSize, OH_NN_ReturnCode(size_t*));
|