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

Method unescapeAttribute

src/common/IntlUtil.cpp:742–753  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

740
741
742string IntlUtil::unescapeAttribute(Jrd::CharSet* cs, const string& s)
743{
744 string ret;
745 const UCHAR* p = (const UCHAR*)s.begin();
746 const UCHAR* end = (const UCHAR*)s.end();
747 ULONG size = 0;
748
749 while (readAttributeChar(cs, &p, end, &size, false))
750 ret.append(string((const char*)p, size));
751
752 return ret;
753}
754
755
756bool IntlUtil::isAttributeEscape(Jrd::CharSet* cs, const UCHAR* s, ULONG size)

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected