Home
last modified time | relevance | path

Searched refs:unsigned_value (Results 1 – 3 of 3) sorted by relevance

/external/piex/src/binary_parse/
Drange_checked_byte_ptr.cc299 const uint16 unsigned_value = Get16u(input, big_endian, status); in Get16s() local
310 if (unsigned_value == 0x8000u) { in Get16s()
312 } else if (unsigned_value > 0x8000u) { in Get16s()
313 return -static_cast<int16>(0x10000u - unsigned_value); in Get16s()
315 return static_cast<int16>(unsigned_value); in Get16s()
337 const uint32 unsigned_value = Get32u(input, big_endian, status); in Get32s() local
357 if (unsigned_value == 0x80000000u) { in Get32s()
361 } else if (unsigned_value > 0x80000000u) { in Get32s()
373 return -static_cast<int32>(0xffffffffu - unsigned_value + 1); in Get32s()
375 return static_cast<int32>(unsigned_value); in Get32s()
/external/protobuf/src/google/protobuf/
Dtext_format.cc861 uint64 unsigned_value; in ConsumeSignedInteger() local
863 DO(ConsumeUnsignedInteger(&unsigned_value, max_value)); in ConsumeSignedInteger()
865 *value = static_cast<int64>(unsigned_value); in ConsumeSignedInteger()
/external/v8/src/profiler/
Dheap-snapshot-generator.cc2815 typename ToUnsigned<sizeof(value)>::Type unsigned_value = value; in utoa() local
2816 STATIC_ASSERT(sizeof(value) == sizeof(unsigned_value)); in utoa()
2817 return utoa_impl(unsigned_value, buffer, buffer_pos); in utoa()