** Return the value of a hexadecimal digit. Return -1 if the input ** is not a hex digit. */
| 748 | ** is not a hex digit. |
| 749 | */ |
| 750 | static int hexDigitValue(char c){ |
| 751 | if( c>='0' && c<='9' ) return c - '0'; |
| 752 | if( c>='a' && c<='f' ) return c - 'a' + 10; |
| 753 | if( c>='A' && c<='F' ) return c - 'A' + 10; |
| 754 | return -1; |
| 755 | } |
| 756 | |
| 757 | /* |
| 758 | ** Interpret zArg as an integer value, possibly with suffixes. |
no outgoing calls
no test coverage detected