/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_debug_flush.c | 76 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 …]
|
D | u_debug_flush.h | 96 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/ |
D | zink_framebuffer.c | 64 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 …]
|
D | zink_framebuffer.h | 61 struct zink_framebuffer *fbuf);
|
/external/icu/icu4c/source/tools/tzcode/ |
D | scheck.c | 13 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/ |
D | link05.c | 72 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()
|
D | link02.c | 60 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/ |
D | fuse_loop.c | 22 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()
|
D | fuse_loop_mt.c | 39 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()
|
D | fuse.c | 4519 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/ |
D | cras_apm_list.c | 131 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/ |
D | vmw_buffer.c | 304 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/ |
D | statx02.c | 63 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/ |
D | apps_std_imp.c | 98 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/ |
D | NanoHTTPD.java | 644 …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/ |
D | seq.c | 83 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/ |
D | channel_buffer.cc | 36 ChannelBuffer<float>* IFChannelBuffer::fbuf() { in fbuf() function in webrtc::IFChannelBuffer
|
D | channel_buffer_unittest.cc | 51 ifchb.fbuf()->set_num_channels(kStereo); in TEST()
|
D | channel_buffer.h | 188 ChannelBuffer<float>* fbuf();
|
/external/libopus/tests/ |
D | test_opus_api.c | 94 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()
|