Home
last modified time | relevance | path

Searched refs:expectedSize (Results 1 - 22 of 22) sorted by relevance

/foundation/distributeddatamgr/pasteboard/framework/innerkits/src/
H A Dpaste_data_record.cpp403 size_t expectedSize = 0; in Count() local
404 expectedSize += TLVObject::Count(mimeType_); in Count()
405 expectedSize += TLVObject::Count(htmlText_); in Count()
406 expectedSize += TLVObject::Count(ParcelUtil::Parcelable2Raw(want_.get())); in Count()
407 expectedSize += TLVObject::Count(plainText_); in Count()
408 expectedSize += TLVObject::Count(ParcelUtil::Parcelable2Raw(uri_.get())); in Count()
409 expectedSize += TLVObject::Count(convertUri_); in Count()
411 expectedSize += TLVObject::Count(pixelVector); in Count()
412 expectedSize += TLVObject::Count(customData_); in Count()
413 expectedSize in Count()
[all...]
H A Dpaste_data.cpp724 size_t expectedSize = 0; in Count() local
725 expectedSize += TLVObject::Count(ParcelUtil::Parcelable2Raw(&additions)); in Count()
726 expectedSize += TLVObject::Count(mimeTypes); in Count()
727 expectedSize += TLVObject::Count(tag); in Count()
728 expectedSize += TLVObject::Count(localOnly); in Count()
729 expectedSize += TLVObject::Count(timestamp); in Count()
730 expectedSize += TLVObject::Count(shareOption); in Count()
731 expectedSize += TLVObject::Count(tokenId); in Count()
732 expectedSize += TLVObject::Count(isRemote); in Count()
733 expectedSize in Count()
[all...]
H A Dpaste_data_entry.cpp183 size_t expectedSize = 0; in Count() local
184 expectedSize += TLVObject::Count(utdId_); in Count()
185 expectedSize += TLVObject::Count(mimeType_); in Count()
186 expectedSize += TLVObject::Count(value_); in Count()
187 return expectedSize; in Count()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/src/
H A Dfile_metadata_stream.cpp87 ssize_t expectedSize) in HandleFileError()
95 operation.c_str(), fileDescriptor, buf.c_str(), result, expectedSize); in HandleFileError()
99 operation.c_str(), filePath.c_str(), buf.c_str(), result, expectedSize); in HandleFileError()
86 HandleFileError(const std::string &operation, const std::string &filePath, int fileDescriptor, ssize_t result, ssize_t expectedSize) HandleFileError() argument
/foundation/multimedia/av_codec/test/fuzztest/encoderconfigure_fuzzer/
H A Dvideoenc_sample.h78 uint32_t ReturnZeroIfEOS(uint32_t expectedSize);
H A Dvideoenc_sample.cpp287 uint32_t VEncFuzzSample::ReturnZeroIfEOS(uint32_t expectedSize) in ReturnZeroIfEOS() argument
289 if (inFile_->gcount() != (expectedSize)) { in ReturnZeroIfEOS()
/foundation/multimedia/av_codec/test/fuzztest/encoderapi11_fuzzer/
H A Dvideoenc_api11_sample.h76 uint32_t ReturnZeroIfEOS(uint32_t expectedSize);
H A Dvideoenc_api11_sample.cpp338 uint32_t VEncAPI11FuzzSample::ReturnZeroIfEOS(uint32_t expectedSize) in ReturnZeroIfEOS() argument
340 if (inFile_->gcount() != (expectedSize)) { in ReturnZeroIfEOS()
/foundation/multimedia/av_codec/test/moduletest/vcodec/encoder/include/
H A Dvideoenc_sample.h86 uint32_t ReturnZeroIfEOS(uint32_t expectedSize);
H A Dvideoenc_api11_sample.h109 uint32_t ReturnZeroIfEOS(uint32_t expectedSize);
H A Dvideoenc_inner_sample.h126 uint32_t ReturnZeroIfEOS(uint32_t expectedSize);
/foundation/graphic/surface_lite/frameworks/
H A Dbuffer_manager.cpp156 info.expectedSize = size; in AllocBuffer()
/foundation/graphic/graphic_3d/lume/metaobject/test/src/interface/
H A DIntfContainerTest.cpp192 auto expectedSize = NumDirectChildren; in HWTEST_P() local
199 EXPECT_EQ(all.size(), ++expectedSize); in HWTEST_P()
204 EXPECT_EQ(all.size(), ++expectedSize); in HWTEST_P()
209 EXPECT_EQ(all.size(), ++expectedSize); in HWTEST_P()
217 auto expected3 = ChildChangedInfo { item3, expectedSize - 1, container_ }; in HWTEST_P()
/foundation/arkui/ace_engine/test/unittest/core/pattern/menu/
H A Dmenuitemgroup_test_ng.cpp276 auto expectedSize = SizeF(MENU_ITEM_SIZE_WIDTH, MENU_ITEM_SIZE_HEIGHT * 3); in HWTEST_F() local
277 EXPECT_EQ(layoutWrapper->GetGeometryNode()->GetFrameSize(), expectedSize); in HWTEST_F()
352 auto expectedSize = SizeF(MENU_ITEM_SIZE_WIDTH, MENU_ITEM_SIZE_HEIGHT * 3); in HWTEST_F() local
H A Dmenu_layoutFst_test_ng.cpp1380 auto expectedSize = SizeF(MENU_ITEM_SIZE_WIDTH, MENU_ITEM_SIZE_HEIGHT * 3); in HWTEST_F() local
1381 EXPECT_EQ(wrapper->GetGeometryNode()->GetContentSize().Height(), expectedSize.Height()); in HWTEST_F()
/foundation/multimedia/av_codec/test/moduletest/vcodec/encoder/src/
H A Dvideoenc_ndk_sample.cpp413 uint32_t VEncNdkSample::ReturnZeroIfEOS(uint32_t expectedSize) in ReturnZeroIfEOS() argument
415 if (inFile_->gcount() != (expectedSize)) { in ReturnZeroIfEOS()
H A Dvideoenc_api11_sample.cpp506 uint32_t VEncAPI11Sample::ReturnZeroIfEOS(uint32_t expectedSize) in ReturnZeroIfEOS() argument
508 if (inFile_->gcount() != (expectedSize)) { in ReturnZeroIfEOS()
/foundation/multimedia/av_codec/test/unittest/hcodec_test/helper/
H A Dtester_common.cpp442 #define RETURN_ZERO_IF_EOS(expectedSize) \
444 if (src.gcount() != (expectedSize)) { \
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_data_operation_test.cpp2308 void CheckResultSize(KvStoreResultSet *resultSet, const std::vector<Key> &expectedKeys, int expectedSize) in CheckResultSize() argument
2310 for (int i = 0; i < expectedSize; i++) { in CheckResultSize()
2384 int expectedSize = (keys.size() >= limitNum) ? static_cast<int>(limitNum) : static_cast<int>(keys.size()); in HWTEST_F() local
2385 ASSERT_EQ(resultSet2->GetCount(), static_cast<int>(expectedSize)); in HWTEST_F()
2386 CheckResultSize(resultSet2, expectedKeys, expectedSize); in HWTEST_F()
/foundation/graphic/graphic_surface/interfaces/inner_api/surface/
H A Dsurface_type.h207 uint32_t expectedSize; /**< Size assigned by memory requester */
/foundation/multimedia/av_codec/test/moduletest/vcodec/encoder/src/InnerAPI/
H A Dvideoenc_ndk_inner_sample.cpp583 uint32_t VEncNdkInnerSample::ReturnZeroIfEOS(uint32_t expectedSize) in ReturnZeroIfEOS() argument
585 if (inFile_->gcount() != (int32_t)expectedSize) { in ReturnZeroIfEOS()
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/acts_bms_kit_system_test/
H A Dacts_bms_kit_system_test.cpp5535 size_t expectedSize = 3; in HWTEST_F() local
5536 EXPECT_EQ(abilityInfos.size(), expectedSize); in HWTEST_F()
5630 size_t expectedSize = 3; in HWTEST_F() local
5631 EXPECT_EQ(abilityInfos.size(), expectedSize); in HWTEST_F()

Completed in 43 milliseconds