Lines Matching refs:count
23 …me_id_set_unicode16(char *str, size_t len, const uint8_t *buf, enum endian endianess, size_t count) in volume_id_set_unicode16() argument
29 for (i = 0; i + 2 <= count; i += 2) { in volume_id_set_unicode16()
97 void volume_id_set_label_raw(struct volume_id *id, const uint8_t *buf, size_t count) in volume_id_set_label_raw() argument
99 memcpy(id->label_raw, buf, count); in volume_id_set_label_raw()
100 id->label_raw_len = count; in volume_id_set_label_raw()
115 void volume_id_set_label_string(struct volume_id *id, const uint8_t *buf, size_t count) in volume_id_set_label_string() argument
119 memcpy(id->label, buf, count); in volume_id_set_label_string()
122 i = strnlen(id->label, count); in volume_id_set_label_string()
130 …_set_label_unicode16(struct volume_id *id, const uint8_t *buf, enum endian endianess, size_t count) in volume_id_set_label_unicode16() argument
132 volume_id_set_unicode16(id->label, sizeof(id->label), buf, endianess, count); in volume_id_set_label_unicode16()
138 unsigned count = (format == UUID_DCE_STRING ? VOLUME_ID_UUID_SIZE : 4 << format); in volume_id_set_uuid() local
144 for (i = 0; i < count; i++) in volume_id_set_uuid()
170 memcpy(id->uuid, buf, count); in volume_id_set_uuid()
171 id->uuid[count] = '\0'; in volume_id_set_uuid()