| /third_party/libuv/docs/code/multi-echo-server/ |
| D | worker.c | 22 void alloc_buffer(uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf) { in alloc_buffer() function 74 uv_read_start((uv_stream_t*) client, alloc_buffer, echo_read); in on_new_connection() 86 uv_read_start((uv_stream_t*)&queue, alloc_buffer, on_new_connection); in main()
|
| D | main.c | 26 void alloc_buffer(uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf) { in alloc_buffer() function
|
| /third_party/libuv/docs/code/udp-dhcp/ |
| D | main.c | 12 void alloc_buffer(uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf) { in alloc_buffer() function 44 alloc_buffer(NULL, 256, &buffer); in make_discover_msg() 112 uv_udp_recv_start(&recv_socket, alloc_buffer, on_read); in main()
|
| /third_party/libuv/test/ |
| D | test-pipe-close-stdout-read-stdin.c | 32 void alloc_buffer(uv_handle_t *handle, size_t suggested_size, uv_buf_t* buf) in alloc_buffer() function 82 r = uv_read_start((uv_stream_t *)&stdin_pipe, alloc_buffer, read_stdin); in TEST_IMPL()
|
| /third_party/libuv/docs/code/dns/ |
| D | main.c | 8 void alloc_buffer(uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf) { in alloc_buffer() function 39 uv_read_start((uv_stream_t*) req->handle, alloc_buffer, on_read); in on_connect()
|
| /third_party/libuv/docs/code/pipe-echo-server/ |
| D | main.c | 25 void alloc_buffer(uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf) { in alloc_buffer() function 63 uv_read_start((uv_stream_t*) client, alloc_buffer, echo_read); in on_new_connection()
|
| /third_party/libuv/docs/code/tcp-echo-server/ |
| D | main.c | 23 void alloc_buffer(uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf) { in alloc_buffer() function 65 uv_read_start((uv_stream_t*) client, alloc_buffer, echo_read); in on_new_connection()
|
| /third_party/libuv/docs/code/uvtee/ |
| D | main.c | 18 void alloc_buffer(uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf) { in alloc_buffer() function 75 uv_read_start((uv_stream_t*)&stdin_pipe, alloc_buffer, read_stdin); in main()
|
| /third_party/libdrm/amdgpu/ |
| D | amdgpu_bo.c | 71 struct amdgpu_bo_alloc_request *alloc_buffer, in amdgpu_bo_alloc() argument 78 args.in.bo_size = alloc_buffer->alloc_size; in amdgpu_bo_alloc() 79 args.in.alignment = alloc_buffer->phys_alignment; in amdgpu_bo_alloc() 82 args.in.domains = alloc_buffer->preferred_heap; in amdgpu_bo_alloc() 83 args.in.domain_flags = alloc_buffer->flags; in amdgpu_bo_alloc() 92 r = amdgpu_bo_create(dev, alloc_buffer->alloc_size, args.out.handle, in amdgpu_bo_alloc()
|
| D | amdgpu.h | 582 struct amdgpu_bo_alloc_request *alloc_buffer,
|
| /third_party/ffmpeg/libavfilter/ |
| D | vf_pullup.c | 247 static int alloc_buffer(PullupContext *s, PullupBuffer *b) in alloc_buffer() function 269 alloc_buffer(s, s->last->buffer); in pullup_get_buffer() 279 alloc_buffer(s, &s->buffers[i]); in pullup_get_buffer() 292 alloc_buffer(s, &s->buffers[i]); in pullup_get_buffer()
|
| /third_party/gstreamer/gstplugins_bad/sys/kms/ |
| D | gstkmsbufferpool.c | 215 gstbufferpool_class->alloc_buffer = gst_kms_buffer_pool_alloc_buffer; in gst_kms_buffer_pool_class_init()
|
| /third_party/gstreamer/gstreamer/gst/ |
| D | gstbufferpool.h | 208 GstFlowReturn (*alloc_buffer) (GstBufferPool *pool, GstBuffer **buffer, member
|
| D | gstbufferpool.c | 145 klass->alloc_buffer = default_alloc_buffer; in gst_buffer_pool_class_init() 276 if (G_UNLIKELY (!pclass->alloc_buffer)) in do_alloc_buffer() 286 result = pclass->alloc_buffer (pool, buffer, params); in do_alloc_buffer()
|
| /third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/ |
| D | gstvkbufferpool.c | 222 gstbufferpool_class->alloc_buffer = gst_vulkan_buffer_pool_alloc; in gst_vulkan_buffer_pool_class_init()
|
| D | gstvkimagebufferpool.c | 250 gstbufferpool_class->alloc_buffer = gst_vulkan_image_buffer_pool_alloc; in gst_vulkan_image_buffer_pool_class_init()
|
| /third_party/mesa3d/src/gallium/winsys/amdgpu/drm/ |
| D | amdgpu_cs.c | 298 struct amdgpu_bo_alloc_request alloc_buffer = {}; in amdgpu_ctx_create() local 315 alloc_buffer.alloc_size = ctx->ws->info.gart_page_size; in amdgpu_ctx_create() 316 alloc_buffer.phys_alignment = ctx->ws->info.gart_page_size; in amdgpu_ctx_create() 317 alloc_buffer.preferred_heap = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_ctx_create() 319 r = amdgpu_bo_alloc(ctx->ws->dev, &alloc_buffer, &buf_handle); in amdgpu_ctx_create() 331 memset(ctx->user_fence_cpu_address_base, 0, alloc_buffer.alloc_size); in amdgpu_ctx_create()
|
| /third_party/gstreamer/gstplugins_bad/sys/nvcodec/ |
| D | gstcudabufferpool.c | 249 gstbufferpool_class->alloc_buffer = gst_cuda_buffer_pool_alloc; in gst_cuda_buffer_pool_class_init()
|
| /third_party/ffmpeg/libavcodec/ |
| D | libsvtav1.c | 121 static int alloc_buffer(EbSvtAv1EncConfiguration *config, SvtContext *svt_enc) in alloc_buffer() function 318 return alloc_buffer(&svt_enc->enc_params, svt_enc); in eb_enc_init()
|
| /third_party/gstreamer/gstplugins_base/sys/xvimage/ |
| D | xvimagepool.c | 272 gstbufferpool_class->alloc_buffer = xvimage_buffer_pool_alloc; in gst_xvimage_buffer_pool_class_init()
|
| /third_party/gstreamer/gstplugins_base/gst-libs/gst/video/ |
| D | gstvideopool.c | 305 gstbufferpool_class->alloc_buffer = video_buffer_pool_alloc; in gst_video_buffer_pool_class_init()
|
| /third_party/gstreamer/gstplugins_bad/sys/va/ |
| D | gstvapool.c | 318 gstbufferpool_class->alloc_buffer = gst_va_pool_alloc; in gst_va_pool_class_init()
|
| /third_party/gstreamer/gstplugins_bad/sys/msdk/ |
| D | gstmsdkbufferpool.c | 379 pool_class->alloc_buffer = gst_msdk_buffer_pool_alloc_buffer; in gst_msdk_buffer_pool_class_init()
|
| /third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/ |
| D | gstglbufferpool.c | 335 gstbufferpool_class->alloc_buffer = gst_gl_buffer_pool_alloc; in gst_gl_buffer_pool_class_init()
|
| /third_party/gstreamer/gstplugins_bad/sys/decklink/ |
| D | gstdecklink.cpp | 1277 uint8_t *alloc_buffer = ((uint8_t *) buffer) - 128 + offset; in ReleaseBuffer() local 1278 uint32_t size = *(uint32_t *) alloc_buffer; in ReleaseBuffer() 1282 g_free (alloc_buffer); in ReleaseBuffer()
|