Lines Matching refs:offset
521 CK_ULONG_32 offset;
541 offset = 0;
543 (void) memcpy(buf + offset, &obj->class, sizeof (CK_OBJECT_CLASS_32));
544 offset += sizeof (CK_OBJECT_CLASS_32);
546 (void) memcpy(buf + offset, &count, sizeof (CK_ULONG_32));
547 offset += sizeof (CK_ULONG_32);
549 (void) memcpy(buf + offset, &obj->name, sizeof (CK_BYTE) * 8);
550 offset += 8;
551 rc = template_flatten(obj->template, buf + offset);
759 CK_ULONG offset = 0;
775 (void) memcpy(&obj->class, data + offset, sizeof (CK_OBJECT_CLASS_32));
776 offset += sizeof (CK_OBJECT_CLASS_32);
778 (void) memcpy(&count, data + offset, sizeof (CK_ULONG_32));
779 offset += sizeof (CK_ULONG_32);
782 (void) memcpy(&obj->name, data + offset, 8);
783 offset += 8;
785 rc = template_unflatten(&tmpl, data + offset, count);