Home | History | Annotate | Download | only in HAL3

Lines Matching refs:file_fd

552                 int file_fd = open(buf, O_RDWR | O_CREAT, 0777);
554 if (file_fd >= 0) {
556 fchmod(file_fd, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
564 written_len += write(file_fd, data,
572 close(file_fd);
2222 int file_fd = open(buf, O_RDWR| O_CREAT, 0644);
2223 if (file_fd >= 0) {
2224 ssize_t written_len = write(file_fd, frame->buffer, frame->frame_len);
2227 close(file_fd);
2444 int file_fd = open(buf, O_RDWR| O_CREAT, 0777);
2445 if (file_fd >= 0) {
2447 write(file_fd, frame->buffer, offset.frame_len);
2450 close(file_fd);
3222 int file_fd = open(filePath.string(), O_RDWR | O_CREAT, 0777);
3224 if (file_fd >= 0) {
3225 fchmod(file_fd, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
3226 written_len += write(file_fd, jpeg_buf,
3230 close(file_fd);