Home
last modified time | relevance | path

Searched refs:b (Results 1 – 17 of 17) sorted by relevance

/DragonOS-0.1.3/kernel/src/common/
Dbitree.h17 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/
Dbitree.c8 #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
Dcpu.c112 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()
Didr.c10 static void __swap(struct idr_layer **a, struct idr_layer **b) in __swap() argument
13 *a = *b, *b = t; in __swap()
Dlz4.c2167 #define MIN(a, b) ((a) < (b) ? (a) : (b)) argument
/DragonOS-0.1.3/tools/
D.gdbinit4 b Start_Kernel
/DragonOS-0.1.3/docs/userland/libc/apis/api-list/
Dstring.md11 ``int strcmp(const char *a,const char *b)`` 比较字符串的字典序
/DragonOS-0.1.3/kernel/src/ktest/
Dtest-bitree.c15 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()
Dtest-idr.c363 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/
Dtextui-render.c17 #define calculate_color(r, g, b) ((((r & 0xff) << 16) | ((g & 0xff) << 8) | (b & 0xff)) & 0x00fffff… argument
/DragonOS-0.1.3/docs/
Dmake.bat25 exit /b 1
/DragonOS-0.1.3/kernel/src/sched/
Dcfs.rs67 .sort_by(|a, b| (*a).virtual_runtime.cmp(&(*b).virtual_runtime)); in sort()
/DragonOS-0.1.3/docs/community/code_contribution/
Dcoding-style.md56 if(b)
/DragonOS-0.1.3/kernel/src/driver/interrupt/apic/
Dapic.c273 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/
Dsignal_types.rs596 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/
Dahci.h291 uint8_t b : 1; // BIST member
/DragonOS-0.1.3/
DLICENSE98 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.)