OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dupFd
(Results
1 - 2
of
2
) sorted by null
/frameworks/base/core/jni/
android_view_InputChannel.cpp
204
int
dupFd
= dup(rawFd);
205
if (
dupFd
< 0) {
212
InputChannel* inputChannel = new InputChannel(name,
dupFd
);
/frameworks/native/libs/binder/
Parcel.cpp
770
int
dupFd
= dup(fd);
775
int dupErrno =
dupFd
< 0 ? errno : 0;
778
int dupFlags = fcntl(
dupFd
, F_GETFD);
780
if (
dupFd
< 0 || fdFlags == -1 || dupFlags == -1) {
783
"
dupFd
=%d dupErr=%d(%s) flags=%d err=%d(%s)",
785
dupFd
, dupErrno, strerror(dupErrno),
794
if (
dupFd
< 0) {
797
status_t err = writeFileDescriptor(
dupFd
, true /*takeOwnership*/);
799
close(
dupFd
);
[
all
...]
Completed in 87 milliseconds