Home
last modified time | relevance | path

Searched refs:NetToHost (Results 1 - 18 of 18) sorted by relevance

/foundation/distributeddatamgr/udmf/framework/common/
H A Dendian_converter.h33 static inline int16_t NetToHost(int16_t value) in NetToHost() function
43 static inline int8_t NetToHost(int8_t value) in NetToHost() function
48 static inline int32_t NetToHost(int32_t value) in NetToHost() function
58 static inline int64_t NetToHost(int64_t value) in NetToHost() function
72 static inline uint16_t NetToHost(uint16_t value) in NetToHost() function
82 static inline uint8_t NetToHost(uint8_t value) in NetToHost() function
87 static inline uint32_t NetToHost(uint32_t value) in NetToHost() function
97 static inline uint64_t NetToHost(uint64_t value) in NetToHost() function
104 float NetToHost(float value);
108 double NetToHost(doubl
[all...]
H A Dendian_converter.cpp39 float NetToHost(float value) in NetToHost() function
69 double NetToHost(double value) in NetToHost() function
H A Dtlv_object.h134 value = NetToHost(value); in ReadBasic()
H A Dtlv_object.cpp331 auto len = NetToHost(pHead->len); in ReadHead()
339 head.tag = NetToHost(pHead->tag); in ReadHead()
/foundation/distributeddatamgr/pasteboard/framework/tlv/
H A Dendian_converter.h33 static inline int16_t NetToHost(int16_t value) in NetToHost() function
43 static inline int8_t NetToHost(int8_t value) in NetToHost() function
48 static inline int32_t NetToHost(int32_t value) in NetToHost() function
58 static inline int64_t NetToHost(int64_t value) in NetToHost() function
72 static inline uint16_t NetToHost(uint16_t value) in NetToHost() function
82 static inline uint8_t NetToHost(uint8_t value) in NetToHost() function
87 static inline uint32_t NetToHost(uint32_t value) in NetToHost() function
97 static inline uint64_t NetToHost(uint64_t value) in NetToHost() function
107 static inline bool NetToHost(bool value) in NetToHost() function
124 inline double NetToHost(doubl function
[all...]
H A Dtlv_object.cpp270 if (!HasExpectBuffer(buffer, NetToHost(pHead->len)) && in ReadHead()
271 !HasExpectBuffer(buffer, NetToHost(pHead->len) + sizeof(TLVHead))) { in ReadHead()
274 head.tag = NetToHost(pHead->tag); in ReadHead()
275 head.len = NetToHost(pHead->len); in ReadHead()
H A Dtlv_object.h412 value = NetToHost(value); in ReadBasicValue()
430 value = NetToHost(value); in ReadBasicValue()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/communicator/src/
H A Dheader_converter.cpp63 headerConverted.version = NetToHost(headerOriginal.version); in ConvertNetToHost()
64 headerConverted.reserved = NetToHost(headerOriginal.reserved); in ConvertNetToHost()
65 headerConverted.payLoadLen = NetToHost(headerOriginal.payLoadLen); in ConvertNetToHost()
74 headerConverted.version = NetToHost(headerOriginal.version); in ConvertNetToHost()
75 headerConverted.messageType = NetToHost(headerOriginal.messageType); in ConvertNetToHost()
76 headerConverted.messageId = NetToHost(headerOriginal.messageId); in ConvertNetToHost()
77 headerConverted.sessionId = NetToHost(headerOriginal.sessionId); in ConvertNetToHost()
78 headerConverted.sequenceId = NetToHost(headerOriginal.sequenceId); in ConvertNetToHost()
79 headerConverted.errorNo = NetToHost(headerOriginal.errorNo); in ConvertNetToHost()
80 headerConverted.dataLen = NetToHost(headerOrigina in ConvertNetToHost()
[all...]
H A Dprotocol_proto.cpp562 uint32_t frameId = NetToHost(phyHeader->frameId); in DisplayPacketInformation()
563 uint8_t pktType = NetToHost(phyHeader->packetType); in DisplayPacketInformation()
577 frameId, NetToHost(phyOpt->frameLen), in DisplayPacketInformation()
578 NetToHost(phyOpt->fragCount), NetToHost(phyOpt->fragNo)); in DisplayPacketInformation()
666 uint16_t version = NetToHost(*(reinterpret_cast<const uint16_t *>(payloadByteLen.first))); in DeSerializeMessage()
729 uint16_t magic = NetToHost(*fieldPtr++); in ParseCommPhyHeaderCheckMagicAndVersion()
730 uint16_t version = NetToHost(*fieldPtr++); in ParseCommPhyHeaderCheckMagicAndVersion()
835 uint16_t version = NetToHost(*(reinterpret_cast<const uint16_t *>(bytes + sizeof(CommPhyHeader)))); in ParseCommDivergeHeader()
883 uint64_t version = NetToHost(*fieldPt in ParseLabelExchange()
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/utils/
H A Dendian_converter.h28 static inline uint16_t NetToHost(uint16_t value) in NetToHost() function
38 static inline uint32_t NetToHost(uint32_t value) in NetToHost() function
48 static inline uint64_t NetToHost(uint64_t value) in NetToHost() function
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/session_manager/
H A Droute_head_handler_impl.cpp250 routeHead.magic = NetToHost(head->magic); in UnPackDataHead()
251 routeHead.version = NetToHost(head->version); in UnPackDataHead()
252 routeHead.checkSum = NetToHost(head->checkSum); in UnPackDataHead()
253 routeHead.dataLen = NetToHost(head->dataLen); in UnPackDataHead()
287 session_.sourceUserId = NetToHost(userPair->sourceUserId); in UnPackDataBody()
295 session_.targetUserIds.push_back(NetToHost(*(userPair->targetUserIds + i))); in UnPackDataBody()
305 auto appIdLen = NetToHost(appId->len); in UnPackDataBody()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/test/
H A Dutils_test.cpp184 uint16_t hostValue16 = NetToHost(NET_VALUE16);
190 uint32_t hostValue32 = NetToHost(NET_VALUE32);
196 uint64_t hostValue64 = NetToHost(NET_VALUE64);
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/
H A Drdb_cloud_data_translate.cpp89 auto hostMagicWord = DistributedData::NetToHost(*(reinterpret_cast<decltype(&ASSET_MAGIC)>(alignData.data()))); in ParserRawData()
98 size = DistributedData::NetToHost(*(reinterpret_cast<decltype(&size)>(alignData.data()))); in ParserRawData()
122 auto hostMagicWord = DistributedData::NetToHost(*(reinterpret_cast<decltype(&ASSETS_MAGIC)>(alignData.data()))); in ParserRawData()
131 num = DistributedData::NetToHost(*(reinterpret_cast<decltype(&num)>(alignData.data()))); in ParserRawData()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/
H A Dendian_convert.h49 template<typename T> T NetToHost(const T &from) in NetToHost() function
H A Dparcel.h116 len = NetToHost(len); in ReadVector()
132 val[i] = NetToHost(*(reinterpret_cast<T *>(bufPtr_))); in ReadVector()
203 integer = NetToHost(integer); in ReadInteger()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/communicator/
H A Dadapter_stub.cpp219 NetToHost(info->magic); in CheckAndGetDataHeadInfo()
221 NetToHost(info->length); in CheckAndGetDataHeadInfo()
222 NetToHost(info->version); in CheckAndGetDataHeadInfo()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Dparcel.cpp108 val = NetToHost(val); in ReadDouble()
209 len = NetToHost(len); in ReadString()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/
H A Dmulti_ver_natural_store.cpp64 block.magic = NetToHost(block.magic); in TransferNetFileBlockToHost()
65 block.fileVersion = NetToHost(block.fileVersion); in TransferNetFileBlockToHost()
66 block.version = NetToHost(block.version); in TransferNetFileBlockToHost()
87 uint64_t readMagic = NetToHost(block.magic); in CheckFileBlock()

Completed in 12 milliseconds