Searched refs:sock_pair (Results 1 – 2 of 2) sorted by relevance
113 int sock_pair[5][2]; in StartSymbolizerSubprocess() local115 if (pipe(sock_pair[i]) == -1) { in StartSymbolizerSubprocess()117 internal_close(sock_pair[j][0]); in StartSymbolizerSubprocess()118 internal_close(sock_pair[j][1]); in StartSymbolizerSubprocess()123 } else if (sock_pair[i][0] > 2 && sock_pair[i][1] > 2) { in StartSymbolizerSubprocess()125 infd = sock_pair[i]; in StartSymbolizerSubprocess()127 outfd = sock_pair[i]; in StartSymbolizerSubprocess()129 if (sock_pair[j] == infd) continue; in StartSymbolizerSubprocess()130 internal_close(sock_pair[j][0]); in StartSymbolizerSubprocess()131 internal_close(sock_pair[j][1]); in StartSymbolizerSubprocess()
201 int sock_pair[2]; in IsAccessibleMemoryRange() local202 if (pipe(sock_pair)) in IsAccessibleMemoryRange()205 internal_write(sock_pair[1], reinterpret_cast<void *>(beg), size); in IsAccessibleMemoryRange()214 internal_close(sock_pair[0]); in IsAccessibleMemoryRange()215 internal_close(sock_pair[1]); in IsAccessibleMemoryRange()