/base/global/i18n_lite/frameworks/i18n/src/ |
D | data_resource.cpp | 173 int32_t readSize = read(infile, cache, GLOBAL_RESOURCE_HEADER_LEFT); in ReadHeader() local 174 if (readSize != GLOBAL_RESOURCE_HEADER_LEFT) { in ReadHeader() 190 int32_t readSize = read(infile, locales, localeSize); in PrepareData() local 191 if (readSize < 0 || localeSize != static_cast<uint32_t>(readSize)) { in PrepareData() 277 int32_t readSize = read(infile, configs, resourceSize); in PrepareLocaleData() local 278 if (readSize != resourceSize) { in PrepareLocaleData() 410 int32_t readSize = read(infile, temp, length); in Retrieve() local 412 if ((readSize < 0) || (static_cast<uint32_t>(readSize) != length)) { in Retrieve()
|
/base/powermgr/thermal_manager/application/protector/src/ |
D | thermal_sensor_provision.cpp | 77 int32_t readSize; in ReadSysfsFile() local 83 readSize = read(fd, buf, size - 1); in ReadSysfsFile() 84 if (readSize < NUM_ZERO) { in ReadSysfsFile() 90 buf[readSize] = '\0'; in ReadSysfsFile()
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
D | cert_manager_storage.c | 139 uint32_t readSize = CmFileRead(path, fileName, 0, data, fileSize); in CmStorageGetBuf() local 140 if (readSize == 0) { in CmStorageGetBuf()
|
/base/security/selinux/interfaces/policycoreutils/src/ |
D | contexts_trie.c | 243 …uint32_t readSize = dataLen + sizeof(SharedMem); // space used for read Shar… in ReadParamFromSharedMem() local 244 currentPos += readSize; in ReadParamFromSharedMem() 248 memPtr = (SharedMem *)((char *)memPtr + readSize); in ReadParamFromSharedMem()
|
/base/security/permission_lite/services/pms/src/ |
D | pms_impl.c | 96 unsigned int readSize = buf.st_size; in ReadString() local 97 char *rst = (char *)HalMalloc(readSize); in ReadString() 103 if (memset_s(rst, readSize, 0x0, readSize) != EOK) { in ReadString() 116 int ret = read(fd, rst, readSize); in ReadString()
|
/base/global/resource_management_lite/frameworks/resmgr_lite/src/utils/ |
D | hap_parser.cpp | 201 uint32_t readSize = offset - startOffset; in ParseStringArray() local 202 if (readSize + 1 == arrLen) { in ParseStringArray() 206 if (readSize + 1 > arrLen) { in ParseStringArray()
|
/base/global/resource_management/frameworks/resmgr/src/utils/ |
D | hap_parser.cpp | 287 uint32_t readSize = offset - startOffset; in ParseStringArray() local 288 if (readSize + 1 == arrLen) { in ParseStringArray() 292 if (readSize + 1 > arrLen) { in ParseStringArray()
|
/base/request/request/upload/frameworks/libs/src/ |
D | curl_adp.cpp | 433 size_t readSize = fread(buffer, size, nitems, fData->fp); in ReadCallback() local 436 return readSize; in ReadCallback()
|
/base/powermgr/thermal_manager/services/native/test/unittest/src/ |
D | thermal_action_report_test.cpp | 95 int32_t readSize; in ReadSysfsFile() local 102 readSize = read(fd, buf, size - 1); in ReadSysfsFile() 103 if (readSize < NUM_ZERO) { in ReadSysfsFile() 109 buf[readSize] = '\0'; in ReadSysfsFile()
|
D | thermal_mgr_policy_test.cpp | 60 int32_t readSize; in ReadSysfsFile() local 67 readSize = read(fd, buf, size - 1); in ReadSysfsFile() 68 if (readSize < 0) { in ReadSysfsFile() 74 buf[readSize] = '\0'; in ReadSysfsFile()
|
/base/theme/wallpaper_mgr/services/src/ |
D | wallpaper_service.cpp | 631 int readSize = read(fd, paperBuf, length); in SetWallpaperByFD() local 632 if (readSize <= 0) { in SetWallpaperByFD()
|