Home
last modified time | relevance | path

Searched refs:sync_buf (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/games/sail/
H A Dsync.c145 static char sync_buf[BUFSIZE]; variable
146 static char *sync_bp = sync_buf;
288 size_t max = sizeof(sync_buf) - (sync_bp - sync_buf); in Write()
296 if (sync_bp >= &sync_buf[sizeof sync_buf]) in Write()
304 size_t max = sizeof(sync_buf) - (sync_bp - sync_buf); in Writestr()
311 if (sync_bp >= &sync_buf[sizeof sync_buf]) in Writestr()
405 if (!erred && sync_bp != sync_buf) { in Sync()
407 fwrite(sync_buf, sizeof *sync_buf, sync_bp - sync_buf, in Sync()
410 sync_bp = sync_buf; in Sync()
/netbsd-src/external/mit/libuv/dist/test/
H A Dtest-fork.c163 char sync_buf[1]; in TEST_IMPL() local
202 ASSERT(1 == read(sync_pipe[0], sync_buf, 1)); /* wait for parent */ in TEST_IMPL()
235 char sync_buf[1]; in TEST_IMPL() local
252 ASSERT(1 == read(sync_pipe[0], sync_buf, 1)); /* wait for child */ in TEST_IMPL()
285 char sync_buf[1]; in TEST_IMPL() local
305 ASSERT(1 == read(sync_pipe[0], sync_buf, 1)); /* wait for child */ in TEST_IMPL()
332 r = read(sync_pipe2[0], sync_buf, 1); in TEST_IMPL()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/
H A DChangeLog-2004562 * testsuite/testsuite_io.h (class sync_buf): New, templatized