Lines Matching refs:bufferSize

548 IncFsErrorCode IncFs_Root(const IncFsControl* control, char buffer[], size_t* bufferSize) {  in IncFs_Root()  argument
553 if (*bufferSize <= result.size()) { in IncFs_Root()
554 *bufferSize = result.size() + 1; in IncFs_Root()
559 *bufferSize = result.size(); in IncFs_Root()
773 static IncFsErrorCode getMetadata(const char* path, char buffer[], size_t* bufferSize) { in getMetadata() argument
774 const auto res = ::getxattr(path, android::incfs::kMetadataAttrName, buffer, *bufferSize); in getMetadata()
779 *bufferSize = neededSize; in getMetadata()
785 *bufferSize = res; in getMetadata()
790 size_t* bufferSize) { in IncFs_GetMetadataById() argument
800 return getMetadata(android::incfs::details::c_str(name), buffer, bufferSize); in IncFs_GetMetadataById()
804 size_t* bufferSize) { in IncFs_GetMetadataByPath() argument
814 return getMetadata(path, buffer, bufferSize); in IncFs_GetMetadataByPath()
835 static IncFsErrorCode getSignature(int fd, char buffer[], size_t* bufferSize) { in getSignature() argument
838 .file_signature_buf_size = (uint32_t)*bufferSize, in getSignature()
844 *bufferSize = INCFS_MAX_SIGNATURE_SIZE; in getSignature()
848 *bufferSize = args.file_signature_len_out; in getSignature()
853 char buffer[], size_t* bufferSize) { in IncFs_GetSignatureById() argument
867 return getSignature(fd, buffer, bufferSize); in IncFs_GetSignatureById()
871 char buffer[], size_t* bufferSize) { in IncFs_GetSignatureByPath() argument
881 return IncFs_UnsafeGetSignatureByPath(path, buffer, bufferSize); in IncFs_GetSignatureByPath()
884 IncFsErrorCode IncFs_UnsafeGetSignatureByPath(const char* path, char buffer[], size_t* bufferSize) { in IncFs_UnsafeGetSignatureByPath() argument
892 return getSignature(fd, buffer, bufferSize); in IncFs_UnsafeGetSignatureByPath()
993 IncFsReadInfo buffer[], size_t* bufferSize) { in IncFs_WaitForPendingReads() argument
999 pendingReads.resize(*bufferSize); in IncFs_WaitForPendingReads()
1001 waitForReads(control->pendingReads, timeoutMs, pendingReads.data(), bufferSize)) { in IncFs_WaitForPendingReads()
1004 for (size_t i = 0; i != *bufferSize; ++i) { in IncFs_WaitForPendingReads()
1016 IncFsReadInfo buffer[], size_t* bufferSize) { in IncFs_WaitForPageReads() argument
1026 pendingReads.resize(*bufferSize); in IncFs_WaitForPageReads()
1027 if (const auto res = waitForReads(logsFd, timeoutMs, pendingReads.data(), bufferSize)) { in IncFs_WaitForPageReads()
1030 for (size_t i = 0; i != *bufferSize; ++i) { in IncFs_WaitForPageReads()