Home
last modified time | relevance | path

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

12

/third_party/libxml2/
Dgenerate_header.py29 self.write_buffer = []
38 self.write_buffer.append(item)
46 self.write_buffer.append("/* " + item + " */")
51 self.write_buffer.append("/* " + item + " */")
56 self.write_buffer.append(value)
61 self.write_buffer.append("/* " + item + " */")
64 self.write_buffer.append(value)
68 file.writelines(self.write_buffer)
75 self.write_buffer = []
84 self.write_buffer.append(item)
[all …]
/third_party/grpc/test/core/util/
Dtrickle_endpoint.cc42 grpc_slice_buffer write_buffer; member
58 te->write_buffer.length <= WRITE_BUFFER_SIZE)) { in maybe_call_write_cb_locked()
70 if (te->write_buffer.length == 0) { in te_write()
74 grpc_slice_buffer_add(&te->write_buffer, in te_write()
114 grpc_slice_buffer_destroy_internal(&te->write_buffer); in te_destroy()
166 grpc_slice_buffer_init(&te->write_buffer); in grpc_trickle_endpoint_create()
180 if (!te->writing && te->write_buffer.length > 0) { in grpc_trickle_endpoint_trickle()
186 grpc_slice_buffer_move_first(&te->write_buffer, in grpc_trickle_endpoint_trickle()
187 GPR_MIN(bytes, te->write_buffer.length), in grpc_trickle_endpoint_trickle()
198 size_t backlog = te->write_buffer.length; in grpc_trickle_endpoint_trickle()
[all …]
/third_party/skia/third_party/externals/microhttpd/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
/third_party/ltp/testcases/kernel/syscalls/pipe2/
Dpipe2_04.c61 char *write_buffer; in setup() local
85 write_buffer = SAFE_MALLOC(pipe_size); in setup()
86 memset(write_buffer, 'x', pipe_size); in setup()
87 SAFE_WRITE(1, fds[1], write_buffer, pipe_size); in setup()
88 free(write_buffer); in setup()
/third_party/nghttp2/src/
Dlibevent_util.cc72 int EvbufferBuffer::write_buffer() { in write_buffer() function in nghttp2::util::EvbufferBuffer
96 rv = write_buffer(); in flush()
114 rv = write_buffer(); in add()
126 rv = write_buffer(); in add()
Dlibevent_util.h50 int write_buffer();
/third_party/ltp/testcases/kernel/syscalls/vmsplice/
Dvmsplice04.c21 static char *write_buffer; variable
75 write_buffer = tst_alloc(pipe_max_size); in setup()
77 iov.iov_base = write_buffer; in setup()
/third_party/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 (long)strlen(write_buffer)) { in test_rwflag()
227 if (strcmp(read_buffer, write_buffer)) { in test_rwflag()
/third_party/grpc/test/core/iomgr/ios/CFStreamTests/
DCFStreamEndpointTests.mm162 char write_buffer[kBufferSize];
167 slice = grpc_slice_from_static_buffer(write_buffer, kBufferSize);
182 XCTAssertEqual(memcmp(read_buffer, write_buffer, kBufferSize), 0);
215 char write_buffer[kBufferSize];
224 slice = grpc_slice_from_static_buffer(write_buffer, kBufferSize);
239 XCTAssertEqual(memcmp(read_buffer, write_buffer, kBufferSize), 0);
264 char write_buffer[kBufferSize];
273 slice = grpc_slice_from_static_buffer(write_buffer, kBufferSize);
288 XCTAssertEqual(memcmp(read_buffer, write_buffer, kBufferSize), 0);
/third_party/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()
/third_party/libuv/test/
Dbenchmark-pump.c69 static char write_buffer[WRITE_BUFFER_SIZE]; variable
195 nsent += sizeof write_buffer; in write_cb()
196 nsent_total += sizeof write_buffer; in write_cb()
207 buf.base = (char*) &write_buffer; in do_write()
208 buf.len = sizeof write_buffer; in do_write()
/third_party/grpc/src/core/ext/transport/cronet/transport/
Dcronet_transport.cc149 char* write_buffer = nullptr; member
450 if (s->state.ws.write_buffer) { in on_failed()
451 gpr_free(s->state.ws.write_buffer); in on_failed()
452 s->state.ws.write_buffer = nullptr; in on_failed()
477 if (s->state.ws.write_buffer) { in on_canceled()
478 gpr_free(s->state.ws.write_buffer); in on_canceled()
479 s->state.ws.write_buffer = nullptr; in on_canceled()
584 if (s->state.ws.write_buffer) { in on_write_completed()
585 gpr_free(s->state.ws.write_buffer); in on_write_completed()
586 s->state.ws.write_buffer = nullptr; in on_write_completed()
[all …]
/third_party/gstreamer/gstplugins_good/sys/waveform/
Dgstwaveformsink.c170 wfsink->write_buffer = 0; in gst_waveform_sink_init()
458 waveheader = &wfsink->wave_buffers[wfsink->write_buffer]; in gst_waveform_sink_write()
504 wfsink->write_buffer++; in gst_waveform_sink_write()
505 wfsink->write_buffer %= wfsink->buffer_count; in gst_waveform_sink_write()
510 wfsink->free_buffers_count, wfsink->write_buffer); in gst_waveform_sink_write()
Dgstwaveformsink.h82 guint write_buffer; member
/third_party/skia/third_party/externals/microhttpd/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 …]
/third_party/ffmpeg/libavcodec/
Dcbs.c136 av_freep(&ctx->write_buffer); in ff_cbs_close()
310 if (!ctx->write_buffer) { in cbs_write_unit_data()
315 ret = av_reallocp(&ctx->write_buffer, ctx->write_buffer_size); in cbs_write_unit_data()
324 init_put_bits(&pbc, ctx->write_buffer, ctx->write_buffer_size); in cbs_write_unit_data()
353 memcpy(unit->data, ctx->write_buffer, unit->data_size); in cbs_write_unit_data()
Dcbs.h220 uint8_t *write_buffer; member
/third_party/glib/gio/
Dglocalfileoutputstream.c782 const gchar *write_buffer; in copy_file_data() local
808 write_buffer = buffer; in copy_file_data()
812 bytes_written = write (dfd, write_buffer, bytes_to_write); in copy_file_data()
829 write_buffer += bytes_written; in copy_file_data()
/third_party/python/Modules/
D_winapi.c112 Py_buffer write_buffer; member
124 Py_VISIT(self->write_buffer.obj); in overlapped_traverse()
168 if (self->write_buffer.obj) in overlapped_dealloc()
169 PyBuffer_Release(&self->write_buffer); in overlapped_dealloc()
368 memset(&self->write_buffer, 0, sizeof(Py_buffer)); in new_overlapped()
1824 buf = &overlapped->write_buffer; in _winapi_WriteFile_impl()
/third_party/boost/libs/compute/include/boost/compute/
Devent.hpp64 write_buffer = CL_COMMAND_WRITE_BUFFER, enumerator
/third_party/boost/boost/compute/
Devent.hpp64 write_buffer = CL_COMMAND_WRITE_BUFFER, enumerator
/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_winsys.h108 …ruct virgl_winsys *vws, struct virgl_cmd_buf *buf, struct virgl_hw_res *res, boolean write_buffer);
/third_party/alsa-utils/speaker-test/
Dspeaker-test.c825 static int write_buffer(snd_pcm_t *handle, uint8_t *ptr, int cptr) in write_buffer() function
880 if ((err = write_buffer(handle, frames, in write_loop()
903 if ((err = write_buffer(handle, frames, period_size)) < 0) in write_loop()
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DGLX_NV_copy_buffer.txt132 4 CARD32 write_buffer

12