Home | History | Annotate | Download | only in protozero

Lines Matching defs:pos

43   const uint8_t* pos = start;
47 if (PERFETTO_UNLIKELY(pos >= end)) {
52 *value |= static_cast<uint64_t>(*pos & 0x7f) << shift;
54 } while (*pos++ & 0x80);
55 return pos;
70 const uint8_t* pos = start;
71 PERFETTO_CHECK_PTR_LE(pos, end - 1);
72 *field_type = static_cast<FieldType>(*pos & kFieldTypeMask);
75 pos = ParseVarInt(pos, end, &raw_field_id);
83 PERFETTO_CHECK_PTR_LE(pos + sizeof(uint64_t), end);
84 memcpy(field_intvalue, pos, sizeof(uint64_t));
86 pos += sizeof(uint64_t);
90 PERFETTO_CHECK_PTR_LE(pos + sizeof(uint32_t), end);
92 memcpy(&tmp, pos, sizeof(uint32_t));
94 pos += sizeof(uint32_t);
98 pos = ParseVarInt(pos, end, field_intvalue);
102 pos = ParseVarInt(pos, end, field_intvalue);
103 pos += *field_intvalue;
104 PERFETTO_CHECK_PTR_LE(pos, end);
108 return pos;