/third_party/mesa3d/src/glx/apple/ |
D | apple_xgl_api_stereo.c | 93 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/ |
D | dup204.c | 36 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()
|
D | dup202.c | 77 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/ |
D | ares__read_line.c | 33 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/ |
D | os_file.c | 157 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/ |
D | getpeercon.c | 28 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()
|
D | lgetfilecon.c | 24 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()
|
D | getfilecon.c | 24 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()
|
D | fgetfilecon.c | 24 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()
|
D | seusers.c | 19 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/ |
D | userfile.c | 94 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/ |
D | open_wmemstream.c | 45 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/ |
D | open_memstream.c | 41 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()
|
D | open_wmemstream.c | 44 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/ |
D | fake_ntlm.c | 51 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/ |
D | apev2mux.c | 217 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()
|
D | id3v2mux.c | 302 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/ |
D | buffer.c | 153 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/ |
D | gstbuffer.c | 851 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/ |
D | stream.hpp | 182 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/ |
D | stdio.hpp | 56 streambuf_type* newbuf ) in scoped_redirector() 57 : ios_(ios), old_(ios.rdbuf(newbuf)) in scoped_redirector()
|
/third_party/gstreamer/gstplugins_bad/ext/webrtcdsp/ |
D | gstwebrtcechoprobe.cpp | 178 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/ |
D | buf.c | 468 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/ |
D | subst.c | 286 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/ |
D | vsrc_life.c | 296 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()
|