Lines Matching refs:str
69 static void strip_it(char *str) in strip_it() argument
72 switch (*str) { in strip_it()
77 *str = 0; in strip_it()
82 str++; in strip_it()
90 static int parse_addr(__le16 *addr, char *str) in parse_addr() argument
94 while(*str && !ISNUM(*str)) str++; in parse_addr()
96 if (*str == 0) in parse_addr()
99 area = (*str++ - '0'); in parse_addr()
100 if (ISNUM(*str)) { in parse_addr()
102 area += (*str++ - '0'); in parse_addr()
105 if (*str++ != '.') in parse_addr()
108 if (!ISNUM(*str)) in parse_addr()
111 node = *str++ - '0'; in parse_addr()
112 if (ISNUM(*str)) { in parse_addr()
114 node += (*str++ - '0'); in parse_addr()
116 if (ISNUM(*str)) { in parse_addr()
118 node += (*str++ - '0'); in parse_addr()
120 if (ISNUM(*str)) { in parse_addr()
122 node += (*str++ - '0'); in parse_addr()
128 if (INVALID_END_CHAR(*str)) in parse_addr()