Home
last modified time | relevance | path

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

/external/compiler-rt/lib/profile/
DGCDAProfiling.c71 static char *write_buffer = NULL; variable
110 write_buffer = realloc(write_buffer, size); in resize_write_buffer()
116 memcpy(&write_buffer[cur_pos], s, len); in write_bytes()
145 val = *(uint32_t*)&write_buffer[cur_pos]; in read_32bit_value()
156 val = *(uint64_t*)&write_buffer[cur_pos]; in read_64bit_value()
214 write_buffer = mmap(0, file_size, PROT_READ | PROT_WRITE, in map_file()
216 if (write_buffer == (void *)-1) { in map_file()
226 if (msync(write_buffer, file_size, MS_SYNC) == -1) { in unmap_file()
235 (void)munmap(write_buffer, file_size); in unmap_file()
236 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/boringssl/src/ssl/
Dssl_buffer.c211 return ssl->s3->write_buffer.len > 0; in ssl_write_buffer_is_pending()
225 SSL3_BUFFER *buf = &ssl->s3->write_buffer; in ssl_write_buffer_init()
259 SSL3_BUFFER *buf = &ssl->s3->write_buffer; in ssl_write_buffer_set_len()
268 SSL3_BUFFER *buf = &ssl->s3->write_buffer; in tls_write_buffer_flush()
284 SSL3_BUFFER *buf = &ssl->s3->write_buffer; in dtls_write_buffer_flush()
318 clear_buffer(&ssl->s3->write_buffer); in ssl_write_buffer_clear()
/external/compiler-rt/test/profile/
Dinstrprof-without-libc.c18 int write_buffer(uint64_t, const char *);
/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/squashfs-tools/squashfs-tools/
Dmksquashfs.c1550 struct file_buffer *write_buffer; in unlock_fragments() local
1562 write_buffer = queue_get(locked_fragment); in unlock_fragments()
1563 frg = write_buffer->block; in unlock_fragments()
1566 write_buffer->block = bytes; in unlock_fragments()
1569 queue_put(to_writer, write_buffer); in unlock_fragments()
1578 void add_pending_fragment(struct file_buffer *write_buffer, int c_byte, in add_pending_fragment() argument
1582 write_buffer->block = fragment; in add_pending_fragment()
1584 queue_put(locked_fragment, write_buffer); in add_pending_fragment()
1793 struct file_buffer *write_buffer; in get_checksum_disk() local
1800 write_buffer = cache_lookup(bwriter_buffer, start); in get_checksum_disk()
[all …]
/external/kernel-headers/original/uapi/linux/
Dbinder.h80 binder_uintptr_t write_buffer; member
/external/kernel-headers/original/uapi/linux/android/
Dbinder.h81 binder_uintptr_t write_buffer; member
/external/libnfc-nxp/src/
DphFriNfc_TopazDynamicMap.c2069 uint8_t write_buffer[] = {0x00}; in phFriNfc_Tpz_H_ProReadResp() local
2175 result = phFriNfc_Tpz_H_NxpWrite (psNdefMap, write_buffer, in phFriNfc_Tpz_H_ProReadResp()
2176 sizeof (write_buffer)); in phFriNfc_Tpz_H_ProReadResp()
/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/boringssl/src/include/openssl/
Dssl.h3943 SSL3_BUFFER write_buffer; member
/external/valgrind/include/vki/
Dvki-linux.h3049 unsigned long write_buffer; member
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-linux.c7042 bwr->write_buffer); in PRE()
7064 (Addr)bwr->write_buffer, bwr->write_size); in PRE()