/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);
|
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/ |
mm_camera_helper.c | 169 int file_fd = open(filename, O_RDWR | O_CREAT, 0777); local 171 if (file_fd < 0) { 175 write(file_fd, addr, size); 176 close(file_fd);
|
/device/lge/mako/camera/mm-camera-interface/ |
mm_camera_helper.c | 169 int file_fd = open(filename, O_RDWR | O_CREAT, 0777); local 171 if (file_fd < 0) { 175 write(file_fd, addr, size); 176 close(file_fd);
|
/device/asus/flo/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_rdi.c | 41 int file_fd; local 45 file_fd = open(file_name, O_RDWR | O_CREAT, 0777); 46 if (file_fd < 0) { 50 write(file_fd, 55 close(file_fd);
|
mm_qcamera_app.c | 241 int file_fd; local 245 file_fd = open(file_name, O_RDWR | O_CREAT, 0777); 246 if (file_fd < 0) { 250 write(file_fd, 255 close(file_fd); 264 int file_fd; local 268 file_fd = open(buf, O_RDWR | O_CREAT, 0777); 269 write(file_fd, data, size); 270 close(file_fd);
|
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_rdi.c | 41 int file_fd; local 45 file_fd = open(file_name, O_RDWR | O_CREAT, 0777); 46 if (file_fd < 0) { 50 write(file_fd, 55 close(file_fd);
|
mm_qcamera_app.c | 241 int file_fd; local 245 file_fd = open(file_name, O_RDWR | O_CREAT, 0777); 246 if (file_fd < 0) { 250 write(file_fd, 255 close(file_fd); 264 int file_fd; local 268 file_fd = open(buf, O_RDWR | O_CREAT, 0777); 269 write(file_fd, data, size); 270 close(file_fd);
|
/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);
|
/system/vold/ |
Loop.cpp | 177 int file_fd; local 179 if ((file_fd = open(loopFile, O_RDWR)) < 0) { 185 if (ioctl(fd, LOOP_SET_FD, file_fd) < 0) { 187 close(file_fd); 200 close(file_fd); 206 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_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/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...] |
/device/lge/mako/camera/QCamera/stack/mm-camera-test/src/ |
mm_qcamera_preview.c | 127 int file_fd; local 134 file_fd = open(buf, O_RDWR | O_CREAT, 0777); 135 if (file_fd < 0) { 139 write(file_fd, (const void *)(newFrame->buffer+newFrame->y_off), w * h); 140 write(file_fd, (const void *) 142 close(file_fd); 150 file_fd = open(buf, O_RDWR | O_CREAT, 0777); 151 if (file_fd < 0) { 160 write(file_fd, (const void *)(y_off), newFrame->planes[0].length); 161 write(file_fd, (const void *)(cbcr_off), [all...] |
mm_qcamera_snapshot.c | 96 int file_fd; local 101 file_fd = open(buf, O_RDWR | O_CREAT, 0777); 102 write(file_fd, data, size); 103 close(file_fd); [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);
|
/system/core/toolbox/ |
mount.c | 172 int file_fd, device_fd; local 177 file_fd = open(dev, flags); 178 if (file_fd < 0) { 185 close(file_fd); 188 if (ioctl(device_fd, LOOP_SET_FD, file_fd) < 0) { 190 close(file_fd); 195 close(file_fd);
|
/device/asus/flo/camera/QCamera2/HAL/ |
QCamera2HWICallbacks.cpp | 898 int file_fd = open(buf, O_RDWR | O_CREAT, 0777); local [all...] |
/device/lge/hammerhead/camera/QCamera2/HAL/ |
QCamera2HWICallbacks.cpp | 898 int file_fd = open(buf, O_RDWR | O_CREAT, 0777); local [all...] |
/device/lge/mako/camera/QCamera/HAL/core/src/ |
QCameraHWI_Preview.cpp | 788 int file_fd; local [all...] |
/device/lge/mako/camera/ |
QCameraHWI_Preview_7x27A.cpp | 489 int file_fd; local 504 file_fd = open(buf, O_RDWR | O_CREAT, 0777); 506 rc = write(file_fd, (const void *)addr, len); 509 close(file_fd); [all...] |
/external/qemu/distrib/libsparse/src/ |
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);
|
/external/valgrind/main/auxprogs/ |
valgrind-di-server.c | 163 int file_fd; member in struct:__anon36952 719 if (conn_state[conn_no].file_fd == 0) { 724 conn_state[conn_no].file_fd, 737 if (conn_state[conn_no].file_fd != 0) { 765 conn_state[conn_no].file_fd = fd; 790 if (ok && conn_state[conn_no].file_fd == 0) { 807 size_t nRead = pread(conn_state[conn_no].file_fd, 896 if (conn_state[conn_no].file_fd > 0) 897 close(conn_state[conn_no].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);
|