Home
last modified time | relevance | path

Searched defs:s (Results 1 – 25 of 1829) sorted by relevance

12345678910>>...74

/plan9/sys/src/cmd/gs/src/
H A Dgdevbjcl.c27 bjc_put_bytes(stream *s, const byte *data, uint count) in bjc_put_bytes()
35 bjc_put_hi_lo(stream *s, int value) in bjc_put_hi_lo()
42 bjc_put_lo_hi(stream *s, int value) in bjc_put_lo_hi()
49 bjc_put_command(stream *s, int ch, int count) in bjc_put_command()
61 bjc_put_LF(stream *s) in bjc_put_LF()
68 bjc_put_FF(stream *s) in bjc_put_FF()
75 bjc_put_CR(stream *s) in bjc_put_CR()
82 bjc_put_initialize(stream *s) in bjc_put_initialize()
89 bjc_put_set_initial(stream *s) in bjc_put_set_initial()
96 bjc_put_set_compression(stream *s, bjc_raster_compression_t compression) in bjc_put_set_compression()
[all …]
H A Dstream.h138 #define s_is_valid(s) ((s)->modes != 0) argument
139 #define s_is_reading(s) (((s)->modes & s_mode_read) != 0) argument
140 #define s_is_writing(s) (((s)->modes & s_mode_write) != 0) argument
141 #define s_can_seek(s) (((s)->modes & s_mode_seek) != 0) argument
194 #define s_init_ids(s) ((s)->read_id = (s)->write_id = 1) argument
195 #define s_init_read_id(s) ((s)->read_id = 1, (s)->write_id = 0) argument
196 #define s_init_write_id(s) ((s)->read_id = 0, (s)->write_id = 1) argument
197 #define s_init_no_id(s) ((s)->read_id = (s)->write_id = 0) argument
209 #define sendrp(s) ((s)->srptr >= (s)->srlimit) /* NOT FOR CLIENTS */ argument
210 #define sendwp(s) ((s)->swptr >= (s)->swlimit) /* NOT FOR CLIENTS */ argument
[all …]
H A Dgdevpxut.c34 px_write_file_header(stream *s, const gx_device *dev) in px_write_file_header()
75 px_write_page_header(stream *s, const gx_device *dev) in px_write_page_header()
87 px_write_select_media(stream *s, const gx_device *dev, in px_write_select_media()
149 px_put_bytes(stream * s, const byte * data, uint count) in px_put_bytes()
159 px_put_a(stream * s, px_attribute_t a) in px_put_a()
165 px_put_ac(stream *s, px_attribute_t a, px_tag_t op) in px_put_ac()
172 px_put_ub(stream * s, byte b) in px_put_ub()
178 px_put_uba(stream *s, byte b, px_attribute_t a) in px_put_uba()
185 px_put_s(stream * s, uint i) in px_put_s()
191 px_put_us(stream * s, uint i) in px_put_us()
[all …]
H A Dspprint.c29 stream_write(stream * s, const void *ptr, uint count) in stream_write()
39 stream_puts(stream * s, const char *str) in stream_puts()
51 pprintf_scan(stream * s, const char *format) in pprintf_scan()
68 pputs_short(stream *s, const char *str) in pputs_short()
78 pprintd1(stream * s, const char *format, int v) in pprintd1()
92 pprintd2(stream * s, const char *format, int v1, int v2) in pprintd2()
97 pprintd3(stream * s, const char *format, int v1, int v2, int v3) in pprintd3()
102 pprintd4(stream * s, const char *format, int v1, int v2, int v3, int v4) in pprintd4()
110 pprintg1(stream * s, const char *format, floatp v) in pprintg1()
128 pprintg2(stream * s, const char *format, floatp v1, floatp v2) in pprintg2()
[all …]
H A Dstream.c103 s_init(stream *s, gs_memory_t * mem) in s_init()
118 stream *s = gs_alloc_struct(mem, stream, &st_stream, cname); in s_alloc() local
155 s_std_init(register stream * s, byte * ptr, uint len, const stream_procs * pp, in s_std_init()
183 ssetfilename(stream *s, const byte *data, uint size) in ssetfilename()
205 sfilename(stream *s, gs_const_string *pfname) in sfilename()
218 s_std_null(stream * s) in s_std_null()
225 s_std_read_reset(stream * s) in s_std_read_reset()
232 s_std_write_reset(stream * s) in s_std_write_reset()
239 s_std_read_flush(stream * s) in s_std_read_flush()
252 s_std_write_flush(stream * s) in s_std_write_flush()
[all …]
H A Dsfxstdio.c46 sread_file(register stream * s, FILE * file, byte * buf, uint len) in sread_file()
75 sread_subfile(stream *s, long start, long length) in sread_subfile()
91 s_file_available(register stream * s, long *pl) in s_file_available()
117 s_file_read_seek(register stream * s, long pos) in s_file_read_seek()
136 s_file_read_close(stream * s) in s_file_read_close()
155 stream *s = (stream *)st; /* no separate state */ in s_file_read_process() local
179 swrite_file(register stream * s, FILE * file, byte * buf, uint len) in swrite_file()
197 sappend_file(register stream * s, FILE * file, byte * buf, uint len) in sappend_file()
207 s_file_write_seek(stream * s, long pos) in s_file_write_seek()
220 s_file_write_flush(register stream * s) in s_file_write_flush()
[all …]
H A Dsfxfd.c76 sfileno(const stream *s) in sfileno()
110 sread_fileno(register stream * s, FILE * file, byte * buf, uint len) in sread_fileno()
142 sread_subfile(stream *s, long start, long length) in sread_subfile()
159 s_fileno_available(register stream * s, long *pl) in s_fileno_available()
186 s_fileno_read_seek(register stream * s, long pos) in s_fileno_read_seek()
205 s_fileno_read_close(stream * s) in s_fileno_read_close()
222 stream *s = (stream *)st; /* no separate state */ in s_fileno_read_process() local
258 swrite_fileno(register stream * s, FILE * file, byte * buf, uint len) in swrite_fileno()
277 sappend_fileno(register stream * s, FILE * file, byte * buf, uint len) in sappend_fileno()
286 s_fileno_write_seek(stream * s, long pos) in s_fileno_write_seek()
[all …]
H A Dzfileio.c48 stream *s; in zclosefile() local
73 stream *s; in zread() local
106 stream *s; in zwrite() local
131 stream *s; in zreadhexstring_at() local
212 register stream *s; in zwritehexstring_at() local
291 stream *s; in zreadstring_at() local
351 stream *s; in zwritestring() local
381 stream *s; in zreadline_at() local
446 zreadline_from(stream *s, gs_string *buf, gs_memory_t *bufmem, in zreadline_from()
464 stream *s; in zbytesavailable() local
[all …]
H A Dgdebug.h75 # define if_debug0(c,s)\ argument
77 # define if_debug1(c,s,a1)\ argument
79 # define if_debug2(c,s,a1,a2)\ argument
81 # define if_debug3(c,s,a1,a2,a3)\ argument
83 # define if_debug4(c,s,a1,a2,a3,a4)\ argument
85 # define if_debug5(c,s,a1,a2,a3,a4,a5)\ argument
87 # define if_debug6(c,s,a1,a2,a3,a4,a5,a6)\ argument
89 # define if_debug7(c,s,a1,a2,a3,a4,a5,a6,a7)\ argument
91 # define if_debug8(c,s,a1,a2,a3,a4,a5,a6,a7,a8)\ argument
93 # define if_debug9(c,s,a1,a2,a3,a4,a5,a6,a7,a8,a9)\ argument
[all …]
/plan9/sys/src/ape/cmd/pdksh/
H A Dksh_wait.h22 # define WIFCORED(s) ((s) & 0x80) argument
24 #define WSTATUS(s) (s) argument
27 # define WIFEXITED(s) (((s) & 0xff) == 0) argument
30 # define WEXITSTATUS(s) (((s) >> 8) & 0xff) argument
33 # define WIFSIGNALED(s) (((s) & 0xff) != 0 && ((s) & 0xff) != 0x7f) argument
36 # define WTERMSIG(s) ((s) & 0x7f) argument
39 # define WIFSTOPPED(s) (((s) & 0xff) == 0x7f) argument
42 # define WSTOPSIG(s) (((s) >> 8) & 0xff) argument
47 # define ksh_waitpid(p, s, o) wait3((s), (o), (struct rusage *) 0) argument
49 # define ksh_waitpid(p, s, o) waitpid((p), (s), (o)) argument
/plan9/sys/src/cmd/aquarela/
H A Dsmbresponse.c4 smbresponsereset(SmbSession *s) in smbresponsereset()
10 smbresponseinit(SmbSession *s, ushort maxlen) in smbresponseinit()
17 smbresponsealignl2(SmbSession *s, int l2a) in smbresponsealignl2()
23 smbresponseputheader(SmbSession *s, SmbHeader *h, uchar errclass, ushort error) in smbresponseputheader()
31 smbresponseputb(SmbSession *s, uchar b) in smbresponseputb()
49 smbresponseoffsetputs(SmbSession *sess, ushort offset, ushort s) in smbresponseoffsetputs()
55 smbresponseputs(SmbSession *sess, ushort s) in smbresponseputs()
61 smbresponseputl(SmbSession *s, ulong l) in smbresponseputl()
67 smbresponsecpy(SmbSession *s, uchar *data, ushort datalen) in smbresponsecpy()
73 smbresponseputstring(SmbSession *s, int mustalign, char *string) in smbresponseputstring()
[all …]
/plan9/sys/src/cmd/bzip2/lib/
H A Dbzcompress.c97 void prepare_new_block ( EState* s ) in prepare_new_block()
111 void init_RL ( EState* s ) in init_RL()
119 Bool isempty_RL ( EState* s ) in isempty_RL()
135 EState* s; in BZ_API() local
196 void add_pair_to_block ( EState* s ) in add_pair_to_block()
232 void flush_RL ( EState* s ) in flush_RL()
269 Bool copy_input_until_stop ( EState* s ) in copy_input_until_stop()
314 Bool copy_output_until_stop ( EState* s ) in copy_output_until_stop()
345 EState* s = strm->state; in handle_compress() local
389 EState* s; in BZ_API() local
[all …]
/plan9/sys/src/cmd/sam/
H A Derror.c70 error(Err s) in error()
79 error_s(Err s, char *a) in error_s()
88 error_r(Err s, char *a) in error_r()
97 error_c(Err s, int c) in error_c()
106 warn(Warn s) in warn()
112 warn_S(Warn s, String *a) in warn_S()
118 warn_SS(Warn s, String *a, String *b) in warn_SS()
124 warn_s(Warn s, char *a) in warn_s()
130 termwrite(char *s) in termwrite()
/plan9/sys/include/ape/sys/
H A Dwait.h11 #define WIFEXITED(s) (((s) & 0xFF) == 0) argument
12 #define WEXITSTATUS(s) ((s>>8)&0xFF) argument
13 #define WIFSIGNALED(s) (((s) & 0xFF) != 0) argument
14 #define WTERMSIG(s) ((s) & 0xFF) argument
15 #define WIFSTOPPED(s) (0) argument
16 #define WSTOPSIG(s) (0) argument
/plan9/sys/src/liboventi/
H A Dplan9-sha1.c11 DigestState *s; member
17 VtSha1 *s; in vtSha1Alloc() local
25 vtSha1Free(VtSha1 *s) in vtSha1Free()
35 vtSha1Init(VtSha1 *s) in vtSha1Init()
41 vtSha1Update(VtSha1 *s, uchar *p, int len) in vtSha1Update()
47 vtSha1Final(VtSha1 *s, uchar *digest) in vtSha1Final()
56 VtSha1 s; in vtSha1() local
66 VtSha1 s; in vtSha1Check() local
/plan9/sys/src/ape/cmd/make/
H A Dmisc.c11 hashloc(char *s) in hashloc()
33 srchname(char *s) in srchname()
41 makename(char *s) in makename()
63 hasslash(char *s) in hasslash()
72 haspercent(char *s) in haspercent()
81 hasparen(char *s) in hasparen()
117 nameblkp chkname(char *s) in chkname()
138 copys(char *s) in copys()
201 char *s; in subst() local
243 setvar(char *v, char *s, int dyn) in setvar()
[all …]
/plan9/sys/src/cmd/samterm/
H A Drasp.c21 Section *s, *ns; in rclear() local
32 rsinsert(Rasp *r, Section *s) /* insert before s */ in rsinsert()
60 rsdelete(Rasp *r, Section *s) in rsdelete()
83 splitsect(Rasp *r, Section *s, long n0) in splitsect()
100 findsect(Rasp *r, Section *s, long p, long q) /* find sect containing q and put q on a sect boundar… in findsect()
116 Section *s, *t, *ns; in rresize() local
136 Section *s, *t, *ns; in rdata() local
157 Section *s; in rclean() local
180 Section *s; in rload() local
216 Section *s; in rmissing() local
[all …]
/plan9/sys/src/cmd/pic/
H A Dsymtab.c8 YYSTYPE getvar(char *s) /* return value of variable s (usually pointer) */ in getvar()
24 double getfval(char *s) /* return float value of variable s */ in getfval()
32 void setfval(char *s, double f) /* set variable s to f */ in setfval()
40 struct symtab *makevar(char *s, int t, YYSTYPE v) /* make variable named s in table */ in makevar()
61 struct symtab *lookup(char *s) /* find s in symtab */ in lookup()
84 void freedef(char *s) /* free definition for string s */ in freedef()
/plan9/sys/src/cmd/gs/zlib/
H A Ddeflate.c170 #define UPDATE_HASH(s,h,c) (h = (((h)<<s->hash_shift) ^ (c)) & s->hash_mask) argument
184 #define INSERT_STRING(s, str, match_head) \ argument
189 #define INSERT_STRING(s, str, match_head) \ argument
199 #define CLEAR_HASH(s) \ argument
227 deflate_state *s; local
319 deflate_state *s; local
361 deflate_state *s; local
411 deflate_state *s; local
464 deflate_state *s; local
489 local void putShortMSB (s, b) in putShortMSB() argument
[all …]
H A Dtrees.c167 # define send_code(s, c, tree) send_bits(s, tree[c].Code, tree[c].Len) argument
171 # define send_code(s, c, tree) \ argument
180 #define put_short(s, w) { \ argument
192 local void send_bits(s, value, length) in send_bits() argument
217 #define send_bits(s, value, length) \ argument
382 void _tr_init(s) in _tr_init() argument
411 local void init_block(s) in init_block() argument
434 #define pqremove(s, tree, top) \ argument
455 local void pqdownheap(s, tree, k) in pqdownheap() argument
490 local void gen_bitlen(s, desc) in gen_bitlen() argument
[all …]
/plan9/sys/src/cmd/aux/flashfs/
H A Ddreq.c24 State *s; in state() local
35 State *s; in destroy() local
67 State *s; in flopen() local
113 State *s; in flcreate() local
144 State *s; in flread() local
172 State *s; in flremove() local
191 State *s; in flstat() local
202 State *s; in flwstat() local
217 State *s; in flwalk() local
H A Drequest.c24 State *s; in state() local
35 State *s; in destroy() local
73 State *s; in flopen() local
140 State *s; in flcreate() local
195 State *s; in flread() local
214 State *s; in flwrite() local
280 State *s; in flremove() local
313 State *s; in flstat() local
325 State *s; in flwstat() local
364 State *s; in flwalk() local
/plan9/sys/src/cmd/cifs/
H A Dcifs.c15 Session *s; in cifsdial() local
49 cifsclose(Session *s) in cifsclose()
57 cifshdr(Session *s, Share *sp, int cmd) in cifshdr()
230 CIFSnegotiate(Session *s, long *svrtime, char *domain, int domlen, char *cname, in CIFSnegotiate()
303 CIFSsession(Session *s) in CIFSsession()
379 CIFStreeconnect(Session *s, char *cname, char *tree, Share *sp) in CIFStreeconnect()
431 CIFSlogoff(Session *s) in CIFSlogoff()
448 CIFStreedisconnect(Session *s, Share *sp) in CIFStreedisconnect()
463 CIFSdeletefile(Session *s, Share *sp, char *name) in CIFSdeletefile()
480 CIFSdeletedirectory(Session *s, Share *sp, char *name) in CIFSdeletedirectory()
[all …]
/plan9/sys/src/cmd/9nfs/
H A D9p.c22 xmesg(Session *s, int t) in xmesg()
73 clunkfid(Session *s, Fid *f) in clunkfid()
90 newfid(Session *s) in newfid()
137 setfid(Session *s, Fid *f) in setfid()
152 putfid(Session *s, Fid *f) in putfid()
169 fidtimer(Session *s, long now) in fidtimer()
/plan9/sys/src/cmd/plumb/
H A Drules.c17 uchar *s; /* input string, if from /mnt/plumb/rules */ member
147 static char *s, *incl; in getline() local
168 lookup(char *s, char *tab[]) in lookup()
179 lookupvariable(char *s, int n) in lookupvariable()
190 variable(char *s, int n) in variable()
201 setvariable(char *s, int n, char *val, char *qval) in setvariable()
220 nonnil(char *s) in nonnil()
249 dollar(Exec *e, char *s, int *namelen) in dollar()
295 expand(Exec *e, char *s, char **ends) in expand()
398 include(char *s) in include()
[all …]

12345678910>>...74