** Return the value of a hexadecimal digit. Return -1 if the input ** is not a hex digit. */
| 1354 | ** is not a hex digit. |
| 1355 | */ |
| 1356 | static int hexDigitValue(char c){ |
| 1357 | if( c>='0' && c<='9' ) return c - '0'; |
| 1358 | if( c>='a' && c<='f' ) return c - 'a' + 10; |
| 1359 | if( c>='A' && c<='F' ) return c - 'A' + 10; |
| 1360 | return -1; |
| 1361 | } |
| 1362 | |
| 1363 | /* |
| 1364 | ** Interpret zArg as an integer value, possibly with suffixes. |
no outgoing calls
no test coverage detected