Home
last modified time | relevance | path

Searched refs:comment (Results 1 – 25 of 113) sorted by relevance

12345

/plan9/sys/src/cmd/jpg/
H A Dtoppm.c23 char *err, *comment; in main() local
25 comment = nil; in main()
28 comment = ARGF(); in main()
29 if(comment == nil) in main()
31 if(strchr(comment, '\n') != nil){ in main()
62 err = memwriteppm(&bout, i, comment); in main()
78 if(comment) in main()
79 err = memwriteppm(&bout, i, comment); in main()
H A Dtogif.c25 char *err, *comment, *s; in main() local
27 comment = nil; in main()
39 comment = ARGF(); in main()
40 if(comment == nil) in main()
81 if(comment) in main()
82 err = memwritegif(&bout, i, comment, dt, trans); in main()
130 if(comment) in main()
131 err = memwritegif(&bout, i, comment, dt, trans); in main()
139 comment = nil; in main()
H A Dwriteppm.c111 writeppm0(Biobuf *fd, Image *image, Memimage *memimage, Rectangle r, int chan, char *comment) in writeppm0() argument
131 if(comment!=nil && comment[0]!='\0'){ in writeppm0()
132 Bprint(fd, "# %s", comment); in writeppm0()
133 if(comment[strlen(comment)-1] != '\n') in writeppm0()
160 writeppm(Biobuf *fd, Image *image, char *comment) in writeppm() argument
162 return writeppm0(fd, image, nil, image->r, image->chan, comment); in writeppm()
166 memwriteppm(Biobuf *fd, Memimage *memimage, char *comment) in memwriteppm() argument
168 return writeppm0(fd, nil, memimage, memimage->r, memimage->chan, comment); in memwriteppm()
H A Dwritegif.c89 writegif0(Biobuf *fd, Image *image, Memimage *memimage, ulong chan, Rectangle r, char *comment, int… in writegif0() argument
104 writecomment(fd, comment); in writegif0()
116 writegif(Biobuf *fd, Image *image, char *comment, int dt, int trans) in writegif() argument
118 return writegif0(fd, image, nil, image->chan, image->r, comment, dt, trans); in writegif()
122 memwritegif(Biobuf *fd, Memimage *memimage, char *comment, int dt, int trans) in memwritegif() argument
124 return writegif0(fd, nil, memimage, memimage->chan, memimage->r, comment, dt, trans); in memwritegif()
246 writecomment(Biobuf *fd, char *comment) in writecomment() argument
250 if(comment==nil || comment[0]=='\0') in writecomment()
258 n = strlen(comment); in writecomment()
262 Bwrite(fd, comment, n); in writecomment()
H A Dtopng.c28 II.comment = ARGF(); in main()
29 if(II.comment == nil) in main()
/plan9/sys/src/cmd/wikifs/
H A Dparsehist.c41 char *author, *comment, *p, *title; in Brdwhist() local
59 comment = nil; in Brdwhist()
78 free(comment); in Brdwhist()
79 comment = estrdup(p); in Brdwhist()
90 w[n].comment = comment; in Brdwhist()
91 comment = nil; in Brdwhist()
107 free(comment); in Brdwhist()
121 free(comment); in Brdwhist()
124 free(w[i].comment); in Brdwhist()
H A Dtohtml.c460 if(h->doc[i].comment) in diffhtml()
461 s = s_appendlist(s, "<br /><i>", h->doc[i].comment, "</i>\n", nil); in diffhtml()
492 if(h->doc[i].comment) in historyhtml()
493 s = s_appendlist(s, "<br><i>", h->doc[i].comment, "</i>\n", nil); in historyhtml()
747 if(h->doc[i].comment) in historytext()
748 s = s_appendlist(s, "<i>", h->doc[i].comment, "</i>\n", nil); in historytext()
812 if(d->comment){ in doctext()
814 s = s_append(s, d->comment); in doctext()
/plan9/sys/src/games/mp3enc/
H A Dvorbis_interface.c353 char comment[MAX_COMMENT_LENGTH+1]; in lame_encode_ogg_init() local
394 strcpy(comment,"TITLE="); in lame_encode_ogg_init()
395 strncat(comment,gfp->tag_spec.title,MAX_COMMENT_LENGTH-strlen(comment)); in lame_encode_ogg_init()
396 vorbis_comment_add(&vc2,comment); in lame_encode_ogg_init()
399 strcpy(comment,"ARTIST="); in lame_encode_ogg_init()
400 strncat(comment,gfp->tag_spec.artist,MAX_COMMENT_LENGTH-strlen(comment)); in lame_encode_ogg_init()
401 vorbis_comment_add(&vc2,comment); in lame_encode_ogg_init()
404 strcpy(comment,"ALBUM="); in lame_encode_ogg_init()
405 strncat(comment,gfp->tag_spec.album,MAX_COMMENT_LENGTH-strlen(comment)); in lame_encode_ogg_init()
406 vorbis_comment_add(&vc2,comment); in lame_encode_ogg_init()
[all …]
H A Did3tag.c235 id3tag_set_comment(lame_global_flags *gfp, const char *comment) in id3tag_set_comment() argument
238 if (comment && *comment) { in id3tag_set_comment()
239 gfc->tag_spec.comment = comment; in id3tag_set_comment()
380 size_t comment_length = gfc->tag_spec.comment in id3tag_write_v2()
381 ? strlen(gfc->tag_spec.comment) : 0; in id3tag_write_v2()
474 p = set_frame(p, COMMENT_FRAME_ID, gfc->tag_spec.comment, in id3tag_write_v2()
524 p = set_text_field(p, gfc->tag_spec.comment, gfc->tag_spec.track in id3tag_write_v1()
H A Did3tag.h15 const char *comment; member
/plan9/sys/src/cmd/ip/httpd/
H A Dwikipost.c151 dowiki(HConnect *c, char *title, char *author, char *comment, char *base, ulong version, char *text) in dowiki() argument
165 || (i++,(comment && comment[0] && fprint(fd, "C%s\n", comment) < 0)) in dowiki()
199 char *text, *title, *service, *base, *author, *comment, *url; in main() local
253 comment = ""; in main()
270 comment = p; in main()
278 hp->remotesys, service, title, (long)version, author, comment, base, text); in main()
281 comment = unhttp(comment); in main()
288 || service == nil || strchr(title, '\n') || strchr(comment, '\n') in main()
296 hp->remotesys, service, title, (long)version, author, comment); in main()
302 url = dowiki(hc, title, author, comment, base, version, text); in main()
/plan9/sys/src/cmd/auth/
H A Ddsa2ssh.c19 char *comment; in main() local
24 comment = ""; in main()
27 comment = EARGF(usage()); in main()
46 print("ssh-dss %.*[ %s\n", (int)(p - buf), buf, comment); in main()
/plan9/sys/src/cmd/aquarela/
H A Dtestnbdgram.c14 char *comment, *servername; in deliver() local
19 comment = nil; in deliver()
70 || !smbbuffergetstr(b, &comment)) { in deliver()
82 …periodicity, versionmajor, versionminor, type, (signature >> 8) & 0xff, signature & 0xff, comment); in deliver()
85 free(comment); in deliver()
H A Dsmbbrowse.c28 smbbrowsesendhostannouncement(char *name, ulong periodms, ulong type, char *comment, char **errmsgp) in smbbrowsesendhostannouncement() argument
52 smbbufferputstring(b, nil, 0, comment); in smbbrowsesendhostannouncement()
/plan9/sys/src/cmd/troff/
H A Dcvt8 comment = substr(prev, c)
10 } else comment = ""
28 print prev comment
/plan9/sys/src/cmd/cifs/
H A Dfs.c48 si2.activeusrs, si2.maxusrs, si2.comment); in shareinfo()
50 free(si2.comment); in shareinfo()
229 fmtprint(f, "%-48q %q", ui.fullname, ui.comment); in userinfo()
231 free(ui.comment); in userinfo()
322 fmtprint(f, "%-16q %-16q ", si[i].name, si[i].comment); in nodelist()
331 free(si[i].comment); in nodelist()
/plan9/sys/src/cmd/ssh1/
H A Dagent.c9 char *comment; member
78 k[nk].comment = emalloc(strlen(p)+1); in listkeys()
79 strcpy(k[nk].comment, p); in listkeys()
296 len += 4+strlen(k[i].comment); in handlefullmsg()
305 debug(DBG_AUTH, "\t%B %B %s\n", k[i].ek, k[i].mod, k[i].comment); in handlefullmsg()
309 putstring(r, k[i].comment); in handlefullmsg()
312 free(k[i].comment); in handlefullmsg()
/plan9/sys/src/cmd/postscript/download/
H A Ddownload.c82 char *comment = DOCUMENTFONTS; /* look for this comment */ variable
161 comment = optarg; in options()
375 } else if ( strncmp(buf, comment, strlen(comment)) == 0 ) { in download()
H A DREADME6 Downloaded fonts are the ones named in the %%DocumentFonts: comment
/plan9/sys/src/cmd/spin/
H A Dreprosrc.c106 { comment(stdout, e->n, 0); in repro_seq()
125 comment(stdout, p->prov, 0); in repro_proc()
H A Drun.c67 comment(stdout, e->n, 0); in eval_sub()
127 comment(stdout, z->this->frst->n, 0); in eval_sub()
240 comment(stdout, e->n, 0); in eval_sub()
248 comment(stdout, g->n, 0); in eval_sub()
361 comment(stdout, now, 0); in eval()
432 comment(stdout, now->lft, 0); in eval()
608 comment(stdout, e->n, 0); in Enabled0()
H A Dguided.c246 comment(stdout, og->n, 0); in match_trail()
279 comment(stdout, dothis->n, 0); in match_trail()
313 comment(stdout, dothis->n, 0); in match_trail()
/plan9/sys/src/cmd/map/
H A Diplot.h51 #define comment(s,f) macro
/plan9/sys/src/cmd/webfs/
H A Dcookies.c25 char* comment; /* optional, may be nil */ member
60 "comment", offsetof(Cookie, comment), 1,
172 if(a->comment || b->comment){ in exactcookiecmp()
173 if(!a->comment) in exactcookiecmp()
175 if(!b->comment) in exactcookiecmp()
177 if((i = strcmp(a->comment, b->comment)) != 0) in exactcookiecmp()
/plan9/sys/src/cmd/
H A Dwebcookies.c28 char* comment; /* optional, may be nil */ member
63 "comment", offsetof(Cookie, comment), 1,
174 if(a->comment || b->comment){ in exactcookiecmp()
175 if(!a->comment) in exactcookiecmp()
177 if(!b->comment) in exactcookiecmp()
179 if((i = strcmp(a->comment, b->comment)) != 0) in exactcookiecmp()

12345