Home
last modified time | relevance | path

Searched refs:c (Results 1 – 25 of 82) sorted by relevance

1234

/DragonOS-0.1.7/user/libs/libc/src/
Dctype.c4 int isprint(int c) in isprint() argument
6 if (c >= 0x20 && c <= 0x7e) in isprint()
14 int islower(int c) in islower() argument
16 if (c >= 'a' && c <= 'z') in islower()
24 int isupper(int c) in isupper() argument
26 if (c >= 'A' && c <= 'Z') in isupper()
34 int isalpha(int c) in isalpha() argument
36 if (islower(c) || isupper(c)) in isalpha()
44 int isdigit(int c) in isdigit() argument
46 if (c >= '0' && c <= '9') in isdigit()
[all …]
Dstdio.c30 unsigned int c; in getchar() local
31 read(0, &c, 1); in getchar()
32 return c; in getchar()
40 int putchar(int c) in putchar() argument
42 return printf("%c", (char)c); in putchar()
/DragonOS-0.1.7/kernel/src/include/DragonOS/
Dstdint.h145 # define __INT64_C(c) c ## L argument
146 # define __UINT64_C(c) c ## UL argument
148 # define __INT64_C(c) c ## LL argument
149 # define __UINT64_C(c) c ## ULL argument
287 # define INT8_C(c) c argument
288 # define INT16_C(c) c argument
289 # define INT32_C(c) c argument
291 # define INT64_C(c) c ## L argument
293 # define INT64_C(c) c ## LL argument
297 # define UINT8_C(c) c argument
[all …]
/DragonOS-0.1.7/user/libs/libc/src/include/export/
Dstdint.h145 # define __INT64_C(c) c ## L argument
146 # define __UINT64_C(c) c ## UL argument
148 # define __INT64_C(c) c ## LL argument
149 # define __UINT64_C(c) c ## ULL argument
287 # define INT8_C(c) c argument
288 # define INT16_C(c) c argument
289 # define INT32_C(c) c argument
291 # define INT64_C(c) c ## L argument
293 # define INT64_C(c) c ## LL argument
297 # define UINT8_C(c) c argument
[all …]
Dctype.h14 int isalpha(int c);
15 int isdigit(int c);
16 int islower(int c);
17 int isprint(int c);
22 int isspace(int c);
23 int isupper(int c);
26 int isascii(int c);
28 int tolower(int c);
29 int toupper(int c);
Dprintf.h16 #define is_digit(c) ((c) >= '0' && (c) <= '9') // 用来判断是否是数字的宏 argument
/DragonOS-0.1.7/kernel/src/mm/
DMakefile7 mm.o: mm.c
8 $(CC) $(CFLAGS) -c mm.c -o mm.o
10 slab.o: slab.c
11 $(CC) $(CFLAGS) -c slab.c -o slab.o
13 mm-stat.o: mm-stat.c
14 $(CC) $(CFLAGS) -c mm-stat.c -o mm-stat.o
16 vma.o: vma.c
17 $(CC) $(CFLAGS) -c vma.c -o vma.o
19 mmap.o: mmap.c
20 $(CC) $(CFLAGS) -c mmap.c -o mmap.o
[all …]
/DragonOS-0.1.7/kernel/src/ktest/
DMakefile7 ktest.o: ktest.c
8 $(CC) $(CFLAGS) -c ktest.c -o ktest.o
10 bitree.o: test-bitree.c
11 $(CC) $(CFLAGS) -c test-bitree.c -o test-bitree.o
13 kfifo.o: test-kfifo.c
14 $(CC) $(CFLAGS) -c test-kfifo.c -o test-kfifo.o
16 mutex.o: test-mutex.c
17 $(CC) $(CFLAGS) -c test-mutex.c -o test-mutex.o
19 idr.o: test-idr.c
20 $(CC) $(CFLAGS) -c test-idr.c -o test-idr.o
/DragonOS-0.1.7/docs/userland/libc/apis/api-list/
Dctype.md4 ``int isprint(int c)`` : 传入一个字符,判断是否可以被输出
6 ``int islower(int c)`` : 传入一个字符,判断是否是小写字母
8 ``int isupper(int c)`` : 传入一个字符,判断是否是大写字母
10 ``int isalpha(int c)`` : 传入一个字符,判断是否是字母
12 ``int isdigit(int c)`` : 传入一个字符,判断是否是数字
14 ``int toupper(int c)`` : 传入一个小写字母字符,返回这个字母的大写形式
16 ``int tolower(int c)`` : 传入一个大写字母字符,返回这个字母的小写形式
18 ``int isspace(int c)`` : 传入一个字符,判断是否是空白字符
/DragonOS-0.1.7/user/libs/libc/src/math/
DMakefile7 fabs.o: fabs.c
8 $(CC) $(CFLAGS) -c fabs.c -o fabs.o
10 round.o: round.c
11 $(CC) $(CFLAGS) -c round.c -o round.o
13 pow.o: pow.c
14 $(CC) $(CFLAGS) -c pow.c -o pow.o
/DragonOS-0.1.7/kernel/src/common/math/
DMakefile7 fabs.o: fabs.c
8 $(CC) $(CFLAGS) -c fabs.c -o fabs.o
10 round.o: round.c
11 $(CC) $(CFLAGS) -c round.c -o round.o
13 pow.o: pow.c
14 $(CC) $(CFLAGS) -c pow.c -o pow.o
/DragonOS-0.1.7/user/apps/shell/
DMakefile6 shell.o: shell.c
7 $(CC) $(CFLAGS) -c shell.c -o shell.o
9 cmd.o: cmd.c
10 $(CC) $(CFLAGS) -c cmd.c -o cmd.o
12 cmd_test.o: cmd_test.c
13 $(CC) $(CFLAGS) -c cmd_test.c -o cmd_test.o
15 cmd_help.o: cmd_help.c
16 $(CC) $(CFLAGS) -c cmd_help.c -o cmd_help.o
/DragonOS-0.1.7/kernel/src/libs/libUI/
DMakefile6 screen_manager.o: screen_manager.c
7 $(CC) $(CFLAGS) -c screen_manager.c -o screen_manager.o
9 textui.o: textui.c
10 $(CC) $(CFLAGS) -c textui.c -o textui.o
12 textui-render.o: textui-render.c
13 $(CC) $(CFLAGS) -c textui-render.c -o textui-render.o
/DragonOS-0.1.7/kernel/src/driver/interrupt/
DMakefile6 pic.o: 8259A/8259A.c
7 $(CC) $(CFLAGS) -c 8259A/8259A.c -o pic.o
9 pic.o: apic/apic.c apic_timer.o
10 $(CC) $(CFLAGS) -c apic/apic.c -o pic.o
12 apic_timer.o: apic/apic_timer.c
13 $(CC) $(CFLAGS) -c apic/apic_timer.c -o apic/apic_timer.o
/DragonOS-0.1.7/kernel/src/arch/x86_64/include/asm/
Dasm.h28 #define CC_SET(c) "\n\t/* output condition code " #c "*/\n" argument
30 #define CC_OUT(c) "=@cc" #c argument
32 #define CC_SET(c) "\n\tset" #c " %[_cc_" #c "]\n" argument
33 #define CC_OUT(c) [_cc_##c] "=qm" argument
/DragonOS-0.1.7/user/libs/libc/src/sys/
DMakefile7 wait.o: wait.c
8 $(CC) $(CFLAGS) -c wait.c -o wait.o
10 stat.o: stat.c
11 $(CC) $(CFLAGS) -c stat.c -o stat.o
/DragonOS-0.1.7/docs/community/code_contribution/
Dc-coding-style.md23 ```c
51 ```c
67 ```c
82 ```c
95 ```c
105 ```c
116 ```c
124 ```c
131 ```c
137 ```c
[all …]
/DragonOS-0.1.7/kernel/src/driver/pci/
DMakefile7 pci.o: pci.c
8 $(CC) $(CFLAGS) -c pci.c -o pci.o
10 msi.o: msi.c
11 $(CC) $(CFLAGS) -c msi.c -o msi.o
/DragonOS-0.1.7/kernel/src/driver/usb/
DMakefile5 usb.o: usb.c
6 $(CC) $(CFLAGS) -c usb.c -o usb.o
8 xhci.o: xhci/xhci.c
9 $(CC) $(CFLAGS) -c xhci/xhci.c -o xhci/xhci.o
/DragonOS-0.1.7/kernel/src/driver/disk/
DMakefile6 ata.o: ata.c
7 $(CC) $(CFLAGS) -c ata.c -o ata.o
9 ahci.o: ahci/ahci.c
10 $(CC) $(CFLAGS) -c ahci/ahci.c -o ahci/ahci.o
/DragonOS-0.1.7/kernel/src/exception/
DMakefile11 trap.o: trap.c
12 $(CC) $(CFLAGS) -c trap.c -o trap.o
14 irq.o: irq.c
15 $(CC) $(CFLAGS) -c irq.c -o irq.o
/DragonOS-0.1.7/docs/kernel/ktest/
Dktest-framework.md11 &emsp;&emsp;假如您要对kfifo模块进行自动测试,您可以在`ktest/`下,创建一个名为`test-kfifo.c`的测试文件,并编写Makefile。
13 &emsp;&emsp;在`test-kfifo.c`中,包含`ktest_utils.h`和`ktest.h`这两个头文件。
15 &emsp;&emsp;您需要像下面这样,在`test-kfifo.c`中,创建一个测试用例函数表,并把测试用例函数填写到其中:
16 ```c
24 ```c
43 ```c
55 &emsp;&emsp;我们可以在pid≥1的内核线程中发起测试。由于DragonOS目前尚不完善,您可以在`process/process.c`中的`initial_kernel_thread()…
57 ```c
/DragonOS-0.1.7/kernel/src/debug/
DMakefile7 kallsyms.o: kallsyms.c
8 gcc -o kallsyms kallsyms.c
11 traceback.o: traceback/traceback.c
12 $(CC) $(CFLAGS) -c traceback/traceback.c -o traceback/traceback.o
/DragonOS-0.1.7/kernel/src/common/
Dprintk.h16 #define is_digit(c) ((c) >= '0' && (c) <= '9') // 用来判断是否是数字的宏 argument
/DragonOS-0.1.7/user/apps/about/
DMakefile10 about.o: version_header about.c
11 $(CC) $(CFLAGS) -c about.c -o about.o
14 version_header: about.c

1234