Home
last modified time | relevance | path

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

12345678910>>...16

/third_party/musl/libc-test/src/functionalext/supplement/stdio/
Dfgets.c34 char *content = fgets(str, 100, fptr); in fgets_0100()
61 char *content = fgets(str, 5, fptr); in fgets_0200()
87 char *content = fgets(str, 2, fptr); in fgets_0300()
113 char *content = fgets(str, 1, fptr); in fgets_0400()
139 char *content = fgets(str, 0, fptr); in fgets_0500()
165 char *content = fgets(str, 100, fptr); in fgets_0600()
/third_party/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()
/third_party/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()
/third_party/skia/third_party/externals/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()
/third_party/ltp/lib/
Dtst_virt.c39 while (fgets(line, sizeof(line), cpuinfo) != NULL) { in is_kvm()
79 while (fgets(line, sizeof(line), sysinfo) != NULL) { in is_ibmz()
125 if (!fgets(virt_type, sizeof(virt_type), f)) in try_systemd_detect_virt()
/third_party/musl/libc-test/src/regression/
Dfgets-eof.c16 ASSERT(fgets(s, sizeof s, f) == s); in main()
18 ASSERT(fgets(s, sizeof s, f) == 0); in main()
/third_party/cups-filters/cupsfilters/
Dtestrgb.c117 while (fgets(line, sizeof(line), in) != NULL) in test_gray()
123 fgets(line, sizeof(line), in); in test_gray()
247 while (fgets(line, sizeof(line), in) != NULL) in test_rgb()
253 fgets(line, sizeof(line), in); in test_rgb()
Dimage-pnm.c65 if ((lineptr = fgets(line, sizeof(line), fp)) == NULL) in _cupsImageReadPNM()
81 lineptr = fgets(line, sizeof(line), fp); in _cupsImageReadPNM()
95 lineptr = fgets(line, sizeof(line), fp); in _cupsImageReadPNM()
113 lineptr = fgets(line, sizeof(line), fp); in _cupsImageReadPNM()
Dtestcmyk.c103 while (fgets(line, sizeof(line), in) != NULL) in test_gray()
109 fgets(line, sizeof(line), in); in test_gray()
285 while (fgets(line, sizeof(line), in) != NULL) in test_rgb()
291 fgets(line, sizeof(line), in); in test_rgb()
/third_party/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()
/third_party/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()
/third_party/musl/libc-test/src/functionalext/fortify/
Dstdio.c186 char *get = fgets(buf, sizeof(buf), fp); in stdio_dynamic_chk_005()
206 char *get1 = fgets(buf, sizeof("hello"), fp); in stdio_dynamic_chk_006()
211 char *get2 = fgets(buf, sizeof(buf), fp); in stdio_dynamic_chk_006()
215 char *get3 = fgets(buf, sizeof(buf), fp); in stdio_dynamic_chk_006()
247 fgets(buf, n, fp); in stdio_dynamic_chk_007()
/third_party/musl/porting/linux/user/src/stdio/
Dfgets.c5 char *fgets(char *restrict s, int n, FILE *restrict f) in fgets() function
48 weak_alias(fgets, fgets_unlocked);
/third_party/musl/src/stdio/
Dfgets.c6 char *fgets(char *restrict s, int n, FILE *restrict f) in fgets() function
48 weak_alias(fgets, fgets_unlocked);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
/third_party/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()
/third_party/musl/libc-test/src/functionalext/supplement/linux/
Dsplice.c80 fgets(buf, sizeof(buf), f); in splice_0200()
113 fgets(buf2, sizeof(buf2), f); in splice_0200()
/third_party/ltp/libs/libltpipc/
Dlibipc.c188 for (used_queues = -4; fgets(buff, BUFSIZE, f); used_queues++) ; in get_used_msgqueues()
211 if (!fgets(buff, BUFSIZE, f)) { in get_max_msgqueues()
/third_party/openh264/codec/common/src/
Dcpu.cpp282 while (fgets (buf, sizeof (buf), f)) { in WelsCPUFeatureDetect()
332 while (fgets(buf, sizeof(buf), fp)) { in get_cpu_flags_from_cpuinfo()
341 while (fgets(buf, sizeof(buf), fp)) { in get_cpu_flags_from_cpuinfo()
/third_party/ltp/testcases/kernel/mem/vma/
Dvma02.c119 while (fgets(buf, BUFSIZ, fp) != NULL) { in main()
132 while (fgets(buf, BUFSIZ, fp) != NULL) { in main()
/third_party/libuv/src/unix/
Dlinux-core.c250 if (!fgets(buf, sizeof(buf), statfile_fp)) in uv__cpu_num()
254 while (fgets(buf, sizeof(buf), statfile_fp)) { in uv__cpu_num()
373 while (fgets(buf, sizeof(buf), fp)) { in read_models()
545 if (!fgets(buf, sizeof(buf), statfile_fp)) in read_times()
550 while (fgets(buf, sizeof(buf), statfile_fp)) { in read_times()
/third_party/musl/porting/liteos_a/user/src/network/
Dether.c98 while (fgets(buf, BUFFER_SIZE, f)) { in ether_ntohost()
129 while (fgets(buf, BUFFER_SIZE, f)) { in ether_hostton()
/third_party/musl/ndk_musl_include/fortify/
Dstdio.h78 char* fgets(char* const __DIAGNOSE_PASS_OBJECT_SIZE dest, int size, FILE* stream) in fgets() function
91 return __DIAGNOSE_CALL_BYPASSING_FORTIFY(fgets)(dest, size, stream); in fgets()
/third_party/musl/porting/linux/user/include/fortify/
Dstdio.h78 char* fgets(char* const __DIAGNOSE_PASS_OBJECT_SIZE dest, int size, FILE* stream) in fgets() function
91 return __DIAGNOSE_CALL_BYPASSING_FORTIFY(fgets)(dest, size, stream); in fgets()

12345678910>>...16