Home
last modified time | relevance | path

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

/external/strace/tests-m32/
Dqual_fault.c165 char pidstr[sizeof(ret) * 3]; in main() local
166 int len = snprintf(pidstr, sizeof(pidstr), "%d", ret); in main()
167 assert(len > 0 && len < (int) sizeof(pidstr)); in main()
168 assert(write(pidfd, pidstr, len) == len); in main()
/external/strace/tests-mx32/
Dqual_fault.c165 char pidstr[sizeof(ret) * 3]; in main() local
166 int len = snprintf(pidstr, sizeof(pidstr), "%d", ret); in main()
167 assert(len > 0 && len < (int) sizeof(pidstr)); in main()
168 assert(write(pidfd, pidstr, len) == len); in main()
/external/strace/tests/
Dqual_fault.c165 char pidstr[sizeof(ret) * 3]; in main() local
166 int len = snprintf(pidstr, sizeof(pidstr), "%d", ret); in main()
167 assert(len > 0 && len < (int) sizeof(pidstr)); in main()
168 assert(write(pidfd, pidstr, len) == len); in main()
/external/iproute2/ip/
Dipnetns.c471 int netns_identify_pid(const char *pidstr, char *name, int len) in netns_identify_pid() argument
481 snprintf(net_path, sizeof(net_path), "/proc/%s/ns/net", pidstr); in netns_identify_pid()
531 const char *pidstr; in netns_identify() local
536 pidstr = "self"; in netns_identify()
541 pidstr = argv[0]; in netns_identify()
542 if (!is_pid(pidstr)) { in netns_identify()
544 pidstr); in netns_identify()
549 rc = netns_identify_pid(pidstr, name, sizeof(name)); in netns_identify()
Dip_common.h90 int netns_identify_pid(const char *pidstr, char *name, int len);
/external/openssh/
Dssh-agent.c1183 char *shell, *format, *pidstr, *agentsocket = NULL; in main() local
1281 pidstr = getenv(SSH_AGENTPID_ENV_NAME); in main()
1282 if (pidstr == NULL) { in main()
1287 pid = (int)strtonum(pidstr, 2, INT_MAX, &errstr); in main()
1291 SSH_AGENTPID_ENV_NAME, pidstr, errstr); in main()
/external/llvm-project/lldb/tools/debugserver/source/
DDNB.cpp460 char pidstr[16]; in DNBProcessAttach() local
470 snprintf(pidstr, sizeof(pidstr), "--attach=%d", attach_pid); in DNBProcessAttach()
472 "--handoff-attach-from-native", pidstr, (char *)0); in DNBProcessAttach()
/external/linux-kselftest/tools/testing/selftests/x86/
Dprotection_keys.c123 char pidstr[32]; in tracing_on() local
128 sprintf(pidstr, "%d", getpid()); in tracing_on()
137 cat_into_file(pidstr, TRACEDIR "/set_ftrace_pid"); in tracing_on()