Home
last modified time | relevance | path

Searched refs:read_buf (Results 1 – 3 of 3) sorted by relevance

/DragonOS/user/apps/test_shm/
H A Dreceiver.c29 char read_buf[20]; in main() local
30 memcpy(read_buf, shmaddr, 14); in main()
32 printf("Receiver receive: %s\n", read_buf); in main()
H A Dsender.c40 char read_buf[20]; in main() local
41 memcpy(read_buf, shmaddr, 16); in main()
42 printf("Sender receive: %s\n", read_buf); in main()
/DragonOS/kernel/src/driver/tty/tty_ldisc/
H A Dntty.rs119 read_buf: [u8; NTTY_BUFSIZE], field
150 read_buf: [0; NTTY_BUFSIZE], in new()
167 self.read_buf[i] in read_at()
289 self.read_buf[head..(head + n)].copy_from_slice(&buf[0..n]); in receive_buf_real_raw()
297 self.read_buf[head..(head + n)].copy_from_slice(&buf[offset..(offset + n)]); in receive_buf_real_raw()
313 self.read_buf[self.read_head] = buf[c_offset]; in receive_buf_raw()
487 self.echo_char(self.read_buf[ntty_buf_mask(tail)], &termios); in receive_special_char()
503 self.read_buf[ntty_buf_mask(self.read_head)] = c; in receive_special_char()
516 self.read_buf[ntty_buf_mask(self.read_head)] = c; in receive_special_char()
539 self.read_buf[ntty_buf_mask(self.read_head)] = c; in receive_special_char()
[all …]