Searched refs:pIdArray (Results 1 – 5 of 5) sorted by relevance
/base/hiviewdfx/hitrace/frameworks/native/c_wrapper/source/ |
D | hitracechain_c_wrapper.c | 84 int HiTraceChainIdToBytesWrapper(const HiTraceIdStruct* pId, uint8_t* pIdArray, int len) in HiTraceChainIdToBytesWrapper() argument 86 return HiTraceChainIdToBytes(pId, pIdArray, len); in HiTraceChainIdToBytesWrapper() 89 HiTraceIdStruct HiTraceChainBytesToIdWrapper(const uint8_t* pIdArray, int len) in HiTraceChainBytesToIdWrapper() argument 91 return HiTraceChainBytesToId(pIdArray, len); in HiTraceChainBytesToIdWrapper()
|
/base/hiviewdfx/hitrace/frameworks/native/ |
D | hitraceid.cpp | 38 HiTraceId::HiTraceId(const uint8_t* pIdArray, int len) in HiTraceId() argument 40 id_ = HiTraceChainBytesToId(pIdArray, len); in HiTraceId() 103 int HiTraceId::ToBytes(uint8_t* pIdArray, int len) const in ToBytes() argument 105 return HiTraceChainIdToBytes(&id_, pIdArray, len); in ToBytes()
|
/base/hiviewdfx/hitrace/interfaces/native/innerkits/include/hitrace/ |
D | hitracechainc.h | 219 static inline int HiTraceChainIdToBytes(const HiTraceIdStruct* pId, uint8_t* pIdArray, int len) in HiTraceChainIdToBytes() argument 225 *((uint64_t*)pIdArray) = htobe64(*((uint64_t*)pId)); in HiTraceChainIdToBytes() 226 *((uint64_t*)pIdArray + 1) = htobe64(*((uint64_t*)pId + 1)); in HiTraceChainIdToBytes() 230 static inline HiTraceIdStruct HiTraceChainBytesToId(const uint8_t* pIdArray, int len) in HiTraceChainBytesToId() argument 235 if ((!pIdArray) || (len != (int)HITRACE_ID_LEN)) { in HiTraceChainBytesToId() 241 if (memcpy_s(&tmp1, sizeof(uint64_t), pIdArray, sizeof(uint64_t)) != EOK || in HiTraceChainBytesToId() 242 memcpy_s(&tmp2, sizeof(uint64_t), pIdArray + sizeof(uint64_t), sizeof(uint64_t)) != EOK) { in HiTraceChainBytesToId()
|
D | hitraceid.h | 29 HiTraceId(const uint8_t* pIdArray, int len); 89 int ToBytes(uint8_t* pIdArray, int len) const;
|
/base/hiviewdfx/hitrace/frameworks/native/c_wrapper/include/ |
D | hitracechain_c_wrapper.h | 63 int HiTraceChainIdToBytesWrapper(const HiTraceIdStruct* pId, uint8_t* pIdArray, int len); 66 HiTraceIdStruct HiTraceChainBytesToIdWrapper(const uint8_t* pIdArray, int len);
|