Home
last modified time | relevance | path

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

12345678910>>...17

/external/autotest/client/profilers/powertop/src/
Dmisctips.c60 if (!fgets(buffer, 1023, file)) { in suggest_laptop_mode()
73 if (!fgets(buffer, 1023, file)) { in suggest_laptop_mode()
103 if (!fgets(buffer, 1023, file)) { in suggest_nmi_watchdog()
125 if (!fgets(buffer, 1023, file)) { in suggest_hpet()
167 if (!fgets(buffer, 1023, file)) { in suggest_ac97_powersave()
194 if (!fgets(buffer, 1023, file)) in suggest_noatime()
229 if (!fgets(buffer, 1023, file)) { in suggest_powersched()
249 if (!fgets(buffer, 1023, file)) in suggest_powersched()
290 if (!fgets(buffer, 1023, file)) { in suggest_writeback_time()
Durbnum.c77 fgets(name, 4096, file); in update_urbnum()
84 fgets(name, 4096, file); in update_urbnum()
104 fgets(name, 4096, file); in update_urbnum()
111 fgets(vendor, 4096, file); in update_urbnum()
154 fgets(buffer, 4095, file); in count_usb_urbs()
Dconfig.c50 if (fgets(line, 100, file) == NULL) in read_kernel_config()
60 if (fgets(version, 100, file) == NULL) { in read_kernel_config()
78 if (fgets(line, 100, file) == NULL) in read_kernel_config()
Dpowertop.c194 if (fgets(line, 1024, file) == NULL) in do_proc_irq()
293 if (fgets(line, 4096, file) == NULL) in read_data_acpi()
360 f = fgets(line, 4096, file); in read_data_cpuidle()
392 f = fgets(line, 4096, file); in read_data_cpuidle()
405 f = fgets(line, 4096, file); in read_data_cpuidle()
516 while (fgets(line, 1024, file) != NULL) { in print_battery_proc_acpi()
587 while ( fgets(line, sizeof(line), fd) != NULL ) in print_battery_proc_pmu()
610 while (fgets(line, sizeof(line), fd) != NULL) in print_battery_proc_pmu()
693 if (fgets(line, 1024, file) != NULL) { in print_battery_sysfs()
704 if (fgets(line, 1024, file) != NULL) { in print_battery_sysfs()
[all …]
Dusb.c88 if (fgets(line, 1023,file)==NULL) { in suggest_usb_autosuspend()
103 if (fgets(line, 1023,file)==NULL) { in suggest_usb_autosuspend()
Dwireless.c100 if (fgets(line, 1023, file) == 0) in check_unused_wiresless_up()
127 if (fgets(line, 1023, file)==NULL) in need_wireless_suggest()
224 if (fgets(line, 1023, file)==NULL) in find_wireless_nic()
Dbluetooth.c136 fgets(line,2048,file); in suggest_bluetooth_off()
138 fgets(line, 2047, file); in suggest_bluetooth_off()
/external/ltp/testcases/kernel/security/tomoyo/
Dinclude.h107 if (fgets(value, len, fp)) in read_sysctl()
174 fgets(buffer, sizeof(buffer) - 10, fp)) { in clear_status()
240 if (!fp || !fgets(self_domain, sizeof(self_domain) - 1, fp) || in tomoyo_test_init()
287 while (fgets(buffer, sizeof(buffer) - 1, fp)) { in write_domain_policy()
325 while (fgets(buffer, sizeof(buffer) - 1, fp)) { in write_exception_policy()
359 fgets(buffer, sizeof(buffer) - 1, fp)) { in set_profile()
/external/ltp/testcases/kernel/sched/hyperthreading/ht_interrupt/
Dht_utils.c27 while (fgets(buffer, BUFF_SIZE - 1, fp) != NULL) { in is_cmdline_para()
49 while (fgets(buffer, BUFF_SIZE - 1, fp) != NULL) { in is_ht_kernel()
101 while (fgets(buffer, BUFF_SIZE - 1, fp) != NULL) { in is_ht_enabled()
107 while (fgets(buffer, BUFF_SIZE - 1, fp) != NULL) { in is_ht_enabled()
214 while (fgets(buf, 255, pfile) != NULL) { in get_cpu_count()
Dht_interrupt.c44 fgets(buf, 255, pFile); in HT_InterruptDistribution()
60 fgets(buf, 255, pFile); in HT_InterruptDistribution()
/external/selinux/libselinux/src/
Dquery_user_context.c25 if (fgets(response, sizeof(response), stdin) == NULL) in context_menu()
51 if (fgets(response, sizeof(response), stdin) == NULL) in query_user_context()
85 if (fgets(newfield, newfieldlen, stdin) == NULL) in get_field()
133 if (fgets(response, sizeof(response), stdin) == NULL in manual_user_enter_context()
/external/libpng/contrib/gregbook/
Dreadppm.c89 fgets(ppmline, 256, infile); in readpng_init()
107 fgets(ppmline, 256, infile); in readpng_init()
112 fgets(ppmline, 256, infile); in readpng_init()
/external/libvncserver/examples/
Dpnmshow24.c37 fgets(buffer,1024,in); in main()
45 fgets(buffer,1024,in); in main()
51 fgets(buffer,1024,in); in main()
Dpnmshow.c33 fgets(buffer,1024,in); in main()
50 fgets(buffer,1024,in); in main()
57 fgets(buffer,1024,in); in main()
/external/libcap-ng/libcap-ng-0.7/utils/
Dnetcap.c118 while (fgets(buf, sizeof(buf), sf)) { in collect_process_info()
265 while (fgets(buf, sizeof(buf), f)) { in read_tcp()
299 while (fgets(buf, sizeof(buf), f)) { in read_udp()
333 while (fgets(buf, sizeof(buf), f)) { in read_raw()
371 while (fgets(buf, sizeof(buf), f)) { in get_interface()
403 while (fgets(buf, sizeof(buf), f)) { in read_packet()
/external/toybox/toys/net/
Dnetstat.c118 if(!fgets(toybuf, sizeof(toybuf), fp)) return; //skip header. in show_ip()
120 while (fgets(toybuf, sizeof(toybuf), fp)) { in show_ip()
192 if(!fgets(toybuf, sizeof(toybuf), fp)) return; //skip header. in show_unix_sockets()
194 while (fgets(toybuf, sizeof(toybuf), fp)) { in show_unix_sockets()
284 if(!fgets(toybuf, sizeof(toybuf), fp)) return; //skip header. in display_routes()
290 while (fgets(toybuf, sizeof(toybuf), fp)) { in display_routes()
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
Dcpuinfo.c60 while (fgets(buf, sizeof(buf), fp) != NULL) { in get_cpu_baseinfo()
108 if (fgets(buf, sizeof(buf), fp) == NULL) { in online_cpumask()
152 if (fgets(buf, sizeof(buf), fp) == NULL) { in present_cpumask()
221 while (fgets(buf, sizeof(buf), fp) != NULL) { in get_sched_domains()
301 while (fgets(buf, sizeof(buf), fp) != NULL) { in get_num_cpusets()
Dmeminfo.c36 if (fgets(buf, sizeof(buf), fp) == NULL) { in online_memmask()
72 if (fgets(buf, sizeof(buf), fp) == NULL) { in present_memmask()
/external/e2fsprogs/ext2ed/
Dinit.c120 fgets (current_line,500,fp); in set_struct_descriptors()
128 fgets (current_line,500,fp); in set_struct_descriptors()
133 fgets (current_line,500,fp); in set_struct_descriptors()
137 fgets (current_line,500,fp); in set_struct_descriptors()
149 fgets (current_line,500,fp); in set_struct_descriptors()
599 fgets (buffer,500,fp); in get_next_option()
622 fgets (current_line,500,fp); in check_mounted()
/external/ltp/lib/
Dtst_virt.c39 while (fgets(line, sizeof(line), cpuinfo) != NULL) { in is_kvm()
82 if (!fgets(virt_type, sizeof(virt_type), f)) in try_systemd_detect_virt()
/external/libedit/src/
Dfgetln.c61 if (fgets(buf, bufsiz, fp) == NULL) in fgetln()
78 if (fgets(&buf[bufsiz], BUFSIZ, fp) == NULL) { in fgetln()
/external/iproute2/ip/
Dipmaddr.c94 while (fgets(buf, sizeof(buf), fp)) { in read_dev_mcast()
132 if (!fgets(buf, sizeof(buf), fp)) { in read_igmp()
137 while (fgets(buf, sizeof(buf), fp)) { in read_igmp()
171 while (fgets(buf, sizeof(buf), fp)) { in read_igmp6()
/external/e2fsprogs/util/
Dsubst.c229 if (fgets(line, sizeof(line), f) == NULL) in parse_config_file()
289 oldcp = fgets(oldbuf, sizeof(oldbuf), old_f); in compare_file()
290 newcp = fgets(newbuf, sizeof(newbuf), new_f); in compare_file()
411 if (fgets(line, sizeof(line), in) == NULL) in main()
/external/ltp/testcases/kernel/syscalls/ipc/lib/
Dlibipc.c190 for (used_queues = -4; fgets(buff, BUFSIZE, f); used_queues++) ; in get_used_msgqueues()
213 if (!fgets(buff, BUFSIZE, f)) { in get_max_msgqueues()
/external/webrtc/webrtc/modules/audio_coding/neteq/test/
DRTPchange.cc51 if (fgets(temp_str, 100, stat_file) == NULL) { in main()
73 if (fgets(first_line, FIRSTLINELEN, in_file) == NULL) { in main()

12345678910>>...17