Home
last modified time | relevance | path

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

/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/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/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/boringssl/src/ssl/
Dssl_buffer.cc204 return ssl->s3->write_buffer.len > 0; in ssl_write_buffer_is_pending()
219 SSL3_BUFFER *buf = &ssl->s3->write_buffer; in ssl_write_buffer_init()
234 SSL3_BUFFER *buf = &ssl->s3->write_buffer; in ssl_write_buffer_set_len()
243 SSL3_BUFFER *buf = &ssl->s3->write_buffer; in tls_write_buffer_flush()
258 SSL3_BUFFER *buf = &ssl->s3->write_buffer; in dtls_write_buffer_flush()
290 clear_buffer(&ssl->s3->write_buffer); in ssl_write_buffer_clear()
Dinternal.h1666 SSL3_BUFFER write_buffer; in OPENSSL_MSVC_PRAGMA() member
/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/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.cc109 std::string write_buffer = read_buffer + read_buffer; in DEFINE_TEST_CLIENT_WITH_PIPE() local
110 CHECK_EQ(MojoWriteMessage(h, write_buffer.data(), in DEFINE_TEST_CLIENT_WITH_PIPE()
111 static_cast<uint32_t>(write_buffer.size()), in DEFINE_TEST_CLIENT_WITH_PIPE()
159 std::string write_buffer(i, 'A' + (i % 26)); in TEST_F() local
161 MojoWriteMessage(h, write_buffer.data(), in TEST_F()
162 static_cast<uint32_t>(write_buffer.size()), in TEST_F()
503 std::string write_buffer = "world"; in DEFINE_TEST_CLIENT_WITH_PIPE() local
504 CHECK_EQ(MojoWriteMessage(handles[0], write_buffer.data(), in DEFINE_TEST_CLIENT_WITH_PIPE()
505 static_cast<uint32_t>(write_buffer.size()), nullptr, in DEFINE_TEST_CLIENT_WITH_PIPE()
633 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/compiler-rt/test/profile/
Dinstrprof-without-libc.c20 int write_buffer(uint64_t, const char *);
/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/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.h81 binder_uintptr_t write_buffer; member
/external/ltp/testcases/kernel/fs/doio/
Dgrowfiles.c2032 ret = write_buffer(fd, io_type, "w", 1, 0, &errmsg); in growfile()
2199 ret = write_buffer(fd, io_type, buf, grow_incr, 0, &errmsg); in growfile()
/external/dhcpcd-6.8.2/
Ddhcp.c1078 uint8_t write_buffer[sizeof(*dhcp) + sizeof(state->server_info) + 1]; in write_lease() local
1111 memcpy(write_buffer, dhcp, len); in write_lease()
1112 w = write_buffer + len; in write_lease()
1121 bytes = write(fd, write_buffer, len); in write_lease()
/external/valgrind/include/vki/
Dvki-linux.h3080 unsigned long write_buffer; member
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dscsimain.c4854 int write_buffer(int sg_fd, unsigned size) in write_buffer() function
4936 if (write_buffer(sg_fd, buf_capacity)) in do_scsi_read_write_buffer()
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-linux.c7676 bwr->write_buffer); in PRE()
7698 (Addr)bwr->write_buffer, bwr->write_size); in PRE()