Home
last modified time | relevance | path

Searched refs:write_buffer (Results 1 – 25 of 34) sorted by relevance

12

/external/compiler-rt/lib/profile/
DGCDAProfiling.c81 static char *write_buffer = NULL; variable
120 write_buffer = realloc(write_buffer, size); in resize_write_buffer()
126 memcpy(&write_buffer[cur_pos], s, len); in write_bytes()
155 val = *(uint32_t*)&write_buffer[cur_pos]; in read_32bit_value()
166 val = *(uint64_t*)&write_buffer[cur_pos]; in read_64bit_value()
224 write_buffer = mmap(0, file_size, PROT_READ | PROT_WRITE, in map_file()
226 if (write_buffer == (void *)-1) { in map_file()
236 if (msync(write_buffer, file_size, MS_SYNC) == -1) { in unmap_file()
245 (void)munmap(write_buffer, file_size); in unmap_file()
246 write_buffer = NULL; in unmap_file()
[all …]
/external/libmicrohttpd/src/microspdy/
Dsession.c433 SPDYF_ASSERT(NULL == session->write_buffer, "the function is called not in the correct moment"); in SPDYF_handler_write_syn_reply()
463 if(NULL == (session->write_buffer = malloc(total_size))) in SPDYF_handler_write_syn_reply()
483 …memcpy(session->write_buffer + session->write_buffer_offset,&control_frame,sizeof(struct SPDYF_Con… in SPDYF_handler_write_syn_reply()
488 memcpy(session->write_buffer + session->write_buffer_offset, &stream_id_nbo, 4); in SPDYF_handler_write_syn_reply()
492 …memcpy(session->write_buffer + session->write_buffer_offset, compressed_headers, compressed_header… in SPDYF_handler_write_syn_reply()
524 SPDYF_ASSERT(NULL == session->write_buffer, "the function is called not in the correct moment"); in SPDYF_handler_write_goaway()
534 if(NULL == (session->write_buffer = malloc(total_size))) in SPDYF_handler_write_goaway()
546 …memcpy(session->write_buffer + session->write_buffer_offset,&control_frame,sizeof(struct SPDYF_Con… in SPDYF_handler_write_goaway()
551 memcpy(session->write_buffer + session->write_buffer_offset, &last_good_stream_id, 4); in SPDYF_handler_write_goaway()
555 memcpy(session->write_buffer + session->write_buffer_offset, response_queue->data, 4); in SPDYF_handler_write_goaway()
[all …]
Dstructures.h675 void *write_buffer; member
Ddaemon.c457 || (NULL != pos->write_buffer) //part of last frame pending in SPDYF_get_fdset()
/external/ltp/testcases/kernel/syscalls/sync/
Dsync02.c85 char write_buffer[BUFSIZ]; /* buffer used to write data to file */ variable
123 if (strcmp(read_buffer, write_buffer)) { in main()
167 strcpy(write_buffer, "abcdefghijklmnopqrstuvwxyz"); in setup()
177 if (write(fildes, write_buffer, strlen(write_buffer) + 1) != in setup()
178 strlen(write_buffer) + 1) { in setup()
/external/ltp/testcases/kernel/syscalls/mount/
Dmount03.c68 static char write_buffer[BUFSIZ]; variable
197 strcpy(write_buffer, "abcdefghijklmnopqrstuvwxyz"); in test_rwflag()
210 if (write(fildes, write_buffer, strlen(write_buffer)) != in test_rwflag()
211 strlen(write_buffer)) { in test_rwflag()
227 if (strcmp(read_buffer, write_buffer)) { in test_rwflag()
/external/python/cpython3/Modules/
Doverlapped.c57 Py_buffer write_buffer; member
555 memset(&self->write_buffer, 0, sizeof(Py_buffer)); in Overlapped_new()
603 if (self->write_buffer.obj) in Overlapped_dealloc()
604 PyBuffer_Release(&self->write_buffer); in Overlapped_dealloc()
834 if (!PyArg_Parse(bufobj, "y*", &self->write_buffer)) in Overlapped_WriteFile()
838 if (self->write_buffer.len > (Py_ssize_t)ULONG_MAX) { in Overlapped_WriteFile()
839 PyBuffer_Release(&self->write_buffer); in Overlapped_WriteFile()
849 ret = WriteFile(handle, self->write_buffer.buf, in Overlapped_WriteFile()
850 (DWORD)self->write_buffer.len, in Overlapped_WriteFile()
890 if (!PyArg_Parse(bufobj, "y*", &self->write_buffer)) in Overlapped_WSASend()
[all …]
D_winapi.c101 Py_buffer write_buffer; member
142 if (self->write_buffer.obj) in overlapped_dealloc()
143 PyBuffer_Release(&self->write_buffer); in overlapped_dealloc()
352 memset(&self->write_buffer, 0, sizeof(Py_buffer)); in new_overlapped()
1434 buf = &overlapped->write_buffer; in _winapi_WriteFile_impl()
/external/puffin/src/
Dextent_stream.cc95 const void* write_buffer, in DoReadOrWrite() argument
108 } else if (write_buffer != nullptr) { in DoReadOrWrite()
110 reinterpret_cast<const uint8_t*>(write_buffer) + bytes_passed, in DoReadOrWrite()
Dextent_stream.h45 const void* write_buffer,
/external/ltp/testcases/kernel/fs/mongo/
Dreiser_fract_tree.c55 char *write_buffer; /* buffer from which we write */ variable
202 write(fd, write_buffer, in make_file()
472 write_buffer = malloc(write_buffer_size); in main()
473 memset(write_buffer, 'a', write_buffer_size); in main()
/external/libmojo/mojo/edk/system/
Dmultiprocess_message_pipe_unittest.cc122 std::string write_buffer = read_buffer + read_buffer; in DEFINE_TEST_CLIENT_WITH_PIPE() local
123 CHECK_EQ(MojoWriteMessage(h, write_buffer.data(), in DEFINE_TEST_CLIENT_WITH_PIPE()
124 static_cast<uint32_t>(write_buffer.size()), in DEFINE_TEST_CLIENT_WITH_PIPE()
172 std::string write_buffer(i, 'A' + (i % 26)); in TEST_P() local
174 MojoWriteMessage(h, write_buffer.data(), in TEST_P()
175 static_cast<uint32_t>(write_buffer.size()), in TEST_P()
517 std::string write_buffer = "world"; in DEFINE_TEST_CLIENT_WITH_PIPE() local
518 CHECK_EQ(MojoWriteMessage(handles[0], write_buffer.data(), in DEFINE_TEST_CLIENT_WITH_PIPE()
519 static_cast<uint32_t>(write_buffer.size()), nullptr, in DEFINE_TEST_CLIENT_WITH_PIPE()
647 std::string write_buffer = "world"; in DEFINE_TEST_CLIENT_WITH_PIPE() local
[all …]
/external/libmicrohttpd/src/microhttpd/
Dconnection.c426 connection->write_buffer = buf; in try_ready_chunked_body()
439 memcpy (&connection->write_buffer[sizeof (cbuf)], in try_ready_chunked_body()
451 &connection->write_buffer[sizeof (cbuf)], in try_ready_chunked_body()
466 strcpy (connection->write_buffer, "0\r\n"); in try_ready_chunked_body()
484 memcpy (&connection->write_buffer[sizeof (cbuf) - cblen], cbuf, cblen); in try_ready_chunked_body()
485 memcpy (&connection->write_buffer[sizeof (cbuf) + ret], "\r\n", 2); in try_ready_chunked_body()
667 connection->write_buffer = data;
911 connection->write_buffer = data;
1712 &connection->write_buffer
1728 &connection->write_buffer[connection->write_buffer_send_offset]);
[all …]
Dinternal.h628 char *write_buffer; member
/external/boringssl/src/ssl/
Dssl_buffer.cc240 SSLBuffer *buf = &ssl->s3->write_buffer; in tls_write_buffer_flush()
255 SSLBuffer *buf = &ssl->s3->write_buffer; in dtls_write_buffer_flush()
Ds3_pkt.cc227 SSLBuffer *buf = &ssl->s3->write_buffer; in do_ssl3_write()
395 if (ssl->s3->write_buffer.empty()) { in ssl_send_alert()
Dd1_pkt.cc224 SSLBuffer *buf = &ssl->s3->write_buffer; in dtls1_write_record()
/external/squashfs-tools/squashfs-tools/
Dmksquashfs.c1592 struct file_buffer *write_buffer; in unlock_fragments() local
1604 write_buffer = queue_get(locked_fragment); in unlock_fragments()
1605 frg = write_buffer->block; in unlock_fragments()
1608 write_buffer->block = bytes; in unlock_fragments()
1611 queue_put(to_writer, write_buffer); in unlock_fragments()
1620 void add_pending_fragment(struct file_buffer *write_buffer, int c_byte, in add_pending_fragment() argument
1624 write_buffer->block = fragment; in add_pending_fragment()
1626 queue_put(locked_fragment, write_buffer); in add_pending_fragment()
1835 struct file_buffer *write_buffer; in get_checksum_disk() local
1842 write_buffer = cache_lookup(bwriter_buffer, start); in get_checksum_disk()
[all …]
/external/linux-kselftest/tools/testing/selftests/android/ion/
Dionutils.h30 void write_buffer(void *buffer, unsigned long len);
Dionapp_import.c78 write_buffer(map_buf, map_len); in main()
Dionapp_export.c114 write_buffer(map_buf, map_len); in main()
Dionutils.c13 void write_buffer(void *buffer, unsigned long len) in write_buffer() function
/external/compiler-rt/test/profile/
Dinstrprof-without-libc.c20 int write_buffer(uint64_t, const char *);
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_winsys.h85 …ruct virgl_winsys *vws, struct virgl_cmd_buf *buf, struct virgl_hw_res *res, boolean write_buffer);
/external/kernel-headers/original/uapi/linux/android/
Dbinder.h171 binder_uintptr_t write_buffer; member

12