/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/ |
mm_camera_helper.c | 45 int file_fd = open(filename, O_RDWR | O_CREAT, 0777); local 47 if (file_fd < 0) { 51 write(file_fd, addr, size); 52 close(file_fd);
|
/system/vold/ |
Loop.cpp | 198 int file_fd; local 200 if ((file_fd = open(loopFile, O_RDWR | O_CLOEXEC)) < 0) { 206 if (ioctl(fd, LOOP_SET_FD, file_fd) < 0) { 208 close(file_fd); 221 close(file_fd); 227 close(file_fd);
|
/device/moto/shamu/camera/QCamera/HAL/core/src/ |
QCameraHWI_Rdi.cpp | 103 int file_fd; local 117 file_fd = open(buf, O_RDWR | O_CREAT, 0777); 118 if (file_fd < 0) { 124 write(file_fd, (const void *)(y_off), newFrame->planes[0].length); 125 write(file_fd, (const void *)(cbcr_off), 127 close(file_fd);
|
QCameraHWI.cpp | 2703 int file_fd; local 2739 int file_fd; local [all...] |
QCameraHWI_Preview.cpp | 556 int file_fd; local 571 file_fd = open(buf, O_RDWR | O_CREAT, 0777); 573 rc = write(file_fd, (const void *)addr, len); 576 close(file_fd); [all...] |
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_rdi.c | 41 int file_fd; local 47 file_fd = open(file_name, O_RDWR | O_CREAT, 0777); 48 if (file_fd < 0) { 52 write(file_fd, 57 close(file_fd);
|
mm_qcamera_app.c | 242 int file_fd; local 248 file_fd = open(file_name, O_RDWR | O_CREAT, 0777); 249 if (file_fd < 0) { 256 write(file_fd, 262 close(file_fd); 272 int file_fd; local 277 file_fd = open(buf, O_RDWR | O_CREAT, 0777); 278 write(file_fd, data, size); 279 close(file_fd); [all...] |
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_rdi.c | 41 int file_fd; local 47 file_fd = open(file_name, O_RDWR | O_CREAT, 0777); 48 if (file_fd < 0) { 52 write(file_fd, 57 close(file_fd);
|
mm_qcamera_app.c | 242 int file_fd; local 248 file_fd = open(file_name, O_RDWR | O_CREAT, 0777); 249 if (file_fd < 0) { 256 write(file_fd, 262 close(file_fd); 272 int file_fd; local 277 file_fd = open(buf, O_RDWR | O_CREAT, 0777); 278 write(file_fd, data, size); 279 close(file_fd); [all...] |
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_rdi.c | 41 int file_fd; local 47 file_fd = open(file_name, O_RDWR | O_CREAT, 0777); 48 if (file_fd < 0) { 52 write(file_fd, 57 close(file_fd);
|
mm_qcamera_app.c | 242 int file_fd; local 247 file_fd = open(file_name, O_RDWR | O_CREAT, 0777); 248 if (file_fd < 0) { 254 write(file_fd, 260 close(file_fd); 269 int file_fd; local 273 file_fd = open(buf, O_RDWR | O_CREAT, 0777); 274 write(file_fd, data, size); 275 close(file_fd); [all...] |
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_rdi.c | 45 int file_fd; local 51 file_fd = open(file_name, O_RDWR | O_CREAT, 0777); 52 if (file_fd < 0) { 56 write(file_fd, 61 close(file_fd);
|
mm_qcamera_app.c | 248 int file_fd; local 254 file_fd = open(file_name, O_RDWR | O_CREAT, 0777); 255 if (file_fd < 0) { 262 write(file_fd, 268 close(file_fd); 278 int file_fd; local 283 file_fd = open(buf, O_RDWR | O_CREAT, 0777); 284 write(file_fd, data, size); 285 close(file_fd); [all...] |
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/ |
mm_qcamera_rdi.c | 62 int file_fd; local 68 file_fd = open(buf, O_RDWR | O_CREAT, 0777); 69 if (file_fd < 0) { 78 write(file_fd, (const void *)(y_off), newFrame->planes[0].length); 79 write(file_fd, (const void *)(cbcr_off), 81 close(file_fd);
|
mm_qcamera_preview.c | 190 int file_fd; local 195 file_fd = open(buf, O_RDWR | O_CREAT, 0777); 196 if (file_fd < 0) { 205 write(file_fd, (const void *)(y_off), (w * h)); 207 write(file_fd, (const void *)(cbcr_off), (w * h/2 * main_422)); 209 close(file_fd); [all...] |
mm_qcamera_snapshot.c | 111 int file_fd; local 116 file_fd = open(buf, O_RDWR | O_CREAT, 0777); 117 write(file_fd, data, size); 118 close(file_fd); [all...] |
/system/core/libsparse/ |
output_file.c | 751 int file_fd = open(file, O_RDONLY | O_BINARY); local 752 if (file_fd < 0) { 756 ret = write_fd_chunk(out, len, file_fd, offset); 758 close(file_fd);
|
/device/huawei/angler/camera/QCamera2/HAL/ |
QCamera2HWICallbacks.cpp | 1944 int file_fd = open(buf, O_RDWR | O_CREAT, 0777); local 2007 int file_fd = open(filePath.string(), O_RDWR | O_CREAT, 0777); local 2177 int file_fd = open(filePath.string(), O_RDWR | O_CREAT, 0777); local [all...] |
/device/lge/bullhead/camera/QCamera2/HAL/ |
QCamera2HWICallbacks.cpp | 1944 int file_fd = open(buf, O_RDWR | O_CREAT, 0777); local 2007 int file_fd = open(filePath.string(), O_RDWR | O_CREAT, 0777); local 2177 int file_fd = open(filePath.string(), O_RDWR | O_CREAT, 0777); local [all...] |
/external/valgrind/auxprogs/ |
valgrind-di-server.c | 184 int file_fd; member in struct:__anon26217 740 if (conn_state[conn_no].file_fd == 0) { 745 conn_state[conn_no].file_fd, 758 if (conn_state[conn_no].file_fd != 0) { 786 conn_state[conn_no].file_fd = fd; 811 if (ok && conn_state[conn_no].file_fd == 0) { 828 size_t nRead = pread(conn_state[conn_no].file_fd, 917 if (conn_state[conn_no].file_fd > 0) 918 close(conn_state[conn_no].file_fd); [all...] |
/device/moto/shamu/camera/QCamera2/HAL/ |
QCamera2HWICallbacks.cpp | 1546 int file_fd = open(buf, O_RDWR | O_CREAT, 0777); local 1604 int file_fd = open(filePath.string(), O_RDWR | O_CREAT, 0777); local 1767 int file_fd = open(filePath.string(), O_RDWR | O_CREAT, 0777); local [all...] |
/hardware/qcom/camera/QCamera2/HAL/ |
QCamera2HWICallbacks.cpp | 2595 int file_fd = open(buf, O_RDWR | O_CREAT, 0777); local 2658 int file_fd = open(filePath.string(), O_RDWR | O_CREAT, 0777); local 2849 int file_fd = open(filePath.string(), O_RDWR | O_CREAT, 0777); local [all...] |
/external/squashfs-tools/squashfs-tools/ |
unsquashfs.c | 880 int write_block(int file_fd, char *buffer, int size, long long hole, int sparse) 886 int error = lseek(file_fd, off, SEEK_CUR); 905 if(write_bytes(file_fd, zero_data, avail_bytes) 912 if(write_bytes(file_fd, buffer, size) == -1) 962 void queue_file(char *pathname, int file_fd, struct inode *inode) 968 file->fd = file_fd; 1001 unsigned int file_fd, i; local 1008 file_fd = open_wait(pathname, O_CREAT | O_WRONLY | 1010 if(file_fd == -1) { 1027 queue_file(pathname, file_fd, inode) 2006 int file_fd; local [all...] |
/device/moto/shamu/camera/QCamera/HAL2/core/src/ |
QCameraStream_Preview.cpp | 189 int file_fd; local 200 file_fd = open(buf, O_RDWR | O_CREAT, 0777); 202 rc = write(file_fd, (const void *)addr, len); 205 close(file_fd);
|
/device/moto/shamu/camera/QCamera2/HAL3/ |
QCamera3Channel.cpp | 479 int file_fd = open(buf, O_RDWR| O_CREAT, 0644); local 480 if (file_fd >= 0) { 481 int written_len = write(file_fd, frame->buffer, offset.frame_len); 483 close(file_fd); 1042 int file_fd = open(buf, O_RDWR| O_CREAT, 0644); local 1043 if (file_fd >= 0) { 1044 int written_len = write(file_fd, frame->buffer, offset.frame_len); 1046 close(file_fd); 1215 int file_fd = open(buf, O_RDWR| O_CREAT, 0777); local [all...] |