Searched refs:procfile (Results 1 – 8 of 8) sorted by relevance
/third_party/elfutils/libdwfl/ |
D | linux-pid-attach.c | 53 FILE *procfile; in linux_proc_pid_is_stopped() local 57 procfile = fopen (buffer, "r"); in linux_proc_pid_is_stopped() 58 if (procfile == NULL) in linux_proc_pid_is_stopped() 62 while (fgets (buffer, sizeof (buffer), procfile) != NULL) in linux_proc_pid_is_stopped() 69 fclose (procfile); in linux_proc_pid_is_stopped() 389 FILE *procfile; in dwfl_linux_proc_attach() local 395 procfile = fopen (buffer, "r"); in dwfl_linux_proc_attach() 396 if (procfile == NULL) in dwfl_linux_proc_attach() 410 while (getline (&line, &linelen, procfile) >= 0) in dwfl_linux_proc_attach() 424 fclose (procfile); in dwfl_linux_proc_attach()
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/wayland/ |
D | SDL_waylandvideo.c | 67 char procfile[1024]; in get_classname() local 87 SDL_snprintf(procfile, SDL_arraysize(procfile), "/proc/%d/exe", getpid()); in get_classname() 89 SDL_snprintf(procfile, SDL_arraysize(procfile), "/proc/%d/file", in get_classname() 94 linksize = readlink(procfile, linkfile, sizeof(linkfile) - 1); in get_classname()
|
/third_party/ltp/testcases/network/stress/ns-tools/ |
D | ns-common.c | 93 char *procfile[] = { PROC_RMEM_MAX, PROC_WMEM_MAX }; in maximize_sockbuf() local 101 if ((fp = fopen(procfile[idx], "r")) == NULL) { in maximize_sockbuf() 102 fprintf(stderr, "Failed to open %s\n", procfile[idx]); in maximize_sockbuf() 107 procfile[idx]); in maximize_sockbuf() 116 procfile[idx]); in maximize_sockbuf()
|
/third_party/flutter/skia/third_party/externals/sdl/src/core/linux/ |
D | SDL_fcitx.c | 97 char procfile[1024]; in GetAppName() local 102 SDL_snprintf(procfile, sizeof(procfile), "/proc/%d/exe", getpid()); in GetAppName() 104 SDL_snprintf(procfile, sizeof(procfile), "/proc/%d/file", getpid()); in GetAppName() 106 linksize = readlink(procfile, linkfile, sizeof(linkfile) - 1); in GetAppName()
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/ |
D | SDL_x11video.c | 56 char procfile[1024]; in get_classname() local 70 SDL_snprintf(procfile, SDL_arraysize(procfile), "/proc/%d/exe", getpid()); in get_classname() 72 SDL_snprintf(procfile, SDL_arraysize(procfile), "/proc/%d/file", in get_classname() 77 linksize = readlink(procfile, linkfile, sizeof(linkfile) - 1); in get_classname()
|
/third_party/ntfs-3g/libfuse-lite/ |
D | fusermount.c | 520 static char procfile[256]; in check_perm() local 539 sprintf(procfile, "/proc/self/fd/%i", *mountpoint_fd); in check_perm() 540 *mntp = procfile; in check_perm()
|
/third_party/libfuse/util/ |
D | fusermount.c | 948 static char procfile[256]; in check_perm() local 969 sprintf(procfile, "/proc/self/fd/%i", *mountpoint_fd); in check_perm() 970 *mntp = procfile; in check_perm()
|
/third_party/python/Lib/test/support/ |
D | __init__.py | 789 self.procfile = '/proc/{pid}/statm'.format(pid=os.getpid()) 795 f = open(self.procfile, 'r')
|