/third_party/libsnd/ossfuzz/ |
D | sndfile_alt_fuzzer.cc | 30 short* read_buffer = NULL ; in LLVMFuzzerTestOneInput() local 31 read_buffer = (short*)malloc(sizeof(short) * size); in LLVMFuzzerTestOneInput() 32 if (read_buffer == NULL) in LLVMFuzzerTestOneInput() 35 while (sf_read_short(sndfile, read_buffer, size)) in LLVMFuzzerTestOneInput() 39 free(read_buffer) ; in LLVMFuzzerTestOneInput() 44 int* read_buffer = NULL ; in LLVMFuzzerTestOneInput() local 45 read_buffer = (int*)malloc(sizeof(int) * size) ; in LLVMFuzzerTestOneInput() 46 if (read_buffer == NULL) in LLVMFuzzerTestOneInput() 49 while (sf_read_int(sndfile, read_buffer, size)) in LLVMFuzzerTestOneInput() 53 free(read_buffer) ; in LLVMFuzzerTestOneInput() [all …]
|
D | sndfile_fuzzer.cc | 15 float* read_buffer = NULL ; in LLVMFuzzerTestOneInput() local 22 read_buffer = (float*)malloc(sizeof(float) * sndfile_info.channels); in LLVMFuzzerTestOneInput() 23 if (read_buffer == NULL) in LLVMFuzzerTestOneInput() 26 while (sf_readf_float(sndfile, read_buffer, 1)) in LLVMFuzzerTestOneInput() 36 free(read_buffer) ; in LLVMFuzzerTestOneInput()
|
D | sndfile_fuzz_header.h | 91 { float* read_buffer = NULL ; in sf_init_file() local
|
/third_party/libxml2/ |
D | generate_header.py | 28 self.read_buffer = [] 35 self.read_buffer = file.readlines() 36 for item in self.read_buffer: 74 self.read_buffer = [] 81 self.read_buffer = file.readlines() 82 for item in self.read_buffer:
|
/third_party/skia/third_party/externals/microhttpd/src/microspdy/ |
D | stream.c | 51 memcpy(&stream_id, session->read_buffer + session->read_buffer_beginning, 4); in SPDYF_stream_new() 77 memcpy(&assoc_stream_id, session->read_buffer + session->read_buffer_beginning, 4); in SPDYF_stream_new() 83 priority = *(uint8_t *)(session->read_buffer + session->read_buffer_beginning) >> 5; in SPDYF_stream_new() 87 slot = *(uint8_t *)(session->read_buffer + session->read_buffer_beginning); in SPDYF_stream_new()
|
D | session.c | 108 session->read_buffer + session->read_buffer_beginning, in spdyf_handler_read_syn_stream() 219 memcpy(&last_good_stream_id, session->read_buffer + session->read_buffer_beginning, 4); in spdyf_handler_read_goaway() 223 memcpy(&status_int, session->read_buffer + session->read_buffer_beginning, 4); in spdyf_handler_read_goaway() 289 memcpy(&stream_id, session->read_buffer + session->read_buffer_beginning, 4); in spdyf_handler_read_rst_stream() 293 memcpy(&status_int, session->read_buffer + session->read_buffer_beginning, 4); in spdyf_handler_read_rst_stream() 383 session->read_buffer + session->read_buffer_beginning, in spdyf_handler_read_data() 924 memmove(session->read_buffer, in SPDYF_session_read() 925 session->read_buffer + session->read_buffer_beginning, in SPDYF_session_read() 943 session->read_buffer + session->read_buffer_offset, in SPDYF_session_read() 1186 if(0x80 == *(uint8_t *)(session->read_buffer + session->read_buffer_beginning) in SPDYF_session_idle() [all …]
|
D | structures.h | 670 void *read_buffer; member
|
/third_party/ltp/testcases/kernel/syscalls/mount/ |
D | mount03.c | 69 static char read_buffer[BUFSIZ]; variable 226 if (read(fildes, read_buffer, sizeof(read_buffer)) > 0) { in test_rwflag() 227 if (strcmp(read_buffer, write_buffer)) { in test_rwflag()
|
/third_party/node/deps/openssl/openssl/apps/ |
D | fipsinstall.c | 306 unsigned char *read_buffer = NULL; in fipsinstall_main() local 430 read_buffer = app_malloc(BUFSIZE, "I/O buffer"); in fipsinstall_main() 431 if (read_buffer == NULL) in fipsinstall_main() 470 if (!do_mac(ctx, read_buffer, module_bio, module_mac, &module_mac_len)) in fipsinstall_main() 480 if (!do_mac(ctx2, read_buffer, mem_bio, install_mac, &install_mac_len)) in fipsinstall_main() 537 OPENSSL_free(read_buffer); in fipsinstall_main()
|
/third_party/openssl/apps/ |
D | fipsinstall.c | 306 unsigned char *read_buffer = NULL; in fipsinstall_main() local 430 read_buffer = app_malloc(BUFSIZE, "I/O buffer"); in fipsinstall_main() 431 if (read_buffer == NULL) in fipsinstall_main() 470 if (!do_mac(ctx, read_buffer, module_bio, module_mac, &module_mac_len)) in fipsinstall_main() 480 if (!do_mac(ctx2, read_buffer, mem_bio, install_mac, &install_mac_len)) in fipsinstall_main() 537 OPENSSL_free(read_buffer); in fipsinstall_main()
|
/third_party/libuv/src/win/ |
D | tcp.c | 493 handle->tcp.conn.read_buffer = uv_buf_init(NULL, 0); in uv__tcp_queue_read() 494 handle->alloc_cb((uv_handle_t*) handle, 65536, &handle->tcp.conn.read_buffer); in uv__tcp_queue_read() 495 if (handle->tcp.conn.read_buffer.base == NULL || in uv__tcp_queue_read() 496 handle->tcp.conn.read_buffer.len == 0) { in uv__tcp_queue_read() 497 handle->read_cb((uv_stream_t*) handle, UV_ENOBUFS, &handle->tcp.conn.read_buffer); in uv__tcp_queue_read() 500 assert(handle->tcp.conn.read_buffer.base != NULL); in uv__tcp_queue_read() 501 buf = handle->tcp.conn.read_buffer; in uv__tcp_queue_read() 1017 uv_buf_init(NULL, 0) : handle->tcp.conn.read_buffer; in uv__process_tcp_read_req() 1039 &handle->tcp.conn.read_buffer); in uv__process_tcp_read_req() 1041 if (req->u.io.overlapped.InternalHigh < handle->tcp.conn.read_buffer.len) { in uv__process_tcp_read_req() [all …]
|
/third_party/python/Modules/ |
D | _winapi.c | 110 PyObject *read_buffer; member 123 Py_VISIT(self->read_buffer); in overlapped_traverse() 170 Py_CLEAR(self->read_buffer); in overlapped_dealloc() 269 if (self->completed && self->read_buffer != NULL) { in _winapi_Overlapped_GetOverlappedResult_impl() 270 assert(PyBytes_CheckExact(self->read_buffer)); in _winapi_Overlapped_GetOverlappedResult_impl() 271 if (transferred != PyBytes_GET_SIZE(self->read_buffer) && in _winapi_Overlapped_GetOverlappedResult_impl() 272 _PyBytes_Resize(&self->read_buffer, transferred)) in _winapi_Overlapped_GetOverlappedResult_impl() 293 res = self->read_buffer ? self->read_buffer : Py_None; in _winapi_Overlapped_getbuffer_impl() 364 self->read_buffer = NULL; in new_overlapped() 1544 overlapped->read_buffer = buf; in _winapi_ReadFile_impl()
|
/third_party/node/deps/uv/src/win/ |
D | tcp.c | 493 handle->tcp.conn.read_buffer = uv_buf_init(NULL, 0); in uv__tcp_queue_read() 494 handle->alloc_cb((uv_handle_t*) handle, 65536, &handle->tcp.conn.read_buffer); in uv__tcp_queue_read() 495 if (handle->tcp.conn.read_buffer.base == NULL || in uv__tcp_queue_read() 496 handle->tcp.conn.read_buffer.len == 0) { in uv__tcp_queue_read() 497 handle->read_cb((uv_stream_t*) handle, UV_ENOBUFS, &handle->tcp.conn.read_buffer); in uv__tcp_queue_read() 500 assert(handle->tcp.conn.read_buffer.base != NULL); in uv__tcp_queue_read() 501 buf = handle->tcp.conn.read_buffer; in uv__tcp_queue_read() 1017 uv_buf_init(NULL, 0) : handle->tcp.conn.read_buffer; in uv__process_tcp_read_req() 1039 &handle->tcp.conn.read_buffer); in uv__process_tcp_read_req() 1041 if (req->u.io.overlapped.InternalHigh < handle->tcp.conn.read_buffer.len) { in uv__process_tcp_read_req() [all …]
|
/third_party/skia/third_party/externals/libpng/ |
D | pngrutil.c | 300 png_bytep buffer = png_ptr->read_buffer; in png_read_buffer() 304 png_ptr->read_buffer = NULL; in png_read_buffer() 305 png_ptr->read_buffer = NULL; in png_read_buffer() 318 png_ptr->read_buffer = buffer; in png_read_buffer() 650 /* input: */ png_ptr->read_buffer + prefix_size, &lzsize, in png_decompress_chunk() 680 png_ptr->read_buffer + prefix_size, &lzsize, in png_decompress_chunk() 691 memcpy(text, png_ptr->read_buffer, prefix_size); in png_decompress_chunk() 694 png_bytep old_ptr = png_ptr->read_buffer; in png_decompress_chunk() 696 png_ptr->read_buffer = text; in png_decompress_chunk() 774 png_inflate_read(png_structrp png_ptr, png_bytep read_buffer, uInt read_size, in png_inflate_read() argument [all …]
|
D | pngstruct.h | 464 png_bytep read_buffer; /* buffer for reading chunk data */ member
|
/third_party/gstreamer/gstplugins_good/ext/pulse/ |
D | pulsesrc.c | 264 pulsesrc->read_buffer = NULL; in gst_pulsesrc_init() 1077 pulsesrc->read_buffer = NULL; in gst_pulsesrc_unprepare() 1111 if (!pulsesrc->read_buffer) { in gst_pulsesrc_read() 1118 if (pa_stream_peek (pulsesrc->stream, &pulsesrc->read_buffer, in gst_pulsesrc_read() 1126 if (pulsesrc->read_buffer && pulsesrc->read_buffer_length) in gst_pulsesrc_read() 1141 memcpy (data, pulsesrc->read_buffer, l); in gst_pulsesrc_read() 1143 pulsesrc->read_buffer = (const guint8 *) pulsesrc->read_buffer + l; in gst_pulsesrc_read() 1156 pulsesrc->read_buffer = NULL; in gst_pulsesrc_read()
|
D | pulsesrc.h | 53 const void *read_buffer; member
|
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/ |
D | connection.c | 618 connection->read_buffer, 624 connection->read_buffer = buf; 1133 rbuf = connection->read_buffer; 1157 connection->read_buffer += pos; 1491 buffer_head = connection->read_buffer; 1643 memmove (connection->read_buffer, buffer_head, available); 1665 &connection->read_buffer 2043 connection->read_buffer, 2604 connection->read_buffer = NULL; 2613 connection->read_buffer [all …]
|
/third_party/zlib/contrib/minizip/ |
D | unzip.c | 136 char *read_buffer; /* internal buffer for compressed data */ member 1822 pfile_in_zip_read_info->read_buffer=(char*)ALLOC(UNZ_BUFSIZE); in unzOpenCurrentFile3() 1828 if (pfile_in_zip_read_info->read_buffer==NULL) in unzOpenCurrentFile3() 1887 TRYFREE(pfile_in_zip_read_info->read_buffer); in unzOpenCurrentFile3() 1908 TRYFREE(pfile_in_zip_read_info->read_buffer); in unzOpenCurrentFile3() 2019 if (pfile_in_zip_read_info->read_buffer == NULL) in unzReadCurrentFile() 2058 pfile_in_zip_read_info->read_buffer, in unzReadCurrentFile() 2068 pfile_in_zip_read_info->read_buffer[i] = in unzReadCurrentFile() 2070 pfile_in_zip_read_info->read_buffer[i]); in unzReadCurrentFile() 2080 (Bytef*)pfile_in_zip_read_info->read_buffer; in unzReadCurrentFile() [all …]
|
/third_party/node/deps/v8/third_party/zlib/contrib/minizip/ |
D | unzip.c | 132 char *read_buffer; /* internal buffer for compressed data */ member 1500 pfile_in_zip_read_info->read_buffer=(char*)ALLOC(UNZ_BUFSIZE); in unzOpenCurrentFile3() 1506 if (pfile_in_zip_read_info->read_buffer==NULL) in unzOpenCurrentFile3() 1696 if (pfile_in_zip_read_info->read_buffer == NULL) in unzReadCurrentFile() 1730 pfile_in_zip_read_info->read_buffer, in unzReadCurrentFile() 1740 pfile_in_zip_read_info->read_buffer[i] = in unzReadCurrentFile() 1742 pfile_in_zip_read_info->read_buffer[i]); in unzReadCurrentFile() 1752 (Bytef*)pfile_in_zip_read_info->read_buffer; in unzReadCurrentFile() 2019 TRYFREE(pfile_in_zip_read_info->read_buffer); in unzCloseCurrentFile() 2020 pfile_in_zip_read_info->read_buffer = NULL; in unzCloseCurrentFile()
|
/third_party/skia/third_party/externals/zlib/contrib/minizip/ |
D | unzip.c | 132 char *read_buffer; /* internal buffer for compressed data */ member 1500 pfile_in_zip_read_info->read_buffer=(char*)ALLOC(UNZ_BUFSIZE); in unzOpenCurrentFile3() 1506 if (pfile_in_zip_read_info->read_buffer==NULL) in unzOpenCurrentFile3() 1696 if (pfile_in_zip_read_info->read_buffer == NULL) in unzReadCurrentFile() 1730 pfile_in_zip_read_info->read_buffer, in unzReadCurrentFile() 1740 pfile_in_zip_read_info->read_buffer[i] = in unzReadCurrentFile() 1742 pfile_in_zip_read_info->read_buffer[i]); in unzReadCurrentFile() 1752 (Bytef*)pfile_in_zip_read_info->read_buffer; in unzReadCurrentFile() 2019 TRYFREE(pfile_in_zip_read_info->read_buffer); in unzCloseCurrentFile() 2020 pfile_in_zip_read_info->read_buffer = NULL; in unzCloseCurrentFile()
|
/third_party/ntfs-3g/ntfsprogs/ |
D | ntfsrecover.c | 322 static const struct BUFFER *read_buffer(CONTEXT *ctx, unsigned int num) in read_buffer() function 1145 prevbuf = read_buffer(ctx, prevblk); in findprevious() 2526 midbuf = read_buffer(ctx, blk + i); in overlapshow() 2542 midbuf = read_buffer(ctx, blk + skip + 1); in overlapshow() 2940 buf = read_buffer(ctx,0); in read_restart() 2953 buf = read_buffer(ctx,0); in read_restart() 3381 morebuf = read_buffer(ctx, mblk); in backoverlap() 3734 curbuf = read_buffer(ctx, curblk); in find_latest_block() 3772 buf = read_buffer(ctx, blk); in block_sequence() 3781 buf = read_buffer(ctx, blk + (BASEBLKS2 - RSTBLKS)/2); in block_sequence() [all …]
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/glprototypes/ |
D | fbo.h | 137 GST_GL_EXT_BEGIN (read_buffer,
|
/third_party/mesa3d/src/mesa/main/ |
D | buffers.c | 893 read_buffer(struct gl_context *ctx, struct gl_framebuffer *fb, in read_buffer() function 962 read_buffer(ctx, fb, buffer, caller, false); in read_buffer_err() 970 read_buffer(ctx, fb, buffer, caller, true); in read_buffer_no_error()
|
/third_party/littlefs/ |
D | lfs.h | 234 void *read_buffer; member
|