Searched refs:pidstr (Results 1 – 9 of 9) sorted by relevance
/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/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-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/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/toybox/lib/ |
D | lib.c | 902 int sig_to_num(char *pidstr) in sig_to_num() argument 906 if (pidstr) { in sig_to_num() 909 i = estrtol(pidstr, &s, 10); in sig_to_num() 912 if (!strncasecmp(pidstr, "sig", 3)) pidstr+=3; in sig_to_num() 915 if (!pidstr) xputs(signames[i].name); in sig_to_num() 916 else if (!strcasecmp(pidstr, signames[i].name)) return signames[i].num; in sig_to_num()
|
D | lib.h | 367 int sig_to_num(char *pidstr);
|
/external/openssh/ |
D | ssh-agent.c | 1213 char *shell, *format, *pidstr, *agentsocket = NULL; in main() local 1309 pidstr = getenv(SSH_AGENTPID_ENV_NAME); in main() 1310 if (pidstr == NULL) { in main() 1315 pid = (int)strtonum(pidstr, 2, INT_MAX, &errstr); in main() 1319 SSH_AGENTPID_ENV_NAME, pidstr, errstr); in main()
|
/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()
|