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

Function hexval

extern/btyacc/reader.c:482–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

480}
481
482int hexval(int c)
483{
484 if (c >= '0' && c <= '9')
485 return (c - '0');
486 if (c >= 'A' && c <= 'F')
487 return (c - 'A' + 10);
488 if (c >= 'a' && c <= 'f')
489 return (c - 'a' + 10);
490 return (-1);
491}
492
493bucket *get_literal()
494{

Callers 1

get_literalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected