Home
last modified time | relevance | path

Searched refs:ofname (Results 1 – 10 of 10) sorted by relevance

/external/libdivsufsort/examples/
Dbwt.c81 const char *fname, *ofname; local
133 if(fopen_s(&ofp, ofname = argv[i], "wb") != 0) {
135 if((ofp = LFS_FOPEN(ofname = argv[i], "wb")) == NULL) {
137 fprintf(stderr, "%s: Cannot open file `%s': ", argv[0], ofname);
150 ofname = "stdout";
177 fprintf(stderr, "%s: Cannot write to `%s': ", argv[0], ofname);
197 fprintf(stderr, "%s: Cannot write to `%s': ", argv[0], ofname);
Dmksary.c71 const char *fname, *ofname; local
111 if(fopen_s(&ofp, ofname = argv[2], "wb") != 0) {
113 if((ofp = LFS_FOPEN(ofname = argv[2], "wb")) == NULL) {
115 fprintf(stderr, "%s: Cannot open file `%s': ", argv[0], ofname);
128 ofname = "stdout";
182 fprintf(stderr, "%s: Cannot write to `%s': ", argv[0], ofname);
Dunbwt.c83 const char *fname, *ofname; local
125 if(fopen_s(&ofp, ofname = argv[2], "wb") != 0) {
127 if((ofp = LFS_FOPEN(ofname = argv[2], "wb")) == NULL) {
129 fprintf(stderr, "%s: Cannot open file `%s': ", argv[0], ofname);
142 ofname = "stdout";
184 fprintf(stderr, "%s: Cannot write to `%s': ", argv[0], ofname);
/external/scapy/
Dsetup.py22 ofname = fname + ".old"
23 os.rename(fname, ofname)
24 of = open(ofname)
35 os.unlink(ofname)
/external/blktrace/
Dblkrawverify.c154 char ofname[1024]; in process() local
160 sprintf(ofname, "%s.verify.out", devname); in process()
163 *fp = fopen(ofname, "w"); in process()
166 ofname, strerror(errno)); in process()
284 char *ofname = malloc(1024); in main() local
295 sprintf(ofname, "%s.verify.out", devname); in main()
319 fprintf(stdout, "Wrote output to %s\n", ofname); in main()
Dblkparse.c2901 char ofname[PATH_MAX]; in main() local
2903 snprintf(ofname, sizeof(ofname) - 1, "%s", output_name); in main()
2904 ofp = fopen(ofname, "w"); in main()
/external/python/cpython3/Lib/
Dbinhex.py164 ofname = ofp
165 ofp = io.open(ofname, 'wb')
/external/python/cpython2/Lib/
Dbinhex.py177 ofname = ofp
178 ofp = open(ofname, 'w')
/external/python/cpython2/Lib/test/
Dtest_subprocess.py737 ofhandle, ofname = tempfile.mkstemp()
746 os.remove(ofname)
750 self.assertFalse(os.path.exists(ofname))
/external/python/cpython3/Lib/test/
Dtest_subprocess.py1418 ofhandle, ofname = tempfile.mkstemp()
1427 os.remove(ofname)
1431 self.assertFalse(os.path.exists(ofname))