Home
last modified time | relevance | path

Searched refs:alloc (Results 1 - 25 of 72) sorted by relevance

123

/foundation/arkui/ui_lite/frameworks/render/
H A Drender_scanline.cpp54 RenderBase& renBase, FillBase& alloc, SpanBase& spanGen) in RenderScanlinesAntiAlias()
61 alloc.Resize(raster.GetMaxX()-raster.GetMinX()); in RenderScanlinesAntiAlias()
75 spanGen.Generate(alloc.GetSpanPtr(), x, y, len); in RenderScanlinesAntiAlias()
76 renBase.BlendColorHSpan(x, y, len, alloc.GetSpanPtr(), in RenderScanlinesAntiAlias()
89 RenderBase& renBase, FillBase& alloc, SpanBase& spanGen1, SpanBase& spanGen2) in BlendScanLine()
93 BlendSourceOver(raster2, raster1, sl2, sl1, renBase, alloc, spanGen2, spanGen1); in BlendScanLine()
96 BlendSourceAtop(raster1, raster2, sl1, sl2, renBase, alloc, spanGen1, spanGen2); in BlendScanLine()
99 BlendSourceIn(raster1, raster2, sl1, sl2, renBase, alloc, spanGen1); in BlendScanLine()
102 BlendSourceOut(raster1, raster2, sl1, sl2, renBase, alloc, spanGen1); in BlendScanLine()
105 BlendSourceOver(raster1, raster2, sl1, sl2, renBase, alloc, spanGen in BlendScanLine()
53 RenderScanlinesAntiAlias(RasterizerScanlineAntialias& raster, GeometryScanline& scanline, RenderBase& renBase, FillBase& alloc, SpanBase& spanGen) RenderScanlinesAntiAlias() argument
87 BlendScanLine(GlobalCompositeOperation op, RasterizerScanlineAntialias& raster1, RasterizerScanlineAntialias& raster2, GeometryScanline& sl1, GeometryScanline& sl2, RenderBase& renBase, FillBase& alloc, SpanBase& spanGen1, SpanBase& spanGen2) BlendScanLine() argument
130 BlendSourceAtop(RasterizerScanlineAntialias& raster1, RasterizerScanlineAntialias& raster2, GeometryScanline& scanline1, GeometryScanline& scanline2, RenderBase& renBase, FillBase& alloc, SpanBase& spanGen1, SpanBase& spanGen2) BlendSourceAtop() argument
223 BlendSourceIn(RasterizerScanlineAntialias& raster1, RasterizerScanlineAntialias& raster2, GeometryScanline& scanline1, GeometryScanline& scanline2, RenderBase& renBase, FillBase& alloc, SpanBase& spanGen1) BlendSourceIn() argument
247 BlendSourceOut(RasterizerScanlineAntialias& raster1, RasterizerScanlineAntialias& raster2, GeometryScanline& scanline1, GeometryScanline& scanline2, RenderBase& renBase, FillBase& alloc, SpanBase& spanGen1) BlendSourceOut() argument
333 BlendSourceOutWhile(int32_t y1, GeometryScanline& scanline1, RenderBase& renBase, FillBase& alloc, SpanBase& spanGen1) BlendSourceOutWhile() argument
353 BlendSourceOutDrawResetRaster(RasterizerScanlineAntialias& raster1, GeometryScanline& scanline1, RenderBase& renBase, FillBase& alloc, SpanBase& spanGen1) BlendSourceOutDrawResetRaster() argument
376 BlendSourceOver(RasterizerScanlineAntialias &raster1, RasterizerScanlineAntialias &raster2, GeometryScanline &scanline1, GeometryScanline &scanline2, RenderBase &renBase, FillBase &alloc, SpanBase&&spanGen1, SpanBase &spanGen2) BlendSourceOver() argument
389 BlendXOR(RasterizerScanlineAntialias& raster1, RasterizerScanlineAntialias& raster2, GeometryScanline& scanline1, GeometryScanline& scanline2, RenderBase& renBase, FillBase& alloc, SpanBase& spanGen1, SpanBase& spanGen2) BlendXOR() argument
497 BlendXORDrawResetRaster(RasterizerScanlineAntialias& raster1, GeometryScanline& scanline1, RenderBase& renBase, FillBase& alloc, SpanBase& spanGen1) BlendXORDrawResetRaster() argument
519 BlendXORColorHspan(int32_t& y1, RasterizerScanlineAntialias& raster1, RasterizerScanlineAntialias& raster2, GeometryScanline& scanline1, RenderBase& renBase, FillBase& alloc, SpanBase& spanGen1) BlendXORColorHspan() argument
547 BlendLIGHTER(RasterizerScanlineAntialias& raster1, RasterizerScanlineAntialias& raster2, GeometryScanline& scanline1, GeometryScanline& scanline2, RenderBase& renBase, FillBase& alloc, SpanBase& spanGen1, SpanBase& spanGen2) BlendLIGHTER() argument
556 BlendSourceInLoop(RasterizerScanlineAntialias& raster1, GeometryScanline& scanline1, GeometryScanline& scanline2, SpanBase& spanGen1, RenderBase& renBase, FillBase& alloc, int32_t& y1) BlendSourceInLoop() argument
619 BlendSourceOver(RasterizerScanlineAntialias& raster1, RasterizerScanlineAntialias& raster2, GeometryScanline& scanline1, GeometryScanline& scanline2, RenderBase& renBase, FillBase& alloc, SpanBase& spanGen1, SpanBase& spanGen2) BlendSourceOver() argument
[all...]
H A Drender_scanline.h60 * @param alloc distributor
64 RenderBase& renBase, FillBase& alloc, SpanBase& spanGen);
68 RenderBase& renBase, FillBase& alloc, SpanBase& spanGen1, SpanBase& spanGen2);
84 FillBase& alloc, SpanBase& spanGen1, SpanBase& spanGen2);
89 FillBase& alloc, SpanBase& spanGen1);
92 SpanBase& spanGen1, RenderBase& renBase, FillBase& alloc, int32_t& y1);
96 RenderBase& renBase, FillBase& alloc, SpanBase& spanGen1);
99 FillBase& alloc, SpanBase& spanGen1);
102 RenderBase& renBase, FillBase& alloc, SpanBase& spanGen1);
106 RenderBase& renBase, FillBase& alloc, SpanBas
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/gap/
H A Dgap_le_if.c243 GapLeSetRoleInfo *ctx = MEM_MALLOC.alloc(sizeof(GapLeSetRoleInfo)); in GAPIF_LeSetRole()
270 GapGeneralPointerInfo *ctx = MEM_MALLOC.alloc(sizeof(GapGeneralPointerInfo)); in GAPIF_LeSetStaticIdentityAddr()
297 GapGeneralCallbackInfo *ctx = MEM_MALLOC.alloc(sizeof(GapGeneralCallbackInfo)); in GAPIF_LeGenResPriAddr()
325 GapGeneralPointerInfo *ctx = MEM_MALLOC.alloc(sizeof(GapGeneralPointerInfo)); in GAPIF_LeExAdvGetMaxDataLen()
352 GapGeneralPointerInfo *ctx = MEM_MALLOC.alloc(sizeof(GapGeneralPointerInfo)); in GAPIF_LeExAdvGetMaxHandleNum()
379 GapGeneralCallbackInfo *ctx = MEM_MALLOC.alloc(sizeof(GapGeneralCallbackInfo)); in GAPIF_RegisterExAdvCallback()
407 GapGeneralVoidInfo *ctx = MEM_MALLOC.alloc(sizeof(GapGeneralVoidInfo)); in GAPIF_DeregisterExAdvCallback()
432 GapLeExAdvSetRandAddrInfo *ctx = MEM_MALLOC.alloc(sizeof(GapLeExAdvSetRandAddrInfo)); in GAPIF_LeExAdvSetRandAddr()
460 GapLeExAdvSetParamInfo *ctx = MEM_MALLOC.alloc(sizeof(GapLeExAdvSetParamInfo)); in GAPIF_LeExAdvSetParam()
492 GapLeExAdvSetDataInfo *ctx = MEM_MALLOC.alloc(sizeo in GAPIF_LeExAdvSetData()
[all...]
H A Dgap_if.c182 GapSetLocalNameInfo *ctx = MEM_MALLOC.alloc(sizeof(GapSetLocalNameInfo)); in GAPIF_SetLocalName()
210 GapSetClassOfDeviceInfo *ctx = MEM_MALLOC.alloc(sizeof(GapSetClassOfDeviceInfo)); in GAPIF_SetClassOfDevice()
237 GapSetExtendedInquiryResponseInfo *ctx = MEM_MALLOC.alloc(sizeof(GapSetExtendedInquiryResponseInfo)); in GAPIF_SetExtendedInquiryResponse()
265 GapSetScanModeInfo *ctx = MEM_MALLOC.alloc(sizeof(GapSetScanModeInfo)); in GAPIF_SetScanMode()
295 GapSetBondableModeInfo *ctx = MEM_MALLOC.alloc(sizeof(GapSetBondableModeInfo)); in GAPIF_SetBondableMode()
328 GapRegisterServiceSecurityInfo *ctx = MEM_MALLOC.alloc(sizeof(GapRegisterServiceSecurityInfo)); in GAPIF_RegisterServiceSecurity()
365 GapRegisterServiceSecurityInfo *ctx = MEM_MALLOC.alloc(sizeof(GapRegisterServiceSecurityInfo)); in GAPIF_RegisterServiceSecurityAsync()
372 ctx->addr = MEM_MALLOC.alloc(sizeof(BtAddr)); in GAPIF_RegisterServiceSecurityAsync()
408 GapDeregisterServiceSecurityInfo *ctx = MEM_MALLOC.alloc(sizeof(GapDeregisterServiceSecurityInfo)); in GAPIF_DeregisterServiceSecurity()
442 GapDeregisterServiceSecurityInfo *ctx = MEM_MALLOC.alloc(sizeo in GAPIF_DeregisterServiceSecurityAsync()
[all...]
H A Dgap_sm_receive.c115 value = MEM_MALLOC.alloc(valueLength); in GapAllocLeAuthenticationRequestValue()
126 GapLeAuthenticationRequestParam *smParam = MEM_MALLOC.alloc(sizeof(GapLeAuthenticationRequestParam)); in GapRecvLeAuthenticationRequest()
168 GapLePairResultParam *smParam = MEM_MALLOC.alloc(sizeof(GapLePairResultParam)); in GapRecvLePairResult()
199 GapLeRemotePairRequestParam *smParam = MEM_MALLOC.alloc(sizeof(GapLeRemotePairRequestParam)); in GapRecvLeRemotePairRequest()
229 GapLeRemotePairResponseParam *smParam = MEM_MALLOC.alloc(sizeof(GapLeRemotePairResponseParam)); in GapRecvLeRemotePairResponse()
253 GapLeRemoteSecurityRequestParam *smParam = MEM_MALLOC.alloc(sizeof(GapLeRemoteSecurityRequestParam)); in GapRecvLeRemoteSecurityRequest()
277 GapLeLongTermKeyRequestParam *smParam = MEM_MALLOC.alloc(sizeof(GapLeLongTermKeyRequestParam)); in GapRecvLeLongTermKeyRequest()
309 GapLeGenerateSignatureResultParam *smParam = MEM_MALLOC.alloc(sizeof(GapLeGenerateSignatureResultParam)); in GapRecvLeGenerateSignatureResult()
317 smParam->sign = MEM_MALLOC.alloc(GAP_SIGNATURE_SIZE); in GapRecvLeGenerateSignatureResult()
351 GapGenerateRPAResultParam *smParam = MEM_MALLOC.alloc(sizeo in GapRecvGenerateRPAResult()
[all...]
H A Dgap_btm_receive.c70 GapAclConnectionCompleteParam *btmParam = MEM_MALLOC.alloc(sizeof(GapAclConnectionCompleteParam)); in GapRecvAclConnectionComplete()
100 GapAclDisconnectionCompleteParam *btmParam = MEM_MALLOC.alloc(sizeof(GapAclDisconnectionCompleteParam)); in GapRecvAclDisconnectionComplete()
151 GapLeConnectionCompleteParam *btmParam = MEM_MALLOC.alloc(sizeof(GapLeConnectionCompleteParam)); in GapRecvLeConnectionComplete()
179 GapLeDisconnectionCompleteParam *btmParam = MEM_MALLOC.alloc(sizeof(GapLeDisconnectionCompleteParam)); in GapRecvLeDisconnectionComplete()
227 GapRemoteDeviceSupportCallbackParam *supportParam = MEM_MALLOC.alloc(sizeof(GapRemoteDeviceSupportCallbackParam)); in GapRecvRemoteDeviceSupportHostSecureSimplePairingCallback()
H A Dgap_task_common.c54 GapRunTaskBlockInfo *info = MEM_MALLOC.alloc(sizeof(GapRunTaskBlockInfo)); in GapRunTaskBlockProcess()
82 GapRunTaskUnBlockInfo *info = MEM_MALLOC.alloc(sizeof(GapRunTaskUnBlockInfo)); in GapRunTaskUnBlockProcess()
H A Dgap_l2cap_receive.c48 MEM_MALLOC.alloc(sizeof(GapReceiveL2capParameterUpdateReqParam)); in GapRecvL2capParameterUpdateReq()
75 MEM_MALLOC.alloc(sizeof(GapReceiveL2capParameterUpdateRspParam)); in GapRecvL2capParameterUpdateRsp()
H A Dgap_le_scan.c326 AdvReportRPAResolveInfo *info = MEM_MALLOC.alloc(sizeof(AdvReportRPAResolveInfo)); in GapLeAllocAdvReportRPAResolveInfo()
331 advData = MEM_MALLOC.alloc(((const HciLeAdvertisingReport *)advReport)->lengthData); in GapLeAllocAdvReportRPAResolveInfo()
338 report = MEM_MALLOC.alloc(sizeof(HciLeAdvertisingReport)); in GapLeAllocAdvReportRPAResolveInfo()
344 advData = MEM_MALLOC.alloc(((const HciLeExtendedAdvertisingReport *)advReport)->dataLength); in GapLeAllocAdvReportRPAResolveInfo()
351 report = MEM_MALLOC.alloc(sizeof(HciLeExtendedAdvertisingReport)); in GapLeAllocAdvReportRPAResolveInfo()
358 report = MEM_MALLOC.alloc(sizeof(HciLeDirectedAdvertisingReport)); in GapLeAllocAdvReportRPAResolveInfo()
617 hciCmdParam.sets = MEM_MALLOC.alloc(EXTENDED_SCAN_PHY_MAX_NUM * sizeof(HciLeExtendedScanParametersSet)); in GapLeSetExtendedScanParameters()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_texture_info.cpp38 GrVkAlloc alloc; in ConvertToGrBackendVKTexture() local
39 alloc.fMemory = vkInfo->vkAlloc.memory; in ConvertToGrBackendVKTexture()
40 alloc.fOffset = vkInfo->vkAlloc.offset; in ConvertToGrBackendVKTexture()
41 alloc.fSize = vkInfo->vkAlloc.size; in ConvertToGrBackendVKTexture()
42 alloc.fFlags = vkInfo->vkAlloc.flags; in ConvertToGrBackendVKTexture()
43 imageInfo.fAlloc = alloc; in ConvertToGrBackendVKTexture()
/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/src/
H A Dallocator.c27 .alloc = AllocatorMalloc,
31 .alloc = AllocatorCalloc,
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/sdp/
H A Dsdp.c228 SdpInitializeInfo *ctx = MEM_MALLOC.alloc(sizeof(SdpInitializeInfo)); in SdpStartup()
312 SdpServiceRecordHandle *ctx = MEM_MALLOC.alloc(sizeof(SdpServiceRecordHandle)); in SDP_CreateServiceRecord()
355 SdpServiceRecord *ctx = MEM_MALLOC.alloc(sizeof(SdpServiceRecord)); in SDP_DestroyServiceRecord()
397 SdpServiceRecord *ctx = MEM_MALLOC.alloc(sizeof(SdpServiceRecord)); in SDP_RegisterServiceRecord()
437 SdpServiceRecord *ctx = MEM_MALLOC.alloc(sizeof(SdpServiceRecord)); in SDP_DeregisterServiceRecord()
479 SdpServiceClassID *ctx = MEM_MALLOC.alloc(sizeof(SdpServiceClassID)); in SDP_AddServiceClassIdList()
521 SdpServiceRecordState *ctx = MEM_MALLOC.alloc(sizeof(SdpServiceRecordState)); in SDP_AddServiceRecordState()
562 SdpServiceId *ctx = MEM_MALLOC.alloc(sizeof(SdpServiceId)); in SDP_AddServiceId()
603 SdpProtocolDescriptorList *ctx = MEM_MALLOC.alloc(sizeof(SdpProtocolDescriptorList)); in SDP_AddProtocolDescriptorList()
646 SdpAdditionalProtocolDescriptorList *ctx = MEM_MALLOC.alloc(sizeo in SDP_AddAdditionalProtocolDescriptorList()
[all...]
H A Dsdp_client_parse.c390 buffer = MEM_MALLOC.alloc(length); in SdpParseServiceRecordHandleList()
429 service->attribute = MEM_MALLOC.alloc(sizeof(SdpAttribute) * SDP_ATTRIBUTE_COUNT); in SdpParseSingleAttributeList()
438 service->sequenceAttribute = MEM_MALLOC.alloc(sizeof(SdpSequenceAttribute) * SDP_SEQUENCE_ATTRIBUTE_COUNT); in SdpParseSingleAttributeList()
516 buffer = MEM_MALLOC.alloc(length); in SdpParseAttributeList()
569 uint8_t *buffer = MEM_MALLOC.alloc(totalLength); in SdpParseAttributeListArray()
704 uint32_t *handleArray = (uint32_t *)MEM_MALLOC.alloc(SDP_UINT32_LENGTH * totalServiceRecordCount); in SdpParseSearchResponse()
942 service->classId = MEM_MALLOC.alloc(sizeof(BtUuid) * SDP_MAX_UUID_COUNT); in SdpGetServiceClassIdList()
1082 service->descriptor = MEM_MALLOC.alloc(sizeof(SdpProtocolDescriptor) * SDP_PROTOCOL_DESCRIPTOR_MAX); in SdpGetProtocolDescriptorList()
1117 MEM_MALLOC.alloc(sizeof(SdpAdditionalProtocolDescriptor) * SDP_PROTOCOL_DESCRIPTOR_LIST_MAX); in SdpGetAdditionalProtocolDescriptorList()
1167 service->browseUuid = MEM_MALLOC.alloc(sizeo in SdpGetBrowseGroupList()
[all...]
H A Dsdp_client.c191 request = MEM_MALLOC.alloc(sizeof(SdpClientRequest)); in SdpServiceSearch()
193 buffer = MEM_MALLOC.alloc(uuidArray->uuidNum * SDP_UUID_ATTRIBUTE_LENGTH + SDP_SEARCH_LENGTH); in SdpServiceSearch()
234 request = MEM_MALLOC.alloc(sizeof(SdpClientRequest)); in SdpServiceAttribute()
237 buffer = MEM_MALLOC.alloc(sizeof(SdpAttributeIdList) + SDP_ATTRIBUTE_LENGTH); in SdpServiceAttribute()
280 request = MEM_MALLOC.alloc(sizeof(SdpClientRequest)); in SdpServiceSearchAttribute()
282 buffer = MEM_MALLOC.alloc( in SdpServiceSearchAttribute()
324 request = MEM_MALLOC.alloc(sizeof(SdpClientRequest)); in SdpServiceBrowse()
327 buffer = MEM_MALLOC.alloc(SDP_BROWSE_LENGTH); in SdpServiceBrowse()
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/att/
H A Datt_connect.c319 DisconnectRespCallbackContext *disConnectRspPtr = MEM_MALLOC.alloc(sizeof(DisconnectRespCallbackContext)); in DisconnectRespCallback()
569 GAPSecCallbackContext *gapSecCallbackPtr = MEM_MALLOC.alloc(sizeof(GAPSecCallbackContext)); in GAPSecCallback()
703 ConnectTimeOutContext *attBredrTimeOutPtr = MEM_MALLOC.alloc(sizeof(ConnectTimeOutContext)); in AttBredrConnectTimeOut()
910 btaddr = MEM_MALLOC.alloc(sizeof(BtAddr)); in L2cifLeConnectCallBack()
918 connectCallContextPtr = MEM_MALLOC.alloc(sizeof(ConnectCallBackContext)); in L2cifLeConnectCallBack()
1017 btaddr = MEM_MALLOC.alloc(sizeof(BtAddr)); in L2cifConnectReqCallback()
1025 connectReqContextPtr = MEM_MALLOC.alloc(sizeof(ConnectReqCallbackContext)); in L2cifConnectReqCallback()
1168 AttConnect *connectAsyncPtr = MEM_MALLOC.alloc(sizeof(AttConnect)); in ATT_ConnectReq()
1169 BtAddr *btAddrAsyncPtr = MEM_MALLOC.alloc(sizeof(BtAddr)); in ATT_ConnectReq()
1170 uint16_t *bredrConnectHandleAsyncPtr = MEM_MALLOC.alloc(sizeo in ATT_ConnectReq()
[all...]
H A Datt_send_response.c198 attErrorAsyncPtr = MEM_MALLOC.alloc(sizeof(AttError)); in ATT_ErrorResponse()
207 errorResAsyncPtr = MEM_MALLOC.alloc(sizeof(ErrorResponseAsync)); in ATT_ErrorResponse()
290 ExchangeMTUAsync *exchangeMtuResPtr = MEM_MALLOC.alloc(sizeof(ExchangeMTUAsync)); in ATT_ExchangeMTUResponse()
444 AttHandleUuid *attHandleUuidPtr = MEM_MALLOC.alloc(sizeof(AttHandleUuid) * pairNum); in ATT_FindInformationResponse()
461 FindInformationResponseAsync *findInfor = MEM_MALLOC.alloc(sizeof(FindInformationResponseAsync)); in ATT_FindInformationResponse()
556 AttHandleInfo *attHandleInfoPtr = MEM_MALLOC.alloc(sizeof(AttHandleInfo) * listNum); in ATT_FindByTypeValueResponse()
562 FindByTypeValueResponseAsync *findByTypeResAsyncPtr = MEM_MALLOC.alloc(sizeof(FindByTypeValueResponseAsync)); in ATT_FindByTypeValueResponse()
692 AttReadByTypeRspDataList *attReadByTypeDataPtr = MEM_MALLOC.alloc(sizeof(AttReadByTypeRspDataList) * attrValueNum); in ATT_ReadByTypeResponse()
700 attReadByTypeDataPtr[index].attributeValue = MEM_MALLOC.alloc(length - STEP_TWO); in ATT_ReadByTypeResponse()
712 ReadByTypeResponseAsync *readByTypeResAsyncPtr = MEM_MALLOC.alloc(sizeo in ATT_ReadByTypeResponse()
[all...]
H A Datt_send_request.c156 signatureResultPtr = MEM_MALLOC.alloc(GAPSIGNATURESIZE); in AttGapSignatureGenerationResult()
165 attGapSignaturePtr = MEM_MALLOC.alloc(sizeof(AttGapSignatureGenerationContext)); in AttGapSignatureGenerationResult()
255 ExchangeMTUAsync *exchangeMtuReqPtr = MEM_MALLOC.alloc(sizeof(ExchangeMTUAsync)); in ATT_ExchangeMTURequest()
346 FindInformationRequestAsync *findInformReqPtr = MEM_MALLOC.alloc(sizeof(FindInformationRequestAsync)); in ATT_FindInformationRequest()
443 AttFindByTypeValueReq *attFindByTypePtr = MEM_MALLOC.alloc(sizeof(AttFindByTypeValueReq)); in ATT_FindByTypeValueRequest()
453 FindByTypeValueRequestAsync *findByTypeAsyncPtr = MEM_MALLOC.alloc(sizeof(FindByTypeValueRequestAsync)); in ATT_FindByTypeValueRequest()
561 BtUuid *attReadUuidPtr = MEM_MALLOC.alloc(sizeof(BtUuid)); in ATT_ReadByTypeRequest()
574 ReadByTypeRequestAsync *attReadByTypeReqAsyncPtr = MEM_MALLOC.alloc(sizeof(ReadByTypeRequestAsync)); in ATT_ReadByTypeRequest()
657 ReadRequestAsync *readReqAsyncPtr = MEM_MALLOC.alloc(sizeof(ReadRequestAsync)); in ATT_ReadRequest()
744 ReadBlobRequestAsync *readBlobReqAsyncPtr = MEM_MALLOC.alloc(sizeo in ATT_ReadBlobRequest()
[all...]
/foundation/resourceschedule/ffrt/src/tm/
H A Dtask_factory.h55 static void RegistCb(TaskAllocCB<CPUEUTask>::Alloc &&alloc, TaskAllocCB<CPUEUTask>::Free &&free, in RegistCb() argument
60 Instance().alloc_ = std::move(alloc); in RegistCb()
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/
H A Dstring.h70 explicit basic_string(allocator& alloc) noexcept : allocator_(alloc) in allocator_()
79 basic_string(const basic_string& str, allocator& alloc) : allocator_(alloc) in basic_string() argument
85 if (auto ptr = allocator_.alloc(len + 1); ptr) { in basic_string()
110 basic_string(const_pointer const str, allocator& alloc) : basic_string(str, constexpr_strlen(str), alloc) {} in basic_string() argument
114 basic_string(const_pointer const str, size_type count, allocator& alloc) : allocator_(alloc) in basic_string() argument
121 basic_string(size_type count, const value_type a, allocator& alloc) argument
133 basic_string(const StringT& a, allocator& alloc) basic_string() argument
148 basic_string(const StringT& a, size_type pos, size_type n, allocator& alloc) basic_string() argument
931 inline pointer alloc(size_type size) alloc() function in basic_string::Wrapper
[all...]
H A Dvector.h152 void setAllocator(allocator& alloc) in setAllocator() argument
155 if (&alloc != &allocator_.get()) { in setAllocator()
159 allocator_ = alloc; in setAllocator()
162 vector<T> temp(*this, alloc); in setAllocator()
179 explicit vector(allocator& alloc) noexcept : allocator_(alloc) {} in allocator_()
202 vector(const vector& other, allocator& alloc) : allocator_(alloc) in vector() argument
468 pointer tmp = (pointer)allocator_.alloc(size_ * sizeof(value_type)); in shrink_to_fit()
1146 tmp = (pointer)allocator_.alloc(coun in setup_storage()
1247 inline void* alloc(size_type size) alloc() function in vector::Wrapper
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/smp/
H A Dsmp_send.c203 encCmd->M = MEM_MALLOC.alloc(encCmd->length); in SMP_SendLeEncryptCmd()
231 SMP_SendL2capDataCbTask_t *ctx = MEM_MALLOC.alloc(sizeof(SMP_SendL2capDataCbTask_t)); in SMP_SendDataCallback()
264 SMP_SendL2capDataCbTask_t *ctx = MEM_MALLOC.alloc(sizeof(SMP_SendL2capDataCbTask_t)); in SMP_SendPairingResponseCallback()
316 SMP_SendL2capDataCbTask_t *ctx = MEM_MALLOC.alloc(sizeof(SMP_SendL2capDataCbTask_t)); in SMP_SendEncryptionInformationCallback()
342 SMP_SendL2capDataCbTask_t *ctx = MEM_MALLOC.alloc(sizeof(SMP_SendL2capDataCbTask_t)); in SMP_SendMasterIdentificationCallback()
368 SMP_SendL2capDataCbTask_t *ctx = MEM_MALLOC.alloc(sizeof(SMP_SendL2capDataCbTask_t)); in SMP_SendIdentityInformationCallback()
394 SMP_SendL2capDataCbTask_t *ctx = MEM_MALLOC.alloc(sizeof(SMP_SendL2capDataCbTask_t)); in SMP_SendIdentityAddressInformationCallback()
420 SMP_SendL2capDataCbTask_t *ctx = MEM_MALLOC.alloc(sizeof(SMP_SendL2capDataCbTask_t)); in SMP_SendSigningInformationCallback()
463 SMP_EncCmd *pEncCmd = MEM_MALLOC.alloc(sizeof(SMP_EncCmd)); in SMP_AllocEncCmd()
477 SMP_EncTimeoutParam *ctx = MEM_MALLOC.alloc(sizeo in SMP_EncCmdTimeout()
[all...]
/foundation/multimedia/av_codec/test/unittest/avmuxer_test/inner/
H A Davmuxer_inner_mock.cpp61 auto alloc = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE); in WriteSample() local
62 std::shared_ptr<AVBuffer> avSample = AVBuffer::CreateAVBuffer(alloc, info.size); in WriteSample()
/foundation/resourceschedule/ffrt/src/sched/
H A Dtask_scheduler.h118 static void RegistCb(const AllocCB &alloc, const RecycleCB &recycle) in RegistCb() argument
120 Instance().alloc_ = alloc; in RegistCb()
/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/include/
H A Dallocator.h27 void *(*alloc)(size_t size); member
/foundation/multimedia/av_codec/test/moduletest/muxer/InnerAPI/
H A DInnerAVMuxerFuzzTest.cpp208 auto alloc = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE); in HWTEST_F() local
209 std::shared_ptr<AVBuffer> avMemBuffer = AVBuffer::CreateAVBuffer(alloc, dataLen); in HWTEST_F()
319 auto alloc = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE); in HWTEST_F() local
320 std::shared_ptr<AVBuffer> avMemBuffer = AVBuffer::CreateAVBuffer(alloc, size); in HWTEST_F()

Completed in 23 milliseconds

123