Home
last modified time | relevance | path

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

123456789

/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/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()
53 ctx.fin = fdopen(STDIN_FILENO, "rb"); in main()
54 if (!ctx.fin) fail(&ctx, "can't open input file"); in main()
68 if (feof(ctx.fin)) break; in main()
69 available_in = fread(ctx.input_buffer, 1, BUFFER_SIZE, ctx.fin); in main()
71 if (ferror(ctx.fin)) break; in main()
Dfind_opt_references.cc43 void ReadInput(FILE* fin, input_type* storage, size_t input_size) { in ReadInput() argument
46 fseek(fin, 0, SEEK_SET); in ReadInput()
48 available_in = fread(storage + last_pos, 1, kFileBufferSize, fin); in ReadInput()
204 FILE* fin = fopen(argv[1], "rb"); in main() local
207 fseek(fin, 0, SEEK_END); in main()
208 int input_size = ftell(fin); in main()
209 fseek(fin, 0, SEEK_SET); in main()
214 ReadInput(fin, storage, input_size); in main()
215 fclose(fin); in main()
/external/u-boot/tools/
Dproftool.c103 static int read_system_map(FILE *fin) in read_system_map() argument
116 if (fgets(buff, sizeof(buff), fin)) in read_system_map()
121 } else if (feof(fin)) { in read_system_map()
157 static int read_data(FILE *fin, void *buff, int size) in read_data() argument
161 err = fread(buff, 1, size, fin); in read_data()
165 error("Cannot read profile file at pos %ld\n", ftell(fin)); in read_data()
208 static int read_calls(FILE *fin, size_t count) in read_calls() argument
223 if (read_data(fin, call_data, sizeof(*call_data))) in read_calls()
229 static int read_profile(FILE *fin, int *not_found) in read_profile() argument
234 while (!feof(fin)) { in read_profile()
[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 err = fread(ch, 1, 4, fin); in main()
127 if (feof(fin)) in main()
132 fclose(fin); in main()
138 err = fread(ch, 1, 4, fin); in main()
140 err = fread(packets[i], 1, len[i], fin); in main()
141 if (feof(fin)) in main()
[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/u-boot/arch/arm/cpu/arm926ejs/lpc32xx/
Dclk.c24 unsigned long long fin, fref, fcco, fout; in get_hclk_pll_rate() local
34 fref = fin = get_sys_clk_rate(); in get_hclk_pll_rate()
35 if (fin > 20000000ULL || fin < 1000000ULL) in get_hclk_pll_rate()
48 do_div(fin, p_div); in get_hclk_pll_rate()
49 return fin; in get_hclk_pll_rate()
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DCpuMonitor.java93 FileReader fin = new FileReader("/sys/devices/system/cpu/present"); in init() local
95 BufferedReader rdr = new BufferedReader(fin); in init()
103 fin.close(); in init()
246 FileReader fin = new FileReader(fileName); in readFreqFromFile() local
248 BufferedReader rdr = new BufferedReader(fin); in readFreqFromFile()
255 fin.close(); in readFreqFromFile()
273 FileReader fin = new FileReader("/proc/stat"); in readIdleAndRunTime() local
275 BufferedReader rdr = new BufferedReader(fin); in readIdleAndRunTime()
288 fin.close(); in readIdleAndRunTime()
/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/v8/third_party/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/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/autotest/client/site_tests/firmware_TouchMTB/
Dcommon_util.py46 fin = sys.stdin
47 old_attrs = termios.tcgetattr(fin)
48 tty.setraw(fin.fileno())
50 char = fin.read(1)
54 termios.tcsetattr(fin, termios.TCSADRAIN, old_attrs)
/external/libopus/doc/
Dtrivial_example.c51 FILE *fin; in main() local
88 fin = fopen(inFile, "r"); in main()
89 if (fin==NULL) in main()
118 fread(pcm_bytes, sizeof(short)*CHANNELS, FRAME_SIZE, fin); in main()
119 if (feof(fin)) in main()
157 fclose(fin); in main()
/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/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/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/ltp/testcases/kernel/mem/vma/
Dvma04.c71 static void fin(void);
138 static void fin(void) in fin() function
238 fin(); in case4()
255 fin(); in case5()
272 fin(); in case6()
289 fin(); in case7()
306 fin(); in case8()
/external/python/cpython2/PCbuild/
Dprepare_ssl.py74 with open(makefile) as fin, open(asm_makefile, 'w') as fout:
75 for line in fin:
81 for line in fin:
86 line = next(fin)
102 with open(makefile) as fin:
103 for line in fin:
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/
DNanoWSD.java435 boolean fin = (head & 0x80) != 0; in read()
442 } else if (opCode.isControlFrame() && !fin) { in read()
446 WebSocketFrame frame = new WebSocketFrame(opCode, fin); in read()
462 private boolean fin; field in NanoWSD.WebSocketFrame
474 private WebSocketFrame(OpCode opCode, boolean fin) { in WebSocketFrame() argument
476 setFin(fin); in WebSocketFrame()
479 public WebSocketFrame(OpCode opCode, boolean fin, byte[] payload) { in WebSocketFrame() argument
480 this(opCode, fin, payload, null); in WebSocketFrame()
483 public WebSocketFrame(OpCode opCode, boolean fin, byte[] payload, byte[] maskingKey) { in WebSocketFrame() argument
484 this(opCode, fin); in WebSocketFrame()
[all …]

123456789