Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/_decimal/libmpdec/
Dtranspose.c77 mpd_uint_t *readbuf, *writebuf, *hp; in swap_halfrows_pow2() local
111 readbuf = buf1; writebuf = buf2; in swap_halfrows_pow2()
119 pointerswap(&readbuf, &writebuf); in swap_halfrows_pow2()
127 memcpy(hp+offset, writebuf, stride*(sizeof *writebuf)); in swap_halfrows_pow2()
128 pointerswap(&readbuf, &writebuf); in swap_halfrows_pow2()
137 memcpy(hp+offset, writebuf, stride*(sizeof *writebuf)); in swap_halfrows_pow2()
/external/u-boot/lib/
Dgunzip.c125 unsigned char *writebuf; in gzwrite() local
205 writebuf = (unsigned char *)malloc_cache_aligned(szwritebuf); in gzwrite()
222 s.next_out = writebuf; in gzwrite()
230 crc = crc32(crc, writebuf, numfilled); in gzwrite()
235 memset(writebuf+numfilled, 0, in gzwrite()
245 writeblocks, writebuf); in gzwrite()
265 free(writebuf); in gzwrite()
/external/libcups/cups/
Dtestfile.c459 writebuf[8192]; /* Write buffer */ in read_write_tests() local
479 for (i = 0; i < (int)sizeof(writebuf); i ++) in read_write_tests()
480 writebuf[i] = (unsigned char)CUPS_RAND(); in read_write_tests()
566 if (cupsFileWrite(fp, (char *)writebuf, sizeof(writebuf)) < 0) in read_write_tests()
734 else if (memcmp(readbuf, writebuf, sizeof(readbuf))) in read_write_tests()
744 if (readbuf[i] != writebuf[i]) in read_write_tests()
748 i, readbuf[i], writebuf[i]); in read_write_tests()
/external/u-boot/cmd/
Dunzip.c49 unsigned long writebuf = 1<<20; in do_gzwrite() local
63 writebuf = simple_strtoul(argv[5], NULL, 16); in do_gzwrite()
72 ret = gzwrite(addr, length, bdev, writebuf, startoffs, szexpected); in do_gzwrite()
/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()
488 SAFE_FREE(writebuf); in cleanup()
535 pid_word = (int *)&writebuf[0]; in do_child()
536 count_word = (int *)&writebuf[NBPW]; in do_child()
554 nb = lio_write_buffer(write_fd, iotype, writebuf, size, in do_child()
599 if (writebuf[i] != readbuf[i]) { in check_rw_buf()
/external/u-boot/drivers/mtd/spi/
Dsf_dataflash.c272 u_char *writebuf = (u_char *)buf; in spi_dataflash_write() local
355 4, writebuf, writelen); in spi_dataflash_write()
379 4, writebuf, writelen); in spi_dataflash_write()
403 writebuf += writelen; in spi_dataflash_write()
/external/curl/lib/
Deasy.c1001 struct tempbuf writebuf[3]; /* there can only be three */ in curl_easy_pause() local
1007 writebuf[i] = data->state.tempwrite[i]; in curl_easy_pause()
1022 result = Curl_client_write(conn, writebuf[i].type, writebuf[i].buf, in curl_easy_pause()
1023 writebuf[i].len); in curl_easy_pause()
1024 free(writebuf[i].buf); in curl_easy_pause()
/external/curl/tests/server/
Dtftpd.c558 char *writebuf; in write_behind() local
588 writebuf = dp->th_data; in write_behind()
594 return write(test->ofile, writebuf, count); in write_behind()
596 p = writebuf; in write_behind()
/external/python/cpython2/Lib/
Dgzip.py160 self.writebuf = []
/external/python/cpython3/Lib/
Dgzip.py217 self.writebuf = []