/mipi-sys-t-3.7.0/library/test/unit/ |
D | mipi_syst_gtest.h | 133 sstr.str(""); in SetUp() 146 static std::stringstream sstr; variable 151 { sstr << "<D64>"<< std::hex << std::setfill('0') << std::setw(16) << v; } in d64() 153 { sstr << "<D32>"<< std::hex << std::setfill('0') << std::setw(8) << v; } in d32() 155 { sstr << "<D16>"<< std::hex << std::setfill('0') << std::setw(4) << v; } in d16() 157 { sstr << "<D8>"<< std::hex << std::setfill('0') << std::setw(2) << (mipi_syst_u16)v; } in d8() 160 sstr << "<D32TS>"<< std::hex << std::setfill('0') << std::setw(8) << v; in d32ts() 166 sstr << "[typ=" << u.tag.et_type << ":" << u.tag.et_subtype in d32ts() 170 if (u.tag.et_res7) sstr << " res7"; in d32ts() 171 if (u.tag.et_location) sstr << " loc"; in d32ts() [all …]
|
D | mipi_syst_build_test.cpp | 65 sstr.str(""); in mipi_syst_write_build_message() 68 result = sstr.str(); in mipi_syst_write_build_message() 133 str = sstr.str(); in TEST_F() 141 str = sstr.str(); in TEST_F() 154 str = sstr.str(); in TEST_F() 160 sstr.str(""); in TEST_F() 163 str = sstr.str(); in TEST_F() 169 sstr.str(""); in TEST_F() 177 str = sstr.str(); in TEST_F() 183 sstr.str(""); in TEST_F() [all …]
|
D | mipi_syst_raw_test.cpp | 64 sstr.str(""); in mipi_syst_write_raw_message() 67 result = sstr.str(); in mipi_syst_write_raw_message() 147 str = sstr.str(); in TEST_F() 154 sstr.str(""); in TEST_F() 156 str = sstr.str(); in TEST_F()
|
D | mipi_syst_printf_test.cpp | 48 (sstr.str(""),\ 50 result = sstr.str(),\ 54 (sstr.str(""),\ 56 result = sstr.str(),\ 60 (sstr.str(""),\ 62 result = sstr.str(),\
|
D | mipi_syst_clock_test.cpp | 65 result = sstr.str(); in mipi_syst_write_clock() 66 sstr.str(""); in mipi_syst_write_clock()
|
D | mipi_syst_init_test.cpp | 45 std::stringstream MipiSysTFixtureOutput::sstr; member in MipiSysTFixtureOutput 335 std::stringstream sstr; in TEST_F() local 336 …sstr << MIPI_SYST_VERSION_MAJOR << "." << MIPI_SYST_VERSION_MINOR << "." << MIPI_SYST_VERSION_PATC… in TEST_F() 337 std::string verstr(sstr.str()); in TEST_F()
|
D | mipi_syst_string_test.cpp | 64 sstr.str(""); in mipi_syst_write_debug_string() 67 result = sstr.str(); in mipi_syst_write_debug_string()
|
D | mipi_syst_catid32_test.cpp | 64 result = sstr.str(); in mipi_syst_write_catalog32_message() 65 sstr.str(""); in mipi_syst_write_catalog32_message()
|
D | mipi_syst_catid64_test.cpp | 62 result = sstr.str(); in mipi_syst_write_catalog64_message() 63 sstr.str(""); in mipi_syst_write_catalog64_message()
|
/mipi-sys-t-3.7.0/printer/src/ |
D | mipi_syst_decode.cpp | 143 std::stringstream sstr; in decode() local 144 sstr << std::hex << std::uppercase << std::setfill('0') << std::setw(2); in decode() 146 sstr << (uint16_t)uc; in decode() 148 dest.setPayload(sstr.str()); in decode() 346 std::stringstream sstr; in decodeNormalMessage() local 348 sstr << dest.getGuid(); in decodeNormalMessage() 350 sstr << dest.getHeaderOrigin(); in decodeNormalMessage() 352 dest.setClientName(sstr.str()); in decodeNormalMessage() 374 std::stringstream sstr; in decodeBuildPayload() local 381 sstr << toHexValue(dest.getBuild()); in decodeBuildPayload() [all …]
|
D | mipi_syst_printf.cpp | 313 std::stringstream sstr; // where the result is build in format() local 319 sstr << "invalid format string '" << fmt << "'"; in format() 320 result = sstr.str(); in format() 345 success = hostPrintf(sstr, it->text(), val, starArgs); in format() 348 success = hostPrintf(sstr, it->text(), val, starArgs); in format() 356 success = hostPrintf(sstr, it->text(), val, starArgs); in format() 365 sstr << *c; in format() 388 success = hostPrintf(sstr, it->text(), bufPtr, starArgs); in format() 406 sstr << "- printf internal error, unkown argtype in format '" in format() 414 sstr << "- insufficient argument bytes for format '" in format() [all …]
|
D | mipi_syst_message.cpp | 149 std::stringstream sstr; in type2string() local 151 sstr << typenames[type]; in type2string() 240 sstr << ':' << subtype; in type2string() 243 return sstr.str(); in type2string() 270 std::stringstream sstr; in location2string() local 278 sstr << (*fileName) << ':' << loc.line; in location2string() 280 sstr << loc.file << ':' << loc.line; in location2string() 282 if (hasAddress) sstr << ' '; in location2string() 287 sstr << toHexValue((uint32_t)loc.address); in location2string() 289 sstr << toHexValue(loc.address); in location2string() [all …]
|
D | mipi_syst_collateral.cpp | 76 std::stringstream sstr; in parseXml() local 79 sstr in parseXml() 85 throw std::invalid_argument(sstr.str()); in parseXml() 297 std::stringstream sstr(std::string(p, 2)); in parse() local 300 if (! (sstr >> std::hex >>temp)) { in parse()
|
/mipi-sys-t-3.7.0/printer/include/ |
D | mipi_syst_printer.h | 76 std::stringstream sstr; in stringToNum() local 78 sstr << num_str << terminator; in stringToNum() 85 sstr >> base >> temp >> tail; in stringToNum() 88 sstr >> base >> num >> tail; in stringToNum() 94 return !sstr.fail(); in stringToNum() 99 std::stringstream sstr; in toHexValue() local 101 sstr << "0x" in toHexValue() 106 return sstr.str(); in toHexValue()
|