Home
last modified time | relevance | path

Searched refs:buf_list (Results 1 – 8 of 8) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/writev/
Dwritev02.c81 char *buf_list[NBUFS]; variable
105 buf_list[0] = buf1; in main()
106 buf_list[1] = buf2; in main()
108 memset(buf_list[0], 0, K_1); in main()
109 memset(buf_list[1], 0, K_1); in main()
126 if ((nbytes = write(fd[0], buf_list[1], K_1)) != K_1) in main()
154 if ((nbytes = read(fd[0], buf_list[0], CHUNK)) != CHUNK) { in main()
158 if (memcmp(buf_list[0], buf_list[1], CHUNK) in main()
Dwritev05.c76 char *buf_list[NBUFS]; variable
104 buf_list[0] = buf1; in main()
105 buf_list[1] = buf2; in main()
122 memset(buf_list[0], 0, K_1); in main()
123 memset(buf_list[1], 0, K_1); in main()
130 if ((nbytes = write(fd[0], buf_list[1], K_1)) != K_1) { in main()
165 if ((nbytes = read(fd[0], buf_list[0], CHUNK)) != 0) { in main()
/third_party/e2fsprogs/contrib/android/
Dext2simg.c64 } *buf_list; variable
82 if (buf_list == NULL) in add_chunk()
83 buf_list = bi; in add_chunk()
85 bi->next = buf_list; in add_chunk()
86 buf_list = bi; in add_chunk()
102 while (buf_list) { in free_chunks()
103 bi = buf_list->next; in free_chunks()
104 free(buf_list); in free_chunks()
105 buf_list = bi; in free_chunks()
/third_party/pulseaudio/src/modules/rtp/
Drtp-gstreamer.c511 GstBufferList *buf_list; in pa_rtp_recv() local
570 buf_list = gst_adapter_take_buffer_list(adapter, data_len); in pa_rtp_recv()
571 pa_assert(buf_list); in pa_rtp_recv()
581 for (int i = 0; i < gst_buffer_list_length(buf_list); i++) { in pa_rtp_recv()
582 buf = gst_buffer_list_get(buf_list, i); in pa_rtp_recv()
585 gst_buffer_list_unref(buf_list); in pa_rtp_recv()
599 …*rtp_tstamp = gst_util_uint64_scale_int(GST_BUFFER_PTS(gst_buffer_list_get(buf_list, 0)), c->ss.ra… in pa_rtp_recv()
618 gst_buffer_list_unref(buf_list); in pa_rtp_recv()
/third_party/gstreamer/gstreamer/tests/check/elements/
Dfilesink.c124 GstBufferList* buf_list = gst_buffer_list_new(); \
142 gst_buffer_list_add(buf_list,buf); \
144 fail_unless_equals_int (gst_pad_push_list (mysrcpad, buf_list), GST_FLOW_OK); \
154 GstBufferList* buf_list = gst_buffer_list_new(); \
166 gst_buffer_list_add(buf_list,buf); \
169 fail_unless_equals_int (gst_pad_push_list (mysrcpad, buf_list), GST_FLOW_OK); \
/third_party/gstreamer/gstplugins_bad/ext/srtp/
Dgstsrtpenc.c1281 GstBufferList * buf_list, gboolean is_rtcp) in gst_srtp_enc_chain_list() argument
1290 gst_buffer_list_length (buf_list)); in gst_srtp_enc_chain_list()
1292 if (!gst_buffer_list_length (buf_list)) in gst_srtp_enc_chain_list()
1303 return gst_pad_push_list (otherpad, buf_list); in gst_srtp_enc_chain_list()
1316 if (!gst_buffer_list_foreach (buf_list, process_buffer_it, &process_data)) { in gst_srtp_enc_chain_list()
1330 gst_buffer_list_length (buf_list)); in gst_srtp_enc_chain_list()
1351 gst_buffer_list_unref (buf_list); in gst_srtp_enc_chain_list()
1370 GstBufferList * buf_list) in gst_srtp_enc_chain_list_rtp() argument
1372 return gst_srtp_enc_chain_list (pad, parent, buf_list, FALSE); in gst_srtp_enc_chain_list_rtp()
1377 GstBufferList * buf_list) in gst_srtp_enc_chain_list_rtcp() argument
[all …]
/third_party/ffmpeg/libavcodec/
Dvaapi_encode.c630 VACodedBufferSegment *buf_list, *buf; in vaapi_encode_output() local
640 buf_list = NULL; in vaapi_encode_output()
642 (void**)&buf_list); in vaapi_encode_output()
650 for (buf = buf_list; buf; buf = buf->next) in vaapi_encode_output()
659 for (buf = buf_list; buf; buf = buf->next) { in vaapi_encode_output()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_threaded_context.c252 struct tc_buffer_list *buf_list = &tc->buffer_lists[tc->next_buf_list]; in tc_begin_next_buffer_list() local
253 assert(util_queue_fence_is_signalled(&buf_list->driver_flushed_fence)); in tc_begin_next_buffer_list()
254 util_queue_fence_reset(&buf_list->driver_flushed_fence); /* set to unsignalled */ in tc_begin_next_buffer_list()
255 BITSET_ZERO(buf_list->buffer_list); in tc_begin_next_buffer_list()
658 struct tc_buffer_list *buf_list = &tc->buffer_lists[i]; in tc_is_buffer_busy() local
662 if (!util_queue_fence_is_signalled(&buf_list->driver_flushed_fence) && in tc_is_buffer_busy()
663 BITSET_TEST(buf_list->buffer_list, id_hash)) in tc_is_buffer_busy()