Home
last modified time | relevance | path

Searched refs:fbuf (Results 1 – 20 of 20) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/util/
Du_debug_flush.c76 struct debug_flush_buf *fbuf; member
108 struct debug_flush_buf *fbuf = CALLOC_STRUCT(debug_flush_buf); in debug_flush_buf_create() local
110 if (!fbuf) in debug_flush_buf_create()
113 fbuf->supports_persistent = supports_persistent; in debug_flush_buf_create()
114 fbuf->bt_depth = bt_depth; in debug_flush_buf_create()
115 pipe_reference_init(&fbuf->reference, 1); in debug_flush_buf_create()
116 (void) mtx_init(&fbuf->mutex, mtx_plain); in debug_flush_buf_create()
118 return fbuf; in debug_flush_buf_create()
129 struct debug_flush_buf *fbuf = *dst; in debug_flush_buf_reference() local
134 for (i = 0; i < fbuf->map_count; ++i) { in debug_flush_buf_reference()
[all …]
Du_debug_flush.h96 void debug_flush_map(struct debug_flush_buf *fbuf, unsigned flags);
106 void debug_flush_unmap(struct debug_flush_buf *fbuf);
135 struct debug_flush_buf *fbuf);
/external/mesa3d/src/gallium/drivers/zink/
Dzink_framebuffer.c64 struct zink_framebuffer *fbuf) in zink_destroy_framebuffer() argument
66 vkDestroyFramebuffer(screen->dev, fbuf->fb, NULL); in zink_destroy_framebuffer()
67 for (int i = 0; i < ARRAY_SIZE(fbuf->surfaces); ++i) in zink_destroy_framebuffer()
68 pipe_surface_reference(fbuf->surfaces + i, NULL); in zink_destroy_framebuffer()
70 pipe_surface_reference(&fbuf->null_surface, NULL); in zink_destroy_framebuffer()
72 zink_render_pass_reference(screen, &fbuf->rp, NULL); in zink_destroy_framebuffer()
74 FREE(fbuf); in zink_destroy_framebuffer()
81 struct zink_framebuffer *fbuf = CALLOC_STRUCT(zink_framebuffer); in zink_create_framebuffer() local
82 if (!fbuf) in zink_create_framebuffer()
85 pipe_reference_init(&fbuf->reference, 1); in zink_create_framebuffer()
[all …]
Dzink_framebuffer.h61 struct zink_framebuffer *fbuf);
/external/icu/icu4c/source/tools/tzcode/
Dscheck.c13 register char * fbuf; in scheck() local
23 fbuf = malloc(2 * strlen(format) + 4); in scheck()
24 if (fbuf == NULL) in scheck()
27 tp = fbuf; in scheck()
60 if (sscanf(string, fbuf, &dummy) != 1) in scheck()
62 free(fbuf); in scheck()
/external/ltp/testcases/kernel/syscalls/link/
Dlink05.c72 struct stat fbuf, lbuf; in main() local
105 SAFE_STAT(cleanup, fname, &fbuf); in main()
111 if (fbuf.st_nlink <= 1 || lbuf.st_nlink <= 1 || in main()
112 (fbuf.st_nlink != lbuf.st_nlink)) { in main()
119 (int)fbuf.st_nlink, (int)lbuf.st_nlink); in main()
128 nlinks, (int)fbuf.st_nlink); in main()
Dlink02.c60 struct stat fbuf, lbuf; in verify_link() local
65 SAFE_STAT(cleanup, OLDPATH, &fbuf); in verify_link()
67 if (fbuf.st_nlink > 1 && lbuf.st_nlink > 1 && in verify_link()
68 fbuf.st_nlink == lbuf.st_nlink) { in verify_link()
74 (int)fbuf.st_nlink, (int)lbuf.st_nlink); in verify_link()
/external/libfuse/lib/
Dfuse_loop.c22 struct fuse_buf fbuf = { in fuse_session_loop() local
27 res = fuse_session_receive_buf_int(se, &fbuf, NULL); in fuse_session_loop()
34 fuse_session_process_buf_int(se, &fbuf, NULL); in fuse_session_loop()
37 free(fbuf.mem); in fuse_session_loop()
Dfuse_loop_mt.c39 struct fuse_buf fbuf; member
127 res = fuse_session_receive_buf_int(mt->se, &w->fbuf, w->ch); in fuse_do_work()
149 if (!(w->fbuf.flags & FUSE_BUF_IS_FD)) { in fuse_do_work()
150 struct fuse_in_header *in = w->fbuf.mem; in fuse_do_work()
163 fuse_session_process_buf_int(mt->se, &w->fbuf, w->ch); in fuse_do_work()
179 free(w->fbuf.mem); in fuse_do_work()
269 w->fbuf.mem = NULL; in fuse_loop_start_thread()
302 free(w->fbuf.mem); in fuse_join_worker()
Dfuse.c4519 struct fuse_buf fbuf = { in fuse_session_loop_remember() local
4541 res = fuse_session_receive_buf_int(se, &fbuf, NULL); in fuse_session_loop_remember()
4548 fuse_session_process_buf_int(se, &fbuf, NULL); in fuse_session_loop_remember()
4556 free(fbuf.mem); in fuse_session_loop_remember()
/external/adhd/cras/src/server/
Dcras_apm_list.c131 struct float_buffer *fbuf; member
463 static int process_reverse(struct float_buffer *fbuf, unsigned int frame_rate) in process_reverse() argument
469 if (float_buffer_writable(fbuf)) in process_reverse()
472 wp = float_buffer_write_pointer(fbuf); in process_reverse()
479 fbuf->num_channels, in process_reverse()
486 float_buffer_reset(fbuf); in process_reverse()
502 process_reverse(rmod->fbuf, rmod->dev_rate); in reverse_data_run()
503 writable = float_buffer_writable(rmod->fbuf); in reverse_data_run()
505 wp = float_buffer_write_pointer(rmod->fbuf); in reverse_data_run()
506 for (i = 0; i < rmod->fbuf->num_channels; i++) in reverse_data_run()
[all …]
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_buffer.c304 struct debug_flush_buf *fbuf; member
329 buf->fbuf = debug_flush_buf_create(FALSE, VMW_DEBUG_FLUSH_STACK); in vmw_svga_winsys_buffer_wrap()
336 return buffer->fbuf; in vmw_debug_flush_buf()
349 debug_flush_buf_reference(&buf->fbuf, NULL); in vmw_svga_winsys_buffer_destroy()
385 debug_flush_map(buf->fbuf, flags); in vmw_svga_winsys_buffer_map()
399 debug_flush_unmap(buf->fbuf); in vmw_svga_winsys_buffer_unmap()
/external/ltp/testcases/kernel/syscalls/statx/
Dstatx02.c63 struct statx fbuf; in test_sym_link() local
66 TEST(statx(AT_FDCWD, TESTFILE, 0, 0, &fbuf)); in test_sym_link()
86 if (fbuf.stx_ino != lbuf.stx_ino) in test_sym_link()
/external/fastrpc/src/
Dapps_std_imp.c98 char* fbuf; member
204 static void apps_std_FILE_set_buffer_stream(struct apps_std_info* sinfo, char* fbuf, int flen, int … in apps_std_FILE_set_buffer_stream() argument
208 sinfo->u.binfo.fbuf = fbuf; in apps_std_FILE_set_buffer_stream()
273 if(sinfo->u.binfo.fbuf) { in __QAIC_IMPL()
274 rpcmem_free_internal(sinfo->u.binfo.fbuf); in __QAIC_IMPL()
275 sinfo->u.binfo.fbuf = NULL; in __QAIC_IMPL()
305 *bytesRead = std_memscpy(buf, bufLen, sinfo->u.binfo.fbuf + sinfo->u.binfo.pos, in __QAIC_IMPL()
872 static int decrypt_int(char* fbuf, int size) { in decrypt_int() argument
884 VERIFY(-1 != (fd = rpcmem_to_fd_internal(fbuf))); in decrypt_int()
902 char* fbuf = 0; in __QAIC_IMPL() local
[all …]
/external/nanohttpd/core/src/main/java/fi/iki/elonen/
DNanoHTTPD.java644 …private void decodeMultipartFormData(String boundary, String encoding, ByteBuffer fbuf, Map<String… in decodeMultipartFormData() argument
646 int[] boundary_idxs = getBoundaryPositions(fbuf, boundary.getBytes()); in decodeMultipartFormData()
653 fbuf.position(boundary_idxs[bi]); in decodeMultipartFormData()
654 … int len = (fbuf.remaining() < MAX_HEADER_SIZE) ? fbuf.remaining() : MAX_HEADER_SIZE; in decodeMultipartFormData()
655 fbuf.get(part_header_buff, 0, len); in decodeMultipartFormData()
702 fbuf.position(part_data_start); in decodeMultipartFormData()
706 fbuf.get(data_bytes); in decodeMultipartFormData()
710 … String path = saveTmpFile(fbuf, part_data_start, part_data_end - part_data_start, file_name); in decodeMultipartFormData()
1031 ByteBuffer fbuf = null; in parseBody() local
1033 fbuf = ByteBuffer.wrap(baos.toByteArray(), 0, baos.size()); in parseBody()
[all …]
/external/toybox/toys/lsb/
Dseq.c83 char fbuf[32], *ss; in seq_main() local
104 if (!FLAG(f)) sprintf(TT.f = fbuf, "%%0%d.%df", len, TT.precision); in seq_main()
/external/webrtc/common_audio/
Dchannel_buffer.cc36 ChannelBuffer<float>* IFChannelBuffer::fbuf() { in fbuf() function in webrtc::IFChannelBuffer
Dchannel_buffer_unittest.cc51 ifchb.fbuf()->set_num_channels(kStereo); in TEST()
Dchannel_buffer.h188 ChannelBuffer<float>* fbuf();
/external/libopus/tests/
Dtest_opus_api.c94 float fbuf[960*2]; in test_dec_api() local
319 VG_UNDEF(fbuf,sizeof(fbuf)); in test_dec_api()
320 if(opus_decode_float(dec, packet, 3, fbuf, 960, 0)!=960)test_failed(); in test_dec_api()
352 float fbuf[960*2]; in test_msdec_api() local
666 VG_UNDEF(fbuf,sizeof(fbuf)); in test_msdec_api()
667 if(opus_multistream_decode_float(dec, packet, 3, fbuf, 960, 0)!=960)test_failed(); in test_msdec_api()
1072 float fbuf[960*2]; in test_enc_api() local
1420 memset(fbuf,0,sizeof(float)*2*960); in test_enc_api()
1422 i=opus_encode_float(enc, fbuf, 960, packet, sizeof(packet)); in test_enc_api()
1434 if(opus_encode_float(0,fbuf,960,packet,sizeof(packet))!=OPUS_INVALID_STATE)test_failed(); in test_enc_api()