Home
last modified time | relevance | path

Searched refs:s (Results 1 – 25 of 30) sorted by relevance

12

/DragonOS-0.1.5/kernel/src/common/
Dstring.h13 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/
Dprintk.rs98 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()
Dprintk.c29 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 …]
Dlz4.c197 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/
DMakefile15 $(CC) -E proc.S > _proc.s
16 $(AS) $(ASFLAGS) -o procs.o _proc.s
/DragonOS-0.1.5/kernel/src/smp/
DMakefile9 $(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/
DMakefile8 $(CC) -E entry.S > _entry.s
9 $(AS) $(ASFLAGS) -o entry.o _entry.s
/DragonOS-0.1.5/user/libs/libc/src/
Dprintf.c12 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 …]
Dstring.c3 size_t strlen(const char *s) in strlen() argument
6 while (s[__res] != '\0') in strlen()
DMakefile1 GARBAGE_PATTERNS := *.o *.s~ *.s *.S~ *.c~ *.h~ kernel
Dstdio.c28 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/
DMakefile3 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.gitignore11 *.s
DREADME_EN.md40 &emsp;&emsp;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
DREADME.md130 - Intel® 64 and IA-32 Architectures Software Developer’s Manual
/DragonOS-0.1.5/tools/
Dbuild_gcc_toolchain.sh71 sleep 0.3s
102 sleep 1s
133 sleep 1s
DDockerfile16 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/
Dstring.md9 ``size_t strlen(const char *s)`` : 返回字符串长度
/DragonOS-0.1.5/user/libs/libc/src/include/export/
Dstring.h16 size_t strlen(const char *s);
Dstdio.h58 int puts(const char *s);
/DragonOS-0.1.5/docs/kernel/ktest/
Dktest-framework.md97 [ kTEST FAILED ] Ktest Assertion Failed, file:%s, Line:%d
106 &emsp;&emsp;格式化输出一行以`[ kTEST ] file:%s, Line:%d`开头的日志信息。
/DragonOS-0.1.5/kernel/src/filesystem/fat/
Dentry.rs757 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/
DMakefile5 GARBAGE_PATTERNS := *.o *.s~ *.s *.S~ *.c~ *.h~ sys_api_lib *.a
/DragonOS-0.1.5/user/port/binutils/2.38/
DDockerfile29 && rm /usr/bin/autoconf && ln -s /usr/bin/autoconf2.69 /usr/bin/autoconf
/DragonOS-0.1.5/docs/community/code_contribution/
Dc-coding-style.md126 void *func(char* s, int **p);

12