/external/libmojo/mojo/edk/system/ |
D | multiprocess_message_pipe_unittest.cc | 95 std::string read_buffer(1000, '\0'); in DEFINE_TEST_CLIENT_WITH_PIPE() local 96 uint32_t read_buffer_size = static_cast<uint32_t>(read_buffer.size()); in DEFINE_TEST_CLIENT_WITH_PIPE() 97 CHECK_EQ(MojoReadMessage(h, &read_buffer[0], in DEFINE_TEST_CLIENT_WITH_PIPE() 101 read_buffer.resize(read_buffer_size); in DEFINE_TEST_CLIENT_WITH_PIPE() 102 VLOG(2) << "Child got: " << read_buffer; in DEFINE_TEST_CLIENT_WITH_PIPE() 104 if (read_buffer == quitquitquit) { in DEFINE_TEST_CLIENT_WITH_PIPE() 109 std::string write_buffer = read_buffer + read_buffer; in DEFINE_TEST_CLIENT_WITH_PIPE() 137 std::string read_buffer(1000, '\0'); in TEST_F() local 138 uint32_t read_buffer_size = static_cast<uint32_t>(read_buffer.size()); in TEST_F() 139 CHECK_EQ(MojoReadMessage(h, &read_buffer[0], in TEST_F() [all …]
|
D | platform_handle_dispatcher_unittest.cc | 53 char read_buffer[1000] = {}; in TEST() local 55 fread(read_buffer, 1, sizeof(read_buffer), fp.get())); in TEST() 56 EXPECT_STREQ(kHelloWorld, read_buffer); in TEST() 113 char read_buffer[1000] = {}; in TEST() local 115 fread(read_buffer, 1, sizeof(read_buffer), fp.get())); in TEST() 116 EXPECT_STREQ(kFooBar, read_buffer); in TEST()
|
D | data_pipe_unittest.cc | 389 const void* read_buffer = nullptr; in TEST_F() local 392 BeginReadData(&read_buffer, &num_bytes, false)); in TEST_F() 393 EXPECT_TRUE(read_buffer); in TEST_F() 396 ASSERT_EQ(456, static_cast<const int32_t*>(read_buffer)[0]); in TEST_F() 628 const void* read_buffer = nullptr; in TEST_F() local 630 ASSERT_EQ(MOJO_RESULT_OK, BeginReadData(&read_buffer, &num_bytes, true)); in TEST_F() 631 EXPECT_TRUE(read_buffer); in TEST_F() 633 const int32_t* read_elements = static_cast<const int32_t*>(read_buffer); in TEST_F() 648 read_buffer = nullptr; in TEST_F() 650 ASSERT_EQ(MOJO_RESULT_OK, BeginReadData(&read_buffer, &num_bytes)); in TEST_F() [all …]
|
D | wait_set_dispatcher_unittest.cc | 228 char read_buffer[sizeof(buffer) + 5]; in TEST_F() local 229 uint32_t num_bytes = sizeof(read_buffer); in TEST_F() 230 ReadMessage(dispatcher0_.get(), read_buffer, &num_bytes); in TEST_F()
|
/external/boringssl/src/ssl/ |
D | ssl_buffer.cc | 87 return ssl->s3->read_buffer.buf + ssl->s3->read_buffer.offset; in ssl_read_buffer() 91 return ssl->s3->read_buffer.len; in ssl_read_buffer_len() 95 SSL3_BUFFER *buf = &ssl->s3->read_buffer; in dtls_read_buffer_next_packet() 116 SSL3_BUFFER *buf = &ssl->s3->read_buffer; in tls_read_buffer_extend_to() 154 if (!ensure_buffer(&ssl->s3->read_buffer, ssl_record_prefix_len(ssl), len)) { in ssl_read_buffer_extend_to() 180 SSL3_BUFFER *buf = &ssl->s3->read_buffer; in ssl_read_buffer_consume() 193 if (ssl->s3->read_buffer.len == 0) { in ssl_read_buffer_discard() 199 clear_buffer(&ssl->s3->read_buffer); in ssl_read_buffer_clear()
|
/external/ltp/testcases/kernel/syscalls/sync/ |
D | sync02.c | 94 char read_buffer[BUFSIZ]; /* buffer used to read data from file */ in main() local 121 if (read(fildes, read_buffer, in main() 122 sizeof(read_buffer)) > 0) { in main() 123 if (strcmp(read_buffer, write_buffer)) { in main()
|
/external/libmicrohttpd/src/microspdy/ |
D | stream.c | 51 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()
|
D | session.c | 108 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 + session->read_buffer_beginning) in SPDYF_session_idle() [all …]
|
D | structures.h | 670 void *read_buffer; member
|
/external/webrtc/webrtc/modules/audio_processing/transient/ |
D | file_utils_unittest.cc | 373 rtc::scoped_ptr<int16_t[]> read_buffer(new int16_t[kBufferLength]); in TEST_F() local 394 read_buffer.get())); in TEST_F() 396 read_buffer.get(), in TEST_F() 420 rtc::scoped_ptr<float[]> read_buffer(new float[kBufferLength]); in TEST_F() local 441 read_buffer.get())); in TEST_F() 443 read_buffer.get(), in TEST_F() 467 rtc::scoped_ptr<double[]> read_buffer(new double[kBufferLength]); in TEST_F() local 488 read_buffer.get())); in TEST_F() 490 read_buffer.get(), in TEST_F()
|
/external/squashfs-tools/squashfs-tools/ |
D | mksquashfs.c | 2609 struct file_buffer *read_buffer, int *duplicate_file) in write_file_process() argument 2625 read_size = read_buffer->file_size; in write_file_process() 2626 if(read_buffer->fragment) in write_file_process() 2627 fragment_buffer = read_buffer; in write_file_process() 2633 block_list[block ++] = read_buffer->c_byte; in write_file_process() 2634 if(read_buffer->c_byte) { in write_file_process() 2635 read_buffer->block = bytes; in write_file_process() 2636 bytes += read_buffer->size; in write_file_process() 2637 cache_hash(read_buffer, read_buffer->block); in write_file_process() 2638 file_bytes += read_buffer->size; in write_file_process() [all …]
|
/external/ltp/testcases/kernel/syscalls/mount/ |
D | mount03.c | 69 static char read_buffer[BUFSIZ]; variable 226 if (read(fildes, read_buffer, sizeof(read_buffer)) > 0) { in test_rwflag() 227 if (strcmp(read_buffer, write_buffer)) { in test_rwflag()
|
/external/pdfium/third_party/libpng16/ |
D | pngrutil.c | 297 png_bytep buffer = png_ptr->read_buffer; in png_read_buffer() 301 png_ptr->read_buffer = NULL; in png_read_buffer() 302 png_ptr->read_buffer = NULL; in png_read_buffer() 314 png_ptr->read_buffer = buffer; in png_read_buffer() 641 /* input: */ png_ptr->read_buffer + prefix_size, &lzsize, in png_decompress_chunk() 669 png_ptr->read_buffer + prefix_size, &lzsize, in png_decompress_chunk() 680 memcpy(text, png_ptr->read_buffer, prefix_size); in png_decompress_chunk() 683 png_bytep old_ptr = png_ptr->read_buffer; in png_decompress_chunk() 685 png_ptr->read_buffer = text; in png_decompress_chunk() 764 png_inflate_read(png_structrp png_ptr, png_bytep read_buffer, uInt read_size, in png_inflate_read() argument [all …]
|
D | pngstruct.h | 458 png_bytep read_buffer; /* buffer for reading chunk data */ member
|
/external/skia/third_party/libpng/ |
D | pngrutil.c | 297 png_bytep buffer = png_ptr->read_buffer; in png_read_buffer() 301 png_ptr->read_buffer = NULL; in png_read_buffer() 302 png_ptr->read_buffer = NULL; in png_read_buffer() 314 png_ptr->read_buffer = buffer; in png_read_buffer() 641 /* input: */ png_ptr->read_buffer + prefix_size, &lzsize, in png_decompress_chunk() 669 png_ptr->read_buffer + prefix_size, &lzsize, in png_decompress_chunk() 680 memcpy(text, png_ptr->read_buffer, prefix_size); in png_decompress_chunk() 683 png_bytep old_ptr = png_ptr->read_buffer; in png_decompress_chunk() 685 png_ptr->read_buffer = text; in png_decompress_chunk() 764 png_inflate_read(png_structrp png_ptr, png_bytep read_buffer, uInt read_size, in png_inflate_read() argument [all …]
|
D | pngstruct.h | 458 png_bytep read_buffer; /* buffer for reading chunk data */ member
|
/external/libpng/ |
D | pngrutil.c | 297 png_bytep buffer = png_ptr->read_buffer; in png_read_buffer() 301 png_ptr->read_buffer = NULL; in png_read_buffer() 302 png_ptr->read_buffer = NULL; in png_read_buffer() 314 png_ptr->read_buffer = buffer; in png_read_buffer() 642 /* input: */ png_ptr->read_buffer + prefix_size, &lzsize, in png_decompress_chunk() 670 png_ptr->read_buffer + prefix_size, &lzsize, in png_decompress_chunk() 681 memcpy(text, png_ptr->read_buffer, prefix_size); in png_decompress_chunk() 684 png_bytep old_ptr = png_ptr->read_buffer; in png_decompress_chunk() 686 png_ptr->read_buffer = text; in png_decompress_chunk() 766 png_inflate_read(png_structrp png_ptr, png_bytep read_buffer, uInt read_size, in png_inflate_read() argument [all …]
|
D | pngstruct.h | 458 png_bytep read_buffer; /* buffer for reading chunk data */ member
|
/external/libmicrohttpd/src/microhttpd/ |
D | connection.c | 618 connection->read_buffer, 624 connection->read_buffer = buf; 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 = NULL; 2613 connection->read_buffer [all …]
|
/external/zlib/src/contrib/minizip/ |
D | unzip.c | 136 char *read_buffer; /* internal buffer for compressed data */ member 1504 pfile_in_zip_read_info->read_buffer=(char*)ALLOC(UNZ_BUFSIZE); in unzOpenCurrentFile3() 1510 if (pfile_in_zip_read_info->read_buffer==NULL) in unzOpenCurrentFile3() 1699 if (pfile_in_zip_read_info->read_buffer == NULL) in unzReadCurrentFile() 1738 pfile_in_zip_read_info->read_buffer, in unzReadCurrentFile() 1748 pfile_in_zip_read_info->read_buffer[i] = in unzReadCurrentFile() 1750 pfile_in_zip_read_info->read_buffer[i]); in unzReadCurrentFile() 1760 (Bytef*)pfile_in_zip_read_info->read_buffer; in unzReadCurrentFile() 2027 TRYFREE(pfile_in_zip_read_info->read_buffer); in unzCloseCurrentFile() 2028 pfile_in_zip_read_info->read_buffer = NULL; in unzCloseCurrentFile()
|
/external/mesa3d/src/mesa/main/ |
D | buffers.c | 742 read_buffer(struct gl_context *ctx, struct gl_framebuffer *fb, in read_buffer() function 795 read_buffer(ctx, ctx->ReadBuffer, buffer, "glReadBuffer"); in _mesa_ReadBuffer() 814 read_buffer(ctx, fb, src, "glNamedFramebufferReadBuffer"); in _mesa_NamedFramebufferReadBuffer()
|
/external/kernel-headers/original/uapi/linux/android/ |
D | binder.h | 84 binder_uintptr_t read_buffer; member
|
/external/e2fsprogs/misc/ |
D | badblocks.c | 596 unsigned char *buffer, *read_buffer; in test_rw() local 607 read_buffer = buffer + blocks_at_once * block_size; in test_rw() 691 got = do_read (dev, read_buffer, try, block_size, in test_rw() 707 if (memcmp(read_buffer + i * block_size, in test_rw()
|
/external/dhcpcd-6.8.2/ |
D | dhcp.c | 1132 uint8_t read_buffer[sizeof(*dhcp) + sizeof(state->server_info) + 1]; in read_lease() local 1134 read_buffer + offsetof(struct dhcp_message, options); in read_lease() 1153 bytes = read(fd, read_buffer, sizeof(read_buffer)); in read_lease() 1157 if (read_buffer + bytes < options_startp) in read_lease() 1165 if (options_endp > read_buffer + bytes) in read_lease() 1166 options_endp = read_buffer + bytes; in read_lease() 1177 memcpy(dhcp, read_buffer, options_startp - read_buffer); in read_lease() 1209 options_endp = read_buffer + bytes; in read_lease()
|
/external/protobuf/src/google/protobuf/io/ |
D | coded_stream_unittest.cc | 620 char read_buffer[sizeof(kRawBytes)]; in TEST_1D() local 625 EXPECT_TRUE(coded_input.ReadRaw(read_buffer, sizeof(kRawBytes))); in TEST_1D() 626 EXPECT_EQ(0, memcmp(kRawBytes, read_buffer, sizeof(kRawBytes))); in TEST_1D()
|