Home
last modified time | relevance | path

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

1234567891011

/external/flac/src/test_grabbag/cuesheet/
Dmain.c34 FILE *fin, *fout; in do_cuesheet() local
46 fin = stdin; in do_cuesheet()
48 else if(0 == (fin = flac_fopen(infilename, "r"))) { in do_cuesheet()
52 …if(0 != (cuesheet = grabbag__cuesheet_parse(fin, &error_message, &last_line_read, sample_rate, is_… in do_cuesheet()
53 if(fin != stdin) in do_cuesheet()
54 fclose(fin); in do_cuesheet()
58 if(fin != stdin) in do_cuesheet()
59 fclose(fin); in do_cuesheet()
84 if(0 == (fin = flac_fopen(tmpfilename, "r"))) { in do_cuesheet()
88 …if(0 != (cuesheet = grabbag__cuesheet_parse(fin, &error_message, &last_line_read, sample_rate, is_… in do_cuesheet()
[all …]
/external/brotli/research/
Dread_dist.h28 bool ReadBackwardReference(FILE* fin, int* copy, int* pos, int* dist) { in ReadBackwardReference() argument
29 int c = getc(fin); in ReadBackwardReference()
32 CHECK(fread(copy, sizeof(int), 1, fin) == 1); in ReadBackwardReference()
33 if ((c = getc(fin)) != 1) { in ReadBackwardReference()
34 ungetc(c, fin); in ReadBackwardReference()
37 CHECK(fread(pos, sizeof(int), 1, fin) == 1); in ReadBackwardReference()
38 CHECK(fread(dist, sizeof(int), 1, fin) == 1); in ReadBackwardReference()
43 CHECK(fread(pos, sizeof(int), 1, fin) == 1); in ReadBackwardReference()
44 CHECK(fread(dist, sizeof(int), 1, fin) == 1); in ReadBackwardReference()
Dbrotli_decoder.c16 FILE* fin; member
24 ctx->fin = 0; in init()
36 if (ctx->fin) fclose(ctx->fin); in cleanup()
54 ctx.fin = fdopen(STDIN_FILENO, "rb"); in main()
55 if (!ctx.fin) fail(&ctx, "can't open input file"); in main()
69 if (feof(ctx.fin)) break; in main()
70 available_in = fread(ctx.input_buffer, 1, BUFFER_SIZE, ctx.fin); in main()
72 if (ferror(ctx.fin)) break; in main()
Ddraw_histogram.cc67 void BuildHistogram(FILE* fin, int** histo) { in BuildHistogram() argument
86 while (ReadBackwardReference(fin, &copy, &pos, &distance)) { in BuildHistogram()
178 FILE* fin = fopen(argv[1], "r"); in main() local
181 if (fin != nullptr && fout != nullptr) { in main()
189 BuildHistogram(fin, histo); in main()
196 if (fin) fclose(fin); in main()
/external/toolchain-utils/android_bench_suite/
Dparse_result.py27 def parse_Panorama(bench, fin): argument
29 for line in fin:
40 def parse_Synthmark(bench, fin): argument
44 for line in fin:
58 def parse_Binder(bench, fin): argument
62 for line in fin:
77 def parse_Dex2oat(bench, fin): argument
80 for line in fin:
99 def parse_Hwui(bench, fin): argument
101 for line in fin:
[all …]
/external/libopus/src/
Drepacketizer_demo.c61 FILE *fin, *fout; in main() local
99 fin = fopen(argv[argc-2], "r"); in main()
100 if(fin==NULL) in main()
109 fclose(fin); in main()
122 if (fread(ch, 1, 4, fin)!=4) in main()
124 if (feof(fin)) in main()
129 fclose(fin); in main()
139 if (feof(fin)) in main()
144 fclose(fin); in main()
150 if (fread(ch, 1, 4, fin)!=4) in main()
[all …]
/external/rust/crates/quiche/src/
Dstream.rs649 if buf.fin() && fin_off != buf.max_off() { in push()
655 if buf.fin() && buf.max_off() < self.len { in push()
667 if buf.fin() && buf.is_empty() && self.fin_off.is_some() { in push()
671 if buf.fin() { in push()
676 if !buf.fin() && buf.is_empty() { in push()
920 &mut self, mut data: &[u8], mut fin: bool, in push_slice()
931 let buf = RangeBuf::from(&[], self.off, fin); in push_slice()
942 fin = false; in push_slice()
945 let buf = RangeBuf::from(data, self.off, fin); in push_slice()
962 if buf.max_off() == fin_off && !buf.fin() { in push()
[all …]
/external/Reactive-Extensions/RxCpp/Ix/CPP/src/cpplinq/
Dlinq_cursor.hpp156 bool empty() const { return current == fin; } in empty()
158 if (current == fin) in inc()
172 std::size_t size() { return fin-start; } in size()
175 if (n > fin-current) { in truncate()
176 fin = current + n; in truncate()
181 iter_cursor(Iterator start, Iterator fin) in iter_cursor() argument
184 , fin(std::move(fin)) in iter_cursor()
188 iter_cursor(Iterator start, Iterator fin, Iterator current) in iter_cursor() argument
191 , fin(std::move(fin)) in iter_cursor()
199 Iterator start, fin; member in cpplinq::iter_cursor
Dlinq_groupby.hpp15 Iter fin; member
27 Iter end() const { return fin; } in end()
119 --groups.back().fin; in insert()
128 newGroup.fin = elements.end(); in insert()
129 --(newGroup.start = newGroup.fin); in insert()
154 fin = impl->groups.end(); in cursor()
159 return inner == fin; in empty()
162 if (inner == fin) { in inc()
174 typename std::list<group_type>::iterator fin; member
/external/libopus/celt/
Dopus_custom_demo.c46 FILE *fin, *fout; in main() local
89 fin = fopen(inFile, "rb"); in main()
90 if (!fin) in main()
100 fclose(fin); in main()
108 fclose(fin); in main()
116 fclose(fin); in main()
131 while (!feof(fin)) in main()
134 err = fread(in, sizeof(short), frame_size*channels, fin); in main()
135 if (feof(fin)) in main()
192 fclose(fin); in main()
/external/wpa_supplicant_8/src/eap_peer/
Deap_pwd.c373 goto fin; in eap_pwd_perform_commit_exchange()
380 goto fin; in eap_pwd_perform_commit_exchange()
401 goto fin; in eap_pwd_perform_commit_exchange()
429 goto fin; in eap_pwd_perform_commit_exchange()
438 goto fin; in eap_pwd_perform_commit_exchange()
450 goto fin; in eap_pwd_perform_commit_exchange()
466 goto fin; in eap_pwd_perform_commit_exchange()
475 goto fin; in eap_pwd_perform_commit_exchange()
487 goto fin; in eap_pwd_perform_commit_exchange()
501 goto fin; in eap_pwd_perform_commit_exchange()
[all …]
/external/libopus/celt/arm/
Dcelt_fft_ne10.c112 const kiss_fft_cpx *fin, in opus_fft_neon() argument
123 opus_fft_c(st, fin, fout); in opus_fft_neon()
132 (NE10_FFT_CPX_TYPE_T *)fin, in opus_fft_neon()
136 (NE10_FFT_CPX_TYPE_T *)fin, in opus_fft_neon()
144 const kiss_fft_cpx *fin, in opus_ifft_neon() argument
155 opus_ifft_c(st, fin, fout); in opus_ifft_neon()
164 (NE10_FFT_CPX_TYPE_T *)fin, in opus_ifft_neon()
168 (NE10_FFT_CPX_TYPE_T *)fin, in opus_ifft_neon()
/external/speex/libspeexdsp/
Dtestresample.c49 float *fin, *fout; in main() local
57 fin = malloc(NN*sizeof(float)); in main()
67 fin[i]=in[i]; in main()
72 speex_resampler_process_float(st, 0, fin, &in_len, fout, &out_len); in main()
82 free(fin); in main()
/external/zlib/contrib/minizip/
Dminizip.c189 FILE * fin = FOPEN_FUNC(filenameinzip,"rb"); in getFileCrc() local
193 if (fin==NULL) in getFileCrc()
202 size_read = (int)fread(buf,1,size_buf,fin); in getFileCrc()
204 if (feof(fin)==0) in getFileCrc()
216 if (fin) in getFileCrc()
217 fclose(fin); in getFileCrc()
398 FILE * fin; local
463 fin = FOPEN_FUNC(filenameinzip,"rb");
464 if (fin==NULL)
475 size_read = (int)fread(buf,1,size_buf,fin);
[all …]
/external/rust/crates/libz-sys/src/zlib/contrib/minizip/
Dminizip.c189 FILE * fin = FOPEN_FUNC(filenameinzip,"rb"); in getFileCrc() local
193 if (fin==NULL) in getFileCrc()
202 size_read = (int)fread(buf,1,size_buf,fin); in getFileCrc()
204 if (feof(fin)==0) in getFileCrc()
216 if (fin) in getFileCrc()
217 fclose(fin); in getFileCrc()
398 FILE * fin; local
463 fin = FOPEN_FUNC(filenameinzip,"rb");
464 if (fin==NULL)
475 size_read = (int)fread(buf,1,size_buf,fin);
[all …]
/external/flac/src/flac/
Dforeign_metadata.c57 static FLAC__bool copy_data_(FILE *fin, FILE *fout, size_t size, const char **error, const char * c… in copy_data_() argument
63 if(fread(buffer, 1, need, fin) < need) { in copy_data_()
417 static FLAC__bool write_to_flac_(foreign_metadata_t *fm, FILE *fin, FILE *fout, FLAC__Metadata_Simp… in write_to_flac_() argument
438 if(fseeko(fin, fm->blocks[block_num].offset, SEEK_SET) < 0) { in write_to_flac_()
466 …if(!copy_data_(fin, fout, fm->blocks[block_num].size, error, "read failed in WAVE/AIFF file (011)"… in write_to_flac_()
643 static FLAC__bool write_to_iff_(foreign_metadata_t *fm, FILE *fin, FILE *fout, FLAC__off_t offset1,… in write_to_iff_() argument
652 if(fseeko(fin, fm->blocks[i].offset, SEEK_SET) < 0) { in write_to_iff_()
656 …if(!copy_data_(fin, fout, fm->blocks[i].size, error, "read failed in WAVE/AIFF file (004)", "write… in write_to_iff_()
664 if(fseeko(fin, fm->blocks[i].offset, SEEK_SET) < 0) { in write_to_iff_()
668 …if(!copy_data_(fin, fout, fm->blocks[i].size, error, "read failed in WAVE/AIFF file (008)", "write… in write_to_iff_()
[all …]
/external/wpa_supplicant_8/src/eap_server/
Deap_server_pwd.c261 goto fin; in eap_pwd_build_commit_req()
266 goto fin; in eap_pwd_build_commit_req()
273 goto fin; in eap_pwd_build_commit_req()
279 goto fin; in eap_pwd_build_commit_req()
285 goto fin; in eap_pwd_build_commit_req()
301 goto fin; in eap_pwd_build_commit_req()
304 fin: in eap_pwd_build_commit_req()
335 goto fin; in eap_pwd_build_confirm_req()
344 goto fin; in eap_pwd_build_confirm_req()
360 goto fin; in eap_pwd_build_confirm_req()
[all …]
/external/flac/examples/cpp/encode/file/
Dmain.cpp62 FILE *fin; in main() local
72 if((fin = fopen(argv[1], "rb")) == NULL) { in main()
79 fread(buffer, 1, 44, fin) != 44 || in main()
85 fclose(fin); in main()
96 fclose(fin); in main()
141 if(fread(buffer, channels*(bps/8), need, fin) != need) { in main()
168 fclose(fin); in main()
/external/flac/examples/c/encode/file/
Dmain.c54 FILE *fin; in main() local
64 if((fin = fopen(argv[1], "rb")) == NULL) { in main()
71 fread(buffer, 1, 44, fin) != 44 || in main()
77 fclose(fin); in main()
88 fclose(fin); in main()
133 if(fread(buffer, channels*(bps/8), need, fin) != need) { in main()
161 fclose(fin); in main()
/external/rust/crates/libz-sys/src/zlib-ng/test/
Dminideflate.c45 void deflate_params(FILE *fin, FILE *fout, int32_t read_buf_size, int32_t write_buf_size, int32_t l… in deflate_params() argument
77 read = (int32_t)fread(read_buf, 1, read_buf_size, fin); in deflate_params()
129 void inflate_params(FILE *fin, FILE *fout, int32_t read_buf_size, int32_t write_buf_size, int32_t w… in inflate_params() argument
162 read = (int32_t)fread(read_buf, 1, read_buf_size, fin); in inflate_params()
239 FILE *fin = stdin; in main() local
278 fin = fopen(argv[i], "rb+"); in main()
279 if (fin == NULL) { in main()
294 inflate_params(fin, fout, read_buf_size, write_buf_size, window_bits, flush); in main()
296 …deflate_params(fin, fout, read_buf_size, write_buf_size, level, window_bits, mem_level, strategy, … in main()
299 if (fin != stdin) { in main()
[all …]
/external/libaom/libaom/aom_ports/
Darm_cpudetect.c114 FILE *fin; in aom_arm_cpu_caps() local
125 fin = fopen("/proc/cpuinfo", "r"); in aom_arm_cpu_caps()
126 if (fin != NULL) { in aom_arm_cpu_caps()
131 while (fgets(buf, 511, fin) != NULL) { in aom_arm_cpu_caps()
142 fclose(fin); in aom_arm_cpu_caps()
/external/arm-trusted-firmware/tools/amlogic/
Ddoimage.c46 int fin, fout, ret = -1; in main() local
56 fin = open(argv[1], O_RDONLY); in main()
57 if (fin < 0) { in main()
78 while ((len = read(fin, buf, sizeof(buf))) > 0) in main()
91 close(fin); in main()
/external/libvpx/libvpx/vpx_ports/
Darm_cpudetect.c118 FILE *fin; in arm_cpu_caps() local
129 fin = fopen("/proc/cpuinfo", "r"); in arm_cpu_caps()
130 if (fin != NULL) { in arm_cpu_caps()
135 while (fgets(buf, 511, fin) != NULL) { in arm_cpu_caps()
146 fclose(fin); in arm_cpu_caps()
/external/tensorflow/tensorflow/lite/tools/
Dlist_flex_ops_main.cc37 std::ifstream fin; in main() local
38 fin.exceptions(std::ifstream::failbit | std::ifstream::badbit); in main()
39 fin.open(model_file); in main()
41 content << fin.rdbuf(); in main()
/external/libopus/doc/
Dtrivial_example.c51 FILE *fin; in main() local
88 fin = fopen(inFile, "rb"); in main()
89 if (fin==NULL) in main()
119 samples = fread(pcm_bytes, sizeof(short)*CHANNELS, FRAME_SIZE, fin); in main()
168 fclose(fin); in main()

1234567891011