Home
last modified time | relevance | path

Searched refs:numstr (Results 1 – 2 of 2) sorted by relevance

/tools/testing/selftests/pidfd/
Dpidfd_open_test.c24 static int safe_int(const char *numstr, int *converted) in safe_int() argument
30 sli = strtol(numstr, &err, 0); in safe_int()
37 if (err == numstr || *err != '\0') in safe_int()
102 char *numstr; in get_pid_from_fdinfo_file() local
107 numstr = trim_whitespace_in_place(line + 4); in get_pid_from_fdinfo_file()
108 ret = safe_int(numstr, &result); in get_pid_from_fdinfo_file()
/tools/perf/util/
Ddata-convert-bt.c263 char numstr[5]; in string_set_value() local
265 snprintf(numstr, sizeof(numstr), "\\x%02x", in string_set_value()
277 memcpy(buffer + p, numstr, 4); in string_set_value()