Home
last modified time | relevance | path

Searched refs:dstSize (Results 1 – 8 of 8) sorted by relevance

/base/security/device_auth/deps_adapter/os_adapter/impl/src/liteos/mini/
Dhc_file_posix.c110 int HcFileRead(FileHandle file, void *dst, int dstSize) in HcFileRead() argument
113 if (fp == -1 || dstSize < 0 || dst == NULL) { in HcFileRead()
119 while (total < dstSize) { in HcFileRead()
120 int readCount = read(fp, dstBuffer + total, dstSize - total); in HcFileRead()
121 if (readCount < 0 || readCount > (dstSize - total)) { in HcFileRead()
Dhc_file.c72 int HcFileRead(FileHandle file, void *dst, int dstSize) in HcFileRead() argument
75 if (fp == HAL_FAILED || dstSize < 0 || dst == NULL) { in HcFileRead()
78 int ret = UtilsFileRead(fp, (char *)dst, dstSize); in HcFileRead()
/base/security/device_auth/deps_adapter/os_adapter/impl/src/linux/
Dhc_file.c114 int HcFileRead(FileHandle file, void *dst, int dstSize) in HcFileRead() argument
117 if (fp == NULL || dstSize < 0 || dst == NULL) { in HcFileRead()
123 while (total < dstSize) { in HcFileRead()
124 int readCount = fread(dstBuffer + total, 1, dstSize - total, fp); in HcFileRead()
/base/security/device_auth/deps_adapter/os_adapter/interfaces/linux/
Dhc_file.h37 int HcFileRead(FileHandle file, void *dst, int dstSize);
/base/security/device_auth/deps_adapter/os_adapter/interfaces/liteos/
Dhc_file.h41 int HcFileRead(FileHandle file, void *dst, int dstSize);
/base/global/i18n_lite/interfaces/kits/i18n/include/
Dlocale_info.h193 …bool ChangeLanguageCode(char *lang, const int32_t dstSize, const char *src, const int32_t srcSize)…
/base/global/i18n_lite/frameworks/i18n/src/
Dlocale_info.cpp210 bool LocaleInfo::ChangeLanguageCode(char *lang, const int32_t dstSize, const char *src, const int32… in ChangeLanguageCode() argument
234 if (strcpy_s(lang, dstSize, src) != EOK) { in ChangeLanguageCode()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/mock/
Dmock_pixel_map.cpp88 bool PixelMap::ScalePixelMap(const Size &targetSize, const Size &dstSize, const ScaleMode &scaleMod… in ScalePixelMap() argument