Home
last modified time | relevance | path

Searched refs:child (Results 1 – 25 of 36) sorted by relevance

12

/l4re-core-master/uclibc/lib/contrib/uclibc/test/nptl/
A Dtst-cpuclock1.c56 pid_t dead_child, child; in do_test() local
87 child = fork (); in do_test()
88 if (child == 0) in do_test()
93 if (child < 0) in do_test()
99 e = clock_getcpuclockid (child, &cl); in do_test()
108 child, strerror (e)); in do_test()
147 child, after.tv_sec, after.tv_nsec); in do_test()
206 if (kill (child, SIGKILL) != 0) in do_test()
227 child, dead.tv_sec, dead.tv_nsec); in do_test()
246 if (waitpid (child, &x, 0) != child) in do_test()
[all …]
A Dtst-cputimer3.c43 static pid_t child; variable
47 if (child <= 0) in cleanup_child()
49 if (kill (child, SIGKILL) < 0 && errno != ESRCH) in cleanup_child()
50 printf ("cannot kill child %d: %m\n", child); in cleanup_child()
55 if (waitpid (child, &status, 0) != child) in cleanup_child()
56 printf ("waitpid %d: %m\n", child); in cleanup_child()
74 child = fork (); in setup_test()
76 if (child == 0) in setup_test()
85 if (child < 0) in setup_test()
95 int e = clock_getcpuclockid (child, &child_clock); in setup_test()
A Dtst-getpid3.c51 pid_t child = fork (); in do_test() local
52 if (child == -1) in do_test()
57 else if (child == 0) in do_test()
89 if (TEMP_FAILURE_RETRY (waitpid (child, &status, 0)) != child) in do_test()
92 kill (child, SIGKILL); in do_test()
A Dtst-fork2.c49 pid_t child = fork (); in main() local
50 if (child == 0) in main()
75 else if (child == -1) in main()
82 if (TEMP_FAILURE_RETRY (waitpid (child, &status, 0)) != child) in main()
A Dtst-fork3.c47 pid_t child = fork (); in tf1() local
48 if (child == 0) in tf1()
73 else if (child == -1) in tf1()
80 if (TEMP_FAILURE_RETRY (waitpid (child, &status, 0)) != child) in tf1()
A Dtst-basic7.c45 child (void *arg) in child() function
62 err = pthread_create (&tid, NULL, child, NULL); in do_test()
/l4re-core-master/uclibc/lib/contrib/uclibc/extra/config/
A Dconf.c238 struct menu *child; in conf_choice() local
273 for (child = menu->list; child; child = child->next) { in conf_choice()
332 for (child = menu->list; child; child = child->next) { in conf_choice()
333 if (!child->sym || !menu_is_visible(child)) in conf_choice()
338 if (!child) in conf_choice()
345 for (child = child->list; child; child = child->next) { in conf_choice()
347 conf(child); in conf_choice()
358 struct menu *child; in conf() local
414 for (child = menu->list; child; child = child->next) in conf()
415 conf(child); in conf()
[all …]
A Dmconf.c471 struct menu *child; in build_conf() local
536 for (child = menu->list; child; child = child->next) { in build_conf()
537 if (menu_is_visible(child) && child->sym == def_sym) in build_conf()
538 def_menu = child; in build_conf()
641 for (child = menu->list; child; child = child->next) in build_conf()
642 build_conf(child); in build_conf()
802 struct menu *child; in conf_choice() local
812 for (child = menu->list; child; child = child->next) { in conf_choice()
815 if (child->sym) in conf_choice()
838 if (!child->sym) in conf_choice()
[all …]
A Dnconf.c737 struct menu *child; in build_conf() local
798 for (child = menu->list; child; child = child->next) { in build_conf()
799 if (menu_is_visible(child) && child->sym == def_sym) in build_conf()
800 def_menu = child; in build_conf()
914 for (child = menu->list; child; child = child->next) in build_conf()
915 build_conf(child); in build_conf()
1251 for (i = 0, child = menu->list; child; child = child->next) { in conf_choice()
1258 else if (child->sym) in conf_choice()
1329 child = item_data(); in conf_choice()
1330 if (!child || !menu_is_visible(child) || !child->sym) in conf_choice()
[all …]
A Dgconf.c1115 struct menu *child; in fill_row() local
1121 for (child = menu->list; child; child = child->next) { in fill_row()
1124 def_menu = child; in fill_row()
1362 struct menu *child; in display_tree() local
1370 for (child = menu->list; child; child = child->next) { in display_tree()
1371 prop = child->prompt; in display_tree()
1372 sym = child->sym; in display_tree()
1389 place_node(child, fill_row(child)); in display_tree()
1452 struct menu *child; in fixup_rootmenu() local
1456 for (child = menu->list; child; child = child->next) { in fixup_rootmenu()
[all …]
A Dkxgettext.c173 struct menu *child; in menu_build_message_list() local
184 for (child = menu->list; child != NULL; child = child->next) in menu_build_message_list()
185 if (child->prompt != NULL) in menu_build_message_list()
186 menu_build_message_list(child); in menu_build_message_list()
A Dqconf.cc598 struct menu* child; in updateMenuList() local
613 for (child = menu->list; child; child = child->next) { in updateMenuList()
615 type = child->prompt ? child->prompt->type : P_UNKNOWN; in updateMenuList()
623 if (child->flags & MENU_ROOT) in updateMenuList()
631 if (!menuSkip(child)) { in updateMenuList()
632 if (!child->sym && !child->list && !child->prompt) in updateMenuList()
1726 struct menu *child; in fixup_rootmenu() local
1730 for (child = menu->list; child; child = child->next) { in fixup_rootmenu()
1731 if (child->prompt && child->prompt->type == P_MENU) { in fixup_rootmenu()
1733 fixup_rootmenu(child); in fixup_rootmenu()
[all …]
A Dmenu.c453 struct menu *child; in menu_is_empty() local
455 for (child = menu->list; child; child = child->next) { in menu_is_empty()
456 if (menu_is_visible(child)) in menu_is_empty()
464 struct menu *child; in menu_is_visible() local
489 for (child = menu->list; child; child = child->next) { in menu_is_visible()
490 if (menu_is_visible(child)) { in menu_is_visible()
/l4re-core-master/uclibc/lib/contrib/uclibc/test/malloc/
A Dtst-mallocfork.c14 pid_t child = vfork (); in sig_handler() local
15 if (child == 0) in sig_handler()
17 TEMP_FAILURE_RETRY (waitpid (child, NULL, 0)); in sig_handler()
37 pid_t child = vfork (); in do_test() local
38 if (child == 0) in do_test()
45 TEMP_FAILURE_RETRY (waitpid (child, NULL, 0)); in do_test()
/l4re-core-master/uclibc/lib/contrib/uclibc/test/setjmp/
A Dtst-vfork-longjmp.c22 pid_t child; in execute_child() local
23 child = vfork(); in execute_child()
24 if (child == 0) { in execute_child()
28 } else if (child == 1) in execute_child()
39 pid_t child; in check_sig_mask() local
41 child = vfork(); in check_sig_mask()
42 if (child == 0) { in check_sig_mask()
58 } else if (child == 1) in check_sig_mask()
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads.old/
A Dptfork.c65 struct handler_list prepare, parent, child; member
70 void (*child)(void)) in pthread_atfork()
81 pthread_insert_list(&pthread_atfork_child, child, &block->child, 1); in pthread_atfork()
99 struct handler_list * prepare, * child, * parent; in __fork() local
103 child = pthread_atfork_child; in __fork()
133 pthread_call_handlers(child); in __fork()
159 void (*child)(void))
/l4re-core-master/cxx/lib/tl/include/bits/
A Dbst_iter.h141 Node *n = Node_op::child(_n, Dir::L); in _downmost()
157 _r = _n = Node_op::child(_r, Dir::R); in inc()
162 if (Node_op::child(_n, Dir::R)) in inc()
164 _n = Node_op::child(_n, Dir::R); in inc()
176 q = Node_op::child(q, Dir::L); in inc()
178 else if (_n == q || Node_op::child(q, Dir::R) == _n) in inc()
184 q = Node_op::child(q, Dir::R); in inc()
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads/
A Dpthread_atfork.c50 __pthread_atfork (prepare, parent, child)
53 void (*child) (void); variable
55 return __register_atfork (prepare, parent, child,
60 void (*child) (void)) attribute_hidden;
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads/sysdeps/pthread/
A Dmalloc-machine.h46 # define thread_atfork(prepare, parent, child) \ argument
47 __register_atfork (prepare, parent, child, __dso_handle)
49 # define thread_atfork(prepare, parent, child) \ argument
50 __register_atfork (prepare, parent, child, \
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/pthread/
A Dmalloc-machine.h43 # define thread_atfork(prepare, parent, child) \ argument
46 atfork_mem.child_handler = child; \
51 # define thread_atfork(prepare, parent, child) \ argument
54 atfork_mem.child_handler = child; \
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads/sysdeps/unix/sysv/linux/hppa/
A Dmalloc-machine.h52 # define thread_atfork(prepare, parent, child) \ argument
53 __register_atfork (prepare, parent, child, __dso_handle)
55 # define thread_atfork(prepare, parent, child) \ argument
56 __register_atfork (prepare, parent, child, \
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads/sysdeps/unix/sysv/linux/
A Dregister-atfork.c25 __register_atfork (prepare, parent, child, dso_handle)
28 void (*child) (void); variable
55 if (child != NULL)
67 new_child->handler = child;
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/
A Dpthread_atfork.c50 void (*child) (void)) in __pthread_atfork()
52 return __register_atfork (prepare, parent, child, in __pthread_atfork()
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/unix/sysv/linux/
A Dregister-atfork.c85 void (*child) (void), in __register_atfork()
98 newp->child_handler = child; in __register_atfork()
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/stdlib/
A Dsystem.c248 pid_t child = *(pid_t *) arg; in cancel_handler() local
251 INTERNAL_SYSCALL (kill, err, 2, child, SIGKILL); in cancel_handler()
253 TEMP_FAILURE_RETRY (waitpid (child, NULL, 0)); in cancel_handler()

Completed in 41 milliseconds

12