Home
last modified time | relevance | path

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

/frameworks/base/native/graphics/jni/
Dimagedecoder.cpp162 int dupDescriptor = fcntl(fd, F_DUPFD_CLOEXEC, 0); in AImageDecoder_createFromFd() local
163 FILE* file = fdopen(dupDescriptor, "r"); in AImageDecoder_createFromFd()
165 close(dupDescriptor); in AImageDecoder_createFromFd()
/frameworks/base/libs/hwui/jni/
DBitmapFactory.cpp713 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()
DImageDecoder.cpp176 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()