Searched refs:remSize (Results 1 – 5 of 5) sorted by relevance
/base/security/certificate_manager/test/fuzz_test/fuzz_test_common/src/ |
D | cm_fuzz_test_common.cpp | 22 bool GetUintFromBuffer(uint8_t *srcData, uint32_t *remSize, uint32_t *offset, uint32_t *outVal) in GetUintFromBuffer() argument 24 if (*remSize < sizeof(uint32_t)) { in GetUintFromBuffer() 29 *remSize -= sizeof(uint32_t); in GetUintFromBuffer() 35 bool GetCmBlobFromBuffer(uint8_t *srcData, uint32_t *remSize, uint32_t *offset, struct CmBlob *outB… in GetCmBlobFromBuffer() argument 37 if (GetUintFromBuffer(srcData, remSize, offset, &(outBlob->size)) != true) { in GetCmBlobFromBuffer() 41 if (*remSize < outBlob->size) { in GetCmBlobFromBuffer() 45 *remSize -= outBlob->size; in GetCmBlobFromBuffer() 51 bool GetCertListFromBuffer(uint8_t *srcData, uint32_t *remSize, uint32_t *offset, struct CertList *… in GetCertListFromBuffer() argument 53 if (GetUintFromBuffer(srcData, remSize, offset, &(outList->certsCount)) != true) { in GetCertListFromBuffer() 57 if (outList->certsCount > (*remSize / sizeof(struct CertAbstract))) { in GetCertListFromBuffer() [all …]
|
/base/msdp/device_status/utils/ipc/src/ |
D | stream_client.cpp | 62 int32_t remSize = bufSize; in SendMsg() local 63 while (remSize > 0 && retryCount < SEND_RETRY_LIMIT) { in SendMsg() 65 ssize_t count = send(fd_, &buf[idx], remSize, MSG_DONTWAIT | MSG_NOSIGNAL); in SendMsg() 75 remSize -= count; in SendMsg() 76 if (remSize > 0) { in SendMsg() 80 if (retryCount >= SEND_RETRY_LIMIT || remSize != 0) { in SendMsg()
|
D | stream_session.cpp | 58 int32_t remSize = bufSize; in SendMsg() local 59 while (remSize > 0 && retryCount < SEND_RETRY_LIMIT) { in SendMsg() 61 ssize_t count = send(fd_, &buf[idx], remSize, MSG_DONTWAIT | MSG_NOSIGNAL); in SendMsg() 72 remSize -= count; in SendMsg() 73 if (remSize > 0) { in SendMsg() 77 if (retryCount >= SEND_RETRY_LIMIT || remSize != 0) { in SendMsg()
|
/base/security/certificate_manager/test/fuzz_test/fuzz_test_common/include/ |
D | cm_fuzz_test_common.h | 26 bool GetUintFromBuffer(uint8_t *srcData, uint32_t *remSize, uint32_t *offset, uint32_t *outVal); 28 bool GetCmBlobFromBuffer(uint8_t *srcData, uint32_t *remSize, uint32_t *offset, struct CmBlob *outB… 30 bool GetCertListFromBuffer(uint8_t *srcData, uint32_t *remSize, uint32_t *offset, struct CertList *… 32 bool GetCertInfoFromBuffer(uint8_t *srcData, uint32_t *remSize, uint32_t *offset, struct CertInfo *…
|
/base/sensors/sensor/utils/ipc/src/ |
D | stream_session.cpp | 67 size_t remSize = size; in SendMsg() 68 while (remSize > 0 && retryCount < SEND_RETRY_LIMIT) { in SendMsg() 70 auto count = send(fd_, &buf[idx], remSize, MSG_DONTWAIT | MSG_NOSIGNAL); in SendMsg() 85 remSize -= static_cast<size_t>(count); in SendMsg() 86 if (remSize > 0) { in SendMsg() 94 if (retryCount >= SEND_RETRY_LIMIT || remSize != 0) { in SendMsg()
|