Home | History | Annotate | Download | only in src

Lines Matching refs:metadata_buf

191     radio_metadata_buffer_t *metadata_buf =
193 if (metadata_buf == NULL) {
197 metadata_buf->channel = channel;
198 metadata_buf->sub_channel = sub_channel;
199 metadata_buf->size_int = RADIO_METADATA_DEFAULT_SIZE;
200 *((uint32_t *)metadata_buf + RADIO_METADATA_DEFAULT_SIZE - 1) =
203 *metadata = (radio_metadata_t *)metadata_buf;
301 radio_metadata_buffer_t *metadata_buf =
306 if (metadata_buf == NULL) {
310 if (metadata_buf->size_int > RADIO_METADATA_MAX_SIZE) {
318 if ((metadata_buf->count * min_entry_size_int + metadata_buf->count + 1 +
320 metadata_buf->size_int) {
325 for (count = 0; count < metadata_buf->count; count++) {
326 radio_metadata_entry_t *entry = get_entry_at_index(metadata_buf, count, true);
339 next_entry = get_entry_at_index(metadata_buf, count + 1, false);
350 radio_metadata_buffer_t *metadata_buf =
353 if (metadata_buf == NULL) {
356 return metadata_buf->size_int * sizeof(uint32_t);
361 radio_metadata_buffer_t *metadata_buf =
364 if (metadata_buf == NULL) {
367 return (int)metadata_buf->count;
378 radio_metadata_buffer_t *metadata_buf =
381 if (metadata_buf == NULL || key == NULL || type == NULL ||
385 if (index >= metadata_buf->count) {
389 entry = get_entry_at_index(metadata_buf, index, false);
406 radio_metadata_buffer_t *metadata_buf =
409 if (metadata_buf == NULL || type == NULL || value == NULL || size == NULL) {
416 for (count = 0; count < metadata_buf->count; entry = NULL, count++) {
417 entry = get_entry_at_index(metadata_buf, count, false);
435 radio_metadata_buffer_t *metadata_buf =
438 if (metadata_buf == NULL || channel == NULL || sub_channel == NULL) {
441 *channel = metadata_buf->channel;
442 *sub_channel = metadata_buf->sub_channel;