Lines Matching refs:hdr_offset
613 uint32_t hdr_offset;
746 hdr_offset = buffer_size - SIGNED_IMAGE_CHUNK_HDR_LEN;
754 memcpy(bufferp + hdr_offset, &chunk_hdr, sizeof (chunk_hdr));
768 hdr_offset = chunk_hdr.offset + chunk_hdr.len;
769 if (hdr_offset > (buffer_size - SIGNED_IMAGE_CHUNK_HDR_LEN)) {
776 chunk_hdr.offset = hdr_offset + SIGNED_IMAGE_CHUNK_HDR_LEN;
779 memcpy(bufferp + hdr_offset, &chunk_hdr, SIGNED_IMAGE_CHUNK_HDR_LEN);
795 hdr_offset = chunk_hdr.offset + chunk_hdr.len;
796 if (hdr_offset > (buffer_size - SIGNED_IMAGE_CHUNK_HDR_LEN)) {
806 memcpy(bufferp + hdr_offset, &chunk_hdr, SIGNED_IMAGE_CHUNK_HDR_LEN);
823 chunk_hdr.offset = hdr_offset + SIGNED_IMAGE_CHUNK_HDR_LEN;
826 hdr_offset = code.size;
827 if (hdr_offset > (buffer_size - SIGNED_IMAGE_CHUNK_HDR_LEN)) {
832 memcpy(bufferp + hdr_offset, &chunk_hdr, SIGNED_IMAGE_CHUNK_HDR_LEN);
846 hdr_offset = chunk_hdr.offset + chunk_hdr.len;
847 if (hdr_offset > (buffer_size - SIGNED_IMAGE_CHUNK_HDR_LEN)) {
857 memcpy(bufferp + hdr_offset, &chunk_hdr, SIGNED_IMAGE_CHUNK_HDR_LEN);