/DragonOS-0.1.2/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 | ctype.h | 10 int isalnum(int c); 11 int isalpha(int c); 12 int isdigit(int c); 13 int islower(int c); 14 int isprint(int c); 15 int isgraph(int c); 16 int iscntrl(int c); 17 int isgraph(int c); 18 int ispunct(int c); 19 int isspace(int c); [all …]
|
D | printf.h | 13 #define is_digit(c) ((c) >= '0' && (c) <= '9') // 用来判断是否是数字的宏 argument
|
/DragonOS-0.1.2/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.2/kernel/src/mm/ |
D | Makefile | 7 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.2/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.2/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.2/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.2/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.2/user/apps/shell/ |
D | Makefile | 6 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.2/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.2/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.2/kernel/src/exception/ |
D | Makefile | 11 trap.o: trap.c 12 $(CC) $(CFLAGS) -c trap.c -o trap.o 14 softirq.o: softirq.c 15 $(CC) $(CFLAGS) -c softirq.c -o softirq.o 17 irq.o: irq.c 18 $(CC) $(CFLAGS) -c irq.c -o irq.o
|
/DragonOS-0.1.2/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.2/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.2/kernel/src/driver/pci/ |
D | Makefile | 7 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.2/docs/community/code_contribution/ |
D | 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.2/kernel/src/time/ |
D | Makefile | 6 timer.o: timer.c 7 $(CC) $(CFLAGS) -c timer.c -o timer.o 9 sleep.o: sleep.c 10 $(CC) $(CFLAGS) -c sleep.c -o sleep.o
|
/DragonOS-0.1.2/kernel/src/driver/usb/ |
D | Makefile | 5 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.2/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.2/kernel/src/driver/timers/ |
D | Makefile | 6 rtc.o: rtc/rtc.c 7 $(CC) $(CFLAGS) -c rtc/rtc.c -o rtc/rtc.o 9 HPET.o: HPET/HPET.c 10 $(CC) $(CFLAGS) -c HPET/HPET.c -o HPET/HPET.o
|
/DragonOS-0.1.2/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.2/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.2/kernel/src/libs/libELF/ |
D | Makefile | 7 elf.o: elf.c 8 $(CC) $(CFLAGS) -c elf.c -o elf.o
|
/DragonOS-0.1.2/kernel/src/driver/acpi/ |
D | Makefile | 7 acpi.o: acpi.c 8 $(CC) $(CFLAGS) -c acpi.c -o acpi.o
|