/base/telephony/sms_mms/services/sms/ |
H A D | gsm_cb_gsm_codec.cpp | 51 if (cbPduBuffer_ == nullptr || cbHeader_ == nullptr || cbPduBuffer_->GetSize() == 0) { in Decode2gHeader() 87 if (isEtws && cbPduBuffer_->GetSize() <= MAX_ETWS_PDU_LEN) { in Decode2gHeader() 126 if (cbPduBuffer_ == nullptr || cbHeader_ == nullptr || cbCodec_ == nullptr || cbPduBuffer_->GetSize() == 0) { in Decode2gHeaderCommonCb() 184 cbPduBuffer_->GetCurPosition() >= cbPduBuffer_->GetSize()) { in Decode2gCbMsg() 189 uint16_t dataLen = cbPduBuffer_->GetSize() - cbPduBuffer_->GetCurPosition(); in Decode2gCbMsg() 211 (cbPduBuffer_->GetCurPosition() + dataLen) > cbPduBuffer_->GetSize()) { in Decode2gCbMsg() 215 for (uint8_t i = cbPduBuffer_->GetCurPosition(); i < cbPduBuffer_->GetSize(); i++) { in Decode2gCbMsg() 258 if (cbPduBuffer_ == nullptr || cbPduBuffer_->pduBuffer_ == nullptr || cbPduBuffer_->GetSize() == 0 || in DecodeEtwsMsg() 259 cbPduBuffer_->GetSize() > MAX_ETWS_PDU_LEN) { in DecodeEtwsMsg() 263 uint8_t total = cbPduBuffer_->GetSize() in DecodeEtwsMsg() [all...] |
H A D | gsm_cb_umts_codec.cpp | 48 if (cbPduBuffer_ == nullptr || cbHeader_ == nullptr || cbCodec_ == nullptr || cbPduBuffer_->GetSize() == 0) { in Decode3gHeader() 157 if (cbPduBuffer_ == nullptr || cbCodec_ == nullptr || cbPduBuffer_->GetSize() == 0) { in Decode3g7Bit() 164 if (dataPdu.size() == 0 || cbPduBuffer_->GetCurPosition() >= cbPduBuffer_->GetSize()) { in Decode3g7Bit() 168 uint16_t pduLen = cbPduBuffer_->GetSize() - cbPduBuffer_->GetCurPosition(); in Decode3g7Bit() 199 if (cbPduBuffer_ == nullptr || cbCodec_ == nullptr || cbPduBuffer_->GetSize() == 0) { in Decode3gUCS2() 206 if (dataPdu.size() == 0 || cbPduBuffer_->GetCurPosition() >= cbPduBuffer_->GetSize()) { in Decode3gUCS2() 210 uint16_t pduLen = cbPduBuffer_->GetSize() - cbPduBuffer_->GetCurPosition(); in Decode3gUCS2()
|
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/ |
H A D | ark_buffer_info_adapter_impl.cpp | 29 int32_t ArkBufferInfoAdapterImpl::GetSize() in GetSize() function in OHOS::ArkWeb::ArkBufferInfoAdapterImpl 31 return real_->GetSize(); in GetSize()
|
H A D | ark_camera_surface_buffer_adapter_impl.cpp | 52 uint32_t ArkCameraSurfaceBufferAdapterImpl::GetSize() in GetSize() function in OHOS::ArkWeb::ArkCameraSurfaceBufferAdapterImpl 54 return real_->GetSize(); in GetSize()
|
H A D | ark_surface_buffer_adapter_impl.cpp | 51 uint32_t ArkSurfaceBufferAdapterImpl::GetSize() in GetSize() function in OHOS::ArkWeb::ArkSurfaceBufferAdapterImpl 53 return real_->GetSize(); in GetSize()
|
H A D | ark_ohos_image_decoder_adapter_impl.cpp | 74 uint64_t ArkOhosImageDecoderAdapterImpl::GetSize() in GetSize() function in OHOS::ArkWeb::ArkOhosImageDecoderAdapterImpl 76 return real_->GetSize(); in GetSize()
|
H A D | ark_buffer_info_adapter_impl.h | 31 int32_t GetSize() override;
|
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/ |
H A D | ark_buffer_info_adapter_wrapper.cpp | 27 int32_t ArkBufferInfoAdapterWrapper::GetSize() in GetSize() function in OHOS::ArkWeb::ArkBufferInfoAdapterWrapper 29 return ctocpp_->GetSize(); in GetSize()
|
H A D | ark_camera_surface_buffer_adapter_wrapper.cpp | 50 uint32_t ArkCameraSurfaceBufferAdapterWrapper::GetSize() in GetSize() function in OHOS::ArkWeb::ArkCameraSurfaceBufferAdapterWrapper 52 return ctocpp_->GetSize(); in GetSize()
|
H A D | ark_surface_buffer_adapter_wrapper.cpp | 48 uint32_t ArkSurfaceBufferAdapterWrapper::GetSize() in GetSize() function in OHOS::ArkWeb::ArkSurfaceBufferAdapterWrapper 50 return ctocpp_->GetSize(); in GetSize()
|
H A D | ark_ohos_image_decoder_adapter_wrapper.cpp | 76 uint64_t ArkOhosImageDecoderAdapterWrapper::GetSize() in GetSize() function in OHOS::ArkWeb::ArkOhosImageDecoderAdapterWrapper 78 return ctocpp_->GetSize(); in GetSize()
|
H A D | ark_surface_buffer_adapter_wrapper.h | 39 uint32_t GetSize() override;
|
H A D | ark_buffer_info_adapter_wrapper.h | 31 int32_t GetSize() override;
|
/base/telephony/sms_mms/services/sms/gsm/ |
H A D | gsm_user_data_decode.cpp | 80 if (buffer.GetIndex() + udl >= buffer.GetSize()) { in DecodeGsmHeadPdu() 81 len = buffer.GetSize() - buffer.GetIndex(); in DecodeGsmHeadPdu() 124 if (buffer.GetIndex() >= buffer.GetSize()) { in DecodeGsmHeadPduPartData() 191 if (buffer.data_ == nullptr || (buffer.GetIndex() + pTPUD->udl + WAP_PUSH_UDHL > buffer.GetSize())) { in Decode8bitPdu() 239 if (udl > sizeof(pTPUD->ud) || buffer.GetIndex() >= buffer.GetSize()) { in Decode8bitPduPartData() 243 uint8_t remain = buffer.GetSize() - buffer.GetIndex(); in Decode8bitPduPartData() 272 if (udl > UCS2_USER_DATA_LEN || (udl + buffer.GetIndex() - 1) > buffer.GetSize()) { in DecodeUcs2Pdu() 285 if (udl > sizeof(pTPUD->ud) || (buffer.GetIndex() + udl) > buffer.GetSize()) { in DecodeUcs2Pdu() 335 if (buffer.GetIndex() >= buffer.GetSize()) { in DecodeUcs2PduPartData() 339 uint8_t remain = buffer.GetSize() in DecodeUcs2PduPartData() [all...] |
H A D | gsm_sms_tpdu_encode.cpp | 60 if (buffer.data_ == nullptr || (buffer.GetIndex() + position) > buffer.GetSize()) { in EncodeSubmitPdu() 82 if (buffer.data_ == nullptr || (buffer.GetIndex() + HEX_VALUE_01) > buffer.GetSize()) { in EncodeSubmitPduPartData() 86 uint16_t bufferLen = buffer.GetSize() - buffer.GetIndex() - HEX_VALUE_01; in EncodeSubmitPduPartData() 98 if (buffer.data_ == nullptr || (buffer.GetIndex() + position) > buffer.GetSize()) { in EncodeSubmitPduPartData() 296 if (buffer.data_ == nullptr || (buffer.GetIndex() + length) > buffer.GetSize()) { in EncodeDeliverPartData() 322 if (buffer.data_ == nullptr || (buffer.GetIndex() + HEX_VALUE_01) > buffer.GetSize()) { in EncodeDeliverData() 326 uint16_t bufferLen = buffer.GetSize() - buffer.GetIndex() - HEX_VALUE_01; in EncodeDeliverData() 337 if (buffer.data_ == nullptr || (buffer.GetIndex() + length) > buffer.GetSize()) { in EncodeDeliverData() 412 if (buffer.data_ == nullptr || (buffer.GetIndex() + HEX_VALUE_01) > buffer.GetSize()) { in EncodeDeliverReportPartData() 416 uint16_t bufferLen = buffer.GetSize() in EncodeDeliverReportPartData() [all...] |
/base/security/code_signature/services/key_enable/utils/src/ |
H A D | key_enable_adapter.cpp | 32 if (memcpy_s(certData, *certSize, cert.GetBuffer(), cert.GetSize()) != EOK) { in InitLocalCertificate() 35 *certSize = cert.GetSize(); in InitLocalCertificate()
|
/base/security/code_signature/services/local_code_sign/src/ |
H A D | local_code_sign_stub.cpp | 85 if (!reply.WriteUint32(cert.GetSize())) {
in InitLocalCertificateInner() 88 if (!reply.WriteBuffer(cert.GetBuffer(), cert.GetSize())) {
in InitLocalCertificateInner() 115 if (!reply.WriteUint32(signature.GetSize())) {
in SignLocalCodeInner() 118 if (!reply.WriteBuffer(signature.GetBuffer(), signature.GetSize())) {
in SignLocalCodeInner()
|
H A D | local_sign_key.cpp | 88 uint32_t len = challenge.GetSize();
in SetChallenge() 212 .size = challenge_->GetSize(),
in GetAttestParamSet() 247 if (data.GetSize() > MAX_SIGN_SIZE) {
in Sign() 252 .size = data.GetSize(),
in Sign()
|
/base/security/code_signature/utils/src/ |
H A D | signer_info.cpp | 103 if (!unsignedData_->CopyFrom(contentData.GetBuffer(), contentData.GetSize())) {
in AddAttrsToSignerInfo() 128 if (!PKCS7_add1_attrib_digest(p7info_, digest.GetBuffer(), digest.GetSize())) {
in AddAttrsToSignerInfo() 154 len = unsignedData_->GetSize();
in GetDataToSign() 164 uint32_t signatureSize = signature.GetSize();
in AddSignatureInSignerInfo() 191 if (!EVP_DigestUpdate(mCtx, data.GetBuffer(), data.GetSize())) {
in ComputeDigest() 246 BIO *bio = BIO_new_mem_buf(sigbuffer.GetBuffer(), sigbuffer.GetSize());
in ParseOwnerIdFromSignature()
|
/base/powermgr/display_manager/brightness_manager/src/ |
H A D | light_lux_manager.cpp | 71 if (mLuxBuffer.GetSize() == 1) {
in IsUpdateLuxSuccess() 76 if (mLuxBuffer.GetSize() < LIGHT_LUX_BUFFER_MIN) {
in IsUpdateLuxSuccess() 94 auto size = mLuxBuffer.GetSize();
in CalcSmoothLux() 122 auto size = mLuxBufferFilter.GetSize();
in GetNextBrightenTime() 141 auto size = mLuxBufferFilter.GetSize();
in GetNextDarkenTime() 326 mBrightenDelta, mDarkenDelta, mLuxBufferFilter.GetSize());
in PrintCurrentLuxLog()
|
/base/security/code_signature/interfaces/innerkits/common/include/ |
H A D | byte_buffer.h | 43 CopyFrom(other.GetBuffer(), other.GetSize());
in ByteBuffer() 92 uint32_t GetSize() const
in GetSize() function in OHOS::Security::CodeSign::ByteBuffer
|
/base/security/code_signature/interfaces/innerkits/local_code_sign/src/ |
H A D | local_code_sign_proxy.cpp | 38 if (!data.WriteUint32(challenge.GetSize())) {
in InitLocalCertificate() 41 if (!data.WriteBuffer(challenge.GetBuffer(), challenge.GetSize())) {
in InitLocalCertificate()
|
/base/security/security_guard/test/unittest/mock/rdb/ |
H A D | result_set.h | 34 virtual int GetSize(int columnIndex, size_t &size) = 0; 55 MOCK_METHOD2(GetSize, int(int columnIndex, size_t &size));
|
/base/telephony/sms_mms/test/gtest/ |
H A D | zero_branch_sms_part_test.cpp | 966 uint16_t count = encodeBuffer->GetSize(); in HWTEST_F() 968 EXPECT_EQ(encodeBuffer->GetSize(), count); in HWTEST_F() 975 uint16_t count2 = encodeBuffer2->GetSize(); in HWTEST_F() 977 EXPECT_EQ(encodeBuffer2->GetSize(), count2); in HWTEST_F() 1000 uint16_t count1 = encodeBuffer->GetSize(); in HWTEST_F() 1002 EXPECT_EQ(encodeBuffer->GetSize(), count1); in HWTEST_F() 1007 uint16_t count2 = encodeBuffer2->GetSize(); in HWTEST_F() 1009 EXPECT_EQ(encodeBuffer2->GetSize(), count2); in HWTEST_F() 1016 uint16_t count3 = encodeBuffer3->GetSize(); in HWTEST_F() 1018 EXPECT_EQ(encodeBuffer3->GetSize(), count in HWTEST_F() [all...] |
/base/web/webview/ohos_adapter/media_adapter/include/ |
H A D | buffer_info_adapter_impl.h | 29 int32_t GetSize() override;
|