Searched refs:oneByte (Results 1 – 12 of 12) sorted by relevance
26 bool MmsDecodeBuffer::PeekOneByte(uint8_t &oneByte) in PeekOneByte() argument32 oneByte = pduBuffer_[curPosition_]; in PeekOneByte()36 bool MmsDecodeBuffer::GetOneByte(uint8_t &oneByte) in GetOneByte() argument42 oneByte = pduBuffer_[curPosition_]; in GetOneByte()81 uint8_t oneByte = 0; in DecodeUintvar() local83 if (!GetOneByte(oneByte)) { in DecodeUintvar()89 while ((oneByte & setNotHighestBitZero) != 0) { in DecodeUintvar()91 uintVar |= oneByte & setHighestBitZero; in DecodeUintvar()93 if (!GetOneByte(oneByte)) { in DecodeUintvar()100 uintVar |= oneByte & setHighestBitZero; in DecodeUintvar()[all …]
65 uint8_t oneByte = 0; in DecodeMmsContentType() local67 if (!decodeBuffer.GetOneByte(oneByte)) { in DecodeMmsContentType()71 contentType_ = GetContentTypeFromInt(oneByte & setHighestBitZero); in DecodeMmsContentType()126 uint8_t oneByte = 0; in DecodeMmsCTGeneralForm() local127 if (!decodeBuffer.PeekOneByte(oneByte)) { in DecodeMmsCTGeneralForm()132 contentType_ = GetContentTypeFromInt(oneByte & setHighestBitZero); in DecodeMmsCTGeneralForm()201 uint8_t oneByte = 0; in DecodeParameter() local204 if (!decodeBuffer.GetOneByte(oneByte)) { in DecodeParameter()208 paramCode = oneByte; in DecodeParameter()310 uint8_t oneByte = 0; in DecodeCharsetField() local[all …]
47 uint8_t oneByte = 0; in DecodeEncodeString() local50 if (!decodeBuffer.PeekOneByte(oneByte)) { in DecodeEncodeString()55 if (oneByte == 0) { in DecodeEncodeString()62 if (oneByte < maxHasCharsetNum) { in DecodeEncodeString()
112 uint8_t oneByte = 0; in DecodeContentDisposition() local113 if (!decodeBuffer.GetOneByte(oneByte)) { in DecodeContentDisposition()118 switch (static_cast<MmsDispositonParam>(oneByte)) { in DecodeContentDisposition()175 uint8_t oneByte = 0; in DecodeDispositionParameter() local177 if (!decodeBuffer.GetOneByte(oneByte)) { in DecodeDispositionParameter()181 if (oneByte == pFileNameValue) { in DecodeDispositionParameter()218 uint8_t oneByte = 0; in DecodeWellKnownHeader() local219 if (!decodeBuffer.GetOneByte(oneByte)) { in DecodeWellKnownHeader()225 fieldCode = oneByte & 0x7f; in DecodeWellKnownHeader()
153 uint8_t oneByte = 0; in DecodePartHeader() local155 if (!decodeBuffer.PeekOneByte(oneByte)) { in DecodePartHeader()159 if (headerAccept <= oneByte && headerCacheControl >= oneByte) { in DecodePartHeader()164 } else if ((oneByte >= textMin) && (oneByte <= textMax)) { in DecodePartHeader()170 TELEPHONY_LOGE("Header Field[%{pulbic}02X] is not support.", oneByte); in DecodePartHeader()
163 uint8_t oneByte = 0; in DecodeMmsHeader() local165 while (decodeBuffer.GetOneByte(oneByte)) { in DecodeMmsHeader()166 fieldCode = (oneByte | setHighestBitOne); in DecodeMmsHeader()515 uint8_t oneByte = 0; in DecodeMmsMsgType() local516 if (!buff.GetOneByte(oneByte)) { in DecodeMmsMsgType()520 if (oneByte < MMS_MSGTYPE_SEND_REQ || oneByte > MMS_MSGTYPE_CANCEL_CONF) { in DecodeMmsMsgType()524 octetValueMap_.emplace(fieldId, oneByte); in DecodeMmsMsgType()574 uint8_t oneByte = 0; in DecodeFieldOctetValue() local575 if (!buff.GetOneByte(oneByte)) { in DecodeFieldOctetValue()579 octetValueMap_.emplace(fieldId, oneByte); in DecodeFieldOctetValue()[all …]
116 bool SmsWapPushBuffer::PeekOneByte(uint8_t &oneByte) in PeekOneByte() argument122 oneByte = pduBuffer_[curPosition_]; in PeekOneByte()126 bool SmsWapPushBuffer::GetOneByte(uint8_t &oneByte) in GetOneByte() argument132 oneByte = pduBuffer_[curPosition_]; in GetOneByte()172 uint8_t oneByte = 0; in DecodeUintvar() local173 if (!GetOneByte(oneByte)) { in DecodeUintvar()179 while ((oneByte & setNotHighestBitZero) != 0) { in DecodeUintvar()181 uintVar |= oneByte & setHighestBitZero; in DecodeUintvar()183 if (!GetOneByte(oneByte)) { in DecodeUintvar()190 uintVar |= oneByte & setHighestBitZero; in DecodeUintvar()[all …]
79 uint8_t oneByte = 0; in DecodeContentType() local80 if (!decodeBuffer.GetOneByte(oneByte)) { in DecodeContentType()84 contentType_ = GetContentTypeFromInt(oneByte & setHighestBitZero); in DecodeContentType()139 uint8_t oneByte = 0; in DecodeCTGeneralForm() local140 if (!decodeBuffer.PeekOneByte(oneByte)) { in DecodeCTGeneralForm()145 contentType_ = GetContentTypeFromInt(oneByte & setHighestBitZero); in DecodeCTGeneralForm()194 uint8_t oneByte = 0; in DecodeParameter() local197 if (!decodeBuffer.GetOneByte(oneByte)) { in DecodeParameter()201 paramCode = oneByte; in DecodeParameter()297 uint8_t oneByte = 0; in DecodeCharsetField() local[all …]
274 uint8_t oneByte = 0; in DecodeXWapAbandonHeaderValue() local275 if (!decodeBuffer.GetOneByte(oneByte)) { in DecodeXWapAbandonHeaderValue()280 if ((oneByte >= 0) && (oneByte <= wapShortLengthMax)) { in DecodeXWapAbandonHeaderValue()281 if (!decodeBuffer.IncreasePointer(oneByte)) { in DecodeXWapAbandonHeaderValue()285 } else if (oneByte == wapLengthQuote) { in DecodeXWapAbandonHeaderValue()296 } else if ((wapLengthQuote < oneByte) && (oneByte <= textLengthMax)) { in DecodeXWapAbandonHeaderValue()
27 bool PeekOneByte(uint8_t &oneByte);28 bool GetOneByte(uint8_t &oneByte);40 static bool CharIsToken(uint8_t oneByte);
37 bool PeekOneByte(uint8_t &oneByte);38 bool GetOneByte(uint8_t &oneByte);50 static bool CharIsToken(uint8_t oneByte);
422 uint8_t oneByte = 0; variable429 EXPECT_FALSE(smsWapPushBuffer->GetOneByte(oneByte));442 EXPECT_FALSE(smsWapPushBuffer->DecodeShortInteger(oneByte));