Home
last modified time | relevance | path

Searched refs:CheckSize (Results 1 - 18 of 18) sorted by relevance

/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/heif_parser/
H A Dheif_stream.cpp53 bool HeifBufferInputStream::CheckSize(size_t target_size, int64_t end) in CheckSize() function in OHOS::ImagePlugin::HeifBufferInputStream
91 if (!CheckSize(UINT8_BYTES_NUM)) { in Read8()
106 if (!CheckSize(UINT16_BYTES_NUM)) { in Read16()
121 if (!CheckSize(UINT32_BYTES_NUM)) { in Read32()
139 if (!CheckSize(UINT64_BYTES_NUM)) { in Read64()
161 if (!CheckSize(size)) { in ReadData()
180 if (!CheckSize(UINT8_BYTES_NUM)) { in ReadString()
195 bool HeifStreamReader::CheckSize(size_t size) in CheckSize() function in OHOS::ImagePlugin::HeifStreamReader
197 bool res = inputStream_->CheckSize(size, end_); in CheckSize()
204 void HeifStreamWriter::CheckSize(size_ function in OHOS::ImagePlugin::HeifStreamWriter
[all...]
/foundation/multimedia/media_foundation/tests/unittest/avshared_memory_pool/
H A Davshared_memory_pool_test.cpp68 * @tc.name: CheckSize
69 * @tc.desc: CheckSize
72 HWTEST_F(AVSharedMemoryPoolTest, CheckSize, TestSize.Level1) in HWTEST_F()
75 EXPECT_EQ(false, pool->CheckSize(-2)); in HWTEST_F()
76 EXPECT_EQ(false, pool->CheckSize(1)); in HWTEST_F()
77 EXPECT_TRUE(pool->CheckSize(-1)); in HWTEST_F()
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/heif_impl/heif_parser/
H A Dheif_stream.h32 virtual bool CheckSize(size_t size, int64_t end) = 0;
47 bool CheckSize(size_t target_size, int64_t end) override;
77 [[nodiscard]] bool CheckSize(size_t size);
118 void CheckSize(size_t size);
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/heif_parser/box/
H A Dheif_box.cpp43 if (!reader.CheckSize(UINT64_BYTES_NUM)) { in ParseHeader()
53 if (!reader.CheckSize(UINT64_BYTES_NUM)) { in ParseHeader()
61 if (!reader.CheckSize(UUID_TYPE_BYTE_NUM)) { in ParseHeader()
148 if (reader.CheckSize(contentSize)) { in ParseContent()
211 if (!reader.CheckSize(boxContentSize)) { in MakeFromReader()
H A Ditem_property_color_box.cpp29 if (!reader.CheckSize(profileDataSize)) { in ParseContent()
37 if (!reader.CheckSize(UINT16_BYTES_NUM + UINT16_BYTES_NUM + UINT16_BYTES_NUM + UINT8_BYTES_NUM)) { in ParseContent()
H A Ditem_property_basic_box.cpp43 if (!reader.CheckSize(channelNum)) { in ParseContent()
H A Ditem_data_box.cpp288 ret = stream->CheckSize(extent.length, -1);
H A Ditem_property_hvcc_box.cpp51 if (!nalUnitSize || !reader.CheckSize(nalUnitSize)) { in ParseNalUnitArray()
/foundation/arkui/ace_engine/test/unittest/core/pattern/shape/
H A Dbase_shape_pattern_test_ng.h29 void CheckSize(bool hasValue);
H A Dcircle_pattern_test_ng.cpp94 CheckSize(true); in HWTEST_F()
H A Dbase_shape_pattern_test_ng.cpp33 void BaseShapePatternTestNg::CheckSize(bool hasValue) in CheckSize() function in OHOS::Ace::NG::BaseShapePatternTestNg
/foundation/multimedia/media_library/frameworks/services/media_thumbnail/src/
H A Dthumbnail_uri_utils.cpp74 if (!CheckSize(outSize, outPath)) { in ParseThumbnailInfo()
117 bool ThumbnailUriUtils::CheckSize(Size &outSize, const string &outPath) in CheckSize() function in OHOS::Media::ThumbnailUriUtils
/foundation/multimedia/media_foundation/interface/inner_api/common/
H A Davsharedmemorypool.h95 bool CheckSize(int32_t size);
/foundation/multimedia/media_library/frameworks/services/media_thumbnail/include/
H A Dthumbnail_uri_utils.h40 static bool CheckSize(Size &outSize, const std::string &outPath);
/foundation/multimedia/media_foundation/src/common/
H A Davsharedmemorypool.cpp151 bool AVSharedMemoryPool::CheckSize(int32_t size) in CheckSize() function in OHOS::Media::AVSharedMemoryPool
180 FALSE_RETURN_V_MSG_E(CheckSize(size), nullptr, "invalid size: %{public}d", size); in AcquireMemory()
/foundation/distributeddatamgr/data_share/frameworks/native/consumer/include/
H A Ddatashare_proxy.h76 bool CheckSize(const UpdateOperations &operations);
/foundation/distributeddatamgr/data_share/frameworks/native/consumer/src/
H A Ddatashare_proxy.cpp237 if (!CheckSize(operations)) { in BatchUpdate()
627 bool DataShareProxy::CheckSize(const UpdateOperations &operations) in CheckSize() function in OHOS::DataShare::DataShareProxy
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dheif_parser_test.cpp156 heifWriter.CheckSize(size); in HWTEST_F()

Completed in 11 milliseconds