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

Function get_text

src/burp/mvol.cpp:1464–1487  ·  view source on GitHub ↗

____________________________________________________________ Move a text attribute to a string and fill.

Source from the content-addressed store, hash-verified

1462// Move a text attribute to a string and fill.
1463//
1464static int get_text(UCHAR* text, SSHORT length)
1465{
1466 BurpGlobals* tdgbl = BurpGlobals::getSpecific();
1467
1468 ULONG len = get(tdgbl);
1469 length -= len;
1470 const ULONG len2 = len;
1471
1472 if (length < 0)
1473 {
1474 BURP_error_redirect(0, 46); // msg 46 string truncated
1475 }
1476
1477 if (len)
1478 {
1479 do {
1480 *text++ = get(tdgbl);
1481 } while (--len);
1482 }
1483
1484 *text = 0;
1485
1486 return len2;
1487}
1488
1489
1490//____________________________________________________________

Callers 1

get_numericFunction · 0.85

Calls 2

BURP_error_redirectFunction · 0.85
getFunction · 0.70

Tested by

no test coverage detected