Home
last modified time | relevance | path

Searched refs:pid (Results 1 – 25 of 71) sorted by relevance

123

/vim-8.2.3635/src/testdir/
H A Dtest_memory_usage.vim21 func s:memory_usage(pid) abort argument
29 func s:memory_usage(pid) abort argument
30 return s:pick_nr(system('ps -o rss= -p ' . a:pid))
37 func s:monitor_memory_usage(pid) abort argument
39 let proc.pid = a:pid
45 let val = s:memory_usage(self.pid)
67 let self.pid = job_info(self.job).process
96 let before = s:monitor_memory_usage(vim.pid).last
100 let after = s:monitor_memory_usage(vim.pid)
134 let before = s:monitor_memory_usage(vim.pid).last
[all …]
H A Dtest_swap.vim126 call assert_equal(getpid(), info.pid)
424 " Execute 'echo' as a temporary job, and return its pid as an unused pid.
H A Dtest_cscope.vim311 call assert_equal(' # pid database name prepend path', lines[0])
H A Dtest_channel.vim46 let pid = getpid()
49 return systemlist('lsof -p ' . pid . ' | awk ''$4~/^[0-9]*[rwu]$/&&$5=="REG"{print$NF}''')
50 elseif isdirectory('/proc/' . pid . '/fd/')
51 return systemlist('readlink /proc/' . pid . '/fd/* | grep -v ''^/dev/''')
/vim-8.2.3635/src/
H A Dif_cscope.c815 switch (csinfo[i].pid = fork()) in cs_create_connection()
979 csinfo[i].pid = pi.dwProcessId; in cs_create_connection()
1290 csinfo[i].pid = 0; in clear_csinfo()
2162 pid_t pid; in cs_release_csp() local
2179 pid = waitpid(csinfo[i].pid, &pstat, 0); in cs_release_csp()
2193 pid = waitpid(csinfo[i].pid, &pstat, WNOHANG); in cs_release_csp()
2195 if (pid != 0) in cs_release_csp()
2205 if (pid < 0 && csinfo[i].pid > 1) in cs_release_csp()
2227 if (kill(csinfo[i].pid, 0) != 0) in cs_release_csp()
2238 kill(csinfo[i].pid, SIGKILL); in cs_release_csp()
[all …]
H A Dif_cscope.h44 pid_t pid; // PID of the connected cscope process. member
49 DWORD pid; // PID of the connected cscope process. member
H A Dos_unix.c4387 kill(-pid, SIGINT); in may_send_sigint()
4627 pid_t pid; in mch_call_shell_fork() local
4707 if (pid == -1) in mch_call_shell_fork()
5146 kill(-pid, SIGINT); in mch_call_shell_fork()
5285 wait_pid = pid; in mch_call_shell_fork()
5341 kill(-pid, SIGINT); in mch_call_shell_fork()
5355 wait_pid = pid; in mch_call_shell_fork()
5475 pid_t pid; in mch_job_start() local
5573 if (pid == -1) in mch_job_start()
5579 if (pid == 0) in mch_job_start()
[all …]
H A Dos_amiga.c1195 struct MsgPort *pid, // process identifier ... (handlers message port) in dos_packet() argument
1206 return DoPkt(pid, action, arg, 0L, 0L, 0L, 0L); // use 2.0 function in dos_packet()
1226 PutMsg(pid, (struct Message *)packet); // send packet in dos_packet()
H A Dgui.c237 pid_t pid = -1; in gui_do_fork() local
243 pid = fork(); in gui_do_fork()
244 if (pid < 0) // Fork error in gui_do_fork()
249 else if (pid > 0) // Parent in gui_do_fork()
266 wait4(pid, &exit_status, 0, (struct rusage *)0); in gui_do_fork()
268 waitpid(pid, &exit_status, 0); in gui_do_fork()
H A Dos_win32.c3108 mch_process_running(long pid) in mch_process_running() argument
3110 HANDLE hProcess = OpenProcess(PROCESS_QUERY_INFORMATION, 0, (DWORD)pid); in mch_process_running()
5510 DWORD pid = GetProcessId(process); in terminate_all() local
5512 if (pid != 0) in terminate_all()
5523 if (pe.th32ParentProcessID == pid) in terminate_all()
/vim-8.2.3635/runtime/pack/dist/opt/termdebug/plugin/
H A Dtermdebug.vim121 let s:pid = 0
518 if s:pid == 0
521 call debugbreak(s:pid)
786 …AssemblyName microsoft.VisualBasic;[Microsoft.VisualBasic.Interaction]::AppActivate(%d);"', s:pid))
1290 " Will store the process ID in s:pid
1292 let nr = substitute(a:msg, '.*pid="\([0-9]*\)\".*', '\1', '') + 0
1296 let s:pid = nr
1297 call ch_log('Detected process ID: ' . s:pid)
/vim-8.2.3635/runtime/tools/
H A Dvimspell.txt19 insecure "pid method" is used.
/vim-8.2.3635/runtime/syntax/
H A Dstrace.vim30 syn keyword stracePID pid contained
H A Dupstart.vim37 syn keyword upstartStatement pid kill normal console env exit export
H A Dsamba.vim72 syn keyword sambaKeyword contained hook hires pid uid close rootpreexec
H A Dsdl.vim100 syn keyword sdlType integer real natural duration pid boolean time
H A Ddtrace.vim91 syn keyword dtraceIdentifier pid ppid probefunc probemod probename probeprov
H A Ddcl.vim50 syn keyword dclLexical f$cvtime f$extract f$identifier f$pid f$trnlnm
H A Ddnsmasq.vim181 syn match DnsmasqKeyword "^\s*pid-file\>"
H A Dnamed.vim86 syn keyword namedOption contained named-xfer dump-file pid-file
H A Dsqr.vim53 syn keyword sqrReserved #sqr-max-lines #sqr-pid #sqr-toc-level
H A Dtcl.vim25 syn keyword tclCommand next nextto open package pid puts pwd read refchan regexp
/vim-8.2.3635/src/proto/
H A Dos_win32.pro22 int mch_process_running(long pid);
H A Dos_unix.pro31 int mch_process_running(long pid);
/vim-8.2.3635/runtime/doc/
H A Dif_cscop.txt330 # pid database name prepend path
335 of the real pid.

123