Home
last modified time | relevance | path

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

12345678910>>...13

/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/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()
Dwpng.c126 # define FGETS fgets
213 fgets(tmpline, 80, tmpfile); in main()
334 fgets(pnmline, 256, wpng_info.infile); in main()
347 fgets(pnmline, 256, wpng_info.infile); /* lose any comments */ in main()
351 fgets(pnmline, 256, wpng_info.infile); /* more comment lines */ in main()
/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/bison/lib/
Dunlocked-io.h65 # undef fgets
66 # define fgets(x,y,z) fgets_unlocked (x,y,z) macro
68 # define fgets_unlocked(x,y,z) fgets (x,y,z)
/external/toybox/toys/pending/
Dnetstat.c249 if(!fgets(toybuf, sizeof(toybuf), fp)) return; //skip header. in show_ipv4()
251 while (fgets(toybuf, sizeof(toybuf), fp)) { in show_ipv4()
280 if(!fgets(toybuf, sizeof(toybuf), fp)) return; //skip header. in show_ipv6()
282 while (fgets(toybuf, sizeof(toybuf), fp)) { in show_ipv6()
313 if(!fgets(toybuf, sizeof(toybuf), fp)) return; //skip header. in show_unix_sockets()
315 while (fgets(toybuf, sizeof(toybuf), fp)) { in show_unix_sockets()
526 if(!fgets(toybuf, sizeof(toybuf), fp)) return; //skip header. in display_routes()
532 while (fgets(toybuf, sizeof(toybuf), fp)) { in display_routes()
/external/e2fsprogs/ext2ed/
Dinit.c119 fgets (current_line,500,fp); in set_struct_descriptors()
127 fgets (current_line,500,fp); in set_struct_descriptors()
132 fgets (current_line,500,fp); in set_struct_descriptors()
136 fgets (current_line,500,fp); in set_struct_descriptors()
148 fgets (current_line,500,fp); in set_struct_descriptors()
598 fgets (buffer,500,fp); in get_next_option()
621 fgets (current_line,500,fp); in check_mounted()
/external/libedit/src/
Dfgetln.c61 if (fgets(buf, bufsiz, fp) == NULL) in fgetln()
78 if (fgets(&buf[bufsiz], BUFSIZ, fp) == NULL) { in fgetln()
/external/libselinux/src/
Dinit.c56 while ((bufp = fgets(buf, sizeof buf - 1, fp)) != NULL) { in init_selinuxmnt()
74 while ((bufp = fgets(buf, sizeof buf - 1, fp)) != NULL) { in init_selinuxmnt()
/external/opencv3/modules/imgcodecs/src/
Drgbe.cpp185 if (fgets(buf,sizeof(buf)/sizeof(buf[0]),fp) == NULL) in RGBE_ReadHeader()
199 if (fgets(buf,sizeof(buf)/sizeof(buf[0]),fp) == 0) in RGBE_ReadHeader()
215 if (fgets(buf,sizeof(buf)/sizeof(buf[0]),fp) == 0) in RGBE_ReadHeader()
218 if (fgets(buf,sizeof(buf)/sizeof(buf[0]),fp) == 0) in RGBE_ReadHeader()
223 if (fgets(buf,sizeof(buf)/sizeof(buf[0]),fp) == 0) in RGBE_ReadHeader()
/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()
141 while (fgets(buf, sizeof(buf), fp)) { in read_igmp()
170 while (fgets(buf, sizeof(buf), fp)) { in read_igmp6()
/external/e2fsprogs/util/
Dsubst.c213 if (fgets(line, sizeof(line), f) == NULL) in parse_config_file()
283 oldcp = fgets(oldbuf, sizeof(oldbuf), old_f); in compare_file()
284 newcp = fgets(newbuf, sizeof(newbuf), new_f); in compare_file()
365 if (fgets(line, sizeof(line), in) == NULL) in main()
/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()
/external/e2fsprogs/intl/
Dlocalealias.c101 # define FGETS(buf, n, fp) fgets (buf, n, fp)
114 # undef fgets
115 # define fgets(buf, len, s) fgets_unlocked (buf, len, s) macro
/external/iproute2/misc/
Dlnstat_util.c49 if (!lf->compat && !fgets(buf, sizeof(buf)-1, lf->fp)) in scan_lines()
52 while(!feof(lf->fp) && fgets(buf, sizeof(buf)-1, lf->fp)) { in scan_lines()
141 if (!fgets(buf, sizeof(buf)-1, lf->fp)) in lnstat_scan_fields()
/external/e2fsprogs/lib/blkid/
Ddevname.c170 if (fgets(name, sizeof(name), f) && (sz = strlen(name)) > 1) { in get_dm_name()
289 while (fgets(buf, sizeof(buf), lvf)) { in lvm_get_devno()
375 while (fgets(line, sizeof(line), procpt)) { in evms_probe_all()
427 while (fgets(line, sizeof(line), proc)) { in probe_all()

12345678910>>...13