Searched refs:sfopen (Results 1 - 25 of 188) sorted by relevance

12345678

/ast/src/lib/libast/stdio/
H A Dfopen.c29 return sfopen(NiL, path, mode);
H A Dfreopen.c31 return sfopen(f, path, mode);
/ast/src/cmd/tests/sfio/
H A Dtopen.c27 if(sfopen(sfstdout,"abc","s") != sfstdout)
29 if(sfopen(sfstdin,"123","s") != sfstdin)
33 if(!(f = sfopen(NIL(Sfio_t*),"123","s")) )
36 if(sfopen(f,"123","s") != NIL(Sfio_t*))
49 if(!(f = sfopen(NIL(Sfio_t*),tstfile("sf", 0),"wx") ) )
50 terror("sfopen failed");
51 if((f = sfopen(f,tstfile("sf", 0),"wx") ) )
52 terror("sfopen should not succeed here");
H A Dtleak.c26 if(sfopen(sfstdout, tstfile("sf", 0), "w") != sfstdout)
31 if(sfopen(sfstdout, tstfile("sf", 1),"w") != sfstdout)
34 if(sfopen(sfstdin, tstfile("sf", 0), "r") != sfstdin)
H A Dtatexit.c26 Sfio_t* f = sfopen(NIL(Sfio_t*), tstfile("sf", 0), "w");
48 { if(!(f = sfopen(NIL(Sfio_t*), tstfile("sf", 1), "w")) )
60 if(!(f = sfopen(NIL(Sfio_t*), tstfile("sf", 1), "w")) )
H A Dtmode.c27 { if(sfopen(sfstdin,argv[1],"r") != sfstdin)
33 if(!(f = sfopen((Sfio_t*)0,tstfile("sf", 0),"w")))
40 if(!(f = sfopen(f,tstfile("sf", 0),"r")))
47 if(!(f = sfopen(f,tstfile("sf", 0),"r+")))
66 if(!(f = sfopen(f,tstfile("sf", 0),"w")) )
67 terror("sfopen");
76 if(!(f = sfopen(NIL(Sfio_t*),tstfile("sf", 0),"a+")) )
H A Dtappend.c30 if(!(f1 = sfopen(NIL(Sfio_t*), tstfile("sf", 0), "w")) )
32 if(!(f1 = sfopen(f1, tstfile("sf", 0), "a+")) )
35 if(!(f2 = sfopen(NIL(Sfio_t*), tstfile("sf", 0), "a+")) )
75 if(!(f1 = sfopen(f1, tstfile("sf", 0), "w")) )
81 if(!(f1 = sfopen(f1, tstfile("sf", 0), "a")) )
H A Dtmultiple.c38 { Sfio_t* f = sfopen(NIL(Sfio_t*),NIL(char*),"swr");
52 if(sfopen(sfstdout, tstfile("sf", 0), "w") != sfstdout )
59 sfopen(sfstdout,"/dev/null","w");
62 if(sfopen(sfstdin, tstfile("sf", 0),"r") != sfstdin)
73 if(sfopen(sfstdin, tstfile("sf", 0), "r") != sfstdin)
85 if(sfopen(sfstdin, tstfile("sf", 0), "r") != sfstdin)
H A Dtstatus.c28 if(!(ip = sfopen((Sfio_t*)0, "/dev/null", "r")))
30 if(!(op = sfopen((Sfio_t*)0, tstfile("sf", 0), "w")))
H A Dtswap.c28 if(!(f1 = sfopen(NIL(Sfio_t*), tstfile("sf", 0),"w+")) )
47 if(!(f2 = sfopen(NIL(Sfio_t*), tstfile("sf", 0), "r")) )
H A Dtflags.c26 if(!(f = sfopen(NIL(Sfio_t*),"ab","sr")) )
47 if(!(f = sfopen(NIL(Sfio_t*), tstfile("sf", 0), "w+")) )
72 if(!(f = sfopen(NIL(Sfio_t*), tstfile("sf", 0),"w+")) )
77 if(sfopen(sfstdout, tstfile("sf", 1), "w") != sfstdout)
H A Dtmove.c30 if(sfopen(sfstdout,tstfile("sf", 0),"w+") != sfstdout)
36 if(!(f = sfopen((Sfio_t*)0,tstfile("sf", 1),"w")))
49 sfopen(sfstdin,tstfile("sf", 0),"r");
50 sfopen(sfstdout,tstfile("sf", 1),"w");
H A Dtresize.c31 if(!(f = sfopen(NIL(Sfio_t*), tstfile("sf", 0), "w")) )
43 if(!(f = sfopen(NIL(Sfio_t*), tstfile("sf", 0), "r+")) )
62 if(!(f = sfopen(NIL(Sfio_t*), tstfile("sf", 0), "r+")) )
71 if(!(f = sfopen(NIL(Sfio_t*), tstfile("sf", 0), "r+")) )
78 if(!(f = sfopen(NIL(Sfio_t*), NIL(char*), "rws")) )
H A Dtpool.c46 if(!(f1 = sfopen((Sfio_t*)0,tstfile("sf", 0),"w+")) ||
47 !(f2 = sfopen((Sfio_t*)0,tstfile("sf", 1),"w")) ||
48 !(f3 = sfopen((Sfio_t*)0,tstfile("sf", 2),"w")))
51 if(!(f4 = sfopen((Sfio_t*)0,tstfile("sf", 0),"r+")) )
80 if(!(f1 = sfopen(f1, tstfile("sf", 0), "r")) ||
81 !(f2 = sfopen(f2, tstfile("sf", 1), "r")) ||
82 !(f3 = sfopen(f3, tstfile("sf", 2), "r")) )
83 terror("sfopen for file comparison");
118 if(!(f1 = sfopen((Sfio_t*)0,tstfile("sf", 0),"r")))
119 terror("sfopen");
[all...]
H A Dtpipemove.c37 if(sfopen(sfstdout,tstfile("sf", 0),"w") != sfstdout)
39 if(sfopen(sfstdin,tstfile("sf", 0),"r") != sfstdin)
H A Dtwalk.c41 if(!(f = sfopen(0, 0, "sw")) )
H A Dthole.c31 if(!(null = sfopen(NIL(Sfio_t*),"/dev/null","w")) )
36 if(!(f = sfopen(NIL(Sfio_t*), tstfile("sf", 0), "w+")) )
55 if(!(f = sfopen(f, tstfile("sf", 0), "w+")) )
H A Dtstack.c87 if(!(f1 = sfopen(NIL(Sfio_t*), tstfile("sf", 0),"w+")) )
89 if(!(f2 = sfopen(NIL(Sfio_t*), tstfile("sf", 0),"w+")) )
109 if(!(f1 = sfopen((Sfio_t*)0,s1,"s")) ||
110 !(f2 = sfopen((Sfio_t*)0,s2,"s")) ||
111 !(f3 = sfopen((Sfio_t*)0,s3,"s")))
119 if(!(f = sfopen(NIL(Sfio_t*), tstfile("sf", 0),"w+")) )
128 if(sfopen(sfstdout,"/dev/null","w") != sfstdout)
165 if(!(f1 = sfopen((Sfio_t*)0,s1,"s")) ||
166 !(f2 = sfopen((Sfio_t*)0,s2,"s")) ||
167 !(f3 = sfopen((Sfio_
[all...]
H A Dtpublic.c30 if(!(f = sfopen(NIL(Sfio_t*), tstfile("sf", 0), "w")) )
37 if(!(f = sfopen(f, tstfile("sf", 0), "r")) )
61 if(!(f = sfopen(NIL(Sfio_t*), tstfile("sf", 0), "r+")) )
83 if(!(f = sfopen(f, tstfile("sf", 0), "w")) )
98 if(!(f = sfopen(f, tstfile("sf", 0), "r")) )
121 if(!(f = sfopen(f, tstfile("sf", 0), "w")) )
126 if(sfopen(sfstdin,tstfile("sf", 0),"r") != sfstdin)
H A Dtstring.c40 if(!(f = sfopen((Sfio_t*)0, (char*)0, "srw")) )
58 if(!(f = sfopen((Sfio_t*)0,os,"s")))
75 if(!(f = sfopen(f,(char*)0,"s+")))
92 if(!(f = sfopen(f,(char*)0,"s+")))
105 if(!(f = sfopen(f,(char*)0,"s+")))
110 if(!(f = sfopen((Sfio_t*)0,(char*)0,"s+")))
130 if(!(f = sfopen((Sfio_t*)0,(char*)0,"s+")))
H A Dtseek.c51 if(!(f = sfopen((Sfio_t*)0, tstfile("sf", 0),"w")))
57 if(!(f = sfopen(f, tstfile("sf", 0),"r")))
77 if(!(f = sfopen(f,tstfile("sf", 0),"w")) )
90 if(!(f = sfopen(f,tstfile("sf", 0),"w")))
97 if(!(f = sfopen(f,tstfile("sf", 0),"r")))
108 if(!(f = sfopen(f,tstfile("sf", 0),"r")))
134 if(!(f = sfopen(NIL(Sfio_t*),tstfile("sf", 0),"w")) )
139 if(!(f = sfopen(f,tstfile("sf", 0),"r")) )
156 if(!(f = sfopen(NIL(Sfio_t*), tmp, "w")) )
163 if(!(f = sfopen(NI
[all...]
H A Dtalign.c49 if(!(f = sfopen(NIL(Sfio_t*), tstfile("sf", 0), "w")) )
60 if(!(f = sfopen(NIL(Sfio_t*), tstfile("sf", 0), "r")) )
/ast/src/lib/libast/sfio/
H A Dsfopen.c25 * _sfopen() wrapper to allow user sfopen() intercept
31 Sfio_t* sfopen(Sfio_t* f, const char* file, const char* mode) function
33 Sfio_t* sfopen(f,file,mode)
/ast/src/cmd/sort/
H A DMakefile5 sort :: README RELEASE PROMO.mm main.c sfopen.c \
12 rec :: LICENSE=since=2005,author=gsf rec.c sfopen.c
/ast/src/lib/libast/port/
H A Dastquery.c65 else if (!(rfp = sfopen(NiL, "/dev/tty", "r")))
69 else if (!(wfp = sfopen(NiL, "/dev/tty", "w")))

Completed in 41 milliseconds

12345678