Home
last modified time | relevance | path

Searched refs:readbuf (Results 1 – 18 of 18) sorted by relevance

/external/python/cpython3/Modules/_decimal/libmpdec/
Dtranspose.c79 mpd_uint_t *readbuf, *writebuf, *hp; in swap_halfrows_pow2() local
113 readbuf = buf1; writebuf = buf2; in swap_halfrows_pow2()
120 memcpy(readbuf, hp+offset, stride*(sizeof *readbuf)); in swap_halfrows_pow2()
121 pointerswap(&readbuf, &writebuf); in swap_halfrows_pow2()
128 memcpy(readbuf, hp+offset, stride*(sizeof *readbuf)); in swap_halfrows_pow2()
130 pointerswap(&readbuf, &writebuf); in swap_halfrows_pow2()
/external/curl/lib/
Dmqtt.c180 unsigned char readbuf[MQTT_CONNACK_LEN]; in mqtt_verify_connack() local
184 result = Curl_read(conn, sockfd, (char *)readbuf, MQTT_CONNACK_LEN, &nread); in mqtt_verify_connack()
189 Curl_debug(data, CURLINFO_HEADER_IN, (char *)readbuf, (size_t)nread); in mqtt_verify_connack()
198 if(readbuf[0] != 0x00 || readbuf[1] != 0x00) { in mqtt_verify_connack()
200 0x00, 0x00, readbuf[0], readbuf[1]); in mqtt_verify_connack()
293 unsigned char readbuf[MQTT_SUBACK_LEN]; in mqtt_verify_suback() local
297 result = Curl_read(conn, sockfd, (char *)readbuf, MQTT_SUBACK_LEN, &nread); in mqtt_verify_suback()
302 Curl_debug(conn->data, CURLINFO_HEADER_IN, (char *)readbuf, (size_t)nread); in mqtt_verify_suback()
311 if(readbuf[0] != ((mqtt->packetid >> 8) & 0xff) || in mqtt_verify_suback()
312 readbuf[1] != (mqtt->packetid & 0xff) || in mqtt_verify_suback()
[all …]
/external/libcups/cups/
Dtestfile.c450 unsigned char readbuf[8192], /* Read buffer */ in read_write_tests() local
724 if ((bytes = cupsFileRead(fp, (char *)readbuf, sizeof(readbuf))) < 0) in read_write_tests()
726 else if (memcmp(readbuf, writebuf, sizeof(readbuf))) in read_write_tests()
735 for (i = 0; i < (int)sizeof(readbuf); i ++) in read_write_tests()
736 if (readbuf[i] != writebuf[i]) in read_write_tests()
740 i, readbuf[i], writebuf[i]); in read_write_tests()
/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/libwebsockets/lib/core-net/
Dadopt.c391 adopt_socket_readbuf(struct lws *wsi, const char *readbuf, size_t len) in adopt_socket_readbuf() argument
400 if (!readbuf || len == 0) in adopt_socket_readbuf()
408 n = lws_buflist_append_segment(&wsi->buflist, (const uint8_t *)readbuf, in adopt_socket_readbuf()
696 const char *readbuf, size_t len) in lws_adopt_socket_readbuf() argument
699 readbuf, len); in lws_adopt_socket_readbuf()
705 const char *readbuf, size_t len) in lws_adopt_socket_vhost_readbuf() argument
708 readbuf, len); in lws_adopt_socket_vhost_readbuf()
/external/libwebsockets/include/libwebsockets/
Dlws-adopt.h175 const char *readbuf, size_t len);
200 lws_sockfd_type accept_fd, const char *readbuf,
/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/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/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/boringssl/src/ssl/test/
Dhandshake_util.cc286 uint8_t readbuf[64]; in Proxy() local
287 size_t len = remaining > sizeof(readbuf) ? sizeof(readbuf) : remaining; in Proxy()
288 if (!proxy_data(readbuf, len)) { in Proxy()
/external/rust/crates/quiche/deps/boringssl/src/ssl/test/
Dhandshake_util.cc286 uint8_t readbuf[64]; in Proxy() local
287 size_t len = remaining > sizeof(readbuf) ? sizeof(readbuf) : remaining; in Proxy()
288 if (!proxy_data(readbuf, len)) { in Proxy()
/external/libiio/src/iiod/
Dlexer.l72 <INITIAL>READBUF|readbuf {
/external/pdfium/third_party/libpng16/
Dpngrutil.c1819 png_byte readbuf[PNG_MAX_PALETTE_LENGTH]; in png_handle_tRNS() local
1893 png_crc_read(png_ptr, readbuf, length); in png_handle_tRNS()
1914 png_set_tRNS(png_ptr, info_ptr, readbuf, png_ptr->num_trans, in png_handle_tRNS()
2105 png_uint_16 readbuf[PNG_MAX_PALETTE_LENGTH]; in png_handle_hIST() local
2142 readbuf[i] = png_get_uint_16(buf); in png_handle_hIST()
2148 png_set_hIST(png_ptr, info_ptr, readbuf); in png_handle_hIST()
/external/libpng/
Dpngrutil.c1819 png_byte readbuf[PNG_MAX_PALETTE_LENGTH]; in png_handle_tRNS() local
1893 png_crc_read(png_ptr, readbuf, length); in png_handle_tRNS()
1914 png_set_tRNS(png_ptr, info_ptr, readbuf, png_ptr->num_trans, in png_handle_tRNS()
2105 png_uint_16 readbuf[PNG_MAX_PALETTE_LENGTH]; in png_handle_hIST() local
2142 readbuf[i] = png_get_uint_16(buf); in png_handle_hIST()
2148 png_set_hIST(png_ptr, info_ptr, readbuf); in png_handle_hIST()
/external/libevent/
Dhttp.c4773 char *readbuf = NULL, *readp = NULL, *token = NULL, *query = NULL; in evhttp_uri_parse_with_flags() local
4785 readbuf = mm_strdup(source_uri); in evhttp_uri_parse_with_flags()
4786 if (readbuf == NULL) { in evhttp_uri_parse_with_flags()
4791 readp = readbuf; in evhttp_uri_parse_with_flags()
4887 mm_free(readbuf); in evhttp_uri_parse_with_flags()
4893 if (readbuf) in evhttp_uri_parse_with_flags()
4894 mm_free(readbuf); in evhttp_uri_parse_with_flags()