/third_party/boost/libs/asio/test/ |
D | read_at.cpp | 145 static const char read_data[] variable 152 char read_buf[sizeof(read_data)]; in test_3_arg_mutable_buffer_read_at() 156 s.reset(read_data, sizeof(read_data)); in test_3_arg_mutable_buffer_read_at() 159 BOOST_ASIO_CHECK(bytes_transferred == sizeof(read_data)); in test_3_arg_mutable_buffer_read_at() 160 BOOST_ASIO_CHECK(s.check_buffers(0, buffers, sizeof(read_data))); in test_3_arg_mutable_buffer_read_at() 162 s.reset(read_data, sizeof(read_data)); in test_3_arg_mutable_buffer_read_at() 165 BOOST_ASIO_CHECK(bytes_transferred == sizeof(read_data)); in test_3_arg_mutable_buffer_read_at() 166 BOOST_ASIO_CHECK(s.check_buffers(1234, buffers, sizeof(read_data))); in test_3_arg_mutable_buffer_read_at() 168 s.reset(read_data, sizeof(read_data)); in test_3_arg_mutable_buffer_read_at() 172 BOOST_ASIO_CHECK(bytes_transferred == sizeof(read_data)); in test_3_arg_mutable_buffer_read_at() [all …]
|
D | read.cpp | 142 static const char read_data[] variable 159 char read_buf[sizeof(read_data)]; in test_2_arg_mutable_buffer_read() 163 s.reset(read_data, sizeof(read_data)); in test_2_arg_mutable_buffer_read() 166 BOOST_ASIO_CHECK(bytes_transferred == sizeof(read_data)); in test_2_arg_mutable_buffer_read() 167 BOOST_ASIO_CHECK(s.check_buffers(buffers, sizeof(read_data))); in test_2_arg_mutable_buffer_read() 169 s.reset(read_data, sizeof(read_data)); in test_2_arg_mutable_buffer_read() 173 BOOST_ASIO_CHECK(bytes_transferred == sizeof(read_data)); in test_2_arg_mutable_buffer_read() 174 BOOST_ASIO_CHECK(s.check_buffers(buffers, sizeof(read_data))); in test_2_arg_mutable_buffer_read() 176 s.reset(read_data, sizeof(read_data)); in test_2_arg_mutable_buffer_read() 180 BOOST_ASIO_CHECK(bytes_transferred == sizeof(read_data)); in test_2_arg_mutable_buffer_read() [all …]
|
D | read_until.cpp | 104 static const char read_data[] variable 118 s.reset(read_data, sizeof(read_data)); in test_dynamic_string_read_until_char() 123 s.reset(read_data, sizeof(read_data)); in test_dynamic_string_read_until_char() 129 s.reset(read_data, sizeof(read_data)); in test_dynamic_string_read_until_char() 135 s.reset(read_data, sizeof(read_data)); in test_dynamic_string_read_until_char() 141 s.reset(read_data, sizeof(read_data)); in test_dynamic_string_read_until_char() 148 s.reset(read_data, sizeof(read_data)); in test_dynamic_string_read_until_char() 155 s.reset(read_data, sizeof(read_data)); in test_dynamic_string_read_until_char() 161 s.reset(read_data, sizeof(read_data)); in test_dynamic_string_read_until_char() 168 s.reset(read_data, sizeof(read_data)); in test_dynamic_string_read_until_char() [all …]
|
D | buffered_write_stream.cpp | 172 char read_data[sizeof(write_data)]; in test_sync_operations() local 173 const boost::asio::mutable_buffer read_buf = boost::asio::buffer(read_data); in test_sync_operations() 176 while (bytes_read < sizeof(read_data)) in test_sync_operations() 183 BOOST_ASIO_CHECK(bytes_read == sizeof(read_data)); in test_sync_operations() 184 BOOST_ASIO_CHECK(memcmp(write_data, read_data, sizeof(write_data)) == 0); in test_sync_operations() 195 while (bytes_read < sizeof(read_data)) in test_sync_operations() 202 BOOST_ASIO_CHECK(bytes_read == sizeof(read_data)); in test_sync_operations() 203 BOOST_ASIO_CHECK(memcmp(write_data, read_data, sizeof(write_data)) == 0); in test_sync_operations() 298 char read_data[sizeof(write_data)]; in test_async_operations() local 299 const boost::asio::mutable_buffer read_buf = boost::asio::buffer(read_data); in test_async_operations() [all …]
|
D | buffered_read_stream.cpp | 171 char read_data[sizeof(write_data)]; in test_sync_operations() local 172 const boost::asio::mutable_buffer read_buf = boost::asio::buffer(read_data); in test_sync_operations() 175 while (bytes_read < sizeof(read_data)) in test_sync_operations() 182 BOOST_ASIO_CHECK(bytes_read == sizeof(read_data)); in test_sync_operations() 183 BOOST_ASIO_CHECK(memcmp(write_data, read_data, sizeof(write_data)) == 0); in test_sync_operations() 193 while (bytes_read < sizeof(read_data)) in test_sync_operations() 200 BOOST_ASIO_CHECK(bytes_read == sizeof(read_data)); in test_sync_operations() 201 BOOST_ASIO_CHECK(memcmp(write_data, read_data, sizeof(write_data)) == 0); in test_sync_operations() 287 char read_data[sizeof(write_data)]; in test_async_operations() local 288 const boost::asio::mutable_buffer read_buf = boost::asio::buffer(read_data); in test_async_operations() [all …]
|
D | buffered_stream.cpp | 183 char read_data[sizeof(write_data)]; in test_sync_operations() local 184 const boost::asio::mutable_buffer read_buf = boost::asio::buffer(read_data); in test_sync_operations() 187 while (bytes_read < sizeof(read_data)) in test_sync_operations() 194 BOOST_ASIO_CHECK(bytes_read == sizeof(read_data)); in test_sync_operations() 195 BOOST_ASIO_CHECK(memcmp(write_data, read_data, sizeof(write_data)) == 0); in test_sync_operations() 206 while (bytes_read < sizeof(read_data)) in test_sync_operations() 213 BOOST_ASIO_CHECK(bytes_read == sizeof(read_data)); in test_sync_operations() 214 BOOST_ASIO_CHECK(memcmp(write_data, read_data, sizeof(write_data)) == 0); in test_sync_operations() 309 char read_data[sizeof(write_data)]; in test_async_operations() local 310 const boost::asio::mutable_buffer read_buf = boost::asio::buffer(read_data); in test_async_operations() [all …]
|
/third_party/boost/boost/gil/extension/io/tiff/detail/ |
D | read.hpp | 66 p->template read_data< detail::row_buffer_helper_view< plane_t > >( plane, K ); in read_plane() 215 read_data< detail::row_buffer_helper_view< View > >( v, 0 ); in read() 233 … case 1: { read_data< detail::row_buffer_helper_view< gray1_image_t::view_t > >( v, 0 ); break; } in read() 234 … case 2: { read_data< detail::row_buffer_helper_view< gray2_image_t::view_t > >( v, 0 ); break; } in read() 235 … case 4: { read_data< detail::row_buffer_helper_view< gray4_image_t::view_t > >( v, 0 ); break; } in read() 236 … case 8: { read_data< detail::row_buffer_helper_view< gray8_view_t > >( v, 0 ); break; } in read() 237 … case 16: { read_data< detail::row_buffer_helper_view< gray16_view_t > >( v, 0 ); break; } in read() 238 … case 32: { read_data< detail::row_buffer_helper_view< gray32_view_t > >( v, 0 ); break; } in read() 253 … case 8: { read_data< detail::row_buffer_helper_view< rgb8_view_t > >( v, 0 ); break; } in read() 254 … case 16: { read_data< detail::row_buffer_helper_view< rgb16_view_t > >( v, 0 ); break; } in read() [all …]
|
/third_party/python/Lib/unittest/test/testmock/ |
D | testwith.py | 192 mock = mock_open(read_data='foo') 203 mock = mock_open(read_data='foo\nbar\nbaz\n') 215 mock = mock_open(read_data='foo') 225 mock = mock_open(read_data='foo\nbar\nbaz\n') 239 mock = mock_open(read_data='foo\nbar\nbaz\n') 252 mock = mock_open(read_data='foo\nbar\nbaz\n') 260 mock = mock_open(read_data='foo\nbar\nbaz') 269 mock = mock_open(read_data=b'\xc6') 277 m = mock_open(read_data=b'abc\ndef\nghi\n') 289 m = mock_open(read_data=b'abc\ndef\nghi\n') [all …]
|
/third_party/libsnd/src/ |
D | sds.c | 55 unsigned char read_data [SDS_BLOCK_SIZE] ; member 434 if ((k = psf_fread (psds->read_data, 1, SDS_BLOCK_SIZE, psf)) != SDS_BLOCK_SIZE) in sds_2byte_read() 437 if (psds->read_data [0] != 0xF0) in sds_2byte_read() 438 { printf ("Error A : %02X\n", psds->read_data [0] & 0xFF) ; in sds_2byte_read() 441 checksum = psds->read_data [1] ; in sds_2byte_read() 447 checksum ^= psds->read_data [k] ; in sds_2byte_read() 451 if (checksum != psds->read_data [SDS_BLOCK_SIZE - 2]) in sds_2byte_read() 452 …, "Block %d : checksum is %02X should be %02X\n", psds->read_data [4], checksum, psds->read_data [… in sds_2byte_read() 455 ucptr = psds->read_data + 5 ; in sds_2byte_read() 478 if ((k = psf_fread (psds->read_data, 1, SDS_BLOCK_SIZE, psf)) != SDS_BLOCK_SIZE) in sds_3byte_read() [all …]
|
/third_party/boost/libs/iostreams/test/ |
D | read_nonblocking_test.cpp | 58 char read_data[data_size_k]; in nonblocking_read_test() local 59 std::streamsize amt = boost::iostreams::read(nb, read_data, data_size_k); in nonblocking_read_test() 65 BOOST_CHECK_EQUAL(std::char_traits<char>::to_int_type(read_data[i]), i); in nonblocking_read_test()
|
/third_party/uboot/u-boot-2020.01/drivers/ddr/marvell/a38x/ |
D | ddr3_debug.c | 114 u32 read_data[MAX_INTERFACE_NUM]; in ddr3_tip_reg_dump() local 125 if_id, reg_addr, read_data, in ddr3_tip_reg_dump() 127 printf("0x%x ", read_data[if_id]); in ddr3_tip_reg_dump() 515 u32 read_data[MAX_INTERFACE_NUM]; in ddr3_tip_print_stability_log() local 549 read_data, MASK_ALL_BITS)); in ddr3_tip_print_stability_log() 550 printf("%d,%d,", ((read_data[if_id] & 0x3f0) >> 4), in ddr3_tip_print_stability_log() 551 ((read_data[if_id] & 0xfc00) >> 10)); in ddr3_tip_print_stability_log() 554 read_data, MASK_ALL_BITS)); in ddr3_tip_print_stability_log() 555 printf("%d,%d,", ((read_data[if_id] & 0x3f0) >> 4), in ddr3_tip_print_stability_log() 556 ((read_data[if_id] & 0xfc00) >> 10)); in ddr3_tip_print_stability_log() [all …]
|
D | ddr3_training_bist.c | 78 u32 read_data[MAX_INTERFACE_NUM]; in ddr3_tip_bist_read_result() local 87 ODPG_DATA_RX_WORD_ERR_DATA_HIGH_REG, read_data, in ddr3_tip_bist_read_result() 91 pst_bist_result->bist_fail_high = read_data[if_id]; in ddr3_tip_bist_read_result() 93 ODPG_DATA_RX_WORD_ERR_DATA_LOW_REG, read_data, in ddr3_tip_bist_read_result() 97 pst_bist_result->bist_fail_low = read_data[if_id]; in ddr3_tip_bist_read_result() 100 ODPG_DATA_RX_WORD_ERR_ADDR_REG, read_data, in ddr3_tip_bist_read_result() 104 pst_bist_result->bist_last_fail_addr = read_data[if_id]; in ddr3_tip_bist_read_result() 106 ODPG_DATA_RX_WORD_ERR_CNTR_REG, read_data, in ddr3_tip_bist_read_result() 110 pst_bist_result->bist_error_cnt = read_data[if_id]; in ddr3_tip_bist_read_result() 230 u32 subphy, read_data; in mv_ddr_tip_bist() local [all …]
|
/third_party/ltp/testcases/kernel/io/stress_cd/ |
D | stress_cd.c | 48 static int read_data(int, unsigned long *); 65 read_data(0, &checksum); in main() 128 read_data(num, &cksum); in thread() 140 static int read_data(int num, unsigned long *cksum) in read_data() function
|
/third_party/uboot/u-boot-2020.01/drivers/mtd/nand/raw/ |
D | kmeter1_nand.c | 16 #define read_data() in_8(CONFIG_NAND_DATA_REG) macro 75 return read_data(); in kpn_nand_read_byte() 93 buf[i] = read_data(); in kpn_nand_read_buf()
|
/third_party/boost/boost/gil/extension/io/targa/detail/ |
D | read.hpp | 118 read_data< bgr8_view_t >( flipped_up_down_view( dst_view ) ); in apply() 122 read_data< bgr8_view_t >( dst_view ); in apply() 133 read_data< bgra8_view_t >( flipped_up_down_view( dst_view ) ); in apply() 137 read_data< bgra8_view_t >( dst_view ); in apply() 211 void read_data( const View_Dst& view ) in read_data() function in boost::gil::reader
|
/third_party/pulseaudio/src/modules/ |
D | module-esound-sink.c | 97 void *read_data; member 411 if (!*(int32_t*) u->read_data) { in handle_response() 435 u->latency = (pa_usec_t) ((double) (*(int32_t*) u->read_data) * 1000000 / 44100); in handle_response() 453 pa_xfree(u->read_data); in handle_response() 454 u->read_data = NULL; in handle_response() 476 if (!u->read_data) in do_read() 481 …if ((r = pa_iochannel_read(u->io, (uint8_t*) u->read_data + u->read_index, u->read_length - u->rea… in do_read() 590 u->read_data = u->write_data = NULL; in pa__init() 658 u->read_data = pa_xmalloc(u->read_length = sizeof(int32_t)); in pa__init() 724 pa_xfree(u->read_data); in pa__done()
|
/third_party/ffmpeg/libavdevice/ |
D | pulse_audio_dec.c | 276 const void *read_data = NULL; in pulse_read_packet() local 285 while (!read_data) { in pulse_read_packet() 288 r = pa_stream_peek(pd->stream, &read_data, &read_length); in pulse_read_packet() 294 } else if (!read_data) { in pulse_read_packet() 329 memcpy(pkt->data, read_data, read_length); in pulse_read_packet()
|
/third_party/pulseaudio/src/pulse/ |
D | simple.c | 44 const void *read_data; member 326 while (!p->read_data) { in pa_simple_read() 329 r = pa_stream_peek(p->stream, &p->read_data, &p->read_length); in pa_simple_read() 335 } else if (!p->read_data) { in pa_simple_read() 345 memcpy(data, (const uint8_t*) p->read_data+p->read_index, l); in pa_simple_read() 357 p->read_data = NULL; in pa_simple_read()
|
/third_party/gstreamer/gstplugins_good/ext/libpng/ |
D | gstpngdec.c | 116 pngdec->read_data = 0; in gst_pngdec_init() 477 if (pngdec->read_data == 0) { in gst_pngdec_parse() 509 pngdec->read_data = 8; in gst_pngdec_parse() 512 if (!gst_byte_reader_skip (&reader, pngdec->read_data)) in gst_pngdec_parse() 532 pngdec->read_data = 0; in gst_pngdec_parse() 535 pngdec->read_data += length + 12; in gst_pngdec_parse() 667 pngdec->read_data = 0; in gst_pngdec_libpng_clear()
|
/third_party/glib/gio/ |
D | gdatainputstream.c | 285 read_data (GDataInputStream *stream, in read_data() function 338 if (read_data (stream, &c, 1, cancellable, error)) in g_data_input_stream_read_byte() 368 if (read_data (stream, &v, 2, cancellable, error)) in g_data_input_stream_read_int16() 412 if (read_data (stream, &v, 2, cancellable, error)) in g_data_input_stream_read_uint16() 460 if (read_data (stream, &v, 4, cancellable, error)) in g_data_input_stream_read_int32() 508 if (read_data (stream, &v, 4, cancellable, error)) in g_data_input_stream_read_uint32() 556 if (read_data (stream, &v, 8, cancellable, error)) in g_data_input_stream_read_int64() 604 if (read_data (stream, &v, 8, cancellable, error)) in g_data_input_stream_read_uint64()
|
/third_party/glib/glib/glib-mirroring-tab/ |
D | gen-mirroring-tab.c | 151 read_data ( in read_data() function 225 read_data (data_file_type, data_file_name); in main()
|
/third_party/minimp3/ |
D | minimp3_test.c | 208 io.read_data = io.seek_data = file; in decode_file() 210 fclose((FILE*)io.read_data); in decode_file() 232 io.read_data = io.seek_data = file; in decode_file() 236 fclose((FILE*)io.read_data); in decode_file() 255 io.read_data = io.seek_data = file; in decode_file() 335 fclose((FILE*)io.read_data); in decode_file() 353 io.read_data = io.seek_data = file; in decode_file() 586 io.read_data = io.seek_data = file; in self_test() 614 fclose((FILE*)io.read_data); in self_test()
|
D | minimp3_ex.h | 68 void *read_data; member 251 filled = io->read(buf, MINIMP3_ID3_DETECT_SIZE, io->read_data); in mp3dec_detect_cb() 261 …eaded = io->read(buf + MINIMP3_ID3_DETECT_SIZE, buf_size - MINIMP3_ID3_DETECT_SIZE, io->read_data); in mp3dec_detect_cb() 303 filled = io->read(buf, MINIMP3_ID3_DETECT_SIZE, io->read_data); in mp3dec_load_cb() 313 filled = io->read(buf, buf_size, io->read_data); in mp3dec_load_cb() 318 …eaded = io->read(buf + MINIMP3_ID3_DETECT_SIZE, buf_size - MINIMP3_ID3_DETECT_SIZE, io->read_data); in mp3dec_load_cb() 346 size_t readed = io->read(buf + filled, buf_size - filled, io->read_data); in mp3dec_load_cb() 434 size_t readed = io->read(buf + filled, buf_size - filled, io->read_data); in mp3dec_load_cb() 542 size_t filled = io->read(buf, MINIMP3_ID3_DETECT_SIZE, io->read_data), consumed = 0; in mp3dec_iterate_cb() 556 filled = io->read(buf, buf_size, io->read_data); in mp3dec_iterate_cb() [all …]
|
/third_party/gstreamer/gstreamer/tests/misc/ |
D | plot-data | 32 def read_data(fd): function 50 state = read_data(sys.stdin)
|
/third_party/ffmpeg/libavformat/ |
D | tls_schannel.c | 154 int i, ret = 0, read_data = initial; in tls_client_handshake_loop() local 182 if (read_data) { in tls_client_handshake_loop() 218 read_data = 1; in tls_client_handshake_loop() 227 read_data = 0; in tls_client_handshake_loop() 263 read_data = 0; in tls_client_handshake_loop() 272 read_data = 1; in tls_client_handshake_loop()
|