Searched refs:fname (Results 1 - 25 of 30) sorted by relevance

12

/haiku/src/add-ons/media/media-add-ons/finepix_webcam/FinePixUSBKitTest/
H A DFinePixTest.cpp24 char fname[100]; local
25 sprintf(fname, "frame-%05d.jpg", i);
26 int fd = open(fname, O_WRONLY | O_CREAT,0644);
29 fprintf(stderr,"Saved as file:%s \n", fname);
/haiku/src/bin/unzip/
H A Dapihelp.c92 static int function_help OF((__GPRO__ APIDocStruct *doc, char *fname));
96 static int function_help(__G__ doc, fname)
99 char *fname; variable
101 strcpy(slide, fname);
103 while (doc->compare && STRNICMP(doc->compare,slide,strlen(fname)))
/haiku/src/system/libroot/posix/glibc/include/sys/
H A Dstat.h43 #define stat(fname, buf) __xstat (_STAT_VER, fname, buf)
44 #define lstat(fname, buf) __lxstat (_STAT_VER, fname, buf)
45 #define __lstat(fname, buf) __lxstat (_STAT_VER, fname, buf)
46 #define lstat64(fname, buf) __lxstat64 (_STAT_VER, fname, buf)
47 #define stat64(fname, buf) __xstat64 (_STAT_VER, fname, bu
[all...]
/haiku/src/add-ons/accelerants/matrox/engine/
H A Dmga_support.c21 char fname[64]; local
27 sprintf (fname, "/boot/home/" DRIVER_PREFIX "." DEVICE_FORMAT ".%d.log",
30 myhand=fopen(fname,"a+");
/haiku/src/add-ons/accelerants/neomagic/engine/
H A Dnm_support.c21 char fname[64]; local
25 sprintf (fname, "/boot/home/" DRIVER_PREFIX ".accelerant.%d.log", accelerantIsClone);
26 myhand=fopen(fname,"a+");
/haiku/src/add-ons/accelerants/nvidia/engine/
H A Dnv_support.c21 char fname[64]; local
27 sprintf (fname, "/boot/home/" DRIVER_PREFIX "." DEVICE_FORMAT ".%d.log",
30 myhand=fopen(fname,"a+");
/haiku/src/add-ons/accelerants/skeleton/engine/
H A Dsupport.c21 char fname[64]; local
25 sprintf (fname, "/boot/home/" DRIVER_PREFIX ".accelerant.%d.log", accelerantIsClone);
26 myhand=fopen(fname,"a+");
/haiku/src/add-ons/accelerants/via/engine/
H A Dsupport.c21 char fname[64]; local
25 sprintf (fname, "/boot/home/" DRIVER_PREFIX ".accelerant.%d.log", accelerantIsClone);
26 myhand=fopen(fname,"a+");
/haiku/src/bin/
H A Dchop.c125 do_chop(char *fname) argument
135 if (stat(fname, &e) == -1) {
136 fprintf(stderr, "'%s': no such file or directory\n", fname);
142 fprintf(stderr, "'%s' is a directory\n", fname);
149 fprintf(stderr, "'%s': file is already small enough\n", fname);
157 strcpy(buf, fname);
167 fd = open(fname, O_RDONLY);
169 fprintf(stderr, "can't open '%s': %s\n", fname, strerror(errno));
171 chop_file(fd, fname, fsize);
178 chop_file(int fdin, char *fname, off_ argument
[all...]
H A Dhd.c96 do_hd(char *fname) argument
100 if (stat(fname, &e) == -1) {
101 fprintf(stderr, "'%s': no such file or directory\n", fname);
106 fprintf(stderr, "'%s' is a directory\n", fname);
108 FILE *fp = fopen(fname, "rb");
114 fprintf(stderr, "'%s': %s\n", fname, strerror(errno));
H A Dunchop.c136 valid_file(char *fname) argument
144 if (stat(fname, &e) == -1) {
/haiku/src/tests/system/libroot/posix/
H A Dtst-ungetwc1.c17 char fname[] = "/tmp/tst-ungetwc1.out.XXXXXX"; local
27 fd = mkstemp(fname);
42 if ((fp = fopen(fname, "r")) == NULL) {
71 unlink(fname);
H A Dtst-ungetwc2.c17 char fname[] = "/tmp/tst-ungetwc2.out.XXXXXX"; local
29 fd = mkstemp(fname);
42 if ((fp = fopen(fname, "r")) == NULL) {
74 unlink(fname);
H A Dfseek_test.cpp34 char *fname; local
48 asprintf(&fname, "%s/tst-fseek.XXXXXX", tmpdir);
49 if (fname == NULL)
53 fd = mkstemp(fname);
314 fp = fopen(fname, "r");
333 fp = fopen(fname, "r");
356 unlink(fname);
/haiku/src/add-ons/print/drivers/postscript/
H A DPPDParser.h16 PPDParser(const BDirectory& dir, const char* fname);
H A DPPDParser.cpp22 PPDParser::PPDParser(const BDirectory& dir, const char* fname) argument
24 BFile file(&dir, fname, B_READ_ONLY);
/haiku/src/system/libroot/posix/malloc_hoard2/
H A Dprocessheap.cpp76 char fname[255]; local
77 sprintf(fname, "log%d", i);
78 unlink(fname);
79 _log[i].open(fname);
/haiku/src/system/libroot/os/arch/sparc/
H A Dsoftfloat.c58 #define _QP_TTOQ(qname, fname, ntype, signpos, atype, ...) \
69 fe.fe_f1.fp_class = __fpu_ ## fname ## tof(&fe.fe_f1, __VA_ARGS__); \
75 #define _QP_QTOT(qname, fname, type, ...) \
87 u.a = __fpu_fto ## fname(&fe, &fe.fe_f1, ## __VA_ARGS__); \
/haiku/src/system/libroot/posix/glibc/include/
H A Dstdio_private.h79 # define fopen(fname, mode) _IO_new_fopen (fname, mode)
/haiku/src/add-ons/accelerants/neomagic/
H A DInitAccelerant.c289 char fname[64]; local
292 sprintf (fname, "/boot/home/" DRIVER_PREFIX ".accelerant.0.log");
293 myhand=fopen(fname,"a+");
/haiku/src/add-ons/accelerants/skeleton/
H A DInitAccelerant.c250 char fname[64]; local
253 sprintf (fname, "/boot/home/" DRIVER_PREFIX ".accelerant.0.log");
254 myhand=fopen(fname,"a+");
/haiku/src/add-ons/accelerants/nvidia/
H A DInitAccelerant.c282 char fname[64]; local
285 sprintf (fname, "/boot/home/" DRIVER_PREFIX ".accelerant.0.log");
286 myhand=fopen(fname,"a+");
/haiku/src/add-ons/accelerants/matrox/
H A DInitAccelerant.c262 char fname[64]; local
265 sprintf (fname, "/boot/home/" DRIVER_PREFIX ".accelerant.0.log");
266 myhand=fopen(fname,"a+");
/haiku/src/add-ons/accelerants/via/
H A DInitAccelerant.c248 char fname[64]; local
251 sprintf (fname, "/boot/home/" DRIVER_PREFIX ".accelerant.0.log");
252 myhand=fopen(fname,"a+");
/haiku/src/add-ons/kernel/drivers/graphics/intel_extreme/
H A Dbios.cpp268 char fname[64]; local
271 sprintf (fname, kUserDirectory "//intel_extreme.%04x_%04x_%02x%02x%02x.rom",
274 fd = open (fname, O_WRONLY | O_CREAT, 0666);

Completed in 108 milliseconds

12