Home
last modified time | relevance | path

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

12345678910>>...21

/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()
Dbluetooth.c136 fgets(line,2048,file); in suggest_bluetooth_off()
138 fgets(line, 2047, file); in suggest_bluetooth_off()
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()
/external/llvm-project/clang/test/Analysis/
Dblock-in-critical-section.cpp27 void fgets() {} in fgets() function
45 fgets(); // expected-warning {{Call to blocking function 'fgets' inside of critical section}} in testBlockInCriticalSectionWithStdMutex()
55 fgets(); // expected-warning {{Call to blocking function 'fgets' inside of critical section}} in testBlockInCriticalSectionWithPthreadMutex()
63 fgets(); // expected-warning {{Call to blocking function 'fgets' inside of critical section}} in testBlockInCriticalSectionWithPthreadMutex()
73 fgets(); // expected-warning {{Call to blocking function 'fgets' inside of critical section}} in testBlockInCriticalSectionC11Locks()
81 fgets(); // expected-warning {{Call to blocking function 'fgets' inside of critical section}} in testBlockInCriticalSectionC11Locks()
89 fgets(); // expected-warning {{Call to blocking function 'fgets' inside of critical section}} in testBlockInCriticalSectionC11Locks()
/external/llvm-project/lldb/test/API/python_api/process/io/
Dmain.c6 if (fgets(line, sizeof(line), stdin)) { in main()
10 if (fgets(line, sizeof(line), stdin)) { in main()
14 if (fgets(line, sizeof(line), stdin)) { in main()
/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/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/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/llvm-project/lldb/test/API/commands/process/launch/
Dmain.cpp9 fgets (buffer, sizeof (buffer), stdin); in main()
13 fgets (buffer, sizeof (buffer), stdin); in main()
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/
Dfunopen.cpp61 assert(fgets(buf, sizeof(buf), fp)); in main()
76 assert(fgets(buf, sizeof(buf), fp)); in main()
86 assert(fgets(buf, sizeof(buf), fp)); in main()
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/NetBSD/
Dfunopen2.cpp69 assert(fgets(buf, sizeof(buf), fp)); in main()
84 assert(fgets(buf, sizeof(buf), fp)); in main()
95 assert(fgets(buf, sizeof(buf), fp)); 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/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/wpa_supplicant_8/src/utils/
Dconfig.c30 while (fgets(buf, sizeof(buf), stream)) { in skip_line_end()
43 while (fgets(s, size, stream)) { in wpa_config_get_line()
/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.c50 while (fgets(line, sizeof(line), cpuinfo) != NULL) { in is_kvm()
97 if (!fgets(virt_type, sizeof(virt_type), f)) in try_systemd_detect_virt()
/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/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/ltp/libs/libltpuinput/
Dtst_uinput.c79 while (fgets(line, sizeof(line), file)) { in get_input_field_value()
105 while (fgets(line, sizeof(line), file)) { in check_device()
/external/e2fsprogs/util/
Dsubst.c230 if (fgets(line, sizeof(line), f) == NULL) in parse_config_file()
290 oldcp = fgets(oldbuf, sizeof(oldbuf), old_f); in compare_file()
291 newcp = fgets(newbuf, sizeof(newbuf), new_f); in compare_file()
412 if (fgets(line, sizeof(line), in) == NULL) in main()

12345678910>>...21