/external/clang/test/Analysis/ |
D | simple-stream-checks.c | 6 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 …]
|
D | stream.c | 8 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/ |
D | misctips.c | 38 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 …]
|
D | usb.c | 50 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()
|
D | powertop.c | 185 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 …]
|
D | urbnum.c | 74 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()
|
D | wireless.c | 66 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/ |
D | stream05.c | 76 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()
|
D | stream02.c | 75 if ((stream = fopen(tempfile1, "w+")) == NULL) { in main() 82 if ((stream = fopen(tempfile1, "a+")) == NULL) { in main() 101 if ((stream = fopen("/dev/tty", "w")) == NULL) { in main()
|
/external/ltp/testcases/kernel/security/tomoyo/ |
D | include.h | 89 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()
|
D | tomoyo_policy_memory_test.c | 46 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/ |
D | unlocked-stdio.ll | 26 ; 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/ |
D | blockStreaming_ringBuffer.c | 155 { 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()
|
D | blockStreaming_doubleBuffer.c | 160 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()
|
D | HCStreaming_ringBuffer.c | 188 { 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()
|
D | blockStreaming_lineByLine.c | 175 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()
|
D | dictionaryRandomAccess.c | 230 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/ |
D | iLBC_testLib.c | 75 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/ |
D | pitch_based_vad_unittest.cc | 26 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/ |
D | ReleaseTest-API.cc | 107 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/ |
D | insert_packet_with_timing.cc | 62 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/ |
D | testecho.c | 30 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/ |
D | frag.c | 55 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/ |
D | memanalyze.pl | 301 $fopen{$4}=1; 308 if(!$fopen{$1}) { 312 $fopen{$1}=0; 395 for(keys %fopen) { 396 if($fopen{$_} == 1) {
|
/external/webrtc/webrtc/tools/agc/ |
D | activity_metric.cc | 169 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()
|