Home
last modified time | relevance | path

Searched refs:val (Results 1 – 9 of 9) sorted by relevance

/mipi-sys-t-3.7.0/library/test/unit/
Dmipi_syst_init_test.cpp100 mipi_syst_u32 val; in TEST_F() member
104 little.val = native.val = 0; in TEST_F()
107 …EXPECT_EQ(little.val, MIPI_SYST_HTOLE32(native.val)) << "mipi_syst_msg_tag bit alignment wrong (ty… in TEST_F()
109 little.val = native.val = 0; in TEST_F()
112 …EXPECT_EQ(little.val, MIPI_SYST_HTOLE32(native.val)) << "mipi_syst_msg_tag bit alignment wrong (se… in TEST_F()
114 little.val = native.val = 0; in TEST_F()
117 …EXPECT_EQ(little.val, MIPI_SYST_HTOLE32(native.val)) << "mipi_syst_msg_tag bit alignment wrong (re… in TEST_F()
119 little.val = native.val = 0; in TEST_F()
122 …EXPECT_EQ(little.val, MIPI_SYST_HTOLE32(native.val)) << "mipi_syst_msg_tag bit alignment wrong (lo… in TEST_F()
124 little.val = native.val = 0; in TEST_F()
[all …]
Dmipi_syst_gtest.h162 mipi_syst_u32 val; in d32ts() member
192 std::string val = x4m.substr(pos+5,16); in xform() local
193 std::string upperVal = val.substr(8,8); in xform()
194 std::string lowerVal = val.substr(0,8); in xform()
/mipi-sys-t-3.7.0/printer/include/
Dmipi_syst_message.h98 uint32_t val; member
100 header(uint32_t v = 0) : val(v) {}; in val() function
170 void setHeader(uint32_t val) { m_hdr.val = val; } in setHeader() argument
173 void setType(uint32_t val) { m_hdr.field.type = val; } in setType() argument
174 void setSubType(uint32_t val) { m_hdr.field.subtype = val; } in setSubType() argument
Dmipi_syst_printer.h97 template<class T> std::string toHexValue(T val) in toHexValue() argument
104 << val; in toHexValue()
/mipi-sys-t-3.7.0/printer/src/
Dmipi_syst_decode.cpp200 uint32_t val(bytes2ValLE<uint32_t>(data)); in decodeShortMessage() local
201 val = ((val & 0x00FFFFF0) >> 4) | ((val & 0x30000000) >> 10); in decodeShortMessage()
202 dest.setBuild(val); in decodeShortMessage()
203 dest.setPayload(toHexValue(val)); in decodeShortMessage()
210 uint64_t val(bytes2ValLE<uint64_t>(data)); in decodeShortMessage() local
211 val = ((val & 0x0000000000FFFFF0ull) >> 4) | in decodeShortMessage()
212 ((val & 0xFFFFFFFF30000000ull) >> 10); in decodeShortMessage()
213 dest.setBuild(val); in decodeShortMessage()
214 dest.setPayload(toHexValue(val)); in decodeShortMessage()
Dmipi_syst_printf.cpp344 uint64_t val(bytes2ValLE<uint64_t>(bufPtr)); in format() local
345 success = hostPrintf(sstr, it->text(), val, starArgs); in format()
347 uint32_t val(bytes2ValLE<uint32_t>(bufPtr)); in format() local
348 success = hostPrintf(sstr, it->text(), val, starArgs); in format()
355 double val(bytes2ValLE<double>(bufPtr)); in format()
356 success = hostPrintf(sstr, it->text(), val, starArgs); in format()
Dmipi_syst_collateral.cpp201 std::string val(item.child_value()); in parseMaskedItems() local
207 "\" value =\"" << val << "\"" << in parseMaskedItems()
218 "\" value =\"" << val << "\"" << in parseMaskedItems()
226 data.value() = val; in parseMaskedItems()
261 if (it != dest.end() && it->value() != val) { in parseMaskedItems()
263 "Overwriting ID" << data.key() << " -> " << val << in parseMaskedItems()
/mipi-sys-t-3.7.0/library/src/
Dmipi_syst_api.c654 union {mipi_syst_u64 v; TOTYPE d;} val; \
655 val.d = (TOTYPE)va_arg(args, FROMTYPE); \
657 val.v = MIPI_SYST_HTOLE64(val.v); \
658 memcpy(argp, &val.d, sizeof(TOTYPE)); \
668 TOTYPE val = (TOTYPE)MIPI_SYST_HTOLE32(va_arg(args, FROMTYPE)); \
669 memcpy(argp, &val, sizeof(TOTYPE)); \
679 TOTYPE val = (TOTYPE)MIPI_SYST_HTOLE64(va_arg(args, FROMTYPE)); \
680 memcpy(argp, &val, sizeof(TOTYPE)); \
/mipi-sys-t-3.7.0/collateral/generator/
Dsyst_cgen.pl711 my $val=0;
716 $val = hex($input);
718 $val = $input+0;
721 return $val;