/third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
D | fgets.c | 34 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/ |
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()
|
/third_party/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()
|
/third_party/skia/third_party/externals/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()
|
/third_party/ltp/lib/ |
D | tst_virt.c | 39 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/ |
D | fgets-eof.c | 16 ASSERT(fgets(s, sizeof s, f) == s); in main() 18 ASSERT(fgets(s, sizeof s, f) == 0); in main()
|
/third_party/cups-filters/cupsfilters/ |
D | testrgb.c | 117 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()
|
D | image-pnm.c | 65 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()
|
D | testcmyk.c | 103 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/ |
D | netstat.c | 118 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/ |
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()
|
/third_party/musl/libc-test/src/functionalext/fortify/ |
D | stdio.c | 186 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/ |
D | fgets.c | 5 char *fgets(char *restrict s, int n, FILE *restrict f) in fgets() function 48 weak_alias(fgets, fgets_unlocked);
|
/third_party/musl/src/stdio/ |
D | fgets.c | 6 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/ |
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()
|
/third_party/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()
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
D | splice.c | 80 fgets(buf, sizeof(buf), f); in splice_0200() 113 fgets(buf2, sizeof(buf2), f); in splice_0200()
|
/third_party/ltp/libs/libltpipc/ |
D | libipc.c | 188 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/ |
D | cpu.cpp | 282 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/ |
D | vma02.c | 119 while (fgets(buf, BUFSIZ, fp) != NULL) { in main() 132 while (fgets(buf, BUFSIZ, fp) != NULL) { in main()
|
/third_party/libuv/src/unix/ |
D | linux-core.c | 250 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/ |
D | ether.c | 98 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/ |
D | stdio.h | 78 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/ |
D | stdio.h | 78 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()
|