Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/pidfd/
A 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()
/linux-6.3-rc2/tools/perf/util/
A Ddata-convert-bt.c267 char numstr[5]; in string_set_value() local
269 snprintf(numstr, sizeof(numstr), "\\x%02x", in string_set_value()
281 memcpy(buffer + p, numstr, 4); in string_set_value()

Completed in 5 milliseconds