Searched refs:readCount (Results 1 - 4 of 4) sorted by relevance
/base/security/device_auth/deps_adapter/os_adapter/impl/src/liteos/mini/ |
H A D | hc_file_posix.c | 133 int readCount = read(fp, dstBuffer + total, dstSize - total); in HcFileRead() local 134 if (readCount < 0 || readCount > (dstSize - total)) { in HcFileRead() 138 if (readCount == 0) { in HcFileRead() 142 total += readCount; in HcFileRead()
|
/base/update/updateservice/services/core/ability/utils/src/ |
H A D | sha256_utils.cpp | 83 int readCount = (sizeof(buffer) > (uint32_t)fLen) ? fLen : sizeof(buffer); in GetDigestFromFile() local 84 int count = (int)fread(buffer, 1, readCount, fp); in GetDigestFromFile() 85 if (count != readCount) { in GetDigestFromFile()
|
/base/security/device_auth/deps_adapter/os_adapter/impl/src/linux/ |
H A D | hc_file.c | 131 int readCount = (int)fread(dstBuffer + total, 1, dstSize - total, fp); in HcFileRead() local 135 if (readCount == 0) { in HcFileRead() 138 total += readCount; in HcFileRead()
|
/base/hiviewdfx/faultloggerd/tools/process_dump/ |
H A D | process_dumper.cpp | 373 ssize_t readCount = OHOS_TEMP_FAILURE_RETRY(read(STDIN_FILENO, request.get(), sizeof(ProcessDumpRequest))); in ReadRequestAndCheck() local 378 if (readCount != static_cast<long>(sizeof(ProcessDumpRequest))) { in ReadRequestAndCheck() 379 DFXLOGE("Failed to read DumpRequest(%{public}d), readCount(%{public}zd).", errno, readCount); in ReadRequestAndCheck()
|
Completed in 3 milliseconds