Lines Matching defs:str
68 static void strip_it(char *str)
71 switch(*str) {
76 *str = 0;
80 str++;
88 static int parse_addr(__le16 *addr, char *str)
92 while(*str && !ISNUM(*str)) str++;
94 if (*str == 0)
97 area = (*str++ - '0');
98 if (ISNUM(*str)) {
100 area += (*str++ - '0');
103 if (*str++ != '.')
106 if (!ISNUM(*str))
109 node = *str++ - '0';
110 if (ISNUM(*str)) {
112 node += (*str++ - '0');
114 if (ISNUM(*str)) {
116 node += (*str++ - '0');
118 if (ISNUM(*str)) {
120 node += (*str++ - '0');
126 if (INVALID_END_CHAR(*str))