Home
last modified time | relevance | path

Searched refs:p_fd (Results 1 – 3 of 3) sorted by relevance

/device/generic/goldfish-opengl/system/OpenglSystemCommon/
Dgralloc_cb.h42 cb_handle_t(int p_fd, int p_ashmemSize, int p_usage, in cb_handle_t()
46 fd(p_fd), in cb_handle_t()
77 void setFd(int p_fd) { in setFd()
78 if (p_fd >= 0) { in setFd()
81 fd = p_fd; in setFd()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Efi/
Dedk2module.c2913 struct pipe_ref p_fd[3]; in _PyPopen() local
2973 pipe_err = pipe((int *)&p_fd[i++]); in _PyPopen()
2979 close(p_fd[i].wr); in _PyPopen()
2980 close(p_fd[i].rd); in _PyPopen()
2992 if (dup2(p_fd[0].rd, 0) == 0) in _PyPopen()
2994 close(p_fd[0].rd); in _PyPopen()
2995 i = fcntl(p_fd[0].wr, F_GETFD, 0); in _PyPopen()
2996 fcntl(p_fd[0].wr, F_SETFD, i | FD_CLOEXEC); in _PyPopen()
2997 if ((p_s[0] = fdopen(p_fd[0].wr, wr_mode)) == NULL) in _PyPopen()
2999 close(p_fd[0].wr); in _PyPopen()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dposixmodule.c4503 struct pipe_ref p_fd[3]; in _PyPopen() local
4563 pipe_err = pipe((int *)&p_fd[i++]); in _PyPopen()
4569 close(p_fd[i].wr); in _PyPopen()
4570 close(p_fd[i].rd); in _PyPopen()
4582 if (dup2(p_fd[0].rd, 0) == 0) in _PyPopen()
4584 close(p_fd[0].rd); in _PyPopen()
4585 i = fcntl(p_fd[0].wr, F_GETFD, 0); in _PyPopen()
4586 fcntl(p_fd[0].wr, F_SETFD, i | FD_CLOEXEC); in _PyPopen()
4587 if ((p_s[0] = fdopen(p_fd[0].wr, wr_mode)) == NULL) in _PyPopen()
4589 close(p_fd[0].wr); in _PyPopen()
[all …]