Home
last modified time | relevance | path

Searched refs:writebuf (Results 1 – 4 of 4) sorted by relevance

/external/libcups/cups/
Dtestfile.c456 writebuf[8192]; /* Write buffer */ in read_write_tests() local
476 for (i = 0; i < (int)sizeof(writebuf); i ++) in read_write_tests()
477 writebuf[i] = (unsigned char)CUPS_RAND(); in read_write_tests()
563 if (cupsFileWrite(fp, (char *)writebuf, sizeof(writebuf)) < 0) in read_write_tests()
731 else if (memcmp(readbuf, writebuf, sizeof(readbuf))) in read_write_tests()
741 if (readbuf[i] != writebuf[i]) in read_write_tests()
745 i, readbuf[i], writebuf[i]); in read_write_tests()
/external/ltp/testcases/kernel/ipc/pipeio/
Dpipeio.c110 static char *writebuf; variable
452 writebuf = SAFE_MALLOC(cleanup, size); in setup()
455 memset(writebuf, 'Z', size); in setup()
456 writebuf[size - 1] = 'A'; in setup()
491 SAFE_FREE(writebuf); in cleanup()
538 pid_word = (int *)&writebuf[0]; in do_child()
539 count_word = (int *)&writebuf[NBPW]; in do_child()
557 nb = lio_write_buffer(write_fd, iotype, writebuf, size, in do_child()
602 if (writebuf[i] != readbuf[i]) { in check_rw_buf()
/external/curl/tests/server/
Dtftpd.c553 char *writebuf; in write_behind() local
583 writebuf = dp->th_data; in write_behind()
589 return write(test->ofile, writebuf, count); in write_behind()
591 p = writebuf; in write_behind()
/external/python/cpython2/Lib/
Dgzip.py161 self.writebuf = []