/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/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);
|
/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);
|
/external/chromium_org/chrome/tools/build/mac/ |
generate_localizer | 136 file_fd = open(output_path, 'w') 137 file_fd.write(h_file_content) 138 file_fd.close()
|
/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/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);
|
/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);
|
/external/chromium_org/content/zygote/ |
zygote_main_linux.cc | 468 static void SanitizerCoverageHelper(int socket_fd, int file_fd) { 477 PCHECK(file_fd >= 0); 481 HANDLE_EINTR(write(file_fd, buffer.get() + written_size, 486 PCHECK(0 == HANDLE_EINTR(fsync(file_fd))); 498 base::ScopedFD file_fd) { 504 SanitizerCoverageHelper(child_fd, file_fd.get());
|
/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...] |
/external/valgrind/main/auxprogs/ |
valgrind-di-server.c | 163 int file_fd; member in struct:__anon16039 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...] |
/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/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...] |
/device/lge/mako/camera/QCamera/HAL/core/src/ |
QCameraHWI.cpp | 1983 int file_fd; local 2018 int file_fd; local [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);
|
/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/lge/mako/camera/ |
QCameraHWI.cpp | [all...] |
/device/moto/shamu/camera/QCamera2/HAL3/ |
QCamera3Channel.cpp | 480 int file_fd = open(buf, O_RDWR| O_CREAT, 0644); local 481 if (file_fd >= 0) { 482 int written_len = write(file_fd, frame->buffer, offset.frame_len); 484 close(file_fd); 1026 int file_fd = open(buf, O_RDWR| O_CREAT, 0644); local 1027 if (file_fd >= 0) { 1028 int written_len = write(file_fd, frame->buffer, offset.frame_len); 1030 close(file_fd); 1199 int file_fd = open(buf, O_RDWR| O_CREAT, 0777); local [all...] |
/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...] |