Lines Matching defs:length
111 LOG_ERROR("msg length is not enough");
116 LOG_ERROR("remain data length is not enough");
146 LOG_ERROR("msg length is not enough");
176 IAM_STATIC ResultCode CheckAddReadIndex(const Uint8Array msg, uint32_t *readIndex, uint32_t length)
179 LOG_ERROR("msg length is not enough");
183 if ((msg.len - (*readIndex)) < length) {
184 LOG_ERROR("remain data length is not enough");
188 (*readIndex) += length;
201 uint32_t length;
202 ResultCode readLengthResult = ReadUint32FromMsg(msg, &readIndex, &length);
205 if (length > readBuffer->len) {
206 LOG_INFO("attribute:%{public}u too long:%{public}u, skip", type, length);
207 ResultCode checkAddReadIndexResult = CheckAddReadIndex(msg, &readIndex, length);
212 Uint8Array readData = { readBuffer->data, length };
213 if (length > 0) {
466 LOG_ERROR("uint8 length %u is incorrect", uint64ArrayData.len);