Lines Matching refs:d
10 void tee_uuid_to_octets(uint8_t *d, const TEE_UUID *s) in tee_uuid_to_octets() argument
12 d[0] = s->timeLow >> 24; in tee_uuid_to_octets()
13 d[1] = s->timeLow >> 16; in tee_uuid_to_octets()
14 d[2] = s->timeLow >> 8; in tee_uuid_to_octets()
15 d[3] = s->timeLow; in tee_uuid_to_octets()
16 d[4] = s->timeMid >> 8; in tee_uuid_to_octets()
17 d[5] = s->timeMid; in tee_uuid_to_octets()
18 d[6] = s->timeHiAndVersion >> 8; in tee_uuid_to_octets()
19 d[7] = s->timeHiAndVersion; in tee_uuid_to_octets()
20 memcpy(d + 8, s->clockSeqAndNode, sizeof(s->clockSeqAndNode)); in tee_uuid_to_octets()
23 void tee_uuid_from_octets(TEE_UUID *d, const uint8_t *s) in tee_uuid_from_octets() argument
25 d->timeLow = SHIFT_U32(s[0], 24) | SHIFT_U32(s[1], 16) | in tee_uuid_from_octets()
27 d->timeMid = SHIFT_U32(s[4], 8) | s[5]; in tee_uuid_from_octets()
28 d->timeHiAndVersion = SHIFT_U32(s[6], 8) | s[7]; in tee_uuid_from_octets()
29 memcpy(d->clockSeqAndNode, s + 8, sizeof(d->clockSeqAndNode)); in tee_uuid_from_octets()