Home
last modified time | relevance | path

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

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_symbolizer_process_libcdep.cc153 int sock_pair[5][2]; in StartSymbolizerSubprocess() local
155 if (pipe(sock_pair[i]) == -1) { in StartSymbolizerSubprocess()
157 internal_close(sock_pair[j][0]); in StartSymbolizerSubprocess()
158 internal_close(sock_pair[j][1]); in StartSymbolizerSubprocess()
163 } else if (sock_pair[i][0] > 2 && sock_pair[i][1] > 2) { in StartSymbolizerSubprocess()
165 infd = sock_pair[i]; in StartSymbolizerSubprocess()
167 outfd = sock_pair[i]; in StartSymbolizerSubprocess()
169 if (sock_pair[j] == infd) continue; in StartSymbolizerSubprocess()
170 internal_close(sock_pair[j][0]); in StartSymbolizerSubprocess()
171 internal_close(sock_pair[j][1]); in StartSymbolizerSubprocess()
Dsanitizer_posix_libcdep.cc188 int sock_pair[2]; in IsAccessibleMemoryRange() local
189 if (pipe(sock_pair)) in IsAccessibleMemoryRange()
192 internal_write(sock_pair[1], reinterpret_cast<void *>(beg), size); in IsAccessibleMemoryRange()
201 internal_close(sock_pair[0]); in IsAccessibleMemoryRange()
202 internal_close(sock_pair[1]); in IsAccessibleMemoryRange()