MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / IsHex

Function IsHex

extern/re2/re2/parse.cc:1428–1432  ·  view source on GitHub ↗

Is c a hex digit?

Source from the content-addressed store, hash-verified

1426
1427// Is c a hex digit?
1428static int IsHex(int c) {
1429 return ('0' <= c && c <= '9') ||
1430 ('A' <= c && c <= 'F') ||
1431 ('a' <= c && c <= 'f');
1432}
1433
1434// Convert hex digit to value.
1435static int UnHex(int c) {

Callers 1

ParseEscapeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected