Lines Matching defs:str
43 int get_u32_handle(__u32 *handle, char *str)
46 char *tmp = strchr(str, ':');
49 if (memcmp("0x", str, 2) == 0)
50 return get_u32(handle, str, 16);
53 htid = strtoul(str, &tmp, 16);
54 if (tmp == str && *str != ':' && *str != 0)
59 str = tmp+1;
60 hash = strtoul(str, &tmp, 16);
61 if (tmp == str && *str != ':' && *str != 0)
66 str = tmp+1;
67 nodeid = strtoul(str, &tmp, 16);
68 if (tmp == str && *str != 0)