Searched refs:cod_int (Results 1 – 2 of 2) sorted by relevance
106 std::optional<ClassOfDevice> ClassOfDevice::FromUint32Legacy(uint32_t cod_int) { in FromUint32Legacy() argument107 if (cod_int != 0 && (cod_int >> 24) != 0) { in FromUint32Legacy()111 result.cod[2] = static_cast<uint8_t>(cod_int); in FromUint32Legacy()112 result.cod[1] = static_cast<uint8_t>(cod_int >> 8); in FromUint32Legacy()113 result.cod[0] = static_cast<uint8_t>(cod_int >> 16); in FromUint32Legacy()
83 static std::optional<ClassOfDevice> FromUint32Legacy(uint32_t cod_int);