Searched refs:p_fd (Results 1 – 4 of 4) sorted by relevance
/external/toybox/toys/pending/ |
D | arping.c | 236 int p_fd = xsocket(AF_INET, SOCK_DGRAM, 0); in arping_main() local 238 if (setsockopt(p_fd, SOL_SOCKET, SO_BINDTODEVICE, TT.iface, in arping_main() 245 xbind(p_fd, (struct sockaddr*)&saddr, sizeof(saddr)); in arping_main() 251 xconnect(p_fd, (struct sockaddr *) &saddr, sizeof(saddr)); in arping_main() 255 xclose(p_fd); in arping_main()
|
D | traceroute.c | 612 int p_fd = xsocket(AF_INET6, SOCK_DGRAM, 0); in traceroute_main() local 613 if (toys.optflags & FLAG_i) bind_to_interface(p_fd); in traceroute_main() 616 xconnect(p_fd, (struct sockaddr *)&dest, sizeof(struct sockaddr_in6)); in traceroute_main() 617 if(getsockname(p_fd, (struct sockaddr *)&prb, &len)) in traceroute_main() 619 close(p_fd); in traceroute_main()
|
/external/python/cpython2/Modules/ |
D | posixmodule.c | 4783 struct pipe_ref p_fd[3]; in _PyPopen() local 4843 pipe_err = pipe((int *)&p_fd[i++]); in _PyPopen() 4849 close(p_fd[i].wr); in _PyPopen() 4850 close(p_fd[i].rd); in _PyPopen() 4862 if (dup2(p_fd[0].rd, 0) == 0) in _PyPopen() 4864 close(p_fd[0].rd); in _PyPopen() 4865 i = fcntl(p_fd[0].wr, F_GETFD, 0); in _PyPopen() 4866 fcntl(p_fd[0].wr, F_SETFD, i | FD_CLOEXEC); in _PyPopen() 4867 if ((p_s[0] = fdopen(p_fd[0].wr, wr_mode)) == NULL) in _PyPopen() 4869 close(p_fd[0].wr); in _PyPopen() [all …]
|
/external/mesa3d/src/freedreno/vulkan/ |
D | tu_drm.c | 557 sync_export(VkDevice _device, struct tu_syncobj *sync, bool sync_fd, int *p_fd) in sync_export() argument 573 *p_fd = handle.fd; in sync_export()
|