Home
last modified time | relevance | path

Searched refs:part0 (Results 1 – 2 of 2) sorted by relevance

/external/protobuf/src/google/protobuf/io/
Dcoded_stream.cc431 uint32 part0 = 0, part1 = 0, part2 = 0; in ReadVarint64Fallback() local
433 b = *(ptr++); part0 = (b & 0x7F) ; if (!(b & 0x80)) goto done; in ReadVarint64Fallback()
434 b = *(ptr++); part0 |= (b & 0x7F) << 7; if (!(b & 0x80)) goto done; in ReadVarint64Fallback()
435 b = *(ptr++); part0 |= (b & 0x7F) << 14; if (!(b & 0x80)) goto done; in ReadVarint64Fallback()
436 b = *(ptr++); part0 |= (b & 0x7F) << 21; if (!(b & 0x80)) goto done; in ReadVarint64Fallback()
450 *value = (static_cast<uint64>(part0) ) | in ReadVarint64Fallback()
676 uint32 part0 = static_cast<uint32>(value ); in WriteVarint64ToArrayInline() local
691 if (part0 < (1 << 14)) { in WriteVarint64ToArrayInline()
692 if (part0 < (1 << 7)) { in WriteVarint64ToArrayInline()
698 if (part0 < (1 << 21)) { in WriteVarint64ToArrayInline()
[all …]
Dcoded_stream.h759 uint32 part0 = (static_cast<uint32>(buffer[0]) ) | in ReadLittleEndian64FromArray()
767 *value = static_cast<uint64>(part0) | in ReadLittleEndian64FromArray()
936 uint32 part0 = static_cast<uint32>(value); in WriteLittleEndian64ToArray()
939 target[0] = static_cast<uint8>(part0); in WriteLittleEndian64ToArray()
940 target[1] = static_cast<uint8>(part0 >> 8); in WriteLittleEndian64ToArray()
941 target[2] = static_cast<uint8>(part0 >> 16); in WriteLittleEndian64ToArray()
942 target[3] = static_cast<uint8>(part0 >> 24); in WriteLittleEndian64ToArray()