Home
last modified time | relevance | path

Searched refs:outf (Results 1 - 21 of 21) sorted by relevance

/third_party/lame/frontend/
H A Dlame_main.c100 FILE *outf; in init_files() local
120 if ((outf = init_outfile(outPath, lame_get_decode_only(gf))) == NULL) { in init_files()
125 return outf; in init_files()
170 lame_decoder_loop(lame_t gfp, FILE * outf, char *inPath, char *outPath) in lame_decoder_loop() argument
221 WriteWaveHeader(outf, 0x7FFFFFFF, lame_get_in_samplerate(gfp), tmp_num_channels, 16); in lame_decoder_loop()
232 put_audio16(outf, Buffer, iread, tmp_num_channels); in lame_decoder_loop()
251 /* if outf is seekable, rewind and adjust length */ in lame_decoder_loop()
253 && !fseek(outf, 0l, SEEK_SET)) in lame_decoder_loop()
254 WriteWaveHeader(outf, (int) wavsize, lame_get_in_samplerate(gfp), tmp_num_channels, 16); in lame_decoder_loop()
262 lame_decoder(lame_t gfp, FILE * outf, cha argument
328 write_xing_frame(lame_global_flags * gf, FILE * outf, size_t offset) write_xing_frame() argument
365 write_id3v1_tag(lame_t gf, FILE * outf) write_id3v1_tag() argument
389 lame_encoder_loop(lame_global_flags * gf, FILE * outf, int nogap, char *inPath, char *outPath) lame_encoder_loop() argument
519 lame_encoder(lame_global_flags * gf, FILE * outf, int nogap, char *inPath, char *outPath) lame_encoder() argument
547 FILE *outf = NULL; lame_main() local
[all...]
H A Dmp3rtp.c142 FILE *outf; in lame_main() local
202 lame_set_stream_binary_mode(outf = stdout); in lame_main()
205 if ((outf = lame_fopen(outPath, "wb+")) == NULL) { in lame_main()
221 fclose(outf); in lame_main()
235 fclose(outf); in lame_main()
253 fwrite(mp3buffer, 1, mp3bytes, outf); /* write the MP3 output to file */ in lame_main()
259 fwrite(mp3buffer, 1, mp3bytes, outf); /* write the MP3 output to file */ in lame_main()
261 lame_mp3_tags_fid(gf, outf); /* add VBR tags to mp3 file */ in lame_main()
264 fclose(outf); in lame_main()
H A Dget_audio.h59 void put_audio16(FILE* outf, short Buffer[2][1152], int iread, int nch);
H A Dget_audio.c531 FILE *outf; in init_outfile() local
535 outf = stdout; in init_outfile()
536 lame_set_stream_binary_mode(outf); in init_outfile()
539 outf = lame_fopen(outPath, "w+b"); in init_outfile()
542 if (outf != NULL) { in init_outfile()
561 return outf; in init_outfile()
2422 put_audio16(FILE * outf, short Buffer[2][1152], int iread, int nch) in put_audio16() argument
2470 fwrite(data, 1, m, outf); in put_audio16()
2473 fflush(outf); in put_audio16()
/third_party/zlib/contrib/iostream3/
H A Dtest.cc13 gzofstream outf; in main() local
17 outf.open("test1.txt.gz"); in main()
18 outf << "The quick brown fox sidestepped the lazy canine\n" in main()
20 outf.close(); in main()
32 outf.rdbuf()->pubsetbuf(0,0); in main()
33 outf.open("test2.txt.gz"); in main()
34 outf << setcompression(Z_NO_COMPRESSION) in main()
37 outf.close(); in main()
/third_party/littlefs/scripts/
H A Dexplode_asserts.py137 def mkdecls(outf, maxwidth=16):
138 outf.write("#include <stdio.h>\n")
139 outf.write("#include <stdbool.h>\n")
140 outf.write("#include <stdint.h>\n")
141 outf.write("#include <inttypes.h>\n")
142 outf.write("#include <signal.h>\n")
151 outf.write(re.sub('\s+', ' ',
153 outf.write(re.sub('\s+', ' ',
161 outf.write(re.sub('\s+', ' ',
345 outf
[all...]
/third_party/pulseaudio/src/pulsecore/resampler/
H A Dspeex.c59 uint32_t inf = in_n_frames, outf = *out_n_frames; in speex_resample_float() local
82 pa_assert_se(speex_resampler_process_interleaved_float(state, in, &inf, out, &outf) == 0); in speex_resample_float()
88 *out_n_frames = outf; in speex_resample_float()
95 uint32_t inf = in_n_frames, outf = *out_n_frames; in speex_resample_int() local
108 pa_assert_se(speex_resampler_process_interleaved_int(state, in, &inf, out, &outf) == 0); in speex_resample_int()
114 *out_n_frames = outf; in speex_resample_int()
/third_party/node/deps/icu-small/source/tools/escapesrc/
H A Descapesrc.cpp380 std::ofstream outf; in convert() local
382 outf.open(outfile.c_str(), std::ios::out); in convert()
384 if(!outf.is_open()) { in convert()
390 outf << "#line 1 \"" << infile << "\"" << '\n'; in convert()
399 outf << linestr << '\n'; in convert()
406 outf.close(); in convert()
/third_party/icu/icu4c/source/tools/escapesrc/
H A Descapesrc.cpp380 std::ofstream outf; in convert() local
382 outf.open(outfile.c_str(), std::ios::out); in convert()
384 if(!outf.is_open()) { in convert()
390 outf << "#line 1 \"" << infile << "\"" << '\n'; in convert()
399 outf << linestr << '\n'; in convert()
406 outf.close(); in convert()
/third_party/ltp/testcases/kernel/mce-test/lib/
H A Dmce.sh14 local outf="$2"
17 mcelog --no-dmi --dump-raw-ascii --ascii > "$outf"
24 local outf="$2"
26 mce-inject --dump "$org" > "$outf"
32 local outf="$2"
47 grep -v '#STATUS 0x800000000000000#' | sort > "$outf"
H A Dapei-inject.sh21 local outf="$2"
25 awk '/^STATUS/ {print $2}' $tmpf | cut -b 1-3 > $outf
26 awk '/MCGSTATUS/ {if ($4=="") print $2; else print $4;}' $tmpf >> $outf
/third_party/skia/third_party/externals/icu/source/tools/escapesrc/
H A Descapesrc.cpp380 std::ofstream outf; in convert() local
382 outf.open(outfile.c_str(), std::ios::out); in convert()
384 if(!outf.is_open()) { in convert()
390 outf << "#line 1 \"" << infile << "\"" << '\n'; in convert()
399 outf << linestr << '\n'; in convert()
406 outf.close(); in convert()
/third_party/skia/tests/
H A DProcessorTest.cpp427 SkPMColor4f inf[3], outf[3]; in legal_modulation() local
430 outf[i] = SkPMColor4f::FromBytes_RGBA(outGr[i]); in legal_modulation()
446 const SkPMColor4f& out = outf[maxInIdx]; in legal_modulation()
471 bool isLegalColorModulation = fuzzy_color_equals(outf[0], expectedForColorModulation[0]) && in legal_modulation()
472 fuzzy_color_equals(outf[1], expectedForColorModulation[1]) && in legal_modulation()
473 fuzzy_color_equals(outf[2], expectedForColorModulation[2]); in legal_modulation()
475 bool isLegalAlphaModulation = fuzzy_color_equals(outf[0], expectedForAlphaModulation[0]) && in legal_modulation()
476 fuzzy_color_equals(outf[1], expectedForAlphaModulation[1]) && in legal_modulation()
477 fuzzy_color_equals(outf[2], expectedForAlphaModulation[2]); in legal_modulation()
491 outf[ in legal_modulation()
[all...]
/third_party/python/Lib/distutils/command/
H A Dbuild_scripts.py129 with open(outfile, "wb") as outf:
130 outf.write(shebang)
131 outf.writelines(f.readlines())
/third_party/python/Lib/
H A Dpipes.py222 [inf, cmd, kind, outf] = item
224 cmd = 'OUT=' + quote(outf) + '; ' + cmd
229 if kind[1] == '-' and outf:
230 cmd = cmd + ' >' + quote(outf)
/third_party/node/tools/icu/
H A Dshrink-icu-src.py44 with bz2.BZ2File(outfp, 'wb') as outf:
45 shutil.copyfileobj(inf, outf)
/third_party/ltp/testcases/kernel/fs/scsi/ltpscsi/
H A Dscsimain.c2197 char outf[INOUTF_SZ]; in do_scsi_device_read_write() local
2222 strcpy(outf, device); in do_scsi_device_read_write()
2245 inf, skip, outf, seek, dd_count); in do_scsi_device_read_write()
2316 if (outf[0] && ('-' != outf[0])) { in do_scsi_device_read_write()
2317 out_type = dd_filetype(outf); in do_scsi_device_read_write()
2324 ME "unable to use scsi tape device %s\n", outf); in do_scsi_device_read_write()
2327 if ((outfd = open(outf, O_RDWR)) < 0) { in do_scsi_device_read_write()
2330 outf); in do_scsi_device_read_write()
2354 if ((outfd = open(outf, flag in do_scsi_device_read_write()
6279 char outf[INOUTF_SZ]; do_scsi_sgm_read_write() local
7288 char outf[INOUTF_SZ]; do_scsi_sgp_read_write() local
[all...]
/third_party/python/Python/
H A Dsysmodule.c608 sys_displayhook_unencodable(PyObject *outf, PyObject *o) in sys_displayhook_unencodable() argument
615 stdout_encoding = PyObject_GetAttr(outf, &_Py_ID(encoding)); in sys_displayhook_unencodable()
632 if (_PyObject_LookupAttr(outf, &_Py_ID(buffer), &buffer) < 0) { in sys_displayhook_unencodable()
649 if (PyFile_WriteObject(escaped_str, outf, Py_PRINT_RAW) != 0) { in sys_displayhook_unencodable()
678 PyObject *outf; in sys_displayhook() local
700 outf = _PySys_GetAttr(tstate, &_Py_ID(stdout)); in sys_displayhook()
701 if (outf == NULL || outf == Py_None) { in sys_displayhook()
705 if (PyFile_WriteObject(o, outf, 0) != 0) { in sys_displayhook()
711 err = sys_displayhook_unencodable(outf, in sys_displayhook()
[all...]
/third_party/zlib/contrib/blast/
H A Dblast.c440 local int outf(void *how, unsigned char *buf, unsigned len) in outf() function
453 ret = blast(inf, stdin, outf, stdout, &left, NULL); in main()
/third_party/ffmpeg/libavfilter/
H A Dvf_paletteuse.c927 static int apply_palette(AVFilterLink *inlink, AVFrame *in, AVFrame **outf) in apply_palette() argument
936 *outf = NULL; in apply_palette()
949 *outf = NULL; in apply_palette()
959 *outf = NULL; in apply_palette()
965 *outf = out; in apply_palette()
/third_party/node/
H A Dconfigure.py1909 with icu_data_path.open(mode='wb') as outf:
1912 shutil.copyfileobj(inf, outf)

Completed in 39 milliseconds