| /plan9/sys/include/ |
| H A D | String.h | 5 typedef struct String { struct 12 } String; argument 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 D | sam.h | 35 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 D | string.c | 8 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 D | send.h | 34 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 D | rewrite.c | 15 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 D | dest.c | 4 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 D | main.c | 15 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 D | aliasmail.c | 9 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 D | dat.h | 29 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 D | smtpd.h | 20 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 D | smtp.c | 12 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 D | common.h | 29 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 D | sys.h | 18 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 D | aux.c | 4 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 D | wiki.h | 87 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 D | tohtml.c | 37 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 D | util.c | 149 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 D | acid.h | 17 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 D | edit.h | 7 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 D | s_alloc.c | 8 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 D | s_reset.c | 5 String* 6 s_reset(String *s) in s_reset() 17 String* 18 s_restart(String *s) in s_restart()
|
| H A D | s_unique.c | 5 String* 6 s_unique(String *s) in s_unique() 8 String *p; in s_unique()
|
| H A D | s_array.c | 5 extern String* _s_alloc(void); 8 extern String * 11 String *sp = _s_alloc(); in s_array()
|
| /plan9/sys/src/cmd/upas/ml/ |
| H A D | ml.c | 8 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 D | gdevxres.c | 40 {(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",
|