Home
last modified time | relevance | path

Searched refs:procfile (Results 1 – 8 of 8) sorted by relevance

/third_party/elfutils/libdwfl/
Dlinux-pid-attach.c53 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/
DSDL_waylandvideo.c67 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/
Dns-common.c93 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/
DSDL_fcitx.c97 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/
DSDL_x11video.c56 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/
Dfusermount.c520 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/
Dfusermount.c948 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__.py789 self.procfile = '/proc/{pid}/statm'.format(pid=os.getpid())
795 f = open(self.procfile, 'r')