| 835 | } |
| 836 | |
| 837 | txBoolean fxParseHex(txU1 c, txU4* value) |
| 838 | { |
| 839 | if (('0' <= c) && (c <= '9')) |
| 840 | *value = (*value * 16) + (c - '0'); |
| 841 | else if (('a' <= c) && (c <= 'f')) |
| 842 | *value = (*value * 16) + (10 + c - 'a'); |
| 843 | else if (('A' <= c) && (c <= 'F')) |
| 844 | *value = (*value * 16) + (10 + c - 'A'); |
| 845 | else |
| 846 | return 0; |
| 847 | return 1; |
| 848 | } |
| 849 | |
| 850 | txBoolean fxParseHexEscape(txString* string, txInteger* character) |
| 851 | { |
no outgoing calls
no test coverage detected