Home
last modified time | relevance | path

Searched refs:dest (Results 1 – 7 of 7) sorted by relevance

/mipi-sys-t-3.7.0/printer/src/
Dmipi_syst_decode.cpp55 static int32_t bytes2String(std::string& dest, const uint8_t * data, uint32_t len) in bytes2String() argument
64 dest += data[i++]; in bytes2String()
71 return (uint32_t)dest.size(); in bytes2String()
115 bool decoder::decode(message& dest, const std::vector<uint8_t>& data, const decode_context * ctx) c… in decode() argument
128 rt = decodeShortMessage(dest, &data[0], (uint32_t)data.size(), ctx); in decode()
130 rt = decodeNormalMessage(dest, &data[0], (uint32_t)data.size(), ctx); in decode()
133 if (rt && dest.getHeader().field.type == message::BUILD) { in decode()
136 setBuildNumber(dest.getBuild(), dest.getGuid()); in decode()
139 dest.setStatus(de.get_state()); in decode()
148 dest.setPayload(sstr.str()); in decode()
[all …]
Dmipi_syst_collateral.cpp172 template<typename K> bool parse(K& dest, const std::string& s) in parse() argument
174 return stringToNum<K>(s, dest); in parse()
192 pugi::xml_node root, const char * tag, masked_vector<K, V>& dest) in parseMaskedItems() argument
260 auto it = dest.find(data.key()); in parseMaskedItems()
261 if (it != dest.end() && it->value() != val) { in parseMaskedItems()
268 dest.push_back(data); in parseMaskedItems()
Dmipi_syst_main.cpp85 static bool hex2bin(const std::string& hexStr, std::vector<uint8_t>& dest) in hex2bin() argument
92 dest.clear(); in hex2bin()
101 dest.push_back((high << 4) | low); in hex2bin()
Dmipi_syst_message.cpp222 std::stringstream dest; in type2string() local
223 hostPrintf(dest, *name, hdr.field.subtype, std::vector<int>()); in type2string()
224 subtype = dest.str(); in type2string()
/mipi-sys-t-3.7.0/printer/include/
Dmipi_syst_decode.h158 bool decode(message& dest, const std::vector<uint8_t>& data, const decode_context * ctx) const;
161 …bool decodeShortMessage(message& dest, const uint8_t *data, uint32_t length, const decode_context …
162 …bool decodeNormalMessage(message& dest, const uint8_t *data, uint32_t length, const decode_contex…
164 void decodeBuildPayload(message& dest, const uint8_t * data, uint32_t len) const;
165 void decodeStringPayload(message& dest, const uint8_t * data, uint32_t len) const;
166 void decodeCatalogPayload(message& dest, const uint8_t * data, uint32_t len) const;
167 void decodeRawPayload(message& dest, const uint8_t * data, uint32_t len) const;
168 void decodeInvalidType(message& dest, const uint8_t * data, uint32_t len) const;
Dmipi_syst_printer.h129 std::stringstream& dest, in hostPrintf() argument
168 dest << " - invalid format '" << format << "' in printf"; in hostPrintf()
171 dest << " - printf result using format '" << format << "' is too large"; in hostPrintf()
174 dest << buf; in hostPrintf()
Dmipi_syst_collateral.h179 masked_vector<K, V>& dest);