Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dclone.cpp93 int clone_result; in clone() local
95 clone_result = __bionic_clone(flags, child_stack, parent_tid, new_tls, child_tid, fn, arg); in clone()
98 clone_result = syscall(__NR_clone, flags, child_stack, parent_tid, child_tid, new_tls); in clone()
100 clone_result = syscall(__NR_clone, flags, child_stack, parent_tid, new_tls, child_tid); in clone()
104 if (clone_result != 0) { in clone()
118 return clone_result; in clone()
/bionic/tests/
Dunistd_test.cpp545 int clone_result = CloneStartRoutine(GetPidCachingCloneStartRoutine); in TEST() local
546 ASSERT_NE(clone_result, -1); in TEST()
550 AssertChildExited(clone_result, 123); in TEST()
562 int clone_result = CloneStartRoutine(GetTidCachingCloneStartRoutine); in TEST() local
563 ASSERT_NE(clone_result, -1); in TEST()
567 AssertChildExited(clone_result, 123); in TEST()
577 int clone_result = CloneStartRoutine(CloneChildExit); in TEST() local
578 ASSERT_NE(-1, clone_result); in TEST()
583 AssertChildExited(clone_result, 33); in TEST()