Searched refs:pidstr (Results 1 – 8 of 8) sorted by relevance
/external/strace/tests-m32/ |
D | qual_fault.c | 165 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/ |
D | qual_fault.c | 165 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/ |
D | qual_fault.c | 165 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/ |
D | ipnetns.c | 471 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()
|
D | ip_common.h | 90 int netns_identify_pid(const char *pidstr, char *name, int len);
|
/external/openssh/ |
D | ssh-agent.c | 1183 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/ |
D | DNB.cpp | 460 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/ |
D | protection_keys.c | 123 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()
|