/external/autotest/client/profilers/powertop/src/ |
D | misctips.c | 60 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()
|
D | urbnum.c | 77 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()
|
D | config.c | 50 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()
|
D | powertop.c | 194 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 …]
|
D | usb.c | 88 if (fgets(line, 1023,file)==NULL) { in suggest_usb_autosuspend() 103 if (fgets(line, 1023,file)==NULL) { in suggest_usb_autosuspend()
|
D | bluetooth.c | 136 fgets(line,2048,file); in suggest_bluetooth_off() 138 fgets(line, 2047, file); in suggest_bluetooth_off()
|
D | wireless.c | 100 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/ |
D | block-in-critical-section.cpp | 27 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/ |
D | main.c | 6 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/ |
D | query_user_context.c | 25 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/ |
D | include.h | 107 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/ |
D | readppm.c | 89 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/ |
D | main.cpp | 9 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/ |
D | funopen.cpp | 61 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/ |
D | funopen2.cpp | 69 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/ |
D | netcap.c | 118 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/ |
D | cpuinfo.c | 60 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()
|
D | meminfo.c | 36 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/ |
D | config.c | 30 while (fgets(buf, sizeof(buf), stream)) { in skip_line_end() 43 while (fgets(s, size, stream)) { in wpa_config_get_line()
|
/external/e2fsprogs/ext2ed/ |
D | init.c | 120 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/ |
D | tst_virt.c | 50 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/ |
D | ipmaddr.c | 94 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/ |
D | libipc.c | 190 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/ |
D | tst_uinput.c | 79 while (fgets(line, sizeof(line), file)) { in get_input_field_value() 105 while (fgets(line, sizeof(line), file)) { in check_device()
|
/external/e2fsprogs/util/ |
D | subst.c | 230 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()
|