Searched refs:metadataOffset (Results 1 – 2 of 2) sorted by relevance
248 uint32_t metadataOffset = sizeof(struct radio_event) + sizeof(uint32_t); in onEvent() local249 uint32_t metadataSize = *(uint32_t *)((uint8_t *)event + metadataOffset - sizeof(uint32_t)); in onEvent()257 (radio_metadata_t *)((uint8_t *)event + metadataOffset); in onEvent()265 (radio_metadata_t *)((uint8_t *)event + metadataOffset); in onEvent()
293 uint32_t metadataOffset = sizeof(struct radio_event) + sizeof(uint32_t); in prepareEvent() local313 eventMemory = mMemoryDealer->allocate(metadataOffset + metadataSize); in prepareEvent()321 *(uint32_t *)((uint8_t *)event + metadataOffset - sizeof(uint32_t)) = metadataSize; in prepareEvent()334 memcpy((uint8_t *)event + metadataOffset, halEvent->info.metadata, metadataSize); in prepareEvent()345 memcpy((uint8_t *)event + metadataOffset, halEvent->metadata, metadataSize); in prepareEvent()