Home
last modified time | relevance | path

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

/external/openscreen/discovery/mdns/
Dmdns_reader.cc131 uint16_t record_length; in Read() local
132 if (Read(&record_length)) { in Read()
133 if (record_length > kMaximumAllowedRdataSize) { in Read()
137 std::vector<uint8_t> buffer(record_length); in Read()
155 uint16_t record_length; in Read() local
160 if (Read(&record_length) && Read(&priority) && Read(&weight) && Read(&port) && in Read()
162 (cursor.delta() == sizeof(record_length) + record_length)) { in Read()
173 uint16_t record_length; in Read() local
175 if (Read(&record_length) && (record_length == IPAddress::kV4Size) && in Read()
187 uint16_t record_length; in Read() local
[all …]
Dmdns_writer.cc42 ptrdiff_t record_length = end - begin - sizeof(uint16_t); in UpdateRecordLength() local
43 if (record_length <= std::numeric_limits<uint16_t>::max()) { in UpdateRecordLength()
44 WriteBigEndian<uint16_t>(record_length, begin); in UpdateRecordLength()
/external/mesa3d/src/compiler/glsl/
Dlower_ubo_reference.cpp718 unsigned record_length = interface_type->length; in calculate_unsized_array_stride() local
721 interface_type->fields.structure[record_length - 1].type->fields.array; in calculate_unsized_array_stride()