/ohos5.0/foundation/arkui/ui_lite/frameworks/render/ |
H A D | render_scanline.cpp | 61 alloc.Resize(raster.GetMaxX()-raster.GetMinX()); in RenderScanlinesAntiAlias() 75 spanGen.Generate(alloc.GetSpanPtr(), x, y, len); in RenderScanlinesAntiAlias() 141 alloc.Resize(allocMaxX - allocMinx); in BlendSourceAtop() 225 FillBase& alloc, SpanBase& spanGen1) in BlendSourceIn() argument 236 alloc.Resize(allocMaxX-allocMinx); in BlendSourceIn() 258 alloc.Resize(allocMaxX-allocMinx); in BlendSourceOut() 334 FillBase& alloc, SpanBase& spanGen1) in BlendSourceOutWhile() argument 343 alloc.GetSpanPtr(), in BlendSourceOutWhile() 365 alloc.GetSpanPtr(), in BlendSourceOutDrawResetRaster() 381 FillBase &alloc, in BlendSourceOver() argument [all …]
|
H A D | render_scanline.h | 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); 111 RenderBase& renBase, FillBase& alloc, SpanBase& spanGen1, SpanBase& spanGen2); 114 RenderBase& renBase, FillBase& alloc, SpanBase& spanGen1); [all …]
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/gap/ |
H A D | gap_le_if.c | 243 GapLeSetRoleInfo *ctx = MEM_MALLOC.alloc(sizeof(GapLeSetRoleInfo)); in GAPIF_LeSetRole() 407 GapGeneralVoidInfo *ctx = MEM_MALLOC.alloc(sizeof(GapGeneralVoidInfo)); in GAPIF_DeregisterExAdvCallback() 585 GapGeneralVoidInfo *ctx = MEM_MALLOC.alloc(sizeof(GapGeneralVoidInfo)); in GAPIF_LeExAdvClearHandle() 638 GapGeneralVoidInfo *ctx = MEM_MALLOC.alloc(sizeof(GapGeneralVoidInfo)); in GAPIF_DeregisterAdvCallback() 691 GapGeneralVoidInfo *ctx = MEM_MALLOC.alloc(sizeof(GapGeneralVoidInfo)); in GAPIF_LeAdvReadTxPower() 827 GapGeneralVoidInfo *ctx = MEM_MALLOC.alloc(sizeof(GapGeneralVoidInfo)); in GAPIF_DeregisterScanCallback() 936 GapGeneralVoidInfo *ctx = MEM_MALLOC.alloc(sizeof(GapGeneralVoidInfo)); in GAPIF_DeregisterExScanCallback() 1048 GapGeneralVoidInfo *ctx = MEM_MALLOC.alloc(sizeof(GapGeneralVoidInfo)); in GAPIF_DeregisterLeConnCallback() 1158 GapGeneralVoidInfo *ctx = MEM_MALLOC.alloc(sizeof(GapGeneralVoidInfo)); in GAPIF_DeregisterLeSecurityCallback() 1694 uint8_t *data = MEM_MALLOC.alloc(ctx->dataInfo.dataLen); in GAPIF_LeDataSignatureGenerationAsync() [all …]
|
H A D | gap_if.c | 182 GapSetLocalNameInfo *ctx = MEM_MALLOC.alloc(sizeof(GapSetLocalNameInfo)); in GAPIF_SetLocalName() 265 GapSetScanModeInfo *ctx = MEM_MALLOC.alloc(sizeof(GapSetScanModeInfo)); in GAPIF_SetScanMode() 372 ctx->addr = MEM_MALLOC.alloc(sizeof(BtAddr)); in GAPIF_RegisterServiceSecurityAsync() 449 ctx->addr = MEM_MALLOC.alloc(sizeof(BtAddr)); in GAPIF_DeregisterServiceSecurityAsync() 566 GapGeneralVoidInfo *ctx = MEM_MALLOC.alloc(sizeof(GapGeneralVoidInfo)); in GAPIF_DeregisterSecurityCallback() 676 GapGeneralVoidInfo *ctx = MEM_MALLOC.alloc(sizeof(GapGeneralVoidInfo)); in GAPIF_DeregisterAuthenticationCallback() 902 GapPinCodeRspInfo *ctx = MEM_MALLOC.alloc(sizeof(GapPinCodeRspInfo)); in GAPIF_PinCodeRsp() 934 GapLinkKeyRspInfo *ctx = MEM_MALLOC.alloc(sizeof(GapLinkKeyRspInfo)); in GAPIF_LinkKeyRsp() 992 GapGeneralVoidInfo *ctx = MEM_MALLOC.alloc(sizeof(GapGeneralVoidInfo)); in GAPIF_DeregisterDiscoveryCallback() 1017 GapInquiryInfo *ctx = MEM_MALLOC.alloc(sizeof(GapInquiryInfo)); in GAPIF_Inquiry() [all …]
|
H A D | gap_sm_receive.c | 115 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() 317 smParam->sign = MEM_MALLOC.alloc(GAP_SIGNATURE_SIZE); in GapRecvLeGenerateSignatureResult() 351 GapGenerateRPAResultParam *smParam = MEM_MALLOC.alloc(sizeof(GapGenerateRPAResultParam)); in GapRecvGenerateRPAResult() 359 smParam->addr = MEM_MALLOC.alloc(BT_ADDRESS_SIZE); in GapRecvGenerateRPAResult() [all …]
|
H A D | gap_btm_receive.c | 70 … GapAclConnectionCompleteParam *btmParam = MEM_MALLOC.alloc(sizeof(GapAclConnectionCompleteParam)); in GapRecvAclConnectionComplete() 100 …GapAclDisconnectionCompleteParam *btmParam = MEM_MALLOC.alloc(sizeof(GapAclDisconnectionCompletePa… in GapRecvAclDisconnectionComplete() 151 GapLeConnectionCompleteParam *btmParam = MEM_MALLOC.alloc(sizeof(GapLeConnectionCompleteParam)); in GapRecvLeConnectionComplete() 179 …GapLeDisconnectionCompleteParam *btmParam = MEM_MALLOC.alloc(sizeof(GapLeDisconnectionCompletePara… in GapRecvLeDisconnectionComplete() 227 …GapRemoteDeviceSupportCallbackParam *supportParam = MEM_MALLOC.alloc(sizeof(GapRemoteDeviceSupport… in GapRecvRemoteDeviceSupportHostSecureSimplePairingCallback()
|
H A D | gap_task_common.c | 54 GapRunTaskBlockInfo *info = MEM_MALLOC.alloc(sizeof(GapRunTaskBlockInfo)); in GapRunTaskBlockProcess() 82 GapRunTaskUnBlockInfo *info = MEM_MALLOC.alloc(sizeof(GapRunTaskUnBlockInfo)); in GapRunTaskUnBlockProcess()
|
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/ |
H A D | dfx_xz_utils.cpp | 40 ISzAlloc alloc; in XzDecompress() local 42 alloc.Alloc = XzAlloc; in XzDecompress() 43 alloc.Free = XzFree; in XzDecompress() 44 XzUnpacker_Construct(&state, &alloc); in XzDecompress()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/sdp/ |
H A D | sdp.c | 228 SdpInitializeInfo *ctx = MEM_MALLOC.alloc(sizeof(SdpInitializeInfo)); in SdpStartup() 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() 562 SdpServiceId *ctx = MEM_MALLOC.alloc(sizeof(SdpServiceId)); in SDP_AddServiceId() 899 SdpUrl *ctx = MEM_MALLOC.alloc(sizeof(SdpUrl)); in SDP_AddDocumentationUrl() 941 SdpUrl *ctx = MEM_MALLOC.alloc(sizeof(SdpUrl)); in SDP_AddClientExecutableUrl() 983 SdpUrl *ctx = MEM_MALLOC.alloc(sizeof(SdpUrl)); in SDP_AddIconUrl() 1025 SdpName *ctx = MEM_MALLOC.alloc(sizeof(SdpName)); in SDP_AddServiceName() 1069 SdpName *ctx = MEM_MALLOC.alloc(sizeof(SdpName)); in SDP_AddServiceDescription() [all …]
|
H A D | sdp_client.c | 191 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()
|
H A D | sdp_client_parse.c | 390 buffer = MEM_MALLOC.alloc(length); in SdpParseServiceRecordHandleList() 516 buffer = MEM_MALLOC.alloc(length); in SdpParseAttributeList() 569 uint8_t *buffer = MEM_MALLOC.alloc(totalLength); in SdpParseAttributeListArray() 942 service->classId = MEM_MALLOC.alloc(sizeof(BtUuid) * SDP_MAX_UUID_COUNT); in SdpGetServiceClassIdList() 1167 service->browseUuid = MEM_MALLOC.alloc(sizeof(BtUuid) * SDP_MAX_UUID_COUNT); in SdpGetBrowseGroupList() 1355 service->documentationUrl = MEM_MALLOC.alloc(SDP_MAX_ATTRIBUTE_LEN); in SdpGetDocumentationUrl() 1367 service->clientExecutableUrl = MEM_MALLOC.alloc(SDP_MAX_ATTRIBUTE_LEN); in SdpGetClientExecutableUrl() 1379 service->iconUrl = MEM_MALLOC.alloc(SDP_MAX_ATTRIBUTE_LEN); in SdpGetIconUrl() 1391 service->serviceName = MEM_MALLOC.alloc(SDP_MAX_ATTRIBUTE_LEN); in SdpGetServiceName() 1403 service->serviceDescription = MEM_MALLOC.alloc(SDP_MAX_ATTRIBUTE_LEN); in SdpGetServiceDescription() [all …]
|
H A D | sdp_connect.c | 138 SdpConnectInfo *ctx = MEM_MALLOC.alloc(sizeof(SdpConnectInfo)); in SdpConnectWaitTime() 176 SdpConnectInfo *ctx = MEM_MALLOC.alloc(sizeof(SdpConnectInfo)); in SdpConnectTimeout() 315 SdpConnectCallbackInfo *ctx = MEM_MALLOC.alloc(sizeof(SdpConnectCallbackInfo)); in SdpConnectReqCallback() 365 SdpConnectCallbackInfo *ctx = MEM_MALLOC.alloc(sizeof(SdpConnectCallbackInfo)); in SdpConfigReqCallback() 398 connect = MEM_MALLOC.alloc(sizeof(SdpConnectInfo)); in SdpConnectRspCallbackTask() 434 SdpConnectCallbackInfo *ctx = MEM_MALLOC.alloc(sizeof(SdpConnectCallbackInfo)); in SdpConnectRspCallback() 504 SdpConnectCallbackInfo *ctx = MEM_MALLOC.alloc(sizeof(SdpConnectCallbackInfo)); in SdpConfigRspCallback() 556 SdpConnectCallbackInfo *ctx = MEM_MALLOC.alloc(sizeof(SdpConnectCallbackInfo)); in SdpDisconnectionRspCallback() 584 connect = MEM_MALLOC.alloc(sizeof(SdpConnectInfo)); in SdpSendConnectRequest() 1104 SdpDisconnectAbnormalInfo *ctx = MEM_MALLOC.alloc(sizeof(SdpDisconnectAbnormalInfo)); in SdpDisconnectAbnormal() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_texture_info.cpp | 38 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()
|
/ohos5.0/docs/zh-cn/device-dev/kernel/ |
H A D | kernel-mini-basic-memory.md | 124 printf("Mem alloc failed!\n"); 127 printf("Mem alloc success!\n"); 158 Mem alloc success! 302 printf("Mem alloc failed!\n"); 305 printf("Mem alloc success!\n"); 331 Mem alloc success!
|
H A D | kernel-small-basic-memory-heap.md | 118 printf("Mem alloc failed!\n"); 121 printf("Mem alloc success!\n"); 168 Mem alloc success!
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/att/ |
H A D | att_connect.c | 910 btaddr = MEM_MALLOC.alloc(sizeof(BtAddr)); in L2cifLeConnectCallBack() 1017 btaddr = MEM_MALLOC.alloc(sizeof(BtAddr)); in L2cifConnectReqCallback() 1168 AttConnect *connectAsyncPtr = MEM_MALLOC.alloc(sizeof(AttConnect)); in ATT_ConnectReq() 1169 BtAddr *btAddrAsyncPtr = MEM_MALLOC.alloc(sizeof(BtAddr)); in ATT_ConnectReq() 1417 attConnectBredrConnPtr = MEM_MALLOC.alloc(sizeof(AttConnect)); in ATT_ConnectRsp() 1503 MEM_MALLOC.alloc(sizeof(BREDRDisconnectReqCallBackContext)); in L2cifBREDRDisconnectReqCallBack() 1734 BtAddr *btAddrPtr = MEM_MALLOC.alloc(sizeof(BtAddr)); in AttLeConnected() 1996 connectInfoPtr = MEM_MALLOC.alloc(sizeof(L2capConnectionInfo)); in AttReceiveConnectionReq() 2095 connectInfoPtr = MEM_MALLOC.alloc(sizeof(L2capConnectionInfo)); in AttReceiveConnectionRsp() 2207 configInfoPtr = MEM_MALLOC.alloc(sizeof(L2capConfigInfo)); in AttReceiveConfigRsp() [all …]
|
H A D | att_send_response.c | 198 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() 556 AttHandleInfo *attHandleInfoPtr = MEM_MALLOC.alloc(sizeof(AttHandleInfo) * listNum); in ATT_FindByTypeValueResponse() 810 readResAsyncPtr = MEM_MALLOC.alloc(sizeof(ReadResponseAsync)); in ATT_ReadResponse() 911 readBlobResAsyncPtr = MEM_MALLOC.alloc(sizeof(ReadResponseAsync)); in ATT_ReadBlobResponse() 1013 readMultipleResAsyncPtr = MEM_MALLOC.alloc(sizeof(ReadResponseAsync)); in ATT_ReadMultipleResponse() 1353 prepareWriteResAsyncPtr = MEM_MALLOC.alloc(sizeof(PrepareWriteAsync)); in ATT_PrepareWriteResponse() 1538 handleNotificationAsyncPtr = MEM_MALLOC.alloc(sizeof(WriteAsync)); in ATT_HandleValueNotification() [all …]
|
H A D | att_send_request.c | 156 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() 561 BtUuid *attReadUuidPtr = MEM_MALLOC.alloc(sizeof(BtUuid)); in ATT_ReadByTypeRequest() 657 ReadRequestAsync *readReqAsyncPtr = MEM_MALLOC.alloc(sizeof(ReadRequestAsync)); in ATT_ReadRequest() 838 readMultipleReqAsyncPtr = MEM_MALLOC.alloc(sizeof(ReadResponseAsync)); in ATT_ReadMultipleRequest() 978 attReadByGroupReqUuidPtr = MEM_MALLOC.alloc(sizeof(BtUuid)); in ATT_ReadByGroupTypeRequest() 1091 writeRequestAsyncPtr = MEM_MALLOC.alloc(sizeof(WriteAsync)); in ATT_WriteRequest() 1191 writeCommandAsyncPtr = MEM_MALLOC.alloc(sizeof(WriteAsync)); in ATT_WriteCommand() 1337 signedWriteCommandAsyncPtr = MEM_MALLOC.alloc(sizeof(WriteAsync)); in ATT_SignedWriteCommand() [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/ |
H A D | string.h | 70 explicit basic_string(allocator& alloc) noexcept : allocator_(alloc) in basic_string() argument 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),… 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) : allocator_(alloc) in basic_string() argument 133 explicit basic_string(const StringT& a, allocator& alloc) : allocator_(alloc) in basic_string() argument 850 if (auto ptr = allocator_.alloc(size + 1); ptr) { in allocate() 883 dst = allocator_.alloc(count + 1); in construct() 931 inline pointer alloc(size_type size) in alloc() function [all …]
|
H A D | vector.h | 152 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 vector() argument 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(count * sizeof(value_type)); in setup_storage() 1247 inline void* alloc(size_type size) 1249 if ((allocator_) && (allocator_->alloc)) { [all …]
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/smp/ |
H A D | smp_send.c | 203 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(sizeof(SMP_EncTimeoutParam)); in SMP_EncCmdTimeout() [all …]
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/util/ |
H A D | slab.rs | 523 let alloc = slab.handle(); in ut_slab_for_each() localVariable 527 let (_, foo1) = alloc.allocate().unwrap(); in ut_slab_for_each() 532 let (_, foo2) = alloc.allocate().unwrap(); in ut_slab_for_each() 536 let (_, foo3) = alloc.allocate().unwrap(); in ut_slab_for_each() 617 let alloc = slab.handle(); in ut_slab_insert_move() localVariable 621 let (addr1, test_entry1) = alloc.allocate().unwrap(); in ut_slab_insert_move() 672 let alloc = slab.handle(); in ut_slab_insert_many() localVariable 676 let (addr, val) = alloc.allocate().unwrap(); in ut_slab_insert_many() 689 let (addr, val) = alloc.allocate().unwrap(); in ut_slab_insert_many() 710 let alloc = slab.handle(); in ut_slab_insert_drop_reverse() localVariable [all …]
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/src/ |
H A D | allocator.c | 27 .alloc = AllocatorMalloc, 31 .alloc = AllocatorCalloc,
|
/ohos5.0/foundation/resourceschedule/ffrt/src/tm/ |
H A D | task_factory.h | 55 static void RegistCb(TaskAllocCB<CPUEUTask>::Alloc &&alloc, TaskAllocCB<CPUEUTask>::Free &&free, 60 Instance().alloc_ = std::move(alloc);
|
/ohos5.0/foundation/resourceschedule/ffrt/src/sched/ |
H A D | task_scheduler.h | 118 static void RegistCb(const AllocCB &alloc, const RecycleCB &recycle) in RegistCb() argument 120 Instance().alloc_ = alloc; in RegistCb()
|