Home
last modified time | relevance | path

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

12345678910>>...55

/external/clang/test/Analysis/
Dsimple-stream-checks.c6 FILE *F = fopen("myfile.txt", "w"); in checkDoubleFClose()
18 FILE *F = fopen("myfile.txt", "w"); in checkLeak()
30 FILE *F = fopen("myfile.txt", "w"); in checkLeakFollowedByAssert()
40 FILE *F = fopen("myfile.txt", "w"); in CloseOnlyOnValidFileHandle()
47 FILE *F = fopen("myfile.txt", "w"); in leakOnEnfOfPath1()
51 FILE *F = fopen("myfile.txt", "w"); in leakOnEnfOfPath2()
56 FILE *F = fopen("myfile.txt", "w"); in leakOnEnfOfPath3()
62 FILE *F = fopen("myfile.txt", "w"); in SymbolEscapedThroughFunctionCall()
69 FILE *F = fopen("myfile.txt", "w"); in SymbolEscapedThroughAssignmentToGloabl()
75 FILE *F = fopen("myfile.txt", "w"); in SymbolDoesNotEscapeThoughStringAPIs()
[all …]
Dstream.c8 extern FILE *fopen(const char *path, const char *mode);
17 FILE *p = fopen("foo", "r"); in f1()
24 FILE *p = fopen("foo", "r"); in f2()
30 FILE *p = fopen("foo", "r"); in f3()
36 FILE *p = fopen("foo", "r"); in f4()
42 FILE *p = fopen("foo", "r"); in f5()
51 FILE *p = fopen("foo", "r"); in f6()
63 FILE *p = fopen("foo.c", "r"); in f8()
70 FILE *p = fopen("foo.c", "r"); in f9()
/external/autotest/client/profilers/powertop/src/
Dmisctips.c38 file = fopen("/proc/sys/vm/laptop_mode", "w"); in set_laptop_mode()
56 file = fopen("/proc/acpi/ac_adapter/AC/state", "r"); in suggest_laptop_mode()
69 file = fopen("/proc/sys/vm/laptop_mode", "r"); in suggest_laptop_mode()
88 file = fopen("/proc/sys/kernel/nmi_watchdog", "w"); in nmi_watchdog_off()
99 file = fopen("/proc/sys/kernel/nmi_watchdog", "r"); in suggest_nmi_watchdog()
120 file = fopen("/sys/devices/system/clocksource/clocksource0/available_clocksource", "r"); in suggest_hpet()
145 file = fopen("/sys/module/snd_ac97_codec/parameters/power_save", "w"); in ac97_power_on()
152 file = fopen("/dev/dsp", "w"); in ac97_power_on()
163 file = fopen("/sys/module/snd_ac97_codec/parameters/power_save", "r"); in suggest_ac97_powersave()
189 file = fopen("/proc/mounts","r"); in suggest_noatime()
[all …]
Dusb.c50 file = fopen(filename, "w"); in activate_usb_autosuspend()
56 file = fopen(filename, "w"); in activate_usb_autosuspend()
84 file = fopen(filename, "r"); in suggest_usb_autosuspend()
99 file = fopen(filename, "r"); in suggest_usb_autosuspend()
Dpowertop.c185 file = fopen("/proc/interrupts", "r"); in do_proc_irq()
285 file = fopen(line, "r"); in read_data_acpi()
356 file = fopen(filename, "r"); in read_data_cpuidle()
387 file = fopen(filename, "r"); in read_data_cpuidle()
400 file = fopen(filename, "r"); in read_data_cpuidle()
452 file = fopen("/proc/timer_stats", "w"); in stop_timerstats()
463 file = fopen("/proc/timer_stats", "w"); in start_timerstats()
512 file = fopen(filename, "r"); in print_battery_proc_acpi()
583 fd = fopen("/proc/pmu/info", "r"); in print_battery_proc_pmu()
606 fd = fopen(file_name, "r"); in print_battery_proc_pmu()
[all …]
Durbnum.c74 file = fopen(fullpath, "r"); in update_urbnum()
81 file = fopen(fullpath, "r"); in update_urbnum()
101 file = fopen(fullpath, "r"); in update_urbnum()
108 file = fopen(fullpath, "r"); in update_urbnum()
150 file = fopen(filename, "r"); in count_usb_urbs()
Dwireless.c66 file = fopen(rfkill_path, "r"); in rfkill_enabled()
86 file = fopen(rfkill_path, "r"); in check_unused_wiresless_up()
151 file = fopen(powersave_path, "r"); in need_wireless_suggest_new()
281 file = fopen(powersave_path, "w"); in activate_wireless_suggestion_new()
291 file = fopen(rfkill_path, "w"); in activate_rfkill_suggestion()
/external/ltp/testcases/kernel/fs/stream/
Dstream05.c76 if ((stream = fopen(tempfile, "a+")) == NULL) { in main()
84 if ((stream = fopen(tempfile, "r+")) == NULL) { in main()
135 if ((stream = fopen(tempfile, "r+")) == NULL) { in main()
182 if ((stream = fopen(tempfile, "rb")) == NULL) { in main()
189 if ((stream = fopen(tempfile, "wb")) == NULL) { in main()
196 if ((stream = fopen(tempfile, "ab")) == NULL) { in main()
203 if ((stream = fopen(tempfile, "rb+")) == NULL) { in main()
210 if ((stream = fopen(tempfile, "wb+")) == NULL) { in main()
217 if ((stream = fopen(tempfile, "ab+")) == NULL) { in main()
/external/ltp/testcases/kernel/security/tomoyo/
Dinclude.h89 FILE *fp = fopen(path, "w"); in write_sysctl()
100 FILE *fp = fopen(path, "r"); in read_sysctl()
163 FILE *fp = fopen(proc_policy_profile, "r"); in clear_status()
211 profile_fp = fopen(proc_policy_profile, "w"); in tomoyo_test_init()
217 domain_fp = fopen(proc_policy_domain_policy, "w"); in tomoyo_test_init()
224 exception_fp = fopen(proc_policy_exception_policy, "w"); in tomoyo_test_init()
238 FILE *fp = fopen(proc_policy_self_domain, "r"); in tomoyo_test_init()
275 FILE *fp = fopen(proc_policy_domain_policy, "r"); in write_domain_policy()
314 FILE *fp = fopen(proc_policy_exception_policy, "r"); in write_exception_policy()
349 FILE *fp = fopen(proc_policy_profile, "r"); in set_profile()
Dtomoyo_policy_memory_test.c46 FILE *fp = fopen("/sys/kernel/security/tomoyo/meminfo", "r"); in get_meminfo()
53 FILE *fp = fopen(policy_file, "r"); in check_policy_common()
187 FILE *fp = fopen(policy_file, "w"); in domain_policy_test()
219 FILE *fp = fopen(policy_file, "w"); in domain_policy_test()
297 FILE *fp = fopen(policy_file, "w"); in exception_policy_test()
328 FILE *fp = fopen(policy_file, "w"); in exception_policy_test()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/
Dunlocked-stdio.ll26 ; CHECK-NEXT: [[CALL:%.*]] = call %struct._IO_FILE* @fopen(i8* getelementptr inbounds ([5 x i8],…
30 …%call = call %struct._IO_FILE* @fopen(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0…
35 declare %struct._IO_FILE* @fopen(i8*, i8*)
40 ; CHECK-NEXT: [[CALL:%.*]] = call %struct._IO_FILE* @fopen(i8* getelementptr inbounds ([5 x i8],…
44 …%call = call %struct._IO_FILE* @fopen(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0…
61 ; CHECK-NEXT: [[CALL:%.*]] = call %struct._IO_FILE* @fopen(i8* getelementptr inbounds ([5 x i8],…
67 …%call = call %struct._IO_FILE* @fopen(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0…
76 ; CHECK-NEXT: [[CALL:%.*]] = call %struct._IO_FILE* @fopen(i8* getelementptr inbounds ([5 x i8],…
82 …%call = call %struct._IO_FILE* @fopen(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0…
90 ; CHECK-NEXT: [[CALL:%.*]] = call %struct._IO_FILE* @fopen(i8* getelementptr inbounds ([5 x i8],…
[all …]
/external/lz4/examples/
DblockStreaming_ringBuffer.c155 { FILE* const inpFp = fopen(inpFilename, "rb"); in main()
156 FILE* const outFp = fopen(lz4Filename, "wb"); in main()
165 { FILE* const inpFp = fopen(lz4Filename, "rb"); in main()
166 FILE* const outFp = fopen(decFilename, "wb"); in main()
175 { FILE* const inpFp = fopen(inpFilename, "rb"); in main()
176 FILE* const decFp = fopen(decFilename, "rb"); in main()
DblockStreaming_doubleBuffer.c160 FILE* inpFp = fopen(inpFilename, "rb"); in main()
161 FILE* outFp = fopen(lz4Filename, "wb"); in main()
173 FILE* inpFp = fopen(lz4Filename, "rb"); in main()
174 FILE* outFp = fopen(decFilename, "wb"); in main()
186 FILE* inpFp = fopen(inpFilename, "rb"); in main()
187 FILE* decFp = fopen(decFilename, "rb"); in main()
DblockStreaming_lineByLine.c175 FILE* inpFp = fopen(inpFilename, "rb"); in main()
176 FILE* outFp = fopen(lz4Filename, "wb"); in main()
186 FILE* inpFp = fopen(lz4Filename, "rb"); in main()
187 FILE* outFp = fopen(decFilename, "wb"); in main()
197 FILE* inpFp = fopen(inpFilename, "rb"); in main()
198 FILE* decFp = fopen(decFilename, "rb"); in main()
DHCStreaming_ringBuffer.c188 { FILE* const inpFp = fopen(inpFilename, "rb"); in main()
189 FILE* const outFp = fopen(lz4Filename, "wb"); in main()
198 { FILE* const inpFp = fopen(lz4Filename, "rb"); in main()
199 FILE* const outFp = fopen(decFilename, "wb"); in main()
208 { FILE* const inpFp = fopen(inpFilename, "rb"); in main()
209 FILE* const decFp = fopen(decFilename, "rb"); in main()
DdictionaryRandomAccess.c230 FILE* dictFp = fopen(dictFilename, "rb"); in main()
237 FILE* inpFp = fopen(inpFilename, "rb"); in main()
238 FILE* outFp = fopen(lz4Filename, "wb"); in main()
250 FILE* inpFp = fopen(lz4Filename, "rb"); in main()
251 FILE* outFp = fopen(decFilename, "wb"); in main()
263 FILE* inpFp = fopen(inpFilename, "rb"); in main()
264 FILE* decFp = fopen(decFilename, "rb"); in main()
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/test/
DiLBC_testLib.c75 if ( (ifileid=fopen(argv[2],"rb")) == NULL) { in main()
78 if ( (efileid=fopen(argv[3],"wb")) == NULL) { in main()
81 if( (ofileid=fopen(argv[4],"wb")) == NULL) { in main()
84 if ( (chfileid=fopen(argv[5],"rb")) == NULL) { in main()
115 if ( (seedfile = fopen(SEED_FILE, "a+t") ) == NULL ) { in main()
196 if ( (seedfile = fopen(SEED_FILE, "a+t") ) == NULL ) { in main()
/external/webrtc/webrtc/modules/audio_processing/vad/
Dpitch_based_vad_unittest.cc26 FILE* spectral_peak_file = fopen(spectral_peak_file_name.c_str(), "rb"); in TEST()
31 FILE* pitch_gain_file = fopen(pitch_gain_file_name.c_str(), "rb"); in TEST()
36 FILE* pitch_lag_file = fopen(pitch_lag_file_name.c_str(), "rb"); in TEST()
41 FILE* voicing_prob_file = fopen(voicing_prob_file_name.c_str(), "rb"); in TEST()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/test/ReleaseTest-API/
DReleaseTest-API.cc107 fy = fopen("bit_rate.dat", "w"); in main()
109 fy = fopen("bytes_frames.dat", "w"); in main()
300 plFile = fopen(argv[i + 1], "rb"); in main()
320 fp_gns = fopen(gns_file, "rb"); in main()
335 f_bn = fopen(bottleneck_file, "rb"); in main()
413 if ((inp = fopen(inname, "rb")) == NULL) { in main()
419 if ((outp = fopen(outname, "wb")) == NULL) { in main()
426 if ((vadp = fopen(vadfile, "rb")) == NULL) { in main()
433 if ((bandwidthp = fopen("bwe.pcm", "wb")) == NULL) { in main()
480 transCodingFile = fopen(transCodingFileName, "wb"); in main()
[all …]
/external/webrtc/webrtc/modules/audio_coding/test/
Dinsert_packet_with_timing.cc62 seq_num_fid_(fopen(FLAGS_seq_num.c_str(), "rt")), in InsertPacketWithTiming()
63 send_ts_fid_(fopen(FLAGS_send_ts.c_str(), "rt")), in InsertPacketWithTiming()
64 receive_ts_fid_(fopen(FLAGS_receive_ts.c_str(), "rt")), in InsertPacketWithTiming()
65 pcm_out_fid_(fopen(FLAGS_output.c_str(), "wb")), in InsertPacketWithTiming()
72 playout_timing_fid_(fopen("playout_timing.txt", "wt")) {} in InsertPacketWithTiming()
283 delay_log = fopen(FLAGS_delay.c_str(), "wt"); in main()
/external/speex/libspeexdsp/
Dtestecho.c30 echo_fd = fopen(argv[2], "rb"); in main()
31 ref_fd = fopen(argv[1], "rb"); in main()
32 e_fd = fopen(argv[3], "wb"); in main()
/external/ltp/testcases/kernel/fs/fs_di/
Dfrag.c55 fp_data = fopen(argv[1], "r"); in main()
67 fp_frag1 = fopen(frag_file1, "a+"); in main()
72 fp_frag2 = fopen(frag_file2, "a+"); in main()
/external/curl/tests/
Dmemanalyze.pl301 $fopen{$4}=1;
308 if(!$fopen{$1}) {
312 $fopen{$1}=0;
395 for(keys %fopen) {
396 if($fopen{$_} == 1) {
/external/webrtc/webrtc/tools/agc/
Dactivity_metric.cc169 FILE* pcm_fid = fopen(argv[1], "rb"); in void_main()
179 true_vad_fid = fopen(FLAGS_true_vad.c_str(), "rb"); in void_main()
190 results_fid = fopen(FLAGS_result.c_str(), "r"); in void_main()
198 results_fid = fopen(FLAGS_result.c_str(), "a"); in void_main()
211 video_vad_fid = fopen(FLAGS_video_vad.c_str(), "rb"); in void_main()
220 audio_content_fid = fopen(FLAGS_audio_content.c_str(), "wb"); in void_main()
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_browser.py154 def test_ondoubleclick(self, fopen): argument
159 fopen.assert_not_called()
163 fopen.assert_called()
164 fopen.called_with(fname)
212 def test_ondoubleclick(self, fopen): argument
213 goto = fopen.return_value.gotoline = mock.Mock()
215 fopen.assert_called()

12345678910>>...55