Home
last modified time | relevance | path

Searched refs:oldbuf (Results 1 – 12 of 12) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/dup2/
Ddup204.c36 struct stat oldbuf, newbuf; in run() local
44 SAFE_FSTAT(fd[i], &oldbuf); 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
96 SAFE_FSTAT(ofd, &oldbuf); 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/gstreamer/gstplugins_bad/gst/videofilters/
Dgstscenechange.c177 if (!scenechange->oldbuf) { in gst_scene_change_transform_frame_ip()
180 scenechange->oldbuf = gst_buffer_ref (frame->buffer); in gst_scene_change_transform_frame_ip()
187 scenechange->oldbuf, GST_MAP_READ); in gst_scene_change_transform_frame_ip()
197 gst_buffer_unref (scenechange->oldbuf); in gst_scene_change_transform_frame_ip()
198 scenechange->oldbuf = gst_buffer_ref (frame->buffer); in gst_scene_change_transform_frame_ip()
Dgstscenechange.h45 GstBuffer *oldbuf; member
/third_party/ffmpeg/libavfilter/
Dvsrc_life.c295 uint8_t *oldbuf = life->buf[ life->buf_idx]; in evolve() local
325 …n = (pos[NW][0] == -1 || pos[NW][1] == -1 ? 0 : oldbuf[pos[NW][0]*life->w + pos[NW][1]] == ALIVE_C… in evolve()
326 …(pos[N ][0] == -1 || pos[N ][1] == -1 ? 0 : oldbuf[pos[N ][0]*life->w + pos[N ][1]] == ALIVE_CELL)… in evolve()
327 …(pos[NE][0] == -1 || pos[NE][1] == -1 ? 0 : oldbuf[pos[NE][0]*life->w + pos[NE][1]] == ALIVE_CELL)… in evolve()
328 …(pos[W ][0] == -1 || pos[W ][1] == -1 ? 0 : oldbuf[pos[W ][0]*life->w + pos[W ][1]] == ALIVE_CELL)… in evolve()
329 …(pos[E ][0] == -1 || pos[E ][1] == -1 ? 0 : oldbuf[pos[E ][0]*life->w + pos[E ][1]] == ALIVE_CELL)… in evolve()
330 …(pos[SW][0] == -1 || pos[SW][1] == -1 ? 0 : oldbuf[pos[SW][0]*life->w + pos[SW][1]] == ALIVE_CELL)… in evolve()
331 …(pos[S ][0] == -1 || pos[S ][1] == -1 ? 0 : oldbuf[pos[S ][0]*life->w + pos[S ][1]] == ALIVE_CELL)… in evolve()
332 …(pos[SE][0] == -1 || pos[SE][1] == -1 ? 0 : oldbuf[pos[SE][0]*life->w + pos[SE][1]] == ALIVE_CELL); in evolve()
333 cell = oldbuf[i*life->w + j]; in evolve()
/third_party/e2fsprogs/util/
Dsubst.c286 char oldbuf[2048], newbuf[2048], *oldcp, *newcp; in compare_file() local
290 oldcp = fgets(oldbuf, sizeof(oldbuf), old_f); in compare_file()
296 if (!oldcp || !newcp || strcmp(oldbuf, newbuf)) { in compare_file()
/third_party/pulseaudio/src/utils/
Dpadsp.c2544 struct stat oldbuf; local
2556 ret = stat(pathname, &oldbuf);
2560 buf->st_dev = oldbuf.st_dev;
2561 buf->st_ino = oldbuf.st_ino;
2562 buf->st_mode = oldbuf.st_mode;
2563 buf->st_nlink = oldbuf.st_nlink;
2564 buf->st_uid = oldbuf.st_uid;
2565 buf->st_gid = oldbuf.st_gid;
2566 buf->st_rdev = oldbuf.st_rdev;
2567 buf->st_size = oldbuf.st_size;
[all …]
/third_party/boost/boost/convert/
Dstream.hpp179 buffer_type* oldbuf = istream.rdbuf(); in str_to() local
192 istream.rdbuf(oldbuf); in str_to()
/third_party/libwebsockets/lib/roles/h1/
Dops-h1.c44 unsigned char *last_char, *oldbuf = buf; in lws_read_h1() local
306 return lws_ptr_diff(buf, oldbuf); in lws_read_h1()
/third_party/gettext/gettext-tools/emacs/
Dpo-mode.el2121 (defun po-ediff-buffers-exit-recursive (b1 b2 oldbuf end)
2131 (pop-to-buffer oldbuf)
2167 (let ((oldbuf (current-buffer)))
2173 (insert-buffer-substring oldbuf start-1 end-1)
2186 (insert-buffer-substring oldbuf start-2 end-2))
2190 (po-ediff-buffers-exit-recursive buf1 buf2 oldbuf end-2)
/third_party/boost/boost/container/
Dstring.hpp1819 value_type * const oldbuf = boost::movelib::to_raw_pointer(old_start); in insert() local
1822 const size_type before = pos - oldbuf; in insert()
1825 Traits::move(newbuf, oldbuf, before); in insert()
/third_party/libwebsockets/lib/roles/h2/
Dhttp2.c2807 unsigned char *oldbuf = buf; in lws_read_h2() local
2875 return lws_ptr_diff(buf, oldbuf); in lws_read_h2()