/external/iptables/iptables/ |
ip6tables-save.c | 36 FILE *procfile = NULL; local 40 procfile = fopen(filename, "re"); 41 if (!procfile) { 49 while (fgets(tablename, sizeof(tablename), procfile)) { 58 fclose(procfile);
|
iptables-save.c | 34 FILE *procfile = NULL; local 38 procfile = fopen(filename, "re"); 39 if (!procfile) { 47 while (fgets(tablename, sizeof(tablename), procfile)) { 56 fclose(procfile);
|
/external/elfutils/libdwfl/ |
linux-pid-attach.c | 52 FILE *procfile; local 56 procfile = fopen (buffer, "r"); 57 if (procfile == NULL) 61 while (fgets (buffer, sizeof (buffer), procfile) != NULL) 68 fclose (procfile); 380 FILE *procfile; local 386 procfile = fopen (buffer, "r"); 387 if (procfile == NULL) 401 while (getline (&line, &linelen, procfile) >= 0) 415 fclose (procfile); [all...] |
/external/bcc/src/cc/ |
bcc_proc.c | 415 FILE *procfile; local 428 procfile = fopen(procfilename, "r"); 429 if (!procfile) 437 ret = fscanf(procfile, "%llx-%llx %s %llx %s %lld", &begin, &end, perm, 439 if (!fgets(line, sizeof(line), procfile)) 450 fclose(procfile); 460 fclose(procfile);
|
/external/ltp/testcases/network/stress/ns-tools/ |
ns-common.c | 93 char *procfile[] = { PROC_RMEM_MAX, PROC_WMEM_MAX }; local 101 if ((fp = fopen(procfile[idx], "r")) == NULL) { 102 fprintf(stderr, "Failed to open %s\n", procfile[idx]); 107 procfile[idx]); 116 procfile[idx]);
|
/external/iptables/libxtables/ |
xtables.c | 325 int procfile; local 329 procfile = open(PROC_SYS_MODPROBE, O_RDONLY); 330 if (procfile < 0) 332 if (fcntl(procfile, F_SETFD, FD_CLOEXEC) == -1) { 340 count = read(procfile, ret, PATH_MAX); 347 close(procfile); 352 close(procfile); [all...] |
/external/python/cpython3/Lib/test/support/ |
__init__.py | [all...] |