Home
last modified time | relevance | path

Searched refs:readbuf (Results 1 – 15 of 15) 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()
118 memcpy(readbuf, hp+offset, stride*(sizeof *readbuf)); in swap_halfrows_pow2()
119 pointerswap(&readbuf, &writebuf); in swap_halfrows_pow2()
126 memcpy(readbuf, hp+offset, stride*(sizeof *readbuf)); in swap_halfrows_pow2()
128 pointerswap(&readbuf, &writebuf); in swap_halfrows_pow2()
/external/libcups/cups/
Dtestfile.c455 unsigned char readbuf[8192], /* Read buffer */ in read_write_tests() local
729 if ((bytes = cupsFileRead(fp, (char *)readbuf, sizeof(readbuf))) < 0) in read_write_tests()
731 else if (memcmp(readbuf, writebuf, sizeof(readbuf))) in read_write_tests()
740 for (i = 0; i < (int)sizeof(readbuf); i ++) 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/u-boot/fs/jffs2/
Djffs2_1pass.c649 free(pL->readbuf); in jffs2_free_cache()
695 sizeof(struct jffs2_raw_inode), pL->readbuf); in jffs2_1pass_read_inode()
703 put_fl_mem(jNode, pL->readbuf); in jffs2_1pass_read_inode()
720 pL->readbuf); in jffs2_1pass_read_inode()
748 put_fl_mem(jNode, pL->readbuf); in jffs2_1pass_read_inode()
750 get_node_mem(b->offset, pL->readbuf); in jffs2_1pass_read_inode()
755 put_fl_mem(jNode, pL->readbuf); in jffs2_1pass_read_inode()
762 put_fl_mem(jNode, pL->readbuf); in jffs2_1pass_read_inode()
797 put_fl_mem(jNode, pL->readbuf); in jffs2_1pass_read_inode()
808 put_fl_mem(jNode, pL->readbuf); in jffs2_1pass_read_inode()
[all …]
Djffs2_private.h28 void *readbuf; member
/external/ltp/testcases/kernel/ipc/pipeio/
Dpipeio.c111 static char *readbuf; variable
453 readbuf = SAFE_MALLOC(cleanup, size); in setup()
489 SAFE_FREE(readbuf); in cleanup()
599 if (writebuf[i] != readbuf[i]) { in check_rw_buf()
606 prt_buf(&readbuf, readbuf, format_size, format); in check_rw_buf()
665 nb = lio_read_buffer(read_fd, iotype, readbuf, size, in do_parent()
/external/emma/tools/java/com/vladium/tools/
DClassDep.java132 final byte [] readbuf = new byte [8 * 1024]; in getDependencies()
153 for (int read; (read = in.read (readbuf)) >= 0; baos.write (readbuf, 0, read)); in getDependencies()
/external/ltp/testcases/kernel/mem/mmapstress/
Dmmapstress10.c793 uchar_t *readbuf; local
825 readbuf = malloc(pagesize);
835 cnt = read(fd, (char *)readbuf, pagesize);
857 if (expbuf[j] != readbuf[j] && readbuf[j] != 0) {
860 expbuf[j], readbuf[j]);
Dmmapstress01.c606 uchar_t readbuf[pagesize]; local
653 cnt = read(fd, readbuf, pagesize);
677 if (expbuf[j] != readbuf[j]) {
680 expbuf[j], readbuf[j]);
/external/ltp/testcases/kernel/sched/sched_stress/
Dsched_tc4.c186 char readbuf[BLOCK_SIZE + 1]; /* buffer to store bytes read */ in read_raw_device() local
213 if (read(fd, readbuf, BLOCK_SIZE) != BLOCK_SIZE) in read_raw_device()
/external/boringssl/src/ssl/test/
Dhandshake_util.cc233 char readbuf[64]; in Proxy() local
237 int read = BIO_read(socket, readbuf, sizeof(readbuf)); in Proxy()
242 ssize_t written = write_eintr(rfd, readbuf, read); in Proxy()
/external/wpa_supplicant_8/src/wps/
Dhttpread.c374 char readbuf[HTTPREAD_READBUF_SIZE]; /* temp use to read into */ in httpread_read_handler() local
380 nread = read(h->sd, readbuf, sizeof(readbuf)); in httpread_read_handler()
385 wpa_hexdump_ascii(MSG_MSGDUMP, "httpread - read", readbuf, nread); in httpread_read_handler()
412 rbp = readbuf; in httpread_read_handler()
/external/ltp/testcases/kernel/syscalls/mount/
Dmount03.c135 char readbuf[20]; in test_rwflag() local
315 if (read(fd, readbuf, sizeof(readbuf)) == -1) { in test_rwflag()
/external/pdfium/third_party/libpng16/
Dpngrutil.c1806 png_byte readbuf[PNG_MAX_PALETTE_LENGTH]; in png_handle_tRNS() local
1880 png_crc_read(png_ptr, readbuf, length); in png_handle_tRNS()
1901 png_set_tRNS(png_ptr, info_ptr, readbuf, png_ptr->num_trans, in png_handle_tRNS()
2011 png_uint_16 readbuf[PNG_MAX_PALETTE_LENGTH]; in png_handle_hIST() local
2048 readbuf[i] = png_get_uint_16(buf); in png_handle_hIST()
2054 png_set_hIST(png_ptr, info_ptr, readbuf); in png_handle_hIST()
/external/libpng/
Dpngrutil.c1820 png_byte readbuf[PNG_MAX_PALETTE_LENGTH]; in png_handle_tRNS() local
1894 png_crc_read(png_ptr, readbuf, length); in png_handle_tRNS()
1915 png_set_tRNS(png_ptr, info_ptr, readbuf, png_ptr->num_trans, in png_handle_tRNS()
2088 png_uint_16 readbuf[PNG_MAX_PALETTE_LENGTH]; in png_handle_hIST() local
2125 readbuf[i] = png_get_uint_16(buf); in png_handle_hIST()
2131 png_set_hIST(png_ptr, info_ptr, readbuf); in png_handle_hIST()
/external/libevent/
Dhttp.c4699 char *readbuf = NULL, *readp = NULL, *token = NULL, *query = NULL; in evhttp_uri_parse_with_flags() local
4711 readbuf = mm_strdup(source_uri); in evhttp_uri_parse_with_flags()
4712 if (readbuf == NULL) { in evhttp_uri_parse_with_flags()
4717 readp = readbuf; in evhttp_uri_parse_with_flags()
4813 mm_free(readbuf); in evhttp_uri_parse_with_flags()
4819 if (readbuf) in evhttp_uri_parse_with_flags()
4820 mm_free(readbuf); in evhttp_uri_parse_with_flags()