/external/rust/crates/futures/tests/ |
D | io_read_line.rs | 2 fn read_line() { in read_line() function 8 assert_eq!(block_on(buf.read_line(&mut v)).unwrap(), 2); in read_line() 13 assert_eq!(block_on(buf.read_line(&mut v)).unwrap(), 3); in read_line() 16 assert_eq!(block_on(buf.read_line(&mut v)).unwrap(), 1); in read_line() 19 assert_eq!(block_on(buf.read_line(&mut v)).unwrap(), 0); in read_line() 46 assert_eq!(run(buf.read_line(&mut v)).unwrap(), 2); in maybe_pending() 54 assert_eq!(run(buf.read_line(&mut v)).unwrap(), 3); in maybe_pending() 57 assert_eq!(run(buf.read_line(&mut v)).unwrap(), 1); in maybe_pending() 60 assert_eq!(run(buf.read_line(&mut v)).unwrap(), 0); in maybe_pending() 63 assert_eq!(run(buf.read_line(&mut v)).unwrap(), 0); in maybe_pending()
|
/external/rust/crates/tokio/tests/ |
D | io_read_line.rs | 11 async fn read_line() { in read_line() function 15 let n = assert_ok!(rd.read_line(&mut buf).await); in read_line() 19 let n = assert_ok!(rd.read_line(&mut buf).await); in read_line() 23 let n = assert_ok!(rd.read_line(&mut buf).await); in read_line() 27 let n = assert_ok!(rd.read_line(&mut buf).await); in read_line() 43 let bytes = read.read_line(&mut line).await.unwrap(); in read_line_not_all_ready() 48 let bytes = read.read_line(&mut line).await.unwrap(); in read_line_not_all_ready() 53 let bytes = read.read_line(&mut line).await.unwrap(); in read_line_not_all_ready() 58 let bytes = read.read_line(&mut line).await.unwrap(); in read_line_not_all_ready() 70 let err = read.read_line(&mut line).await.expect_err("Should fail"); in read_line_invalid_utf8() [all …]
|
/external/linux-kselftest/tools/testing/selftests/rcutorture/formal/srcu-cbmc/ |
D | modify_srcu.awk | 90 function read_line() { function 184 read_line(); function 268 read_line(); function 281 read_line(); function 293 read_line(); function 320 read_line(); function 329 read_line(); function 333 read_line(); function 339 read_line(); function
|
/external/chromium-trace/catapult/third_party/pyserial/serial/tools/ |
D | list_ports_linux.py | 42 def read_line(filename): function 68 snr = read_line(sysfs_path+'/serial') 74 read_line(sysfs_path+'/idVendor'), 75 read_line(sysfs_path+'/idProduct'), 83 dev = int(read_line(os.path.join(sysfs_path, 'devnum'))) 112 return read_line(sys_dev_path) 119 return read_line(product_name_file) 130 return read_line(sys_id_path)
|
/external/rust/crates/tokio/src/io/util/ |
D | async_buf_read_ext.rs | 2 use crate::io::util::read_line::{read_line, ReadLine}; 162 fn read_line<'a>(&'a mut self, buf: &'a mut String) -> ReadLine<'a, Self> 166 read_line(self, buf)
|
D | mod.rs | 51 mod read_line;
|
/external/grpc-grpc/src/objective-c/ |
D | change-comments.py | 41 def read_line(): function 102 write(read_line()) 108 comment_block.append(read_line())
|
/external/rust/crates/nom/tests/ |
D | multiline.rs | 18 pub fn read_line(input: &str) -> IResult<&str, &str> { in read_line() function 23 many0(read_line)(input) in read_lines()
|
/external/rust/crates/bytes/tests/ |
D | test_reader.rs | 24 reader.read_line(&mut line).unwrap(); in buf_read() 27 reader.read_line(&mut line).unwrap(); in buf_read()
|
/external/chromium-trace/catapult/third_party/pyserial/ |
D | linux-product_info.patch | 8 return read_line(sys_dev_path) 15 + return read_line(product_name_file)
|
/external/v4l2_codec2/tests/c2_e2e_test/jni/ |
D | common.cpp | 70 std::string read_line; in ReadLine() local 71 while (std::getline(file_, read_line)) { in ReadLine() 72 if (read_line.empty()) // be careful: an empty line might be read in ReadLine() 74 *line = read_line; in ReadLine()
|
/external/toybox/toys/pending/ |
D | modprobe.c | 165 static int read_line(FILE *fl, char **li) in read_line() function 227 for (line = linecp = NULL; read_line(fc, &line) > 0; in config_action() 289 while (read_line(fe, &line) > 0) { in depmode_read_entry() 317 for (; read_line(fe, &line) > 0; free(line)) { in find_dep() 525 while (read_line(fs, &procline) > 0) { in modprobe_main()
|
/external/crosvm/integration_tests/tests/ |
D | fixture.rs | 277 from_guest_reader.read_line(&mut magic_line)?; in new() 297 self.from_guest_reader.read_line(&mut echo)?; in exec_in_guest() 304 self.from_guest_reader.read_line(&mut line)?; in exec_in_guest()
|
/external/rust/crates/futures-util/src/io/ |
D | mod.rs | 107 mod read_line; module 108 pub use self::read_line::ReadLine; 764 fn read_line<'a>(&'a mut self, buf: &'a mut String) -> ReadLine<'a, Self> in read_line() method
|
/external/rust/crates/rusqlite/src/blob/ |
D | mod.rs | 488 assert_eq!(4, reader.read_line(&mut line).unwrap()); in test_blob_in_bufreader() 492 assert_eq!(4, reader.read_line(&mut line).unwrap()); in test_blob_in_bufreader() 496 assert_eq!(2, reader.read_line(&mut line).unwrap()); in test_blob_in_bufreader()
|
/external/rust/crates/bstr/examples/ |
D | words-std.rs | 14 while stdin.read_line(&mut line)? > 0 { in main()
|
D | uppercase-std.rs | 10 while stdin.read_line(&mut line)? > 0 { in main()
|
D | lines-std.rs | 10 while stdin.read_line(&mut line)? > 0 { in main()
|
D | graphemes-std.rs | 14 while stdin.read_line(&mut line)? > 0 { in main()
|
/external/llvm-project/lldb/tools/lldb-vscode/ |
D | IOStream.h | 57 bool read_line(std::ofstream *log, std::string &line);
|
/external/llvm-project/llvm/test/Transforms/LoopRotate/ |
D | preserve-mssa.ll | 26 ; CHECK-LABEL: @read_line( 27 define internal fastcc i32 @read_line(i8* nocapture %f) unnamed_addr {
|
/external/crosvm/integration_tests/guest_under_test/ |
D | delegate.rs | 31 reader.read_line(&mut command)?; in listen()
|
/external/rust/crates/criterion/benches/benchmarks/ |
D | external_process.rs | 46 .read_line(&mut line) in python_fibonacci()
|
/external/adhd/sound_card_init/dsm/src/ |
D | vpd.rs | 38 reader.read_line(&mut line).map_err(io_err)?; in read_vpd_files()
|
/external/rust/crates/rayon/examples/ |
D | cpu_monitor.rs | 50 io::stdin().read_line(&mut input).unwrap(); in wait_for_user()
|