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

Method toString

src/common/Int128.cpp:123–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123void Int128::toString(int scale, unsigned length, char* to) const
124{
125 string buffer;
126 toString(scale, buffer);
127 if (buffer.length() + 1 > length)
128 {
129 (Arg::Gds(isc_arith_except) << Arg::Gds(isc_string_truncation) <<
130 Arg::Gds(isc_trunc_limits) << Arg::Num(length) << Arg::Num(buffer.length() + 1)).raise();
131 }
132 buffer.copyTo(to, length);
133}
134
135void Int128::toString(int scale, string& to) const
136{

Callers 15

hexOutMethod · 0.45
parseMethod · 0.45
executeMethod · 0.45
dsqlPassMethod · 0.45
printMethod · 0.45
PASS1_make_contextFunction · 0.45
PASS1_ambiguity_checkFunction · 0.45
putErrorPrefixMethod · 0.45
getObjectNameMethod · 0.45
parseMethod · 0.45
dsqlPassMethod · 0.45
executeProcedureMethod · 0.45

Calls 10

GdsClass · 0.85
NumClass · 0.85
lengthMethod · 0.45
raiseMethod · 0.45
copyToMethod · 0.45
eraseMethod · 0.45
insertMethod · 0.45
isEmptyMethod · 0.45
printfMethod · 0.45
ToStringBaseMethod · 0.45

Tested by

no test coverage detected