Home
last modified time | relevance | path

Searched refs:readptr (Results 1 – 18 of 18) sorted by relevance

/third_party/curl/tests/libtest/
Dlib667.c35 char *readptr; member
42 int eof = !*pooh->readptr; in read_callback()
52 *ptr = *pooh->readptr; /* copy one single byte */ in read_callback()
53 pooh->readptr++; /* advance pointer */ in read_callback()
91 pooh.readptr = data; in test()
Dlib668.c35 char *readptr; member
42 size_t len = strlen(pooh->readptr); in read_callback()
49 memcpy(ptr, pooh->readptr, len); in read_callback()
50 pooh->readptr += len; in read_callback()
85 pooh1.readptr = data; in test()
Dlib508.c29 char *readptr; member
41 *ptr = pooh->readptr[0]; /* copy one single byte */ in read_callback()
42 pooh->readptr++; /* advance pointer */ in read_callback()
57 pooh.readptr = data; in test()
Dlib654.c35 char *readptr; member
50 int eof = !*pooh->readptr; in read_callback()
60 *ptr = *pooh->readptr; /* copy one single byte */ in read_callback()
61 pooh->readptr++; /* advance pointer */ in read_callback()
101 pooh.readptr = data; in test()
Dlib1517.c29 char *readptr; member
48 memcpy(ptr, pooh->readptr, tocopy);/* copy requested data */ in read_callback()
49 pooh->readptr += tocopy; /* advance pointer */ in read_callback()
61 pooh.readptr = data; in test()
Dlib554.c37 char *readptr; member
57 *ptr = pooh->readptr[0]; /* copy one single byte */ in read_callback()
58 pooh->readptr++; /* advance pointer */ in read_callback()
78 pooh.readptr = data; in once()
108 pooh2.readptr = data; in once()
Dlib643.c35 char *readptr; member
59 int eof = !*pooh->readptr; in read_callback()
71 *ptr = *pooh->readptr; /* copy one single byte */ in read_callback()
72 pooh->readptr++; /* advance pointer */ in read_callback()
91 pooh.readptr = data; in once()
146 pooh2.readptr = data; in once()
Dlib1514.c34 char *readptr; member
46 *ptr = pooh->readptr[0]; /* copy one single byte */ in read_callback()
47 pooh->readptr++; /* advance pointer */ in read_callback()
/third_party/curl/docs/examples/
Dftpuploadfrommem.c42 const char *readptr; member
58 memcpy(ptr, upload->readptr, copylen); in read_callback()
59 upload->readptr += copylen; in read_callback()
74 upload.readptr = data; in main()
Dpost-callback.c40 const char *readptr; member
54 memcpy(dest, wt->readptr, copy_this_much); in read_callback()
56 wt->readptr += copy_this_much; in read_callback()
71 wt.readptr = data; in main()
/third_party/gstreamer/gstplugins_bad/sys/asio/
Dgstasioringbuffer.cpp156 guint8 *readptr; in gst_asio_buffer_switch_cb() local
168 &segment, &readptr, &len)) { in gst_asio_buffer_switch_cb()
203 readptr, len); in gst_asio_buffer_switch_cb()
207 &segment, &readptr, &len); in gst_asio_buffer_switch_cb()
251 memcpy (readptr, self->infos[0]->buffers[index], len); in gst_asio_buffer_switch_cb()
260 memcpy (readptr + gst_offset, in gst_asio_buffer_switch_cb()
270 memcpy (self->infos[0]->buffers[index], readptr, len); in gst_asio_buffer_switch_cb()
280 readptr + gst_offset, bps); in gst_asio_buffer_switch_cb()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Dgstaudiosrc.c214 guint8 *readptr; in audioringbuffer_thread_func() local
218 if (gst_audio_ring_buffer_prepare_read (buf, &readseg, &readptr, &len)) { in audioringbuffer_thread_func()
223 read = readfunc (src, readptr, left, &timestamp); in audioringbuffer_thread_func()
233 readptr += read; in audioringbuffer_thread_func()
Dgstaudiosink.c238 guint8 *readptr; in audioringbuffer_thread_func() local
242 if (gst_audio_ring_buffer_prepare_read (buf, &readseg, &readptr, &len)) { in audioringbuffer_thread_func()
247 written = writefunc (sink, readptr, left); in audioringbuffer_thread_func()
262 readptr += written; in audioringbuffer_thread_func()
Dgstaudioringbuffer.c1883 guint8 ** readptr, gint * len) in gst_audio_ring_buffer_prepare_read() argument
1898 g_return_val_if_fail (readptr != NULL, FALSE); in gst_audio_ring_buffer_prepare_read()
1908 *readptr = data + *segment * *len; in gst_audio_ring_buffer_prepare_read()
1911 *segment, segdone, *readptr); in gst_audio_ring_buffer_prepare_read()
1916 buf->callback (buf, *readptr, *len, buf->cb_data); in gst_audio_ring_buffer_prepare_read()
Dgstaudioringbuffer.h399 guint8 **readptr, gint *len);
/third_party/gstreamer/gstplugins_bad/sys/wasapi2/
Dgstwasapi2ringbuffer.cpp462 guint8 *readptr; in gst_wasapi2_ring_buffer_read() local
501 &segment, &readptr, &len)) { in gst_wasapi2_ring_buffer_read()
513 readptr + self->segoffset, len); in gst_wasapi2_ring_buffer_read()
526 &segment, &readptr, &len)) { in gst_wasapi2_ring_buffer_read()
537 readptr + self->segoffset, len); in gst_wasapi2_ring_buffer_read()
539 memcpy (readptr + self->segoffset, data + offset, len); in gst_wasapi2_ring_buffer_read()
571 guint8 *readptr; in gst_wasapi2_ring_buffer_write() local
617 &segment, &readptr, &len)) { in gst_wasapi2_ring_buffer_write()
646 memcpy (data, readptr + self->segoffset, len); in gst_wasapi2_ring_buffer_write()
/third_party/gstreamer/gstplugins_good/sys/osxaudio/
Dgstosxaudiosink.c518 guint8 *readptr; in gst_osx_audio_sink_io_proc() local
527 &readseg, &readptr, &len)) in gst_osx_audio_sink_io_proc()
536 readptr + buf->segoffset, len); in gst_osx_audio_sink_io_proc()
/third_party/gstreamer/gstplugins_good/ext/jack/
Dgstjackaudiosink.c193 guint8 *readptr; in jack_process_cb() local
208 if (gst_audio_ring_buffer_prepare_read (buf, &readseg, &readptr, &len)) { in jack_process_cb()
216 nframes, readptr, flen, channels); in jack_process_cb()
217 data = (sample_t *) readptr; in jack_process_cb()