Home
last modified time | relevance | path

Searched refs:tv (Results 1 – 4 of 4) sorted by relevance

/DragonOS-0.1.8/kernel/src/ktest/
Dtest-bitree.c13 uint64_t tv; member
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()
41 tv1->tv = 20; in ktest_bitree_case1()
58 tv2->tv = 10; in ktest_bitree_case1()
67 tv3->tv = 30; in ktest_bitree_case1()
76 assert(((struct test_value_t *)tree->bt_node->left->value)->tv == tv2->tv); in ktest_bitree_case1()
77 assert(((struct test_value_t *)tree->bt_node->right->value)->tv == tv3->tv); in ktest_bitree_case1()
89 tv4->tv = 15; in ktest_bitree_case1()
97 assert(((struct test_value_t *)node2->right->value)->tv == tv4->tv); in ktest_bitree_case1()
[all …]
/DragonOS-0.1.8/user/apps/test_gettimeofday/
Dmain.c10 struct timeval *tv = malloc(sizeof(struct timeval)); in main() local
21 gettimeofday(tv, NULL); in main()
22 printf("tv = %ld.%06ld\n", tv->tv_sec, tv->tv_usec); in main()
/DragonOS-0.1.8/kernel/src/time/
Dsyscall.rs80 tv: *mut PosixTimeval, in gettimeofday()
85 if tv == null_mut() { in gettimeofday()
90 (*tv).tv_sec = posix_time.tv_sec; in gettimeofday()
91 (*tv).tv_usec = posix_time.tv_usec; in gettimeofday()
/DragonOS-0.1.8/kernel/src/debug/
Dkallsyms.c20 #define symbol_to_write(vaddr, tv, etv) \ argument
21 ((vaddr < tv || vaddr > etv) ? 0 : 1)