Home
last modified time | relevance | path

Searched defs:len (Results 1 – 25 of 30) sorted by relevance

12

/DragonOS-0.1.8/user/apps/test_relibc/
Dmain.c76 int len = recv(conn, buffer, sizeof(buffer), 0); in tcp_server() local
119 …int len = recvfrom(server_sockfd, buffer, sizeof(buffer), 0, (struct sockaddr *)&client_addr, &cli… in udp_server() local
195 int sockfd, len = 0; in udp_client() local
/DragonOS-0.1.8/kernel/src/libs/
Dcrc16.c34 uint16_t crc16(uint16_t crc, uint8_t const *buffer, size_t len) in crc16()
Dcrc32.c49 uint32_t crc32(uint32_t crc, uint8_t const *buffer, size_t len) in crc32()
Dcrc64.c50 uint64_t crc64(uint64_t crc, uint8_t const *buffer, size_t len) in crc64()
Dcrc8.c33 uint8_t crc8(uint8_t crc, uint8_t const *buffer, size_t len) in crc8()
Dcrc7.c31 uint8_t crc7(uint8_t crc, const uint8_t *buffer, size_t len) in crc7()
Dprintk.c68 int len; in __do_vsprintf() local
603 int len = vsprintf(buf, fmt, args); in printk_color() local
Dwait_queue.rs195 pub fn len(&self) -> usize { in len() method
Dvec_cursor.rs245 pub fn len(&self) -> usize { in len() method
Drbtree.rs343 len: usize, field
606 len: usize, field
685 len: usize, field
761 len: usize, field
852 pub fn len(&self) -> usize { in len() method
/DragonOS-0.1.8/kernel/src/common/
Dstring.h64 static inline int memcmp(const void *s1, const void *s2, size_t len) in memcmp()
/DragonOS-0.1.8/user/libs/libc/src/
Ddirent.c72 int len = getdents(dir->fd, (struct dirent *)dir->buf, DIR_BUF_SIZE); in readdir() local
Dstdio.c18 int len = strlen(buf); in fprintf() local
Dprintf.c87 int len; in vsprintf() local
/DragonOS-0.1.8/kernel/src/mm/allocator/
Dslab.rs61 len: usize, field
80 fn len(&self) -> usize { in len() method
/DragonOS-0.1.8/kernel/src/syscall/
Dmod.rs435 let len = args[2]; in handle() localVariable
454 let len = args[2]; in handle() localVariable
545 let len = args[2]; in handle() localVariable
797 let len = args[2] as usize; in handle() localVariable
818 let len = args[2] as usize; in handle() localVariable
922 let len = page_align_up(args[1]); in handle() localVariable
939 let len = page_align_up(args[1]); in handle() localVariable
949 let len = page_align_up(args[1]); in handle() localVariable
987 let len = args[1] as usize; in handle() localVariable
/DragonOS-0.1.8/kernel/src/mm/
Dc_adapter.rs94 let len = len as usize; in do_kmalloc() localVariable
Ducontext.rs261 let len = page_align_up(len); in map_anonymous() localVariable
510 let len = new_brk - self.brk; in set_brk() localVariable
/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dfile.rs141 let len = self in read() localVariable
167 let len = self in write() localVariable
Dsyscall.rs709 let len = core::cmp::min(slice.len(), data.len()); in scatter() localVariable
Dmod.rs426 let len = inode.read_at(0, 256, &mut content, &mut FilePrivateData::Unused)?; in lookup_follow_symlink() localVariable
/DragonOS-0.1.8/kernel/src/process/
Dkthread.c91 int len = vsnprintf(pcb_name, name_fmt, PCB_NAME_LEN, get_args); in __kthread_create_on_node() local
/DragonOS-0.1.8/kernel/src/driver/hid/
Dhidparse.c354 int hid_parse_report(const void *report_data, const int len) in hid_parse_report()
/DragonOS-0.1.8/kernel/src/driver/tty/
Dtty_device.rs243 let len; in sync() localVariable
/DragonOS-0.1.8/kernel/src/io/
Ddevice.rs301 pub fn len(&self) -> usize { in len() method

12