/DragonOS-0.1.5/kernel/src/common/ |
D | string.h | 13 static inline int strlen(const char *s) in strlen() argument 15 if (s == NULL) in strlen() 18 while (s[__res] != '\0') in strlen()
|
/DragonOS-0.1.5/kernel/src/libs/ |
D | printk.rs | 98 pub fn __write_string(&mut self, s: &str) { in __write_string() 99 let str_to_print = self.__utf8_to_ascii(s); in __write_string() 105 pub fn __write_string_color(&self, fr_color: u32, bk_color: u32, s: &str) { in __write_string_color() 106 let str_to_print = self.__utf8_to_ascii(s); in __write_string_color() 115 pub fn __utf8_to_ascii(&self, s: &str) -> Vec<u8> { in __utf8_to_ascii() 116 let mut ascii_str: Vec<u8> = Vec::with_capacity(s.len() + 1); in __utf8_to_ascii() 117 for byte in s.bytes() { in __utf8_to_ascii() 132 fn write_str(&mut self, s: &str) -> fmt::Result { in write_str() 133 self.__write_string(s); in write_str()
|
D | printk.c | 29 static int skip_and_atoi(const char **s) in skip_and_atoi() argument 36 while (is_digit(**s)) in skip_and_atoi() 38 ans = ans * 10 + (**s) - '0'; in skip_and_atoi() 39 ++(*s); in skip_and_atoi() 60 char *str = NULL, *s = NULL, *end = NULL; in __do_vsprintf() local 212 s = va_arg(args, char *); in __do_vsprintf() 213 if (!s) in __do_vsprintf() 214 s = &__end_zero_char; in __do_vsprintf() 215 len = strlen(s); in __do_vsprintf() 237 *str = *s; in __do_vsprintf() [all …]
|
D | lz4.c | 197 void *LZ4_malloc(size_t s); 198 void *LZ4_calloc(size_t n, size_t s); 200 #define ALLOC(s) LZ4_malloc(s) argument 201 #define ALLOC_AND_ZERO(s) LZ4_calloc(1, s) argument 205 #define ALLOC(s) kmalloc(s, 0) argument 206 #define ALLOC_AND_ZERO(s) kzalloc(s, 0) argument 211 #define MEM_INIT(p, v, s) memset((p), (v), (s)) argument 437 const BYTE *s = (const BYTE *)srcPtr; in LZ4_wildCopy8() local 442 LZ4_memcpy(d, s, 8); in LZ4_wildCopy8() 444 s += 8; in LZ4_wildCopy8() [all …]
|
/DragonOS-0.1.5/kernel/src/process/ |
D | Makefile | 15 $(CC) -E proc.S > _proc.s 16 $(AS) $(ASFLAGS) -o procs.o _proc.s
|
/DragonOS-0.1.5/kernel/src/smp/ |
D | Makefile | 9 $(CC) -E apu_boot.S > _apu_boot.s # 预处理 10 $(AS) $(ASFLAGS) -o apu_boot.o _apu_boot.s
|
/DragonOS-0.1.5/kernel/src/exception/ |
D | Makefile | 8 $(CC) -E entry.S > _entry.s 9 $(AS) $(ASFLAGS) -o entry.o _entry.s
|
/DragonOS-0.1.5/user/libs/libc/src/ |
D | printf.c | 12 static int skip_and_atoi(const char **s) in skip_and_atoi() argument 19 while (is_digit(**s)) in skip_and_atoi() 21 ans = ans * 10 + (**s) - '0'; in skip_and_atoi() 22 ++(*s); in skip_and_atoi() 77 char *str = NULL, *s = NULL; in vsprintf() local 225 s = va_arg(args, char *); in vsprintf() 226 if (!s) in vsprintf() 227 s = &__end_zero_char; in vsprintf() 228 len = strlen(s); in vsprintf() 250 *str = *s; in vsprintf() [all …]
|
D | string.c | 3 size_t strlen(const char *s) in strlen() argument 6 while (s[__res] != '\0') in strlen()
|
D | Makefile | 1 GARBAGE_PATTERNS := *.o *.s~ *.s *.S~ *.c~ *.h~ kernel
|
D | stdio.c | 28 int puts(const char *s) in puts() argument 30 return put_string(s, COLOR_WHITE, COLOR_BLACK); in puts()
|
/DragonOS-0.1.5/kernel/src/ |
D | Makefile | 3 GARBAGE_PATTERNS := *.o *.s~ *.s *.S~ *.c~ *.h~ kernel 25 $(CC) -E head.S > _head.s # 预处理 26 $(AS) $(ASFLAGS) -o head.o _head.s
|
/DragonOS-0.1.5/ |
D | .gitignore | 11 *.s
|
D | README_EN.md | 40   You can send an email to the project's maintainer: longjin. His email address is [longj… 56 Maintainer longjin's Email:longjin@DragonOS.org 99 If you find any violation of the open source license, we welcome you to send email feedback! Let's … 117 - Intel® 64 and IA-32 Architectures Software Developer’s Manual
|
D | README.md | 130 - Intel® 64 and IA-32 Architectures Software Developer’s Manual
|
/DragonOS-0.1.5/tools/ |
D | build_gcc_toolchain.sh | 71 sleep 0.3s 102 sleep 1s 133 sleep 1s
|
D | Dockerfile | 16 RUN sed -i "s@http://\(deb\|security\).debian.org@http://mirrors.ustc.edu.cn@g" /etc/apt/sources.li… 26 RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y && \
|
/DragonOS-0.1.5/docs/userland/libc/apis/api-list/ |
D | string.md | 9 ``size_t strlen(const char *s)`` : 返回字符串长度
|
/DragonOS-0.1.5/user/libs/libc/src/include/export/ |
D | string.h | 16 size_t strlen(const char *s);
|
D | stdio.h | 58 int puts(const char *s);
|
/DragonOS-0.1.5/docs/kernel/ktest/ |
D | ktest-framework.md | 97 [ kTEST FAILED ] Ktest Assertion Failed, file:%s, Line:%d 106   格式化输出一行以`[ kTEST ] file:%s, Line:%d`开头的日志信息。
|
/DragonOS-0.1.5/kernel/src/filesystem/fat/ |
D | entry.rs | 757 let s = e.short_name(); in is_empty() localVariable 758 if s == "." || s == ".." { in is_empty() 854 let short_name = if let FATDirEntryOrShortName::ShortName(s) = in rename() 857 s in rename() 1426 FATRawDirEntry::Short(s) => { in get_dir_entry() 1432 Some(s.to_dir_entry(( in get_dir_entry() 1576 FATRawDirEntry::Short(s) => s, in new() 1609 Some(s) => { in short_name() 1610 return s.name_to_string(); in short_name() 1629 FATDirEntry::VolId(s) => { in short_dir_entry() [all …]
|
/DragonOS-0.1.5/user/ |
D | Makefile | 5 GARBAGE_PATTERNS := *.o *.s~ *.s *.S~ *.c~ *.h~ sys_api_lib *.a
|
/DragonOS-0.1.5/user/port/binutils/2.38/ |
D | Dockerfile | 29 && rm /usr/bin/autoconf && ln -s /usr/bin/autoconf2.69 /usr/bin/autoconf
|
/DragonOS-0.1.5/docs/community/code_contribution/ |
D | c-coding-style.md | 126 void *func(char* s, int **p);
|