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.cpp553 int clone_result = CloneStartRoutine(GetPidCachingCloneStartRoutine); in TEST() local
554 ASSERT_NE(clone_result, -1); in TEST()
558 AssertChildExited(clone_result, 123); in TEST()
570 int clone_result = CloneStartRoutine(GetTidCachingCloneStartRoutine); in TEST() local
571 ASSERT_NE(clone_result, -1); in TEST()
575 AssertChildExited(clone_result, 123); in TEST()
585 int clone_result = CloneStartRoutine(CloneChildExit); in TEST() local
586 ASSERT_NE(-1, clone_result); in TEST()
591 AssertChildExited(clone_result, 33); in TEST()