Home
last modified time | relevance | path

Searched refs:clone_result (Results 1 – 2 of 2) sorted by relevance

/bionic/libc/bionic/
Dclone.cpp101 int clone_result; in clone() local
103 clone_result = __bionic_clone(flags, child_stack, parent_tid, new_tls, child_tid, fn, arg); in clone()
106 clone_result = syscall(__NR_clone, flags, child_stack, parent_tid, child_tid, new_tls); in clone()
108 clone_result = syscall(__NR_clone, flags, child_stack, parent_tid, new_tls, child_tid); in clone()
112 if (clone_result != 0) { in clone()
126 return clone_result; in clone()
/bionic/tests/
Dunistd_test.cpp601 int clone_result = CloneStartRoutine(GetPidCachingCloneStartRoutine); in TEST() local
602 ASSERT_NE(clone_result, -1); in TEST()
606 AssertChildExited(clone_result, 123); in TEST()
618 int clone_result = CloneStartRoutine(GetTidCachingCloneStartRoutine); in TEST() local
619 ASSERT_NE(clone_result, -1); in TEST()
623 AssertChildExited(clone_result, 123); in TEST()
633 int clone_result = CloneStartRoutine(CloneChildExit); in TEST() local
634 ASSERT_NE(-1, clone_result); in TEST()
639 AssertChildExited(clone_result, 33); in TEST()