Searched refs:c2_cntr32_t (Results 1 – 5 of 5) sorted by relevance
80 constexpr c2_cntr32_t c32_a(123); in c2_cntr_static_test()82 c2_cntr32_t c32_b __unused = c64_a; in c2_cntr_static_test()88 static_assert(c32_a + c64_a == c2_cntr32_t(-333), "123 + -456 = -333"); in c2_cntr_static_test()89 static_assert(c32_a + c32_a == c2_cntr32_t(246), "123 + 123 = 246"); in c2_cntr_static_test()90 static_assert(c64_a + c32_a == c2_cntr32_t(-333), "-456 + 123 = 579"); in c2_cntr_static_test()92 static_assert(c32_a + 456 == c2_cntr32_t(579), "123 + 456 = 579"); in c2_cntr_static_test()95 static_assert(c32_a - c64_a == c2_cntr32_t(579), "123 - -456 = 579"); in c2_cntr_static_test()96 static_assert(c32_a - c32_a == c2_cntr32_t(0), "123 - 123 = 0"); in c2_cntr_static_test()97 static_assert(c64_a - c32_a == c2_cntr32_t(-579), "-456 - 123 = -579"); in c2_cntr_static_test()99 static_assert(c32_a - 456 == c2_cntr32_t(-333), "123 - 456 = -333"); in c2_cntr_static_test()[all …]
816 c2_cntr32_t c32; ///< c2_cntr32_t value825 Primitive(c2_cntr32_t value) : c32(value) { } in Primitive()924 template<> inline const c2_cntr32_t &C2Value::Primitive::ref<c2_cntr32_t>() const { return c32; }935 template<> constexpr C2Value::type_t C2Value::TypeFor<c2_cntr32_t, false>() { return CNTR32; }1073 inline static type_t GetType(c2_cntr32_t*) { return CNTR32; } in GetType()1126 DEFINE_NO_NAMED_VALUES_FOR(c2_cntr32_t)
399 typedef c2_cntr_t<uint32_t> c2_cntr32_t; /** 32-bit counter type */ typedef
65 (void)c2Value.get((c2_cntr32_t*)&uint32Value); in debugString()401 if ((param->second.find(&c2Value) && c2Value.get((c2_cntr32_t*)&int32Value)) in parseMessageAndDoWork()554 case C2FieldDescriptor::CNTR32: c2Value = *((c2_cntr32_t *)data); break; in getParams()
1294 || c2Value.get((c2_cntr32_t*)&int32Value)) { in relaxValues()