Home
last modified time | relevance | path

Searched refs:newbuf (Results 1 – 25 of 54) sorted by relevance

123

/third_party/mesa3d/src/glx/apple/
Dapple_xgl_api_stereo.c93 GLenum newbuf[n + 2]; in __applegl_glDrawBuffers() local
106 newbuf[outi++] = bufs[i]; in __applegl_glDrawBuffers()
111 newbuf[outi++] = GL_BACK_LEFT; in __applegl_glDrawBuffers()
112 newbuf[outi++] = GL_BACK_RIGHT; in __applegl_glDrawBuffers()
116 newbuf[outi++] = GL_FRONT_LEFT; in __applegl_glDrawBuffers()
117 newbuf[outi++] = GL_FRONT_RIGHT; in __applegl_glDrawBuffers()
120 __ogl_framework_api->DrawBuffers(outi, newbuf); in __applegl_glDrawBuffers()
/third_party/ltp/testcases/kernel/syscalls/dup2/
Ddup204.c36 struct stat oldbuf, newbuf; in run() local
45 SAFE_FSTAT(nfd[i], &newbuf); in run()
47 if (oldbuf.st_ino != newbuf.st_ino) in run()
50 oldbuf.st_ino, newbuf.st_ino); in run()
54 oldbuf.st_ino, newbuf.st_ino); in run()
Ddup202.c77 struct stat oldbuf, newbuf; in run() local
98 SAFE_FSTAT(nfd, &newbuf); in run()
100 if (oldbuf.st_mode != newbuf.st_mode) in run()
102 oldbuf.st_mode, newbuf.st_mode); in run()
105 oldbuf.st_mode, newbuf.st_mode); in run()
/third_party/node/deps/cares/src/lib/
Dares__read_line.c33 char *newbuf; in ares__read_line() local
62 newbuf = ares_realloc(*buf, *bufsize * 2); in ares__read_line()
63 if (!newbuf) in ares__read_line()
69 *buf = newbuf; in ares__read_line()
/third_party/mesa3d/src/util/
Dos_file.c157 char *newbuf = realloc(buf, 2 * len); in os_read_file() local
158 if (!newbuf) { in os_read_file()
165 buf = newbuf; in os_read_file()
178 char *newbuf = realloc(buf, len); in os_read_file() local
179 if (!newbuf) { in os_read_file()
184 buf = newbuf; in os_read_file()
/third_party/selinux/libselinux/src/
Dgetpeercon.c28 char *newbuf; in getpeercon_raw() local
30 newbuf = realloc(buf, size); in getpeercon_raw()
31 if (!newbuf) in getpeercon_raw()
34 buf = newbuf; in getpeercon_raw()
Dlgetfilecon.c24 char *newbuf; in lgetfilecon_raw() local
31 newbuf = realloc(buf, size); in lgetfilecon_raw()
32 if (!newbuf) in lgetfilecon_raw()
35 buf = newbuf; in lgetfilecon_raw()
Dgetfilecon.c24 char *newbuf; in getfilecon_raw() local
31 newbuf = realloc(buf, size); in getfilecon_raw()
32 if (!newbuf) in getfilecon_raw()
35 buf = newbuf; in getfilecon_raw()
Dfgetfilecon.c24 char *newbuf; in fgetfilecon_raw() local
31 newbuf = realloc(buf, size); in fgetfilecon_raw()
32 if (!newbuf) in fgetfilecon_raw()
35 buf = newbuf; in fgetfilecon_raw()
Dseusers.c19 char *newbuf = strdup(buffer); in process_seusers() local
24 if (!newbuf) in process_seusers()
27 start = newbuf; in process_seusers()
31 free(newbuf); in process_seusers()
78 free(newbuf); in process_seusers()
84 free(newbuf); in process_seusers()
/third_party/alsa-lib/src/
Duserfile.c94 char *newbuf; in snd_user_file() local
98 newbuf = realloc(buf, bufsize); in snd_user_file()
99 if (newbuf == NULL) in snd_user_file()
101 buf = newbuf; in snd_user_file()
/third_party/musl/porting/liteos_a/user/src/stdio/
Dopen_wmemstream.c45 wchar_t *newbuf; in wms_write() local
49 newbuf = realloc(c->buf, len2*4); in wms_write()
50 if (!newbuf) return 0; in wms_write()
51 *c->bufp = c->buf = newbuf; in wms_write()
/third_party/musl/src/stdio/
Dopen_memstream.c41 char *newbuf; in ms_write() local
48 newbuf = realloc(c->buf, len2); in ms_write()
49 if (!newbuf) return 0; in ms_write()
50 *c->bufp = c->buf = newbuf; in ms_write()
Dopen_wmemstream.c44 wchar_t *newbuf; in wms_write() local
48 newbuf = realloc(c->buf, len2*4); in wms_write()
49 if (!newbuf) return 0; in wms_write()
50 *c->bufp = c->buf = newbuf; in wms_write()
/third_party/curl/tests/server/
Dfake_ntlm.c51 char *newbuf; in printable() local
86 newbuf = realloc(outbuf, newsize); in printable()
87 if(!newbuf) { in printable()
91 outbuf = newbuf; in printable()
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dapev2mux.c217 GstBuffer *newbuf; in got_buffer() local
220 newbuf = gst_buffer_new_and_alloc (off + map.size); in got_buffer()
225 gst_buffer_fill (newbuf, 0, pmap.data, pmap.size); in got_buffer()
228 gst_buffer_fill (newbuf, off, map.data, map.size); in got_buffer()
231 *p_buf = newbuf; in got_buffer()
Did3v2mux.c302 GstBuffer *newbuf; in got_buffer() local
305 newbuf = gst_buffer_new_and_alloc (off + map.size); in got_buffer()
310 gst_buffer_fill (newbuf, 0, pmap.data, pmap.size); in got_buffer()
313 gst_buffer_fill (newbuf, off, map.data, map.size); in got_buffer()
317 *p_buf = newbuf; in got_buffer()
/third_party/ffmpeg/libavutil/
Dbuffer.c153 AVBufferRef *newbuf, *buf = *pbuf; in av_buffer_make_writable() local
158 newbuf = av_buffer_alloc(buf->size); in av_buffer_make_writable()
159 if (!newbuf) in av_buffer_make_writable()
162 memcpy(newbuf->data, buf->data, buf->size); in av_buffer_make_writable()
164 buffer_replace(pbuf, &newbuf); in av_buffer_make_writable()
/third_party/gstreamer/gstreamer/gst/
Dgstbuffer.c851 GstBufferImpl *newbuf; in gst_buffer_new() local
853 newbuf = g_slice_new (GstBufferImpl); in gst_buffer_new()
854 GST_CAT_LOG (GST_CAT_BUFFER, "new %p", newbuf); in gst_buffer_new()
856 gst_buffer_init (newbuf, sizeof (GstBufferImpl)); in gst_buffer_new()
858 return GST_BUFFER_CAST (newbuf); in gst_buffer_new()
882 GstBuffer *newbuf; in gst_buffer_new_allocate() local
898 newbuf = gst_buffer_new (); in gst_buffer_new_allocate()
902 _memory_add (newbuf, -1, mem); in gst_buffer_new_allocate()
906 "new buffer %p of size %" G_GSIZE_FORMAT " from allocator %p", newbuf, in gst_buffer_new_allocate()
916 newbuf = GST_BUFFER_CAST (data); in gst_buffer_new_allocate()
[all …]
/third_party/boost/boost/convert/
Dstream.hpp182 ibuffer_type newbuf (beg, sz); //C02 in str_to() local
184 istream.rdbuf(&newbuf); in str_to()
189 if (istream.fail() || newbuf.gptr() != newbuf.egptr()/*C03*/) in str_to()
/third_party/boost/boost/iostreams/filter/
Dstdio.hpp56 streambuf_type* newbuf ) in scoped_redirector()
57 : ios_(ios), old_(ios.rdbuf(newbuf)) in scoped_redirector()
/third_party/gstreamer/gstplugins_bad/ext/webrtcdsp/
Dgstwebrtcechoprobe.cpp178 GstBuffer *newbuf = NULL; in gst_webrtc_echo_probe_transform_ip() local
181 newbuf = gst_buffer_copy (buffer); in gst_webrtc_echo_probe_transform_ip()
183 GST_BUFFER_PTS (newbuf) = gst_segment_to_running_time (&btrans->segment, in gst_webrtc_echo_probe_transform_ip()
187 gst_adapter_push (self->adapter, newbuf); in gst_webrtc_echo_probe_transform_ip()
195 gst_planar_audio_adapter_push (self->padapter, newbuf); in gst_webrtc_echo_probe_transform_ip()
/third_party/gettext/gnulib-local/lib/libxml/
Dbuf.c468 xmlChar *newbuf; in xmlBufGrowInternal() local
507 newbuf = (xmlChar *) xmlRealloc(buf->contentIO, start_buf + size); in xmlBufGrowInternal()
508 if (newbuf == NULL) { in xmlBufGrowInternal()
512 buf->contentIO = newbuf; in xmlBufGrowInternal()
513 buf->content = newbuf + start_buf; in xmlBufGrowInternal()
515 newbuf = (xmlChar *) xmlRealloc(buf->content, size); in xmlBufGrowInternal()
516 if (newbuf == NULL) { in xmlBufGrowInternal()
520 buf->content = newbuf; in xmlBufGrowInternal()
/third_party/e2fsprogs/util/
Dsubst.c286 char oldbuf[2048], newbuf[2048], *oldcp, *newcp; in compare_file() local
291 newcp = fgets(newbuf, sizeof(newbuf), new_f); in compare_file()
296 if (!oldcp || !newcp || strcmp(oldbuf, newbuf)) { in compare_file()
/third_party/ffmpeg/libavfilter/
Dvsrc_life.c296 uint8_t *newbuf = life->buf[!life->buf_idx]; in evolve() local
335 if (alive) *newbuf = ALIVE_CELL; // new cell is alive in evolve()
336 else if (cell) *newbuf = cell - 1; // new cell is dead and in the process of mold in evolve()
337 else *newbuf = 0; // new cell is definitely dead in evolve()
338 … ff_dlog(ctx, "i:%d j:%d live_neighbors:%d cell:%d -> cell:%d\n", i, j, n, cell, *newbuf); in evolve()
339 newbuf++; in evolve()

123