Searched refs:ch (Results 1 – 2 of 2) sorted by relevance
32 char ch; in ether_aton_r() local34 ch = _tolower (*asc++); in ether_aton_r()35 if ((ch < '0' || ch > '9') && (ch < 'a' || ch > 'f')) in ether_aton_r()37 number = isdigit (ch) ? (ch - '0') : (ch - 'a' + 10); in ether_aton_r()39 ch = _tolower (*asc); in ether_aton_r()40 if ((cnt < 5 && ch != ':') || (cnt == 5 && ch != '\0' && !isspace (ch))) in ether_aton_r()43 if ((ch < '0' || ch > '9') && (ch < 'a' || ch > 'f')) in ether_aton_r()46 number += isdigit (ch) ? (ch - '0') : (ch - 'a' + 10); in ether_aton_r()48 ch = *asc; in ether_aton_r()49 if (cnt < 5 && ch != ':') in ether_aton_r()
31 char ch; in ether_line() local33 ch = _tolower (*line++); in ether_line()34 if ((ch < '0' || ch > '9') && (ch < 'a' || ch > 'f')) in ether_line()36 number = isdigit (ch) ? (ch - '0') : (ch - 'a' + 10); in ether_line()38 ch = _tolower (*line); in ether_line()39 if ((cnt < 5 && ch != ':') || (cnt == 5 && ch != '\0' && !isspace (ch))) in ether_line()42 if ((ch < '0' || ch > '9') && (ch < 'a' || ch > 'f')) in ether_line()45 number += isdigit (ch) ? (ch - '0') : (ch - 'a' + 10); in ether_line()47 ch = *line; in ether_line()48 if (cnt < 5 && ch != ':') in ether_line()[all …]
Completed in 3 milliseconds