Home
last modified time | relevance | path

Searched refs:String (Results 1 – 25 of 136) sorted by relevance

123456

/plan9/sys/include/
H A DString.h5 typedef struct String { struct
12 } String; typedef
18 extern String* s_append(String*, char*);
19 extern String* s_array(char*, int);
20 extern String* s_copy(char*);
21 extern void s_free(String*);
22 extern String* s_incref(String*);
23 extern String* s_memappend(String*, char*, int);
24 extern String* s_nappend(String*, char*, int);
25 extern String* s_new(void);
[all …]
/plan9/sys/src/cmd/sam/
H A Dsam.h35 typedef struct String String; typedef
60 struct String struct
76 String**stringp; argument
154 String name; /* name of associated file */
192 void filesetname(File*, String*);
203 void logsetname(File*, String*);
230 int plan9(File*, int, String*, int);
233 void cd(String*);
234 void closefiles(File*, String*);
238 void compile(String*);
[all …]
H A Dstring.c8 Strinit(String *p) in Strinit()
16 Strinit0(String *p) in Strinit0()
25 Strclose(String *p) in Strclose()
31 Strzero(String *p) in Strzero()
51 Strdupl(String *p, Rune *s) /* copies the null */ in Strdupl()
59 Strduplstr(String *p, String *q) /* will copy the null if there's one there */ in Strduplstr()
67 Straddc(String *p, int c) in Straddc()
74 Strinsure(String *p, ulong n) in Strinsure()
86 Strinsert(String *p, String *q, Posn p0) in Strinsert()
95 Strdelete(String *p, Posn p1, Posn p2) in Strdelete()
[all …]
/plan9/sys/src/cmd/upas/send/
H A Dsend.h34 String *addr; /* destination address*/
35 String *repl1; /* substitution field 1*/
36 String *repl2; /* substitution field 2*/
46 String *sender;
47 String *replyaddr;
48 String *date;
49 String *body;
50 String *tmp; /* name of temp file */
51 String *to;
55 String *havefrom;
[all …]
H A Drewrite.c15 String *matchre; /* address match */
16 String *repl1; /* first replacement String */
17 String *repl2; /* second replacement String */
27 static String *substitute(String *, Resub *, message *);
28 static rule *findrule(String *, int);
35 extern String *
36 rule_parse(String *line, char *system, int *backl) in rule_parse()
38 String *token; in rule_parse()
39 String *expanded; in rule_parse()
70 getrule(String *line, String *type, char *system) in getrule()
[all …]
H A Ddest.c4 static String* s_parseq(String*, String*);
10 d_new(String *addr) in d_new()
160 extern String*
164 String *s; in d_to()
202 s_to_dest(String *sp, dest *parent) in s_to_dest()
204 String *addr; in s_to_dest()
233 static String*
234 s_parseq(String *from, String *to) in s_parseq()
H A Dmain.c15 static String *errstring;
22 static String *arglist;
30 static void appaddr(String *, dest *);
31 static void mkerrstring(String *, message *, dest *, dest *, char *, int);
32 static int replymsg(String *, message *, dest *);
230 String *file; in save_mail()
318 String *cmd; in pipe_mail()
322 String *errstring=s_new(); in pipe_mail()
389 appaddr(String *sp, dest *dp) in appaddr()
392 String *s; in appaddr()
[all …]
/plan9/sys/src/cmd/upas/alias/
H A Daliasmail.c9 static String *getdbfiles(void);
10 static int translate(char*, char**, String*, String*);
11 static int lookup(String**, String*, String*);
12 static int compare(String*, char*);
24 String *s; in main()
25 String *alias; /* the alias for the name */ in main()
27 String *files; /* list of files to search */ in main()
90 static String *
94 String *files = s_new(); in getdbfiles()
119 String *files, /* names of system alias files */ in translate()
[all …]
/plan9/sys/src/cmd/upas/fs/
H A Ddat.h29 String *unixheader;
30 String *unixfrom;
31 String *unixdate;
32 String *from822;
33 String *sender822;
34 String *to822;
35 String *bcc822;
36 String *cc822;
37 String *replyto822;
38 String *date822;
[all …]
/plan9/sys/src/cmd/upas/smtp/
H A Dsmtpd.h20 String *p;
42 void auth(String *, String *);
43 int blocked(String*);
46 int forwarding(String*);
48 void hello(String*, int extended);
49 void help(String *);
51 void listadd(List*, String*);
53 int masquerade(String*, char*);
58 void receiver(String*);
64 void sender(String*);
[all …]
H A Dsmtp.c12 void addhostdom(String*, char*);
13 String* bangtoat(char*);
14 String* convertheader(String*);
17 char* data(String*, Biobuf*);
19 String* fixrouteaddr(String*, Node*, Node*);
20 char* getcrnl(String*);
34 String *reply; /* last reply */
35 String *toline;
113 String *from, *fromm, *sender; in main()
471 String *r; in hello()
[all …]
/plan9/sys/src/cmd/upas/common/
H A Dcommon.h29 extern int parse_header(char*, String*, String*);
34 extern String *abspath(char*, char*, String*);
35 extern String *mboxpath(char*, char*, String*, int);
37 extern int delivery_status(String*);
38 extern void append_match(Resub*, String*, int);
40 extern String* escapespecial(String*);
41 extern String* unescapespecial(String*);
H A Dsys.h18 String *name;
73 extern String *username(String*);
77 extern String *readlock(String*);
79 extern String *mboxname(char*, String*);
80 extern String *deadletter(String*);
H A Daux.c4 extern String *
5 abspath(char *path, char *dot, String *to) in abspath()
29 append_match(Resub *subexp, String *sp, int se) in append_match()
72 extern String*
73 escapespecial(String *s) in escapespecial()
75 String *ns; in escapespecial()
113 extern String*
114 unescapespecial(String *s) in unescapespecial()
117 String *ns; in unescapespecial()
/plan9/sys/src/cmd/wikifs/
H A Dwiki.h87 String *s_appendsub(String*, char*, int, Sub*, int);
88 String *s_appendlist(String*, ...);
93 String *pagehtml(String*, Wpage*, int);
94 String *pagetext(String*, Wpage*, int);
95 String *tohtml(Whist*, Wdoc*, int);
96 String *totext(Whist*, Wdoc*, int);
97 String *doctext(String*, Wdoc*);
107 int writepage(int, ulong, String*, char*);
H A Dtohtml.c37 String *s;
64 static String*
70 String *s, *ns; in gettemplate()
124 static String*
125 s_escappend(String *s, char *p, int pre) in s_escappend()
218 String*
219 pagehtml(String *s, Wpage *wtxt, int ty) in pagehtml()
320 static String*
321 copythru(String *s, char **newp, int *nlinep, int l) in copythru()
369 static String*
[all …]
/plan9/sys/src/cmd/acid/
H A Dutil.c149 v->string = gmalloc(sizeof(String)); in varreg()
210 String*
213 String *s; in strnodlen()
215 s = gmalloc(sizeof(String)+len+1); in strnodlen()
216 s->string = (char*)s+sizeof(String); in strnodlen()
228 String*
234 String*
239 String *s; in runenode()
247 s = gmalloc(sizeof(String)+len); in runenode()
248 s->string = (char*)s+sizeof(String); in runenode()
[all …]
H A Dacid.h17 typedef struct String String; typedef
117 String* string;
166 struct String struct
221 void pstr(String*);
227 String *runenode(Rune*);
228 int scmp(String*, String*);
230 String* stradd(String*, String*);
231 String* straddrune(String*, Rune);
232 String* strnode(char*);
233 String* strnodlen(char*, int);
/plan9/sys/src/cmd/acme/
H A Dedit.h7 typedef struct String String; typedef
9 struct String struct
20 String *re; argument
36 String *re; /* regular expression for e.g. 'x' */
39 String *text; /* text of a, c, i; rhs of s */
70 String* *stringptr;
90 String *allocstring(int);
91 void freestring(String*);
92 String *getregexp(int);
99 void Straddc(String*, int);
/plan9/sys/src/libString/
H A Ds_alloc.c8 s_free(String *sp) in s_free()
25 extern String *
26 s_incref(String *sp) in s_incref()
36 extern String *
39 String *s; in _s_alloc()
50 extern String *
53 String *sp; in s_newalloc()
72 extern String *
75 String *sp; in s_new()
H A Ds_reset.c5 String*
6 s_reset(String *s) in s_reset()
17 String*
18 s_restart(String *s) in s_restart()
H A Ds_unique.c5 String*
6 s_unique(String *s) in s_unique()
8 String *p; in s_unique()
H A Ds_array.c5 extern String* _s_alloc(void);
8 extern String *
11 String *sp = _s_alloc(); in s_array()
/plan9/sys/src/cmd/upas/ml/
H A Dml.c8 String *from;
9 String *sender;
11 void printmsg(int fd, String *msg, char *replyto, char *listname);
12 void appendtoarchive(char* listname, String *firstline, String *msg);
25 String *msg; in main()
26 String *firstline; in main()
99 printmsg(int fd, String *msg, char *replyto, char *listname) in printmsg()
128 appendtoarchive(char* listname, String *firstline, String *msg) in appendtoarchive()
130 String *mbox; in appendtoarchive()
/plan9/sys/src/cmd/gs/src/
H A Dgdevxres.c40 {(String)(a), (String)(b), (String)t, sizeof(s),\
41 XtOffsetOf(gx_device_X, o), (String)it, (n)}
47 RINIT(a,b,XtRString,String,o,XtRString,(char*)(n))
133 String gdev_x_fallback_resources[] = {
134 (String) "Ghostscript*Background: white",
135 (String) "Ghostscript*Foreground: black",

123456