Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_posix_libcdep.cpp103 int sock_pair[5][2]; in CreateTwoHighNumberedPipes()
105 if (pipe(sock_pair[i]) == -1) { in CreateTwoHighNumberedPipes()
107 internal_close(sock_pair[j][0]); in CreateTwoHighNumberedPipes()
108 internal_close(sock_pair[j][1]); in CreateTwoHighNumberedPipes()
111 } else if (sock_pair[i][0] > 2 && sock_pair[i][1] > 2) { in CreateTwoHighNumberedPipes()
113 infd = sock_pair[i]; in CreateTwoHighNumberedPipes()
115 outfd = sock_pair[i]; in CreateTwoHighNumberedPipes()
117 if (sock_pair[j] == infd) continue; in CreateTwoHighNumberedPipes()
118 internal_close(sock_pair[ in CreateTwoHighNumberedPipes()
102 int sock_pair[5][2]; CreateTwoHighNumberedPipes() local
[all...]
H A Dsanitizer_posix_libcdep.cpp295 int sock_pair[2]; in IsAccessibleMemoryRange() local
296 if (pipe(sock_pair)) in IsAccessibleMemoryRange()
299 internal_write(sock_pair[1], reinterpret_cast<void *>(beg), size); in IsAccessibleMemoryRange()
308 internal_close(sock_pair[0]); in IsAccessibleMemoryRange()
309 internal_close(sock_pair[1]); in IsAccessibleMemoryRange()