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

Method isAttributeEscape

src/common/IntlUtil.cpp:756–762  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

754
755
756bool IntlUtil::isAttributeEscape(Jrd::CharSet* cs, const UCHAR* s, ULONG size)
757{
758 UCHAR uc[sizeof(ULONG)];
759 const ULONG uSize = cs->getConvToUnicode().convert(size, s, sizeof(uc), uc);
760
761 return (uSize == 2 && *(USHORT*) uc == '\\');
762}
763
764
765bool IntlUtil::readAttributeChar(Jrd::CharSet* cs, const UCHAR** s, const UCHAR* end, ULONG* size, bool returnEscape)

Callers

nothing calls this directly

Calls 2

getConvToUnicodeMethod · 0.80
convertMethod · 0.45

Tested by

no test coverage detected