Searched refs:dupDescriptor (Results 1 – 3 of 3) sorted by relevance
162 int dupDescriptor = fcntl(fd, F_DUPFD_CLOEXEC, 0); in AImageDecoder_createFromFd() local163 FILE* file = fdopen(dupDescriptor, "r"); in AImageDecoder_createFromFd()165 close(dupDescriptor); in AImageDecoder_createFromFd()
713 int dupDescriptor = fcntl(descriptor, F_DUPFD_CLOEXEC, 0); in nativeDecodeFileDescriptor()715 FILE* file = fdopen(dupDescriptor, "r"); in nativeDecodeFileDescriptor()719 close(dupDescriptor); in nativeDecodeFileDescriptor()727 assert(isSeekable(dupDescriptor)); in nativeDecodeFileDescriptor()
176 int dupDescriptor = fcntl(descriptor, F_DUPFD_CLOEXEC, 0); in ImageDecoder_nCreateFd()177 FILE* file = fdopen(dupDescriptor, "r"); in ImageDecoder_nCreateFd()179 close(dupDescriptor); in ImageDecoder_nCreateFd()