/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/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/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/mindspore/mindspore/ccsrc/debug/debugger/ |
D | debugger_utils.cc | 116 bool read_data = false; in CheckReadData() local 124 read_data = true; in CheckReadData() 127 read_data = debugger->ReadNodeDataRequired(cnode); in CheckReadData() 129 return read_data; in CheckReadData()
|
/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 | 119 pngdec->read_data = 0; in gst_pngdec_init() 480 if (pngdec->read_data == 0) { in gst_pngdec_parse() 512 pngdec->read_data = 8; in gst_pngdec_parse() 515 if (!gst_byte_reader_skip (&reader, pngdec->read_data)) in gst_pngdec_parse() 535 pngdec->read_data = 0; in gst_pngdec_parse() 538 pngdec->read_data += length + 12; in gst_pngdec_parse() 670 pngdec->read_data = 0; in gst_pngdec_libpng_clear()
|
D | gstpngdec.h | 53 gsize read_data; member
|
/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/ffmpeg/libavdevice/ |
D | pulse_audio_dec.c | 287 const void *read_data = NULL; in pulse_read_packet() local 300 r = pa_stream_peek(pd->stream, &read_data, &read_length); in pulse_read_packet() 306 } else if (!read_data) { in pulse_read_packet() 338 memcpy(pkt->data + pos, read_data, read_length); in pulse_read_packet()
|
/third_party/mindspore/mindspore/ccsrc/runtime/framework/actor/ |
D | debug_actor.cc | 63 bool read_data = CheckReadData(cnode); in Debug() local 64 if (read_data) { in Debug()
|
/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/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()
|
/third_party/gstreamer/gstreamer/tests/misc/ |
D | plot-data | 32 def read_data(fd): function 50 state = read_data(sys.stdin)
|
/third_party/mindspore/tests/perf_test/mind_expression_perf/ |
D | process_data.py | 32 def read_data(log_data, me_report_path, n_days): function 90 log, date, reid_data, bert_data, resnet_data, gpt_data = read_data(
|
/third_party/gstreamer/gstplugins_base/tests/examples/app/ |
D | appsrc-stream.c | 80 read_data (App * app) in read_data() function 124 app->sourceid = g_idle_add ((GSourceFunc) read_data, app); in start_feed()
|
/third_party/python/Lib/test/ |
D | test_zipfile.py | 137 read_data = zipopen1.read(256) 138 if not read_data: 140 zipdata1.append(read_data) 145 read_data = zipopen2.read(256) 146 if not read_data: 148 zipdata2.append(read_data) 171 read_data = zipopen1.read(randint(1, 1024)) 172 if not read_data: 174 zipdata1.append(read_data) 190 read_data = zipopen.read1(-1) [all …]
|