/DragonOS-0.1.3/kernel/src/common/ |
D | bitree.h | 17 int (*cmp)(void *a, void *b); // 比较函数 a>b 返回1, a==b返回0, a<b返回-1 33 struct bt_root_t *bt_create_tree(struct bt_node_t *node, int (*cmp)(void *a, void *b), int (*releas…
|
/DragonOS-0.1.3/kernel/src/libs/ |
D | bitree.c | 8 #define smaller(root, a, b) (root->cmp((a)->value, (b)->value) == -1) argument 9 #define equal(root, a, b) (root->cmp((a)->value, (b)->value) == 0) argument 10 #define greater(root, a, b) (root->cmp((a)->value, (b)->value) == 1) argument 20 struct bt_root_t *bt_create_tree(struct bt_node_t *node, int (*cmp)(void *a, void *b), int (*releas… in bt_create_tree() argument
|
D | cpu.c | 112 uint32_t a = 0, b = 0, c = 0, d = 0; in cpu_get_core_crysral_freq() local 116 : "=a"(a), "=b"(b), "=c"(c), "=d"(d) in cpu_get_core_crysral_freq()
|
D | idr.c | 10 static void __swap(struct idr_layer **a, struct idr_layer **b) in __swap() argument 13 *a = *b, *b = t; in __swap()
|
D | lz4.c | 2167 #define MIN(a, b) ((a) < (b) ? (a) : (b)) argument
|
/DragonOS-0.1.3/tools/ |
D | .gdbinit | 4 b Start_Kernel
|
/DragonOS-0.1.3/docs/userland/libc/apis/api-list/ |
D | string.md | 11 ``int strcmp(const char *a,const char *b)`` 比较字符串的字典序
|
/DragonOS-0.1.3/kernel/src/ktest/ |
D | test-bitree.c | 15 static int compare(void *a, void *b) in compare() argument 17 if (((struct test_value_t *)a)->tv > ((struct test_value_t *)b)->tv) in compare() 19 else if (((struct test_value_t *)a)->tv == ((struct test_value_t *)b)->tv) in compare()
|
D | test-idr.c | 363 int M = N / i, T = M / 3, b = 2 * T; in ktest_idr_case4() local 370 for (int j = b; j >= T; j--) in ktest_idr_case4() 378 for (int j = b + 1; j < M; j++) in ktest_idr_case4()
|
/DragonOS-0.1.3/kernel/src/libs/libUI/ |
D | textui-render.c | 17 #define calculate_color(r, g, b) ((((r & 0xff) << 16) | ((g & 0xff) << 8) | (b & 0xff)) & 0x00fffff… argument
|
/DragonOS-0.1.3/docs/ |
D | make.bat | 25 exit /b 1
|
/DragonOS-0.1.3/kernel/src/sched/ |
D | cfs.rs | 67 .sort_by(|a, b| (*a).virtual_runtime.cmp(&(*b).virtual_runtime)); in sort()
|
/DragonOS-0.1.3/docs/community/code_contribution/ |
D | coding-style.md | 56 if(b)
|
/DragonOS-0.1.3/kernel/src/driver/interrupt/apic/ |
D | apic.c | 273 uint a, b, c, d; in apic_local_apic_init() local 275 cpu_cpuid(1, 0, &a, &b, &c, &d); in apic_local_apic_init()
|
/DragonOS-0.1.3/kernel/src/ipc/ |
D | signal_types.rs | 596 pub fn sigset_equal(a: &sigset_t, b: &sigset_t) -> bool { in sigset_equal() 598 return *a == *b; in sigset_equal()
|
/DragonOS-0.1.3/kernel/src/driver/disk/ahci/ |
D | ahci.h | 291 uint8_t b : 1; // BIST member
|
/DragonOS-0.1.3/ |
D | LICENSE | 98 b) You must cause any work that you distribute or publish, that in 142 b) Accompany it with a written offer, valid for at least three 153 an offer, in accord with Subsection b above.)
|