Home
last modified time | relevance | path

Searched refs:headerId (Results 1 - 6 of 6) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/service/src/obex/
H A Dobex_headers.cpp89 const std::string &ObexHeader::GetHeaderName(uint8_t headerId) in GetHeaderName() argument
91 if (HEADER_ID_NAME_MAP.find(headerId) != HEADER_ID_NAME_MAP.end()) { in GetHeaderName()
92 return HEADER_ID_NAME_MAP.at(headerId); in GetHeaderName()
129 uint8_t headerId = buf[pos++]; in ParseOptionalHeaders() local
130 uint8_t headerDataType = headerId & ObexHdrType::MASK; in ParseOptionalHeaders()
132 "ObexHeader Parse headerId=%02X(%{public}s), type=%02X", in ParseOptionalHeaders()
133 headerId, GetHeaderName(headerId).c_str(), headerDataType); in ParseOptionalHeaders()
136 AppendByte(headerId, buf[pos++]); in ParseOptionalHeaders()
139 ParseBytes(headerId, bu in ParseOptionalHeaders()
190 ParseBytes(const uint8_t &headerId, const uint8_t *buf, uint16_t &pos) ParseBytes() argument
215 ParseUnicodeText(const uint8_t &headerId, const uint8_t *buf, uint16_t &pos) ParseUnicodeText() argument
422 uint8_t headerId = header->GetHeaderId(); Append() local
442 AppendUnicode(const uint8_t headerId, const std::u16string &text) AppendUnicode() argument
448 AppendByte(const uint8_t headerId, const uint8_t byte) AppendByte() argument
454 AppendBytes(const uint8_t headerId, const uint8_t *byteBuf, const uint32_t size) AppendBytes() argument
460 AppendWord(const uint8_t headerId, const uint32_t word) AppendWord() argument
466 AppendString(const uint8_t headerId, const std::string &str) AppendString() argument
472 AppendTlvTriplets(const uint8_t headerId, ObexTlvParamters &tlvParamters) AppendTlvTriplets() argument
781 RemoveItem(const uint8_t headerId) RemoveItem() argument
951 ObexOptionalHeader(uint8_t headerId) ObexOptionalHeader() argument
983 ObexOptionalBytesHeader( const uint8_t headerId, const uint8_t *data, const uint16_t dataSize, const uint16_t unitLen) ObexOptionalBytesHeader() argument
1026 ObexOptionalStringHeader(const uint8_t headerId, const std::string &str) ObexOptionalStringHeader() argument
1031 ObexOptionalStringHeader(const uint8_t headerId, const uint8_t *data, const uint16_t dataSize) ObexOptionalStringHeader() argument
1061 ObexOptionalUnicodeHeader(const uint8_t headerId, const std::u16string &unicodeText) ObexOptionalUnicodeHeader() argument
1092 ObexOptionalByteHeader(const uint8_t headerId, const uint8_t byte) ObexOptionalByteHeader() argument
1121 ObexOptionalWordHeader(const uint8_t headerId, const uint32_t word) ObexOptionalWordHeader() argument
1151 ObexOptionalTlvHeader(const uint8_t headerId) ObexOptionalTlvHeader() argument
1157 ObexOptionalTlvHeader(const uint8_t headerId, const ObexTlvParamters &tlvParamters) ObexOptionalTlvHeader() argument
1170 ObexOptionalTlvHeader(const uint8_t headerId, const uint8_t *data, const uint16_t dataSize) ObexOptionalTlvHeader() argument
[all...]
H A Dobex_headers.h242 ObexOptionalHeader(uint8_t headerId);
250 ObexOptionalBytesHeader(const uint8_t headerId, const uint8_t *data,
265 ObexOptionalByteHeader(const uint8_t headerId, const uint8_t byte);
275 ObexOptionalWordHeader(const uint8_t headerId, const uint32_t word);
285 ObexOptionalStringHeader(const uint8_t headerId, const std::string &str);
286 ObexOptionalStringHeader(const uint8_t headerId, const uint8_t *data, const uint16_t dataSize);
296 ObexOptionalUnicodeHeader(const uint8_t headerId, const std::u16string &unicodeText);
305 explicit ObexOptionalTlvHeader(const uint8_t headerId, const uint8_t *data, const uint16_t dataSize);
306 ObexOptionalTlvHeader(const uint8_t headerId);
307 ObexOptionalTlvHeader(const uint8_t headerId, cons
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/
H A Dmulti_ver_natural_store_commit_storage.cpp252 CommitID headerId; in GetAllCommitsInTree() local
253 int errCode = GetAllCommits(commitsTable, headerId); in GetAllCommitsInTree()
259 commitStack.push(headerId); in GetAllCommitsInTree()
492 CommitID headerId; in GetLatestCommits() local
493 int errCode = GetAllCommits(commits, headerId); in GetLatestCommits()
499 commitStack.push(headerId); in GetLatestCommits()
770 CommitID &headerId) const in GetAllCommits()
795 headerId = entry.value; // get the header. in GetAllCommits()
869 CommitID headerId; in GetMaxCommitVersion() local
870 errCode = GetAllCommits(commits, headerId); in GetMaxCommitVersion()
[all...]
H A Dmulti_ver_natural_store_commit_storage.h102 int GetAllCommits(std::map<CommitID, IKvDBCommit *> &commits, CommitID &headerId) const;
H A Dmulti_ver_natural_store.cpp890 CommitID headerId = commitHistory_->GetHeader(errCode); in CompareVerDataAndLog() local
895 if (headerId.empty()) { in CompareVerDataAndLog()
902 IKvDBCommit *commitHead = commitHistory_->GetCommit(headerId, errCode); in CompareVerDataAndLog()
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/
H A Drs_profiler_file.cpp55 uint32_t headerId = 'ROHR'; in Create() local
56 Utils::FileWrite(&headerId, sizeof(headerId), 1, file_); in Create()
82 uint32_t headerId; in Open() local
83 Utils::FileRead(&headerId, sizeof(headerId), 1, file_); in Open()
84 if (headerId != 'ROHR') { // Prohibit too old file versions in Open()

Completed in 8 milliseconds