/DragonOS-0.1.8/user/libs/libc/src/ |
D | ctype.c | 4 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 …]
|
D | stdio.c | 30 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.8/user/libs/libc/src/include/export/ |
D | stdint.h | 145 # 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 …]
|
D | ctype.h | 14 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);
|
D | printf.h | 16 #define is_digit(c) ((c) >= '0' && (c) <= '9') // 用来判断是否是数字的宏 argument
|
/DragonOS-0.1.8/kernel/src/include/DragonOS/ |
D | stdint.h | 145 # 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.8/kernel/src/ktest/ |
D | Makefile | 7 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.8/docs/userland/libc/apis/api-list/ |
D | ctype.md | 4 ``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.8/kernel/src/driver/pci/ |
D | Makefile | 6 pci.o: pci.c 7 $(CC) $(CFLAGS) -c pci.c -o pci.o 9 pci_irq.o: pci_irq.c 10 $(CC) $(CFLAGS) -c pci_irq.c -o pci_irq.o 12 msi.o: msi.c 13 $(CC) $(CFLAGS) -c msi.c -o msi.o
|
/DragonOS-0.1.8/user/libs/libc/src/math/ |
D | Makefile | 7 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.8/kernel/src/common/math/ |
D | Makefile | 7 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.8/kernel/src/libs/libUI/ |
D | Makefile | 6 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.8/user/apps/shell/ |
D | Makefile | 8 shell.o: shell.c 9 $(CC) $(CFLAGS) -c shell.c -o shell.o 11 cmd.o: cmd.c 12 $(CC) $(CFLAGS) -c cmd.c -o cmd.o 14 cmd_test.o: cmd_test.c 15 $(CC) $(CFLAGS) -c cmd_test.c -o cmd_test.o 17 cmd_help.o: cmd_help.c 18 $(CC) $(CFLAGS) -c cmd_help.c -o cmd_help.o
|
/DragonOS-0.1.8/kernel/src/driver/interrupt/ |
D | Makefile | 6 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.8/kernel/src/arch/x86_64/include/asm/ |
D | asm.h | 28 #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.8/user/libs/libc/src/sys/ |
D | Makefile | 7 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.8/docs/community/code_contribution/ |
D | c-coding-style.md | 23 ```c 51 ```c 67 ```c 82 ```c 95 ```c 105 ```c 116 ```c 124 ```c 131 ```c 137 ```c [all …]
|
/DragonOS-0.1.8/kernel/src/driver/disk/ |
D | Makefile | 6 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.8/kernel/src/exception/ |
D | Makefile | 11 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.8/docs/kernel/ktest/ |
D | ktest-framework.md | 11   假如您要对kfifo模块进行自动测试,您可以在`ktest/`下,创建一个名为`test-kfifo.c`的测试文件,并编写Makefile。 13   在`test-kfifo.c`中,包含`ktest_utils.h`和`ktest.h`这两个头文件。 15   您需要像下面这样,在`test-kfifo.c`中,创建一个测试用例函数表,并把测试用例函数填写到其中: 16 ```c 24 ```c 43 ```c 55   我们可以在pid≥1的内核线程中发起测试。由于DragonOS目前尚不完善,您可以在`process/process.c`中的`initial_kernel_thread()… 57 ```c
|
/DragonOS-0.1.8/kernel/src/debug/ |
D | Makefile | 7 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.8/kernel/src/common/ |
D | printk.h | 16 #define is_digit(c) ((c) >= '0' && (c) <= '9') // 用来判断是否是数字的宏 argument
|
/DragonOS-0.1.8/user/libs/libKeyboard/ |
D | Makefile | 6 keyboard.o: keyboard.c 7 $(CC) $(CFLAGS) -c keyboard.c -o keyboard.o
|
/DragonOS-0.1.8/kernel/src/driver/video/ |
D | Makefile | 7 video.o: video.c 8 $(CC) $(CFLAGS) -c video.c -o video.o
|
/DragonOS-0.1.8/kernel/src/driver/multiboot2/ |
D | Makefile | 6 multiboot2.o: multiboot2.c 7 $(CC) $(CFLAGS) -c multiboot2.c -o multiboot2.o
|