Searched refs:dupDescriptor (Results 1 – 3 of 3) sorted by relevance
116 int dupDescriptor = fcntl(fd, F_DUPFD_CLOEXEC, 0); in AImageDecoder_createFromFd() local117 FILE* file = fdopen(dupDescriptor, "r"); in AImageDecoder_createFromFd()119 close(dupDescriptor); in AImageDecoder_createFromFd()
546 int dupDescriptor = fcntl(descriptor, F_DUPFD_CLOEXEC, 0); in nativeDecodeFileDescriptor()548 FILE* file = fdopen(dupDescriptor, "r"); in nativeDecodeFileDescriptor()552 close(dupDescriptor); in nativeDecodeFileDescriptor()560 assert(isSeekable(dupDescriptor)); in nativeDecodeFileDescriptor()
167 int dupDescriptor = fcntl(descriptor, F_DUPFD_CLOEXEC, 0); in ImageDecoder_nCreateFd()168 FILE* file = fdopen(dupDescriptor, "r"); in ImageDecoder_nCreateFd()170 close(dupDescriptor); in ImageDecoder_nCreateFd()