Home
last modified time | relevance | path

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

/third_party/lame/frontend/
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()
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, char *inPath, char *outPath) in lame_decoder() argument
266 ret = lame_decoder_loop(gfp, outf, inPath, outPath); in lame_decoder()
[all …]
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()
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()
Dget_audio.h59 void put_audio16(FILE* outf, short Buffer[2][1152], int iread, int nch);
/third_party/zlib/contrib/iostream3/
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()
DREADME4 gzofstream outf("blah.gz");
5 outf << "These go into the gzip file " << 123 << endl;
/third_party/littlefs/scripts/
Dexplode_asserts.py137 def mkdecls(outf, maxwidth=16): argument
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 = open(args.output, 'w') if args.output else sys.stdout
[all …]
/third_party/pulseaudio/src/pulsecore/resampler/
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/ltp/testcases/kernel/mce-test/lib/
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"
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/tests/
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[i].fR, outf[i].fG, outf[i].fB, outf[i].fA, in legal_modulation()
[all …]
/third_party/node/deps/icu-small/source/tools/escapesrc/
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/third_party/externals/icu/source/tools/escapesrc/
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/
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/python/Lib/
Dpipes.py219 [inf, cmd, kind, outf] = item
221 cmd = 'OUT=' + quote(outf) + '; ' + cmd
226 if kind[1] == '-' and outf:
227 cmd = cmd + ' >' + quote(outf)
/third_party/python/Lib/distutils/command/
Dbuild_scripts.py129 with open(outfile, "wb") as outf:
130 outf.write(shebang)
131 outf.writelines(f.readlines())
/third_party/ltp/testcases/kernel/fs/scsi/ltpscsi/
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, flags, 0666)) < 0) { in do_scsi_device_read_write()
2358 outf); in do_scsi_device_read_write()
[all …]
/third_party/node/tools/icu/
Dshrink-icu-src.py44 with bz2.BZ2File(outfp, 'wb') as outf:
45 shutil.copyfileobj(inf, outf)
/third_party/python/Python/
Dsysmodule.c628 sys_displayhook_unencodable(PyObject *outf, PyObject *o) in sys_displayhook_unencodable() argument
635 stdout_encoding = _PyObject_GetAttrId(outf, &PyId_encoding); in sys_displayhook_unencodable()
652 if (_PyObject_LookupAttrId(outf, &PyId_buffer, &buffer) < 0) { in sys_displayhook_unencodable()
669 if (PyFile_WriteObject(escaped_str, outf, Py_PRINT_RAW) != 0) { in sys_displayhook_unencodable()
698 PyObject *outf; in sys_displayhook() local
721 outf = sys_get_object_id(tstate, &PyId_stdout); in sys_displayhook()
722 if (outf == NULL || outf == Py_None) { in sys_displayhook()
726 if (PyFile_WriteObject(o, outf, 0) != 0) { in sys_displayhook()
732 err = sys_displayhook_unencodable(outf, o); in sys_displayhook()
746 if (PyFile_WriteObject(newline, outf, Py_PRINT_RAW) != 0) in sys_displayhook()
/third_party/zlib/contrib/blast/
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/glslang/Test/
D420.tesc29 out float outf; // ERROR, no array
/third_party/glslang/Test/baseResults/
D420.tesc.out7 ERROR: 0:29: 'out' : type must be an array: outf
115 0:? 'outf' ( out float)
191 0:? 'outf' ( out float)
D150.tesc.out632 ERROR: 0:29: 'out' : type must be an array: outf
740 0:? 'outf' ( out float)
1296 0:? 'outf' ( out float)
/third_party/ffmpeg/libavfilter/
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/
Dconfigure.py1909 with icu_data_path.open(mode='wb') as outf:
1912 shutil.copyfileobj(inf, outf)