** Return the value of a hexadecimal digit. Return -1 if the input ** is not a hex digit. */
| 875 | ** is not a hex digit. |
| 876 | */ |
| 877 | static int hexDigitValue(char c){ |
| 878 | if( c>='0' && c<='9' ) return c - '0'; |
| 879 | if( c>='a' && c<='f' ) return c - 'a' + 10; |
| 880 | if( c>='A' && c<='F' ) return c - 'A' + 10; |
| 881 | return -1; |
| 882 | } |
| 883 | |
| 884 | /* |
| 885 | ** Interpret zArg as an integer value, possibly with suffixes. |
no outgoing calls
no test coverage detected