Searched refs:fdStat (Results 1 – 5 of 5) sorted by relevance
114 struct stat fdStat; in retrieveData() local115 EXPECT_TRUE(fstat(fd.get(), &fdStat) != -1); in retrieveData()117 std::vector<uint8_t> buffer(fdStat.st_size); in retrieveData()118 auto readResult = android::base::ReadFully(fd, buffer.data(), fdStat.st_size); in retrieveData()
151 struct stat fdStat; in AImageDecoder_createFromFd() local152 if (fstat(fd, &fdStat) == -1) { in AImageDecoder_createFromFd()
188 struct stat fdStat; in nativeNewInstanceFromFileDescriptor() local189 if (fstat(descriptor, &fdStat) == -1) { in nativeNewInstanceFromFileDescriptor()
170 struct stat fdStat; in ImageDecoder_nCreateFd()171 if (fstat(descriptor, &fdStat) == -1) { in ImageDecoder_nCreateFd()
698 struct stat fdStat; in nativeDecodeFileDescriptor()699 if (fstat(descriptor, &fdStat) == -1) { in nativeDecodeFileDescriptor()