/base/update/sys_installer/services/module_update/util/src/ |
D | module_utils.cpp | 142 ssize_t readSize = pread(fd, data, count, offset); in ReadFullyAtOffset() local 143 if (readSize <= 0) { in ReadFullyAtOffset() 146 data += readSize; in ReadFullyAtOffset() 147 count -= static_cast<size_t>(readSize); in ReadFullyAtOffset() 148 offset += readSize; in ReadFullyAtOffset()
|
/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/hiviewdfx/hiview/plugins/eventlogger/log_catcher/ |
D | dmesg_catcher.cpp | 73 int readSize = klogctl(SYSLOG_ACTION_READ_ALL, data, size); in DumpDmesgLog() local 74 if (readSize < 0) { in DumpDmesgLog()
|
/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_adapter/interfaces/policycoreutils/src/ |
D | contexts_trie.c | 315 …uint32_t readSize = dataLen + sizeof(SharedMem); // space used for read Shar… in ReadParamFromSharedMem() local 316 currentPos += readSize; in ReadParamFromSharedMem() 320 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/powermgr/battery_manager/charger/src/ |
D | power_supply_provider.cpp | 123 size_t readSize = read(fd, buf, size - 1); in ReadSysfsFile() local 124 buf[readSize] = '\0'; in ReadSysfsFile()
|
/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/request/request/frameworks/js/napi/src/upload/ |
D | curl_adp.cpp | 449 size_t readSize = fread(buffer, size, nitems, fData->fp); in ReadCallback() local 452 return readSize; in ReadCallback()
|
/base/global/resource_management/frameworks/resmgr/src/utils/ |
D | hap_parser.cpp | 389 uint32_t readSize = offset - startOffset; in ParseStringArray() local 390 if (readSize + 1 == arrLen) { in ParseStringArray() 394 if (readSize + 1 > arrLen) { in ParseStringArray()
|