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

Function PUTLONG

src/common/xdr.cpp:88–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88inline bool_t PUTLONG(xdr_t* xdrs, const SLONG* lp)
89{
90 const SLONG l = xdrs->x_local ? *lp : htonl(*lp);
91 return xdrs->x_putbytes(reinterpret_cast<const char*>(&l), 4);
92}
93
94static SCHAR zeros[4] = { 0, 0, 0, 0 };
95

Callers 13

xdr_hyperFunction · 0.85
xdr_doubleFunction · 0.85
xdr_decfloat_hyperFunction · 0.85
xdr_enumFunction · 0.85
xdr_floatFunction · 0.85
xdr_intFunction · 0.85
xdr_longFunction · 0.85
xdr_quadFunction · 0.85
xdr_shortFunction · 0.85
xdr_stringFunction · 0.85
xdr_u_intFunction · 0.85
xdr_u_longFunction · 0.85

Calls 1

x_putbytesMethod · 0.45

Tested by

no test coverage detected