MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / valueToString

Function valueToString

json/jsoncpp.cpp:4267–4281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4265#endif
4266
4267JSONCPP_STRING valueToString(LargestInt value) {
4268 UIntToStringBuffer buffer;
4269 char* current = buffer + sizeof(buffer);
4270 if (value == Value::minLargestInt) {
4271 uintToString(LargestUInt(Value::maxLargestInt) + 1, current);
4272 *--current = '-';
4273 } else if (value < 0) {
4274 uintToString(LargestUInt(-value), current);
4275 *--current = '-';
4276 } else {
4277 uintToString(LargestUInt(value), current);
4278 }
4279 assert(current >= buffer);
4280 return current;
4281}
4282
4283JSONCPP_STRING valueToString(LargestUInt value) {
4284 UIntToStringBuffer buffer;

Callers 2

asStringMethod · 0.85
writeValueMethod · 0.85

Calls 9

uintToStringFunction · 0.85
fixNumericLocaleFunction · 0.85
fixZerosInTheEndFunction · 0.85
resizeMethod · 0.80
eraseMethod · 0.80
findMethod · 0.80
beginMethod · 0.45
sizeMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected