Home
last modified time | relevance | path

Searched refs:textfile (Results 1 - 5 of 5) sorted by relevance

/third_party/ffmpeg/libavfilter/
H A Dasrc_flite.c39 char *textfile; member
59 { "textfile", "set filename of the text to speak", OFFSET(textfile), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 0, FLAGS },
167 if (flite->textfile && flite->text) { in init()
169 "Both text and textfile options set: only one must be specified\n"); in init()
173 if (flite->textfile) { in init()
177 if ((ret = av_file_map(flite->textfile, &textbuf, &textbuf_size, 0, ctx)) < 0) { in init()
180 flite->textfile, av_err2str(ret)); in init()
195 "No speech text specified, specify the 'text' or 'textfile' option\n"); in init()
H A Dvf_drawtext.c160 char *textfile; ///< file with text to be drawn member
218 {"textfile", "set text file", OFFSET(textfile), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 0, FLAGS},
589 if ((err = av_file_map(s->textfile, &textbuf, &textbuf_size, 0, ctx)) < 0) { in load_textfile()
592 s->textfile); in load_textfile()
725 if (s->textfile) { in init()
735 if (s->reload && !s->textfile) in init()
/third_party/libsnd/tests/
H A Draw_test.c154 { FILE *textfile ; in bad_raw_test() local
161 if ((textfile = fopen (filename, "w")) == NULL) in bad_raw_test()
166 fprintf (textfile, "This is not a valid file.\n") ; in bad_raw_test()
167 fclose (textfile) ; in bad_raw_test()
H A Dmisc_test.c323 FILE *textfile ; in permission_test()
345 if ((textfile = fopen (filename, "w")) == NULL) in permission_test()
350 fprintf (textfile, "This is a read only file.\n") ; in permission_test()
351 fclose (textfile) ; in permission_test()
/third_party/python/Doc/includes/
H A Demail-simple.py7 # Open the plain text file whose name is in textfile for reading.
8 with open(textfile) as fp:
15 msg['Subject'] = f'The contents of {textfile}'

Completed in 5 milliseconds