Searched refs:numstr (Results 1 – 2 of 2) sorted by relevance
24 static int safe_int(const char *numstr, int *converted) in safe_int() argument30 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() local107 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()
267 char numstr[5]; in string_set_value() local269 snprintf(numstr, sizeof(numstr), "\\x%02x", in string_set_value()281 memcpy(buffer + p, numstr, 4); in string_set_value()
Completed in 5 milliseconds