Searched refs:char (Results 1 – 11 of 11) sorted by relevance
/DragonOS-0.1.7/docs/userland/libc/apis/api-list/ |
D | string.md | 9 ``size_t strlen(const char *s)`` : 返回字符串长度 11 ``int strcmp(const char *a,const char *b)`` 比较字符串的字典序 13 ``char* strncpy(char *dst,const char *src,size_t count)`` 23 ``char* strcpy(char *dst,const char *src)`` : 复制整个字符串 25 ``char* strcat(char *dest,const char* src)`` : 拼接两个字符串
|
D | stdio.md | 8 ``int64_t put_string(char *str, uint64_t front_color, uint64_t bg_color)`` 12 ``int printf(const char *fmt, ...)`` 16 ``int sprintf(char *buf,const char *fmt,...)``` 20 ``int vsprintf(char *buf,const char *fmt,va_list args)``
|
D | dirent.md | 27 ``unsigned char d_type`` : 目标的类型(有可能是文件,文件夹,磁盘) 29 ``char d_name[]`` : 目标的名字 33 ``DIR opendir(const char *path)``
|
D | unistd.md | 47 ``int64_t chdir(char *dest_path)`` 51 ``int execv(const char* path,char * const argv[])`` : 执行文件
|
D | stdlib.md | 18 ``int atoi(const char *str)`` 字符串转数字
|
D | fcntl.md | 8 ``int open(const char * path,int options, ...)``
|
/DragonOS-0.1.7/kernel/src/filesystem/fat/ |
D | utils.rs | 1 use core::char::REPLACEMENT_CHARACTER; 8 pub fn decode_u8_ascii(value: u8) -> char { in decode_u8_ascii() argument 10 return value as char; in decode_u8_ascii()
|
D | entry.rs | 1908 let cp: char = match c { in copy_part() 1949 let num_suffix: Option<u32> = if name[prefix_len] as char == '~' { 1950 (name[prefix_len + 1] as char).to_digit(10) 1969 let num_suffix: Option<u32> = if name[prefix_len + 4] as char == '~' { 1970 (name[prefix_len + 1] as char).to_digit(10) 2046 buf[prefix_len + 1] = char::from_digit(num, 10).unwrap() as u8; 2054 let c1 = char::from_digit((x as u32 >> 12) & 0xf, 16) 2057 let c2 = char::from_digit((x as u32 >> 8) & 0xf, 16) 2060 let c3 = char::from_digit((x as u32 >> 4) & 0xf, 16) 2063 let c4 = char::from_digit((x as u32 >> 0) & 0xf, 16)
|
/DragonOS-0.1.7/docs/kernel/core_api/ |
D | kernel_api.md | 447 #### `int strlen(const char *s)` 459 #### `long strnlen(const char *src, unsigned long maxlen)` 475 #### `long strnlen_user(const char *src, unsigned long maxlen)` 493 #### `char *strncpy(char *dst, const char *src, long count)` 513 #### `char *strcpy(char *dst, const char *src)` 529 #### `long strncpy_from_user(char *dst, const char *src, unsigned long size)` 551 #### `int strcmp(char *FirstPart, char *SecondPart)` 575 #### `printk(const char* fmt, ...)` 591 #### `printk_color(unsigned int FRcolor, unsigned int BKcolor, const char* fmt, ...)` 615 #### `int vsprintf(char *buf, const char *fmt, va_list args)` [all …]
|
/DragonOS-0.1.7/kernel/src/driver/uart/ |
D | uart.rs | 2 use core::{char, intrinsics::offset, str}; 174 fn uart_read_byte(uart_port: &UartPort) -> char { in uart_read_byte() argument 177 unsafe { io_in8(port) as char } in uart_read_byte()
|
/DragonOS-0.1.7/docs/community/code_contribution/ |
D | c-coding-style.md | 125 char *a; 126 void *func(char* s, int **p);
|