Searched refs:DCopy (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/test/ |
H A D | utils_test.cpp | 207 HWTEST_F(ServiceUtilsTest, DCopy, TestSize.Level1) 220 EXPECT_FALSE(constant.DCopy(tag, tagLen, src, srcLen)); 221 EXPECT_FALSE(constant.DCopy(tag, tagsLen, src, srcsLen)); 222 EXPECT_FALSE(constant.DCopy(tags, tagLen, src, srcLen)); 223 EXPECT_FALSE(constant.DCopy(tag, tagLen, srcs, srcLen)); 224 EXPECT_FALSE(constant.DCopy(tags, tagsLen, src, srcsLen)); 225 EXPECT_FALSE(constant.DCopy(tag, tagsLen, srcs, srcsLen)); 226 EXPECT_FALSE(constant.DCopy(tags, tagLen, srcs, srcLen)); 227 EXPECT_TRUE(constant.DCopy(tags, tagsLen, srcs, srcsLen));
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/utils/ |
H A D | constant.h | 53 …return DCopy(reinterpret_cast<uint8_t *>(tag), sizeof(T), reinterpret_cast<const uint8_t *>(src), … in Copy() 75 API_EXPORT static bool DCopy(uint8_t *tag, size_t tagLen, const uint8_t *src, size_t srcLen);
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/utils/ |
H A D | constant.cpp | 88 bool Constant::DCopy(uint8_t *tag, size_t tagLen, const uint8_t *src, size_t srcLen) in DCopy() function in OHOS::DistributedData::Constant
|