Home
last modified time | relevance | path

Searched refs:boundary (Results 1 - 4 of 4) sorted by relevance

/base/security/device_security_level/baselib/utils/src/
H A Dutils_tlv.c31 static uint8_t *ParseTlv(const uint8_t *buffer, TlvCommon *tlv, const uint8_t *boundary, uint32_t *retCode) in ParseTlv() argument
33 if (buffer + TLV_TLV_HEAD_LEN > boundary) { in ParseTlv()
37 if (GetNextTlv(buffer) > boundary) { in ParseTlv()
48 static uint8_t *AppendTlv(uint8_t *buffer, const TlvCommon *tlv, const uint8_t *boundary, uint32_t *retCode) in AppendTlv() argument
50 if (buffer > boundary) { in AppendTlv()
54 if (buffer + ((TlvCommon *)tlv)->len + TLV_TLV_HEAD_LEN > boundary) { in AppendTlv()
61 if (memcpy_s(buffer + TLV_TLV_HEAD_LEN, boundary - buffer - TLV_TLV_HEAD_LEN, tlv->value, tlv->len) != EOK) { in AppendTlv()
77 uint8_t *boundary = buff + maxBuffSize; in Serialize() local
81 curr = AppendTlv(curr, &tlv[index], boundary, &retCode); in Serialize()
97 const uint8_t *boundary in Deserialize() local
[all...]
/base/security/certificate_framework/frameworks/core/v1.0/certificate/
H A Dcert_chain_validator.c89 const uint8_t *boundary = certChainData->data + certChainData->dataLen; in ConvertCertBuffer2List() local
92 while (msg < boundary) { in ConvertCertBuffer2List()
93 if (index >= certsList->count || (msg + LV_LENGTH_LEN > boundary)) { in ConvertCertBuffer2List()
110 if (msg + entryLen > boundary) { in ConvertCertBuffer2List()
111 LOGE("Entry len is overflow for boundary!"); in ConvertCertBuffer2List()
/base/sensors/sensor/vibration_convert/core/algorithm/peak_finder/src/
H A Dpeak_finder.cpp125 for (int32_t boundary = envelopeStart[i]; boundary <= envelopeLast[i]; ++boundary) { in SplitVoiceSlienceRange()
126 if (boundary > vioceFlag.size()) { in SplitVoiceSlienceRange()
129 vioceFlag[boundary] = true; in SplitVoiceSlienceRange()
161 // Find boundary point from peak to both sides. in GetEachIndependentEnvelope()
173 // Find boundary point from peak to both sides.
/base/global/i18n/interfaces/js/kits/src/
H A Di18n_addon.cpp1338 bool boundary = obj->brkiter_->IsBoundary(value); in IsBoundary() local
1340 status = napi_get_boolean(env, boundary, &result); in IsBoundary()

Completed in 9 milliseconds