Searched refs:cod_int (Results 1 – 4 of 4) sorted by relevance
101 std::optional<ClassOfDevice> ClassOfDevice::FromUint32Legacy(uint32_t cod_int) { in FromUint32Legacy() argument102 if (cod_int != 0 && (cod_int >> 24) != 0) { in FromUint32Legacy()106 result.cod[2] = static_cast<uint8_t>(cod_int); in FromUint32Legacy()107 result.cod[1] = static_cast<uint8_t>(cod_int >> 8); in FromUint32Legacy()108 result.cod[0] = static_cast<uint8_t>(cod_int >> 16); in FromUint32Legacy()
83 static std::optional<ClassOfDevice> FromUint32Legacy(uint32_t cod_int);
103 std::optional<ClassOfDevice> ClassOfDevice::FromUint32Legacy(uint32_t cod_int) { in FromUint32Legacy() argument104 if (cod_int != 0 && (cod_int >> 24) != 0) { in FromUint32Legacy()108 result.cod[2] = static_cast<uint8_t>(cod_int); in FromUint32Legacy()109 result.cod[1] = static_cast<uint8_t>(cod_int >> 8); in FromUint32Legacy()110 result.cod[0] = static_cast<uint8_t>(cod_int >> 16); in FromUint32Legacy()
69 static std::optional<ClassOfDevice> FromUint32Legacy(uint32_t cod_int);