Lines Matching refs:NULL

23     if (fl->cleanse && sf->data != NULL)  in stream_frame_free()
35 if (sf == NULL) in stream_frame_new()
36 return NULL; in stream_frame_new()
38 if (pkt != NULL) in stream_frame_new()
57 for (sf = fl->head; sf != NULL; sf = next_frame) { in ossl_sframe_list_destroy()
69 if ((new_frame = stream_frame_new(range, pkt, data)) == NULL) in append_frame()
72 if (fl->tail != NULL) in append_frame()
85 uint64_t curr_end = fl->tail != NULL ? fl->tail->range.end in ossl_sframe_list_insert()
97 if (fl->tail == NULL) { in ossl_sframe_list_insert()
99 if (fl->tail == NULL) in ossl_sframe_list_insert()
116 prev_frame = NULL; in ossl_sframe_list_insert()
117 for (sf = fl->head; sf != NULL && sf->range.start < range->start; in ossl_sframe_list_insert()
121 if (!ossl_assert(sf != NULL)) in ossl_sframe_list_insert()
125 if (prev_frame != NULL && prev_frame->range.end >= range->end) in ossl_sframe_list_insert()
133 if (new_frame == NULL) in ossl_sframe_list_insert()
137 next_frame != NULL && next_frame->range.end <= range->end;) { in ossl_sframe_list_insert()
141 if (next_frame != NULL) in ossl_sframe_list_insert()
143 if (prev_frame != NULL) in ossl_sframe_list_insert()
153 if (next_frame != NULL) { in ossl_sframe_list_insert()
155 if (prev_frame != NULL in ossl_sframe_list_insert()
168 if (prev_frame != NULL) in ossl_sframe_list_insert()
188 if (sf == NULL) { in ossl_sframe_list_peek()
198 if (sf == NULL || sf->range.start > start in ossl_sframe_list_peek()
201 *data = NULL; in ossl_sframe_list_peek()
202 *iter = NULL; in ossl_sframe_list_peek()
204 *fin = sf == NULL ? fl->fin : 0; in ossl_sframe_list_peek()
209 if (sf->data != NULL) in ossl_sframe_list_peek()
212 *data = NULL; in ossl_sframe_list_peek()
213 *fin = sf->next == NULL ? fl->fin : 0; in ossl_sframe_list_peek()
224 || !ossl_assert(fl->tail == NULL in ossl_sframe_list_drop_frames()
226 || !ossl_assert(fl->tail != NULL in ossl_sframe_list_drop_frames()
232 for (sf = fl->head; sf != NULL && sf->range.end <= limit;) { in ossl_sframe_list_drop_frames()
241 if (sf != NULL) in ossl_sframe_list_drop_frames()
242 sf->prev = NULL; in ossl_sframe_list_drop_frames()
244 fl->tail = NULL; in ossl_sframe_list_drop_frames()
256 void *iter = NULL; in ossl_sframe_list_lock_head()
276 STREAM_FRAME *sf = fl->head, *prev_frame = NULL; in ossl_sframe_list_move_data()
279 if (sf == NULL) in ossl_sframe_list_move_data()
285 for (; sf != NULL; sf = sf->next) { in ossl_sframe_list_move_data()
292 if (data != NULL) { in ossl_sframe_list_move_data()
306 sf->data = NULL; in ossl_sframe_list_move_data()
308 sf->pkt = NULL; in ossl_sframe_list_move_data()
314 if (prev_frame != NULL in ossl_sframe_list_move_data()
319 if (sf->next != NULL) in ossl_sframe_list_move_data()