Home
last modified time | relevance | path

Searched refs:oldbuf (Results 1 – 10 of 10) 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/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/elfutils/libcpu/
Di386_disasm.c455 char *oldbuf; in i386_disasm() local
457 oldbuf = buf; in i386_disasm()
464 buf = oldbuf; in i386_disasm()
Driscv_disasm.c1320 char *oldbuf; in riscv_disasm() local
1322 oldbuf = buf; in riscv_disasm()
1329 buf = oldbuf; in riscv_disasm()
/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/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()