• Home
  • Raw
  • Download

Lines Matching refs:file_fd

2763                 int file_fd = open(buf, O_RDWR | O_CREAT, 0777);  in dumpJpegToFile()  local
2764 if (file_fd >= 0) { in dumpJpegToFile()
2765 ssize_t written_len = write(file_fd, data, size); in dumpJpegToFile()
2766 fchmod(file_fd, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in dumpJpegToFile()
2769 close(file_fd); in dumpJpegToFile()
2826 int file_fd = open(filePath.string(), O_RDWR | O_CREAT, 0777); in dumpMetadataToFile() local
2827 if (file_fd >= 0) { in dumpMetadataToFile()
2831 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile()
2834 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile()
2837 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile()
2840 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile()
2843 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile()
2846 written_len += write(file_fd, data, sizeof(uint32_t)); in dumpMetadataToFile()
2849 written_len += write(file_fd, data, total_size); in dumpMetadataToFile()
2852 written_len += write(file_fd, data, total_size); in dumpMetadataToFile()
2855 written_len += write(file_fd, data, total_size); in dumpMetadataToFile()
2858 written_len += write(file_fd, data, total_size); in dumpMetadataToFile()
2863 written_len += write(file_fd, data, total_size); in dumpMetadataToFile()
2866 written_len += write(file_fd, data, total_size); in dumpMetadataToFile()
2869 written_len += write(file_fd, data, total_size); in dumpMetadataToFile()
2870 close(file_fd); in dumpMetadataToFile()
3028 int file_fd = open(filePath.string(), O_RDWR | O_CREAT, 0777); in dumpFrameToFile() local
3030 if (file_fd >= 0) { in dumpFrameToFile()
3033 fchmod(file_fd, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in dumpFrameToFile()
3042 written_len += write(file_fd, data, in dumpFrameToFile()
3049 written_len += write(file_fd, data, in dumpFrameToFile()
3057 close(file_fd); in dumpFrameToFile()