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               1116 core/conf.c        int fd = open(filename, O_WRONLY|O_CREAT|O_TRUNC, 0777); 
fd               1117 core/conf.c        if (fd >= 0)
fd               1147 core/conf.c            write(fd, buf, p-buf);
fd               1148 core/conf.c            close(fd);
fd                255 core/gps.c         FILE *fd;
fd                260 core/gps.c         fd = fopen ( datei, "r" );
fd                262 core/gps.c         fseek (fd, 0, SEEK_END);
fd                263 core/gps.c         bitmap_size = ftell (fd);
fd                264 core/gps.c         fseek (fd, 0, SEEK_SET);
fd                267 core/gps.c         result = fread (bitmap,1,bitmap_size,fd);
fd                268 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                 41 core/main.c        int fd;
fd                 58 core/main.c            fd = -1;
fd                 62 core/main.c                    fd = open(fn, O_WRONLY|O_CREAT, 0777);
fd                 66 core/main.c            if (fd>=0) {
fd                 69 core/main.c                    write(fd, &val0, 4);
fd                 71 core/main.c                        write(fd, (void*)4, conf.memdmp_size - 4);
fd                 75 core/main.c                    write(fd, (void*)conf.memdmp_start, conf.memdmp_size);
fd                 77 core/main.c                close(fd);
fd                109 core/raw.c         int fd;
fd                133 core/raw.c         fd = open(fn, O_WRONLY|O_CREAT, 0777);
fd                135 core/raw.c         return fd;
fd                141 core/raw.c     void raw_closefile(int fd)
fd                143 core/raw.c         if(fd < 0) {
fd                149 core/raw.c         close(fd);
fd                170 core/raw.c             int fd = raw_createfile();
fd                171 core/raw.c             if(fd >= 0) {
fd                173 core/raw.c                 write(fd, ADR_TO_UNCACHED(rawadr), camera_sensor.raw_size);
fd                175 core/raw.c                 raw_closefile(fd);
fd                235 core/raw.c                 int fd = open(fn, O_RDONLY, 0777);
fd                236 core/raw.c                 if (fd >= 0) {
fd                237 core/raw.c                     read(fd, rawadr, camera_sensor.raw_size);
fd                238 core/raw.c                     close(fd);
fd                 29 core/raw.h     extern void raw_closefile(int fd);
fd                106 core/usb_remote.c     int fd;
fd                110 core/usb_remote.c     fd = open(fn, O_WRONLY|O_CREAT, 0777);
fd                111 core/usb_remote.c     if (fd>=0)
fd                113 core/usb_remote.c         write(fd, debug_rec_buf, sizeof(struct debug_rec_remote_state) * debug_num_rec);
fd                114 core/usb_remote.c         close(fd);
fd                199 core/usb_remote.c     int fd;
fd                202 core/usb_remote.c     fd = open("A/CALIB.TXT", O_WRONLY|O_CREAT, 0777);
fd                203 core/usb_remote.c     if (fd>=0) {
fd                204 core/usb_remote.c       write(fd, buf, strlen(buf));
fd                205 core/usb_remote.c       close(fd);
fd                 83 include/lolevel.h extern int _close (int fd);
fd                 86 include/lolevel.h extern int _lseek (int fd, long offset, int whence);
fd                 90 include/lolevel.h extern int _Close (int fd);
fd                 91 include/lolevel.h extern int _Write (int fd, const void *buffer, long nbytes);
fd                 92 include/lolevel.h extern int _Read (int fd, void *buffer, long nbytes);
fd                 93 include/lolevel.h extern int _Lseek (int fd, long offset, int whence);
fd                264 include/lolevel.h extern int _SetFileTimeStamp(int fd, int time1, int time2);
fd                265 include/lolevel.h extern void _SetFileAttributes(int fd, int attr);
fd                116 include/stdlib.h extern int close (int fd);
fd                117 include/stdlib.h extern int write (int fd, const void *buffer, long nbytes);
fd                118 include/stdlib.h extern int read (int fd, void *buffer, long nbytes);
fd                119 include/stdlib.h extern int lseek (int fd, long offset, int whence);
fd                133 include/stdlib.h     int fd;         // used by Read/Write
fd                 36 lib/armutil/reboot.c 	int fd;
fd                 44 lib/armutil/reboot.c 	fd = open(bootfile,O_RDONLY,0);
fd                 45 lib/armutil/reboot.c 	if(fd == -1) {
fd                 48 lib/armutil/reboot.c 	size = lseek(fd,0,SEEK_END);
fd                 55 lib/armutil/reboot.c 		close(fd);
fd                 58 lib/armutil/reboot.c 	lseek(fd,0,SEEK_SET);
fd                 59 lib/armutil/reboot.c 	rcnt = read(fd, buf, size);
fd                 60 lib/armutil/reboot.c 	close(fd);
fd                157 lib/font/rbf_font.c int font_read(int fd, unsigned char *dest, int len)
fd                172 lib/font/rbf_font.c             bytes_read += read(fd, ubuffer, to_read);
fd                197 lib/font/rbf_font.c     int fd = open(file, O_RDONLY, 0777);
fd                198 lib/font/rbf_font.c     if (fd >= 0) {
fd                200 lib/font/rbf_font.c         i = font_read(fd, (unsigned char*)&f->hdr, sizeof(font_hdr));
fd                212 lib/font/rbf_font.c             lseek(fd, f->hdr._wmapAddr, SEEK_SET);
fd                213 lib/font/rbf_font.c             font_read(fd, (unsigned char*)&f->wTable[f->hdr.charFirst], f->charCount);
fd                216 lib/font/rbf_font.c             lseek(fd, f->hdr._cmapAddr, SEEK_SET);
fd                217 lib/font/rbf_font.c             font_read(fd, (unsigned char*)f->cTable, f->charCount*f->hdr.charSize);
fd                226 lib/font/rbf_font.c         close(fd);
fd                 16 lib/lang/fileutil.c 	int fd;
fd                 34 lib/lang/fileutil.c 	        fd = open( name, O_RDONLY, 0777 );
fd                 35 lib/lang/fileutil.c 	        if (fd >= 0)
fd                 53 lib/lang/fileutil.c                             rsize += read(fd, ubuf, len);
fd                 61 lib/lang/fileutil.c 	            close(fd);
fd                159 lib/lang/fileutil.c 	int fd = open( filename, O_WRONLY|O_CREAT|O_TRUNC, 0777);
fd                160 lib/lang/fileutil.c 	if (fd>=0) 
fd                162 lib/lang/fileutil.c 		write(fd, buf, strlen(buf)+1);
fd                163 lib/lang/fileutil.c 		close(fd);
fd                 64 modules/curves.c 	FILE *fd;
fd                 92 modules/curves.c 	fd = fopen(name, "r+b");
fd                 93 modules/curves.c 	if (!fd) {
fd                 97 modules/curves.c 	fread(curve_data, 1, size, fd);
fd                 98 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                849 modules/dng.c          int fd = open(fn, O_RDONLY, 0777);
fd                850 modules/dng.c          if (fd >= 0)
fd                852 modules/dng.c              lseek(fd, st.st_size-camera_sensor.raw_size, SEEK_SET);
fd                853 modules/dng.c              read(fd, rawadr, camera_sensor.raw_size);
fd                854 modules/dng.c              close(fd);
fd               1018 modules/dng.c      FILE *fd;
fd               1033 modules/dng.c      fd=fopen(filename, "rb");
fd               1034 modules/dng.c      if (fd)
fd               1036 modules/dng.c          fread(ptr,1, filesize,fd);
fd               1037 modules/dng.c          fclose(fd);
fd               1269 modules/dng.c      int fd;
fd               1302 modules/dng.c      fd = raw_createfile();
fd               1303 modules/dng.c      if(fd < 0) {
fd               1314 modules/dng.c      write(fd, ADR_TO_UNCACHED(dng_header_buf), dng_header_buf_size + DNG_TH_BYTES);
fd               1334 modules/dng.c          write(fd,ADR_TO_UNCACHED(rb_state.written),size);
fd               1338 modules/dng.c      raw_closefile(fd);
fd                140 modules/edgeoverlay.c     FILE *fd;
fd                176 modules/edgeoverlay.c     fd = fopen(fn, "wb");
fd                177 modules/edgeoverlay.c     if(fd !=NULL)
fd                180 modules/edgeoverlay.c         fwrite(edgebuf->ptr,edgebuf->ptrLen,1,fd);
fd                181 modules/edgeoverlay.c         fwrite(&zoom,sizeof(zoom),1,fd);
fd                182 modules/edgeoverlay.c         fclose(fd);
fd                194 modules/edgeoverlay.c     FILE *fd;
fd                199 modules/edgeoverlay.c     fd = fopen(fn,"rb");
fd                200 modules/edgeoverlay.c     if( fd != NULL )
fd                202 modules/edgeoverlay.c         int ret = fread(edgebuf->ptr,edgebuf->ptrLen,1,fd);
fd                203 modules/edgeoverlay.c         int ret2 = fread (&zoom,sizeof(zoom),1,fd);
fd                204 modules/edgeoverlay.c         fclose(fd);
fd                249 modules/eyefi.c     int fd = open(eyefi_filename(filename), O_RDWR|O_CREAT, 0600);
fd                251 modules/eyefi.c     if (fd < 0)
fd                254 modules/eyefi.c     int bytesWritten = write(fd, eyefi_buf.buf, EYEFI_BUF_SIZE);
fd                255 modules/eyefi.c     close(fd);
fd                266 modules/eyefi.c     int fd = open(eyefi_filename(filename), O_RDONLY, 0777);
fd                268 modules/eyefi.c     if (fd < 0)
fd                271 modules/eyefi.c     int bytesRead = read(fd, eyefi_buf.buf, EYEFI_BUF_SIZE);
fd                272 modules/eyefi.c     close(fd);
fd                162 modules/games/gui_sokoban.c     FILE *fd;    
fd                167 modules/games/gui_sokoban.c     fd=fopen(level_file_name,"rb");
fd                168 modules/games/gui_sokoban.c     if(!fd) {
fd                175 modules/games/gui_sokoban.c         fclose(fd);
fd                179 modules/games/gui_sokoban.c     if(fseek(fd,start,SEEK_SET) != 0) {
fd                180 modules/games/gui_sokoban.c         fclose(fd);
fd                184 modules/games/gui_sokoban.c     fread(buf,1,len,fd);
fd                186 modules/games/gui_sokoban.c     fclose(fd);
fd                290 modules/games/gui_sokoban.c         FILE *fd;    
fd                296 modules/games/gui_sokoban.c         fd=fopen(level_file_name,"rb");
fd                297 modules/games/gui_sokoban.c         if(!fd) 
fd                302 modules/games/gui_sokoban.c             fclose(fd);
fd                306 modules/games/gui_sokoban.c         fread(buf,1,st.st_size,fd);
fd                308 modules/games/gui_sokoban.c         fclose(fd);
fd                156 modules/gui_bench.c     int fd = open(BENCHLOGFILE, O_WRONLY|O_CREAT|O_APPEND, 0777);
fd                157 modules/gui_bench.c     if (fd >= 0)
fd                159 modules/gui_bench.c         lseek(fd, 0, SEEK_END);
fd                160 modules/gui_bench.c         write(fd, txtbuf, txtbufptr);
fd                161 modules/gui_bench.c         close(fd);
fd                118 modules/module_load.c int b_read(int fd, char* buf, int len)
fd                128 modules/module_load.c         now = read(fd, buf_load, now);
fd                137 modules/module_load.c void b_close(int fd)
fd                139 modules/module_load.c     if (fd >= 0)
fd                140 modules/module_load.c         close(fd);
fd                276 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                280 modules/module_load.c         if (lseek(fd, offset, SEEK_SET) == offset)
fd                282 modules/module_load.c             if (read(fd, buf_load, segment_size) == segment_size)
fd                305 modules/module_load.c         int fd = open("A/MODULES.LOG", O_WRONLY|O_CREAT|O_APPEND, 0777);
fd                306 modules/module_load.c         if (fd >= 0)
fd                308 modules/module_load.c             lseek(fd, 0, SEEK_END);
fd                309 modules/module_load.c             write(fd, buf, strlen(buf));
fd                310 modules/module_load.c             close(fd);
fd                467 modules/module_load.c static char* load_module_file(int fd, const char* name, int size, int bss_size, flat_hdr** flat_buf)
fd                475 modules/module_load.c     if (lseek(fd, 0, SEEK_SET) == 0)
fd                477 modules/module_load.c         if (b_read(fd, (char*)*flat_buf, size) == size)
fd                493 modules/module_load.c static char* link_module(int fd, flat_hdr* flat_buf)
fd                505 modules/module_load.c     if (!module_do_action(fd, flat_buf, flat_buf->reloc_start, reloc_size, module_do_relocations))
fd                508 modules/module_load.c     if (!module_do_action(fd, flat_buf, flat_buf->import_start, import_size, module_do_imports))
fd                848 modules/module_load.c     int fd = open(path, O_RDONLY, 0777);
fd                849 modules/module_load.c     if (fd < 0)
fd                854 modules/module_load.c     read(fd, (char*)&flat, sizeof(flat_hdr));
fd                859 modules/module_load.c         lseek(fd, flat._module_info_offset, SEEK_SET);
fd                860 modules/module_load.c         read(fd, mi, sizeof(ModuleInfo));
fd                865 modules/module_load.c             lseek(fd, mi->moduleName, SEEK_SET);
fd                866 modules/module_load.c             read(fd, modName, modNameLen-1);
fd                871 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                 90 modules/shot_histogram.c     int fd = open(fn, O_WRONLY|O_CREAT, 0777);
fd                 91 modules/shot_histogram.c     if (fd >= 0)
fd                 93 modules/shot_histogram.c         write(fd, shot_histogram, SHOT_HISTOGRAM_SIZE);
fd                 94 modules/shot_histogram.c         close(fd);
fd                635 modules/zebra.c     int 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                204 platform/generic/filewrite.c int fwt_write(int fd, const void *buffer, long nbytes) {
fd                206 platform/generic/filewrite.c         return _Write(fd, buffer, nbytes);
fd                213 platform/generic/filewrite.c int fwt_lseek(int fd, long offset, int whence) {
fd                215 platform/generic/filewrite.c         return _lseek(fd, offset, whence);
fd                221 platform/generic/filewrite.c int fwt_close (int fd) {
fd                223 platform/generic/filewrite.c         int ret = _Close(fd);
fd                208 platform/generic/main.c     FILE *fd = fopen("A/stdout.txt", "a");
fd                209 platform/generic/main.c     if (fd) {
fd                210 platform/generic/main.c         fwrite(buf, 1, len, fd);
fd                211 platform/generic/main.c         fclose(fd);
fd                227 platform/generic/main.c     FILE *fd = fopen("A/chdklog.txt", "a");
fd                228 platform/generic/main.c     if (fd) {
fd                233 platform/generic/main.c         fwrite(buf, 1, buflen, fd);
fd                242 platform/generic/main.c         fwrite("tyWrite replaced, camera log enabled\n", 1, sizeof("tyWrite replaced, camera log enabled\n"), fd);
fd                245 platform/generic/main.c     if (fd)
fd                247 platform/generic/main.c         fclose(fd);
fd                470 platform/generic/wrappers.c     int fd = _Open(name, flags, mode);
fd                474 platform/generic/wrappers.c     if (fd == -1)
fd                477 platform/generic/wrappers.c     return fd;
fd                480 platform/generic/wrappers.c int close (int fd)
fd                485 platform/generic/wrappers.c     if (fd == -1)
fd                498 platform/generic/wrappers.c     int r = _Close(fd);
fd                508 platform/generic/wrappers.c int write (int fd, const void *buffer, long nbytes)
fd                510 platform/generic/wrappers.c     if (fd == -1)
fd                523 platform/generic/wrappers.c     int r = _Write(fd, buffer, nbytes);
fd                529 platform/generic/wrappers.c int read (int fd, void *buffer, long nbytes)
fd                531 platform/generic/wrappers.c     return _Read(fd, buffer, nbytes);
fd                534 platform/generic/wrappers.c int lseek (int fd, long offset, int whence)
fd                536 platform/generic/wrappers.c     return _lseek(fd, offset, whence); /* yes, it's lower-case lseek here since Lseek calls just lseek (A610) */
fd                935 platform/generic/wrappers.c     int fd;
fd                936 platform/generic/wrappers.c     fd = _open(file, 0, 0);
fd                939 platform/generic/wrappers.c     if (fd>=0) {
fd                940 platform/generic/wrappers.c         _close(fd);
fd                944 platform/generic/wrappers.c     if (fd>=0) {
fd                945 platform/generic/wrappers.c         res=_SetFileTimeStamp(fd, newTimes->modtime, newTimes->actime);
fd                946 platform/generic/wrappers.c         _close(fd);
fd               1752 platform/generic/wrappers.c     int fd;
fd               1755 platform/generic/wrappers.c     fd = open(fn, 0, 0);
fd               1756 platform/generic/wrappers.c     if( fd ) {
fd               1757 platform/generic/wrappers.c         _SetFileAttributes(fd, attr);
fd               1758 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                238 platform/ixus30_sd200/main.c 	FILE *fd = fopen("A/stdout.txt", "a");
fd                239 platform/ixus30_sd200/main.c 	if (fd) {
fd                240 platform/ixus30_sd200/main.c 	    fwrite(buf, 1, len, fd);
fd                241 platform/ixus30_sd200/main.c 	    fclose(fd);
fd                256 platform/ixus30_sd200/main.c 	FILE *fd = fopen("A/chdklog.txt", "a");
fd                257 platform/ixus30_sd200/main.c 	if (fd) {
fd                262 platform/ixus30_sd200/main.c 	    fwrite(buf, 1, buflen, fd);
fd                271 platform/ixus30_sd200/main.c 	    fwrite("tyWrite replaced, camera log enabled\n", 1, sizeof("tyWrite replaced, camera log enabled\n"), fd);
fd                274 platform/ixus30_sd200/main.c 	if (fd)
fd                276 platform/ixus30_sd200/main.c 	    fclose(fd);
fd                238 platform/ixus40_sd300/main.c 	FILE *fd = fopen("A/stdout.txt", "a");
fd                239 platform/ixus40_sd300/main.c 	if (fd) {
fd                240 platform/ixus40_sd300/main.c 	    fwrite(buf, 1, len, fd);
fd                241 platform/ixus40_sd300/main.c 	    fclose(fd);
fd                256 platform/ixus40_sd300/main.c 	FILE *fd = fopen("A/chdklog.txt", "a");
fd                257 platform/ixus40_sd300/main.c 	if (fd) {
fd                262 platform/ixus40_sd300/main.c 	    fwrite(buf, 1, buflen, fd);
fd                271 platform/ixus40_sd300/main.c 	    fwrite("tyWrite replaced, camera log enabled\n", 1, sizeof("tyWrite replaced, camera log enabled\n"), fd);
fd                274 platform/ixus40_sd300/main.c 	if (fd)
fd                276 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                 49 tools/elf2flt/myio.c int b_read (int fd, void* buf, unsigned int count)
fd                 59 tools/elf2flt/myio.c int b_seek(int fd, long offset, int whence)
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                 18 tools/elf2flt/myio.h int b_read (int fd, void* buf, unsigned int count);
fd                 19 tools/elf2flt/myio.h int b_seek(int fd, long offset, int whence);
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               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)