Lines Matching refs:NULL

90     if (metadata == NULL) {  in check_size()
153 return NULL; in get_entry_at_index()
161 return NULL; in get_entry_at_index()
172 return NULL; in get_entry_at_index()
196 if (metadata_buf == NULL) { in radio_metadata_allocate()
220 if (metadata == NULL || *metadata == NULL || type != RADIO_METADATA_TYPE_INT) { in radio_metadata_add_int()
232 if (metadata == NULL || *metadata == NULL || type != RADIO_METADATA_TYPE_TEXT || in radio_metadata_add_text()
233 value == NULL || strlen(value) >= RADIO_METADATA_TEXT_LEN_MAX) { in radio_metadata_add_text()
245 if (metadata == NULL || *metadata == NULL || type != RADIO_METADATA_TYPE_RAW || value == NULL) { in radio_metadata_add_raw()
255 if (metadata == NULL || *metadata == NULL || type != RADIO_METADATA_TYPE_CLOCK || in radio_metadata_add_clock()
256 clock == NULL || clock->timezone_offset_in_minutes < (-12 * 60) || in radio_metadata_add_clock()
272 if (dst_metadata == NULL || src_metadata == NULL) { in radio_metadata_add_metadata()
275 if (*dst_metadata == NULL) { in radio_metadata_add_metadata()
309 if (metadata_buf == NULL) { in radio_metadata_check()
331 if (entry == NULL) { in radio_metadata_check()
356 if (metadata_buf == NULL) { in radio_metadata_get_size()
367 if (metadata_buf == NULL) { in radio_metadata_get_count()
384 if (metadata_buf == NULL || key == NULL || type == NULL || in radio_metadata_get_at_index()
385 value == NULL || size == NULL) { in radio_metadata_get_at_index()
408 radio_metadata_entry_t *entry = NULL; in radio_metadata_get_from_key()
412 if (metadata_buf == NULL || type == NULL || value == NULL || size == NULL) { in radio_metadata_get_from_key()
419 for (count = 0; count < metadata_buf->count; entry = NULL, count++) { in radio_metadata_get_from_key()
425 if (entry == NULL) { in radio_metadata_get_from_key()
441 if (metadata_buf == NULL || channel == NULL || sub_channel == NULL) { in radio_metadata_get_channel()