fd                 39 core/chdk-dir.c     int     fd;                 // directory file descriptor
fd                 62 core/chdk-dir.c         rc = read(dir->fd, dir->dc, DCSIZE);
fd                 94 core/chdk-dir.c             dir->fd = open(name, 0, 0x124);
fd                 95 core/chdk-dir.c             if ( dir->fd != -1 )
fd                123 core/chdk-dir.c         int ret = close(dir->fd);
fd               1121 core/conf.c        int fd = open(filename, O_WRONLY|O_CREAT|O_TRUNC, 0777); 
fd               1122 core/conf.c        if (fd >= 0)
fd               1152 core/conf.c            write(fd, buf, p-buf);
fd               1153 core/conf.c            close(fd);
fd                253 core/gps.c         FILE *fd;
fd                257 core/gps.c         fd = fopen ( datei, "r" );
fd                259 core/gps.c         fseek (fd, 0, SEEK_END);
fd                260 core/gps.c         bitmap_size = ftell (fd);
fd                261 core/gps.c         fseek (fd, 0, SEEK_SET);
fd                264 core/gps.c         fread (bitmap,1,bitmap_size,fd);
fd                265 core/gps.c         fclose (fd);
fd                645 core/gui_script.c     int fd = open(fn, O_WRONLY|O_CREAT|O_TRUNC, 0777);
fd                647 core/gui_script.c     if (fd >= 0)
fd                657 core/gui_script.c                 write(fd, buf, strlen(buf));
fd                661 core/gui_script.c         close(fd);
fd                 42 core/main.c        int fd;
fd                 59 core/main.c            fd = -1;
fd                 63 core/main.c                    fd = open(fn, O_WRONLY|O_CREAT, 0777);
fd                 67 core/main.c            if (fd>=0) {
fd                 70 core/main.c                    write(fd, &val0, 4);
fd                 72 core/main.c                        write(fd, (void*)4, conf.memdmp_size - 4);
fd                 76 core/main.c                    write(fd, (void*)conf.memdmp_start, conf.memdmp_size);
fd                 78 core/main.c                close(fd);
fd                108 core/raw.c         int fd;
fd                132 core/raw.c         fd = open(fn, O_WRONLY|O_CREAT, 0777);
fd                134 core/raw.c         return fd;
fd                140 core/raw.c     void raw_closefile(int fd)
fd                142 core/raw.c         if(fd < 0) {
fd                148 core/raw.c         close(fd);
fd                169 core/raw.c             int fd = raw_createfile();
fd                170 core/raw.c             if(fd >= 0) {
fd                172 core/raw.c                 write(fd, ADR_TO_UNCACHED(rawadr), camera_sensor.raw_size);
fd                174 core/raw.c                 raw_closefile(fd);
fd                234 core/raw.c                 int fd = open(fn, O_RDONLY, 0777);
fd                235 core/raw.c                 if (fd >= 0) {
fd                236 core/raw.c                     read(fd, rawadr, camera_sensor.raw_size);
fd                237 core/raw.c                     close(fd);
fd                 29 core/raw.h     extern void raw_closefile(int fd);
fd                105 core/usb_remote.c     int fd;
fd                109 core/usb_remote.c     fd = open(fn, O_WRONLY|O_CREAT, 0777);
fd                110 core/usb_remote.c     if (fd>=0)
fd                112 core/usb_remote.c         write(fd, debug_rec_buf, sizeof(struct debug_rec_remote_state) * debug_num_rec);
fd                113 core/usb_remote.c         close(fd);
fd                198 core/usb_remote.c     int fd;
fd                201 core/usb_remote.c     fd = open("A/CALIB.TXT", O_WRONLY|O_CREAT, 0777);
fd                202 core/usb_remote.c     if (fd>=0) {
fd                203 core/usb_remote.c       write(fd, buf, strlen(buf));
fd                204 core/usb_remote.c       close(fd);
fd                 85 include/lolevel.h extern int _close (int fd);
fd                 88 include/lolevel.h extern int _lseek (int fd, long offset, int whence);
fd                 92 include/lolevel.h extern int _Close (int fd);
fd                 93 include/lolevel.h extern int _Write (int fd, const void *buffer, long nbytes);
fd                 94 include/lolevel.h extern int _Read (int fd, void *buffer, long nbytes);
fd                 95 include/lolevel.h extern int _Lseek (int fd, long offset, int whence);
fd                269 include/lolevel.h extern int _SetFileTimeStamp(int fd, int time1, int time2);
fd                270 include/lolevel.h extern void _SetFileAttributes(int fd, int attr);
fd                 19 include/std/stdio.h     int fd;         // used by Read/Write
fd                 26 include/std/stdlib.h extern int close(int fd);
fd                 27 include/std/stdlib.h extern int write(int fd, const void *buffer, long nbytes);
fd                 28 include/std/stdlib.h extern int read(int fd, void *buffer, long nbytes);
fd                 29 include/std/stdlib.h extern int lseek(int fd, long offset, int whence);
fd                 39 lib/armutil/reboot.c 	int fd;
fd                 47 lib/armutil/reboot.c 	fd = open(bootfile,O_RDONLY,0);
fd                 48 lib/armutil/reboot.c 	if(fd == -1) {
fd                 51 lib/armutil/reboot.c 	size = lseek(fd,0,SEEK_END);
fd                 58 lib/armutil/reboot.c 		close(fd);
fd                 61 lib/armutil/reboot.c 	lseek(fd,0,SEEK_SET);
fd                 62 lib/armutil/reboot.c 	rcnt = read(fd, buf, size);
fd                 63 lib/armutil/reboot.c 	close(fd);
fd                156 lib/font/rbf_font.c int font_read(int fd, unsigned char *dest, int len)
fd                171 lib/font/rbf_font.c             bytes_read += read(fd, ubuffer, to_read);
fd                196 lib/font/rbf_font.c     int fd = open(file, O_RDONLY, 0777);
fd                197 lib/font/rbf_font.c     if (fd >= 0) {
fd                199 lib/font/rbf_font.c         i = font_read(fd, (unsigned char*)&f->hdr, sizeof(font_hdr));
fd                211 lib/font/rbf_font.c             lseek(fd, f->hdr._wmapAddr, SEEK_SET);
fd                212 lib/font/rbf_font.c             font_read(fd, (unsigned char*)&f->wTable[f->hdr.charFirst], f->charCount);
fd                215 lib/font/rbf_font.c             lseek(fd, f->hdr._cmapAddr, SEEK_SET);
fd                216 lib/font/rbf_font.c             font_read(fd, (unsigned char*)f->cTable, f->charCount*f->hdr.charSize);
fd                225 lib/font/rbf_font.c         close(fd);
fd                 18 lib/lang/fileutil.c 	int fd;
fd                 36 lib/lang/fileutil.c 	        fd = open( name, O_RDONLY, 0777 );
fd                 37 lib/lang/fileutil.c 	        if (fd >= 0)
fd                 55 lib/lang/fileutil.c                             rsize += read(fd, ubuf, len);
fd                 63 lib/lang/fileutil.c 	            close(fd);
fd                161 lib/lang/fileutil.c 	int fd = open( filename, O_WRONLY|O_CREAT|O_TRUNC, 0777);
fd                162 lib/lang/fileutil.c 	if (fd>=0) 
fd                164 lib/lang/fileutil.c 		write(fd, buf, strlen(buf)+1);
fd                165 lib/lang/fileutil.c 		close(fd);
fd                 63 modules/curves.c 	FILE *fd;
fd                 91 modules/curves.c 	fd = fopen(name, "r+b");
fd                 92 modules/curves.c 	if (!fd) {
fd                 96 modules/curves.c 	fread(curve_data, 1, size, fd);
fd                 97 modules/curves.c 	fclose(fd);
fd                 73 modules/dbg_dump.c     int fd=open(dumpname, O_WRONLY|O_CREAT|O_TRUNC, 0777);
fd                 74 modules/dbg_dump.c     if(fd >= 0) {
fd                119 modules/dbg_dump.c         write(fd,&pb->h,sizeof(dumpheader));
fd                126 modules/dbg_dump.c         write(fd,&pb->m,sizeof(cam_meminfo));
fd                133 modules/dbg_dump.c         write(fd,&pb->m,sizeof(cam_meminfo));
fd                144 modules/dbg_dump.c             write(fd,&pb->mi,sizeof(mod_info));
fd                150 modules/dbg_dump.c         write(fd,ADR_TO_UNCACHED(sp),STACK_DUMP_COUNT*4);
fd                153 modules/dbg_dump.c             write(fd,ADR_TO_UNCACHED(user_data),user_data_len);
fd                155 modules/dbg_dump.c         close(fd);
fd                850 modules/dng.c          int fd = open(fn, O_RDONLY, 0777);
fd                851 modules/dng.c          if (fd >= 0)
fd                853 modules/dng.c              lseek(fd, st.st_size-camera_sensor.raw_size, SEEK_SET);
fd                854 modules/dng.c              read(fd, rawadr, camera_sensor.raw_size);
fd                855 modules/dng.c              close(fd);
fd               1019 modules/dng.c      FILE *fd;
fd               1034 modules/dng.c      fd=fopen(filename, "rb");
fd               1035 modules/dng.c      if (fd)
fd               1037 modules/dng.c          fread(ptr,1, filesize,fd);
fd               1038 modules/dng.c          fclose(fd);
fd               1270 modules/dng.c      int fd;
fd               1303 modules/dng.c      fd = raw_createfile();
fd               1304 modules/dng.c      if(fd < 0) {
fd               1315 modules/dng.c      write(fd, ADR_TO_UNCACHED(dng_header_buf), dng_header_buf_size + DNG_TH_BYTES);
fd               1335 modules/dng.c          write(fd,ADR_TO_UNCACHED(rb_state.written),size);
fd               1339 modules/dng.c      raw_closefile(fd);
fd                142 modules/edgeoverlay.c     FILE *fd;
fd                178 modules/edgeoverlay.c     fd = fopen(fn, "wb");
fd                179 modules/edgeoverlay.c     if(fd !=NULL)
fd                182 modules/edgeoverlay.c         fwrite(edgebuf->ptr,edgebuf->ptrLen,1,fd);
fd                183 modules/edgeoverlay.c         fwrite(&zoom,sizeof(zoom),1,fd);
fd                184 modules/edgeoverlay.c         fclose(fd);
fd                196 modules/edgeoverlay.c     FILE *fd;
fd                201 modules/edgeoverlay.c     fd = fopen(fn,"rb");
fd                202 modules/edgeoverlay.c     if( fd != NULL )
fd                204 modules/edgeoverlay.c         int ret = fread(edgebuf->ptr,edgebuf->ptrLen,1,fd);
fd                205 modules/edgeoverlay.c         int ret2 = fread (&zoom,sizeof(zoom),1,fd);
fd                206 modules/edgeoverlay.c         fclose(fd);
fd                250 modules/eyefi.c     int fd = open(eyefi_filename(filename), O_RDWR|O_CREAT, 0600);
fd                252 modules/eyefi.c     if (fd < 0)
fd                255 modules/eyefi.c     int bytesWritten = write(fd, eyefi_buf.buf, EYEFI_BUF_SIZE);
fd                256 modules/eyefi.c     close(fd);
fd                267 modules/eyefi.c     int fd = open(eyefi_filename(filename), O_RDONLY, 0777);
fd                269 modules/eyefi.c     if (fd < 0)
fd                272 modules/eyefi.c     int bytesRead = read(fd, eyefi_buf.buf, EYEFI_BUF_SIZE);
fd                273 modules/eyefi.c     close(fd);
fd                116 modules/file_shelter.c     FILE *fd = fopen(fn, "r+b");
fd                117 modules/file_shelter.c     if (fd) {
fd                118 modules/file_shelter.c         ret = fread(buf, 1, size, fd);
fd                119 modules/file_shelter.c         fclose(fd);
fd                133 modules/file_shelter.c     int fd = open(fn, O_RDONLY, 0777);
fd                134 modules/file_shelter.c     if (fd >= 0) {
fd                135 modules/file_shelter.c         ret = read(fd, buf, size);
fd                136 modules/file_shelter.c         close(fd);
fd                153 modules/file_shelter.c     FILE *fd = fopen(fn, "r+b");
fd                154 modules/file_shelter.c     if (fd) {
fd                157 modules/file_shelter.c             long r = fread(buf, 1, chunk, fd);
fd                170 modules/file_shelter.c         fclose(fd);
fd                181 modules/file_shelter.c     int fd = open(fn, O_RDONLY, 0777);
fd                182 modules/file_shelter.c     if (fd >= 0) {
fd                185 modules/file_shelter.c             long r = read(fd, buf, chunk);
fd                198 modules/file_shelter.c         close(fd);
fd                206 modules/file_shelter.c     FILE *fd = fopen(fn, "w+b");
fd                207 modules/file_shelter.c     if (fd) {
fd                208 modules/file_shelter.c         ret = fwrite(buf, 1, size, fd);
fd                209 modules/file_shelter.c         fclose(fd);
fd                223 modules/file_shelter.c     int fd = open(fn, O_WRONLY|O_CREAT|O_TRUNC, 0777);
fd                224 modules/file_shelter.c     if (fd >= 0) {
fd                225 modules/file_shelter.c         ret = write(fd, buf, size);
fd                226 modules/file_shelter.c         close(fd);
fd                737 modules/file_shelter.c             char *fd = get_object_data(storptr);
fd                738 modules/file_shelter.c             if (fd) {
fd                739 modules/file_shelter.c                 crc32(fd, fh->size, &crc); // crc is set to zero prior to this
fd                752 modules/file_shelter.c                 if ( write_file(buf, fd, fh->size) ) {
fd                161 modules/games/gui_sokoban.c     FILE *fd;    
fd                166 modules/games/gui_sokoban.c     fd=fopen(level_file_name,"rb");
fd                167 modules/games/gui_sokoban.c     if(!fd) {
fd                174 modules/games/gui_sokoban.c         fclose(fd);
fd                178 modules/games/gui_sokoban.c     if(fseek(fd,start,SEEK_SET) != 0) {
fd                179 modules/games/gui_sokoban.c         fclose(fd);
fd                183 modules/games/gui_sokoban.c     fread(buf,1,len,fd);
fd                185 modules/games/gui_sokoban.c     fclose(fd);
fd                289 modules/games/gui_sokoban.c         FILE *fd;    
fd                295 modules/games/gui_sokoban.c         fd=fopen(level_file_name,"rb");
fd                296 modules/games/gui_sokoban.c         if(!fd) 
fd                301 modules/games/gui_sokoban.c             fclose(fd);
fd                305 modules/games/gui_sokoban.c         fread(buf,1,st.st_size,fd);
fd                307 modules/games/gui_sokoban.c         fclose(fd);
fd                155 modules/gui_bench.c     int fd = open(BENCHLOGFILE, O_WRONLY|O_CREAT|O_APPEND, 0777);
fd                156 modules/gui_bench.c     if (fd >= 0)
fd                158 modules/gui_bench.c         lseek(fd, 0, SEEK_END);
fd                159 modules/gui_bench.c         write(fd, txtbuf, txtbufptr);
fd                160 modules/gui_bench.c         close(fd);
fd                119 modules/module_load.c int b_read(int fd, char* buf, int len)
fd                129 modules/module_load.c         now = read(fd, buf_load, now);
fd                138 modules/module_load.c void b_close(int fd)
fd                140 modules/module_load.c     if (fd >= 0)
fd                141 modules/module_load.c         close(fd);
fd                277 modules/module_load.c static int module_do_action(int fd, flat_hdr* mod, uint32_t offset, uint32_t segment_size, int (*func)(flat_hdr*, void*, uint32_t))
fd                281 modules/module_load.c         if (lseek(fd, offset, SEEK_SET) == (int)offset)
fd                283 modules/module_load.c             if (read(fd, buf_load, segment_size) == (int)segment_size)
fd                306 modules/module_load.c         int fd = open("A/MODULES.LOG", O_WRONLY|O_CREAT|O_APPEND, 0777);
fd                307 modules/module_load.c         if (fd >= 0)
fd                309 modules/module_load.c             lseek(fd, 0, SEEK_END);
fd                310 modules/module_load.c             write(fd, buf, strlen(buf));
fd                311 modules/module_load.c             close(fd);
fd                468 modules/module_load.c static char* load_module_file(int fd, const char* name, int size, int bss_size, flat_hdr** flat_buf)
fd                476 modules/module_load.c     if (lseek(fd, 0, SEEK_SET) == 0)
fd                478 modules/module_load.c         if (b_read(fd, (char*)*flat_buf, size) == size)
fd                494 modules/module_load.c static char* link_module(int fd, flat_hdr* flat_buf)
fd                506 modules/module_load.c     if (!module_do_action(fd, flat_buf, flat_buf->reloc_start, reloc_size, module_do_relocations))
fd                509 modules/module_load.c     if (!module_do_action(fd, flat_buf, flat_buf->import_start, import_size, module_do_imports))
fd                849 modules/module_load.c     int fd = open(path, O_RDONLY, 0777);
fd                850 modules/module_load.c     if (fd < 0)
fd                855 modules/module_load.c     read(fd, (char*)&flat, sizeof(flat_hdr));
fd                860 modules/module_load.c         lseek(fd, flat._module_info_offset, SEEK_SET);
fd                861 modules/module_load.c         read(fd, mi, sizeof(ModuleInfo));
fd                866 modules/module_load.c             lseek(fd, mi->moduleName, SEEK_SET);
fd                867 modules/module_load.c             read(fd, modName, modNameLen-1);
fd                872 modules/module_load.c     close(fd);
fd                349 modules/motion_detector.c     int calls,i, ln, fd;
fd                360 modules/motion_detector.c     fd = open(fn, O_WRONLY|O_CREAT, 0777);
fd                361 modules/motion_detector.c     if( fd>=0) {
fd                363 modules/motion_detector.c         lseek(fd,0,SEEK_END);
fd                384 modules/motion_detector.c           write(fd,big,big_ln);
fd                390 modules/motion_detector.c     write(fd,big,big_ln);
fd                391 modules/motion_detector.c         close(fd);
fd                400 modules/motion_detector.c     int fd, i;
fd                410 modules/motion_detector.c         fd = open(fn, O_RDONLY, 0777);
fd                412 modules/motion_detector.c         if(fd>=0)
fd                414 modules/motion_detector.c             close(fd);
fd                416 modules/motion_detector.c     } while(fd>=0);
fd                419 modules/motion_detector.c     fd = open(fn, O_WRONLY|O_CREAT, 0777);
fd                420 modules/motion_detector.c     if (fd>=0)
fd                422 modules/motion_detector.c         write(fd, img, vid_get_viewport_byte_width()*vid_get_viewport_height_proper());
fd                423 modules/motion_detector.c         close(fd);
fd                 42 modules/scrdump.c     int fd;
fd                 56 modules/scrdump.c     fd = -1;
fd                 61 modules/scrdump.c             fd = open(fn, O_WRONLY|O_CREAT, 0777);
fd                 65 modules/scrdump.c     if (fd>=0) {
fd                 66 modules/scrdump.c         ptp_data.handle = fd;
fd                 68 modules/scrdump.c         write(fd, lvdump_header,sizeof(lvdump_header));
fd                 89 modules/shot_histogram.c     int fd = open(fn, O_WRONLY|O_CREAT, 0777);
fd                 90 modules/shot_histogram.c     if (fd >= 0)
fd                 92 modules/shot_histogram.c         write(fd, shot_histogram, SHOT_HISTOGRAM_SIZE);
fd                 93 modules/shot_histogram.c         close(fd);
fd                 74 platform/a540/debug.c   volatile int fd;
fd                 76 platform/a540/debug.c   if ((fd  = open("A/MISC/FW_FFC0.DMP", O_WRONLY|O_CREAT, 0777)) > 0) {
fd                 77 platform/a540/debug.c     write(fd, (char*)0xFFC00000, ROMSIZE);
fd                 78 platform/a540/debug.c     close(fd);
fd                 75 platform/a550/debug.c   volatile int fd;
fd                 77 platform/a550/debug.c   if ((fd  = open("A/MISC/FW_FFC0.DMP", O_WRONLY|O_CREAT, 0777)) > 0) {
fd                 78 platform/a550/debug.c     write(fd, (char*)0xFFC00000, ROMSIZE);
fd                 79 platform/a550/debug.c     close(fd);
fd                215 platform/generic/filewrite.c int fwt_write(int fd, const void *buffer, long nbytes) {
fd                217 platform/generic/filewrite.c         return _Write(fd, buffer, nbytes);
fd                224 platform/generic/filewrite.c int fwt_lseek(int fd, long offset, int whence) {
fd                226 platform/generic/filewrite.c         return _lseek(fd, offset, whence);
fd                232 platform/generic/filewrite.c int fwt_close (int fd) {
fd                234 platform/generic/filewrite.c         int ret = _Close(fd);
fd                216 platform/generic/main.c     FILE *fd = fopen("A/stdout.txt", "a");
fd                217 platform/generic/main.c     if (fd) {
fd                218 platform/generic/main.c         fwrite(buf, 1, len, fd);
fd                219 platform/generic/main.c         fclose(fd);
fd                235 platform/generic/main.c     FILE *fd = fopen("A/chdklog.txt", "a");
fd                236 platform/generic/main.c     if (fd) {
fd                241 platform/generic/main.c         fwrite(buf, 1, buflen, fd);
fd                250 platform/generic/main.c         fwrite("tyWrite replaced, camera log enabled\n", 1, sizeof("tyWrite replaced, camera log enabled\n"), fd);
fd                253 platform/generic/main.c     if (fd)
fd                255 platform/generic/main.c         fclose(fd);
fd                465 platform/generic/wrappers.c     int fd = _Open(name, flags, mode);
fd                469 platform/generic/wrappers.c     if (fd == -1)
fd                472 platform/generic/wrappers.c     return fd;
fd                475 platform/generic/wrappers.c int close (int fd)
fd                480 platform/generic/wrappers.c     if (fd == -1)
fd                493 platform/generic/wrappers.c     int r = _Close(fd);
fd                503 platform/generic/wrappers.c int write (int fd, const void *buffer, long nbytes)
fd                505 platform/generic/wrappers.c     if (fd == -1)
fd                518 platform/generic/wrappers.c     int r = _Write(fd, buffer, nbytes);
fd                524 platform/generic/wrappers.c int read (int fd, void *buffer, long nbytes)
fd                526 platform/generic/wrappers.c     return _Read(fd, buffer, nbytes);
fd                529 platform/generic/wrappers.c int lseek (int fd, long offset, int whence)
fd                531 platform/generic/wrappers.c     return _lseek(fd, offset, whence); /* yes, it's lower-case lseek here since Lseek calls just lseek (A610) */
fd                939 platform/generic/wrappers.c     int fd;
fd                940 platform/generic/wrappers.c     fd = _open(file, 0, 0);
fd                943 platform/generic/wrappers.c     if (fd>=0) {
fd                944 platform/generic/wrappers.c         _close(fd);
fd                948 platform/generic/wrappers.c     if (fd>=0) {
fd                949 platform/generic/wrappers.c         res=_SetFileTimeStamp(fd, newTimes->modtime, newTimes->actime);
fd                950 platform/generic/wrappers.c         _close(fd);
fd               1810 platform/generic/wrappers.c     int fd;
fd               1813 platform/generic/wrappers.c     fd = open(fn, 0, 0);
fd               1814 platform/generic/wrappers.c     if( fd ) {
fd               1815 platform/generic/wrappers.c         _SetFileAttributes(fd, attr);
fd               1816 platform/generic/wrappers.c         close(fd);
fd                137 platform/ixus100_sd780/main.c 	FILE *fd = fopen("A/stdout.txt", "a");
fd                138 platform/ixus100_sd780/main.c 	if (fd) {
fd                139 platform/ixus100_sd780/main.c 	    fwrite(buf, 1, len, fd);
fd                140 platform/ixus100_sd780/main.c 	    fclose(fd);
fd                155 platform/ixus100_sd780/main.c 	FILE *fd = fopen("A/chdklog.txt", "a");
fd                156 platform/ixus100_sd780/main.c 	if (fd) {
fd                161 platform/ixus100_sd780/main.c 	    fwrite(buf, 1, buflen, fd);
fd                170 platform/ixus100_sd780/main.c 	    fwrite("tyWrite replaced, camera log enabled\n", 1, sizeof("tyWrite replaced, camera log enabled\n"), fd);
fd                173 platform/ixus100_sd780/main.c 	if (fd)
fd                175 platform/ixus100_sd780/main.c 	    fclose(fd);
fd                240 platform/ixus30_sd200/main.c 	FILE *fd = fopen("A/stdout.txt", "a");
fd                241 platform/ixus30_sd200/main.c 	if (fd) {
fd                242 platform/ixus30_sd200/main.c 	    fwrite(buf, 1, len, fd);
fd                243 platform/ixus30_sd200/main.c 	    fclose(fd);
fd                258 platform/ixus30_sd200/main.c 	FILE *fd = fopen("A/chdklog.txt", "a");
fd                259 platform/ixus30_sd200/main.c 	if (fd) {
fd                264 platform/ixus30_sd200/main.c 	    fwrite(buf, 1, buflen, fd);
fd                273 platform/ixus30_sd200/main.c 	    fwrite("tyWrite replaced, camera log enabled\n", 1, sizeof("tyWrite replaced, camera log enabled\n"), fd);
fd                276 platform/ixus30_sd200/main.c 	if (fd)
fd                278 platform/ixus30_sd200/main.c 	    fclose(fd);
fd                240 platform/ixus40_sd300/main.c 	FILE *fd = fopen("A/stdout.txt", "a");
fd                241 platform/ixus40_sd300/main.c 	if (fd) {
fd                242 platform/ixus40_sd300/main.c 	    fwrite(buf, 1, len, fd);
fd                243 platform/ixus40_sd300/main.c 	    fclose(fd);
fd                258 platform/ixus40_sd300/main.c 	FILE *fd = fopen("A/chdklog.txt", "a");
fd                259 platform/ixus40_sd300/main.c 	if (fd) {
fd                264 platform/ixus40_sd300/main.c 	    fwrite(buf, 1, buflen, fd);
fd                273 platform/ixus40_sd300/main.c 	    fwrite("tyWrite replaced, camera log enabled\n", 1, sizeof("tyWrite replaced, camera log enabled\n"), fd);
fd                276 platform/ixus40_sd300/main.c 	if (fd)
fd                278 platform/ixus40_sd300/main.c 	    fclose(fd);
fd                134 platform/ixus95_sd1200/main.c 	FILE *fd = fopen("A/stdout.txt", "a");
fd                135 platform/ixus95_sd1200/main.c 	if (fd) {
fd                136 platform/ixus95_sd1200/main.c 	    fwrite(buf, 1, len, fd);
fd                137 platform/ixus95_sd1200/main.c 	    fclose(fd);
fd                152 platform/ixus95_sd1200/main.c 	FILE *fd = fopen("A/chdklog.txt", "a");
fd                153 platform/ixus95_sd1200/main.c 	if (fd) {
fd                158 platform/ixus95_sd1200/main.c 	    fwrite(buf, 1, buflen, fd);
fd                167 platform/ixus95_sd1200/main.c 	    fwrite("tyWrite replaced, camera log enabled\n", 1, sizeof("tyWrite replaced, camera log enabled\n"), fd);
fd                170 platform/ixus95_sd1200/main.c 	if (fd)
fd                172 platform/ixus95_sd1200/main.c 	    fclose(fd);
fd                 22 tools/elf2flt/myio.c     int fd;
fd                 27 tools/elf2flt/myio.c     fd=open(filename, O_RDONLY|O_BINARY);
fd                 28 tools/elf2flt/myio.c     if ( fd <=0 ) return 0;
fd                 29 tools/elf2flt/myio.c     filesize = lseek(fd,0,SEEK_END);
fd                 36 tools/elf2flt/myio.c     if (lseek(fd, 0, SEEK_SET) != 0) return 0;
fd                 39 tools/elf2flt/myio.c         now = read(fd, filebuf+loaded, filesize-loaded);
fd                 92 tools/elf2flt/myio.c 	int fd;
fd                100 tools/elf2flt/myio.c 	fd=open(importfile, O_RDONLY|O_BINARY, 0777);
fd                102 tools/elf2flt/myio.c     if ( fd <=0 ) {
fd                106 tools/elf2flt/myio.c     importfilesize = lseek(fd,0,SEEK_END);
fd                114 tools/elf2flt/myio.c  	if (lseek(fd, 0, SEEK_SET) != 0) return 0;
fd                117 tools/elf2flt/myio.c       now = read(fd, import_buf+loaded, importfilesize-loaded);
fd                122 tools/elf2flt/myio.c 	close(fd);
fd                219 tools/elf2flt/myio.c 	int fd=open(stopfile, O_RDONLY|O_BINARY, 0777);
fd                221 tools/elf2flt/myio.c     if ( fd <=0 ) {
fd                225 tools/elf2flt/myio.c     int stoplistfilesize = lseek(fd,0,SEEK_END);
fd                233 tools/elf2flt/myio.c  	if (lseek(fd, 0, SEEK_SET) != 0) return 0;
fd                236 tools/elf2flt/myio.c       now = read(fd, stoplist_buf+loaded, stoplistfilesize-loaded);
fd                241 tools/elf2flt/myio.c 	close(fd);
fd                 69 tools/extract_event_procedures.c 	FILE *fd = fopen(argv[1], "r");
fd                 70 tools/extract_event_procedures.c 	fseek(fd, 0, SEEK_SET);
fd                 74 tools/extract_event_procedures.c 	fread(dump, 1, DUMP_SIZE, fd);
fd                110 tools/extract_event_procedures.c 	fclose(fd);
fd                105 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int close (int fd);
fd                106 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int write (int fd, const void *buffer, int nbytes);
fd                107 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int read (int fd, void *buffer, int nbytes);
fd                108 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int lseek (int fd, int offset, int whence);
fd                112 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int Close (int fd);
fd                113 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int Write (int fd, const void *buffer, int nbytes);
fd                114 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int Read (int fd, void *buffer, int nbytes);
fd                261 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int SetFileTimeStamp(int fd, int time1, int time2);
fd                262 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall void SetFileAttributes(int fd, int attr);
fd                133 tools/ghidra_scripts/datatypes/fw_types.h     int fd;         // used by Read/Write
fd               1085 tools/packfi2/zlib.h ZEXTERN gzFile ZEXPORT gzdopen  OF((int fd, const char *mode));
fd                131 tools/packfi2/zutil.h #      define fdopen(fd,mode) NULL /* No fdopen() */
fd                151 tools/packfi2/zutil.h #  define fdopen(fd,mode) NULL /* No fdopen() */
fd                156 tools/packfi2/zutil.h #    define fdopen(fd,mode) NULL /* No fdopen() */
fd                162 tools/packfi2/zutil.h #    define fdopen(fd,type)  _fdopen(fd,type)