Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/util/
Du_debug_flush.c67 struct debug_flush_buf *fbuf; member
111 struct debug_flush_buf *fbuf = CALLOC_STRUCT(debug_flush_buf); in debug_flush_buf_create() local
113 if (!fbuf) in debug_flush_buf_create()
116 fbuf->supports_unsync = supports_unsync; in debug_flush_buf_create()
117 fbuf->bt_depth = bt_depth; in debug_flush_buf_create()
118 pipe_reference_init(&fbuf->reference, 1); in debug_flush_buf_create()
119 (void) mtx_init(&fbuf->mutex, mtx_plain); in debug_flush_buf_create()
121 return fbuf; in debug_flush_buf_create()
132 struct debug_flush_buf *fbuf = *dst; in debug_flush_buf_reference() local
135 FREE(fbuf->map_frame); 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/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/adhd/cras/src/server/
Dcras_apm_list.c104 struct float_buffer *fbuf; member
385 static int process_reverse(struct float_buffer *fbuf, unsigned int frame_rate) in process_reverse() argument
392 if (float_buffer_writable(fbuf)) in process_reverse()
395 wp = float_buffer_write_pointer(fbuf); in process_reverse()
404 fbuf->num_channels, in process_reverse()
414 float_buffer_reset(fbuf); in process_reverse()
431 process_reverse(rmod->fbuf, rmod->dev_rate); in reverse_data_run()
432 writable = float_buffer_writable(rmod->fbuf); in reverse_data_run()
434 wp = float_buffer_write_pointer(rmod->fbuf); in reverse_data_run()
435 for (i = 0; i < rmod->fbuf->num_channels; i++) in reverse_data_run()
[all …]
/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/webrtc/webrtc/modules/audio_processing/
Daudio_buffer.cc127 input_buffer_->fbuf()->channels()[0]); in CopyFrom()
146 data_->fbuf()->channels()[i]); in CopyFrom()
162 FloatS16ToFloat(data_->fbuf()->channels()[i], in CopyTo()
254 return data_->fbuf()->channels(); in channels_f()
266 split_data_->fbuf()->bands(channel) : in split_bands_f()
267 data_->fbuf()->bands(channel); in split_bands_f()
281 return split_data_->fbuf()->channels(band); in split_channels_f()
283 return band == kBand0To8kHz ? data_->fbuf()->channels() : nullptr; in split_channels_f()
289 return data_->fbuf(); in data_f()
298 return split_data_.get() ? split_data_->fbuf() : data_->fbuf(); in split_data_f()
[all …]
Dsplitting_filter_unittest.cc51 memset(in_data.fbuf()->channels()[0], in TEST()
53 kSamplesPer48kHzChannel * sizeof(in_data.fbuf()->channels()[0][0])); in TEST()
58 in_data.fbuf()->channels()[0][k] += in TEST()
Dsplitting_filter.cc91 bands->fbuf()->bands(i)); in ThreeBandsAnalysis()
101 data->fbuf()->channels()[i]); in ThreeBandsSynthesis()
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_buffer.c288 struct debug_flush_buf *fbuf; member
313 buf->fbuf = debug_flush_buf_create(TRUE, VMW_DEBUG_FLUSH_STACK); in vmw_svga_winsys_buffer_wrap()
320 return buffer->fbuf; in vmw_debug_flush_buf()
333 debug_flush_buf_reference(&buf->fbuf, NULL); in vmw_svga_winsys_buffer_destroy()
353 debug_flush_map(buf->fbuf, flags); in vmw_svga_winsys_buffer_map()
367 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/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/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()
/external/webrtc/webrtc/common_audio/
Dchannel_buffer.cc29 ChannelBuffer<float>* IFChannelBuffer::fbuf() { in fbuf() function in webrtc::IFChannelBuffer
Dchannel_buffer.h148 ChannelBuffer<float>* fbuf();