Home
last modified time | relevance | path

Searched refs:read_buffer (Results 1 - 25 of 40) sorted by relevance

12

/third_party/libsnd/ossfuzz/
H A Dsndfile_alt_fuzzer.cc30 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()
58 double* read_buffer = NULL ; LLVMFuzzerTestOneInput() local
[all...]
H A Dsndfile_fuzzer.cc15 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()
H A Dsndfile_fuzz_header.h91 { float* read_buffer = NULL ; in sf_init_file() local
/third_party/libxml2/
H A Dgenerate_header.py28 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/
H A Dstream.c51 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()
H A Dsession.c108 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 in SPDYF_session_idle()
[all...]
H A Dstructures.h670 void *read_buffer; member
737 * Size of read_buffer (in bytes). This value indicates
746 * read_buffer (last valid position).
/third_party/node/deps/openssl/openssl/apps/
H A Dfipsinstall.c306 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/
H A Dfipsinstall.c306 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/backends/backend/
H A Dgt68xx_low.c172 dev->read_buffer = NULL; in gt68xx_device_new()
766 dev->read_buffer = (SANE_Byte *) malloc (buffer_size); in gt68xx_device_read_prepare()
767 if (!dev->read_buffer) in gt68xx_device_read_prepare()
932 memcpy (dev->read_buffer, buffer_addr, buffer_bytes); in gt68xx_device_read()
939 status = gt68xx_device_read_raw (dev, dev->read_buffer, in gt68xx_device_read()
956 memcpy (buffer, dev->read_buffer + dev->read_pos, transfer_size); in gt68xx_device_read()
1006 free (dev->read_buffer); in gt68xx_device_read_finish()
1007 dev->read_buffer = NULL; in gt68xx_device_read_finish()
H A Dlexmark_low.c843 if (dev->read_buffer != NULL) in sanei_lexmark_low_destroy()
844 read_buffer_free (dev->read_buffer); in sanei_lexmark_low_destroy()
4975 k = dev->bytes_read % dev->read_buffer->linesize; in sanei_lexmark_low_read_scan_data()
4984 if ((size_t) k == dev->read_buffer->linesize) in sanei_lexmark_low_read_scan_data()
5002 DBG (5, " write ptr: %p\n", (void *) dev->read_buffer->writeptr); in sanei_lexmark_low_read_scan_data()
5003 DBG (5, " read ptr: %p\n", (void *) dev->read_buffer->readptr); in sanei_lexmark_low_read_scan_data()
5004 DBG (5, " max write ptr: %p\n", (void *) dev->read_buffer->max_writeptr); in sanei_lexmark_low_read_scan_data()
5005 DBG (5, " buffer size: %lu\n", (u_long) dev->read_buffer->size); in sanei_lexmark_low_read_scan_data()
5006 DBG (5, " line size: %lu\n", (u_long) dev->read_buffer->linesize); in sanei_lexmark_low_read_scan_data()
5007 DBG (5, " empty: %d\n", dev->read_buffer in sanei_lexmark_low_read_scan_data()
5235 read_buffer_free(Read_Buffer * read_buffer) read_buffer_free() argument
5467 read_buffer_is_empty(Read_Buffer * read_buffer) read_buffer_is_empty() argument
[all...]
H A Dlexmark.h220 Read_Buffer *read_buffer; member
H A Dartec_eplus48u.h172 SANE_Byte *read_buffer; member
/third_party/zlib/contrib/minizip/
H A Dunzip.c131 char *read_buffer; /* internal buffer for compressed data */ member
1702 pfile_in_zip_read_info->read_buffer=(char*)ALLOC(UNZ_BUFSIZE); in unzOpenCurrentFile3()
1708 if (pfile_in_zip_read_info->read_buffer==NULL) in unzOpenCurrentFile3()
1767 free(pfile_in_zip_read_info->read_buffer); in unzOpenCurrentFile3()
1788 free(pfile_in_zip_read_info->read_buffer); in unzOpenCurrentFile3()
1894 if (pfile_in_zip_read_info->read_buffer == NULL) in unzReadCurrentFile()
1933 pfile_in_zip_read_info->read_buffer, in unzReadCurrentFile()
1943 pfile_in_zip_read_info->read_buffer[i] = in unzReadCurrentFile()
1945 pfile_in_zip_read_info->read_buffer[i]); in unzReadCurrentFile()
1955 (Bytef*)pfile_in_zip_read_info->read_buffer; in unzReadCurrentFile()
[all...]
/third_party/node/deps/uv/src/win/
H A Dtcp.c493 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 in uv__process_tcp_read_req()
[all...]
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/
H A Dconnection.c618 connection->read_buffer,
624 connection->read_buffer = buf;
1115 * read_buffer (!) appropriately. If the current line does not
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
[all...]
H A Dinternal.h625 char *read_buffer; member
663 * Size of read_buffer (in bytes). This value indicates
672 * read_buffer (last valid position).
/third_party/python/Modules/
H A D_winapi.c110 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 in new_overlapped()
[all...]
/third_party/skia/third_party/externals/libpng/
H A Dpngrutil.c300 png_bytep buffer = png_ptr->read_buffer; in png_read_buffer()
304 png_ptr->read_buffer = NULL; in png_read_buffer()
317 png_ptr->read_buffer = buffer; in png_read_buffer()
602 * Decompress trailing data in a chunk. The assumption is that read_buffer
649 /* input: */ png_ptr->read_buffer + prefix_size, &lzsize, in png_decompress_chunk()
679 png_ptr->read_buffer + prefix_size, &lzsize, in png_decompress_chunk()
690 memcpy(text, png_ptr->read_buffer, prefix_size); in png_decompress_chunk()
693 png_bytep old_ptr = png_ptr->read_buffer; in png_decompress_chunk()
695 png_ptr->read_buffer = text; in png_decompress_chunk()
716 /* Free the text pointer (this is the old read_buffer o in png_decompress_chunk()
773 png_inflate_read(png_structrp png_ptr, png_bytep read_buffer, uInt read_size, png_uint_32p chunk_bytes, png_bytep next_out, png_alloc_size_t *out_size, int finish) png_inflate_read() argument
[all...]
H A Dpngstruct.h472 png_bytep read_buffer; /* buffer for reading chunk data */ member
/third_party/node/deps/v8/third_party/zlib/contrib/minizip/
H A Dunzip.c132 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 in unzCloseCurrentFile()
[all...]
/third_party/skia/third_party/externals/zlib/contrib/minizip/
H A Dunzip.c132 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 in unzCloseCurrentFile()
[all...]
/third_party/ntfs-3g/ntfsprogs/
H A Dntfsrecover.c322 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(ct in block_sequence()
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dbuffers.c893 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/
H A Dlfs.h234 void *read_buffer; member

Completed in 39 milliseconds

12