Home
last modified time | relevance | path

Searched refs:SAMGR_Malloc (Results 1 - 22 of 22) sorted by relevance

/foundation/systemabilitymgr/samgr_lite/samgr/adapter/posix/
H A Dmemory_adapter.c17 void *SAMGR_Malloc(uint32 size) in SAMGR_Malloc() function
H A Dqueue_adapter.c31 LockFreeBlockQueue *queue = (LockFreeBlockQueue *)SAMGR_Malloc(sizeof(LockFreeBlockQueue)); in QUEUE_Create()
H A Dthread_adapter.c29 pthread_mutex_t *mutex = SAMGR_Malloc(sizeof(pthread_mutex_t)); in MUTEX_InitValue()
H A Dlock_free_queue.c31 register LockFreeQueue *queue = (LockFreeQueue *)SAMGR_Malloc(sizeof(LockFreeQueue) + total); in LFQUE_Create()
/foundation/systemabilitymgr/samgr_lite/samgr/adapter/cmsis/
H A Dmemory_adapter.c18 void *SAMGR_Malloc(uint32 size) in SAMGR_Malloc() function
/foundation/systemabilitymgr/samgr_lite/samgr/adapter/
H A Dmemory_adapter.h26 void *SAMGR_Malloc(uint32 size);
/foundation/systemabilitymgr/samgr_lite/samgr/source/
H A Dfeature.c57 FeatureImpl *featureImpl = (FeatureImpl *)SAMGR_Malloc(sizeof(FeatureImpl)); in FEATURE_CreateInstance()
H A Dcommon.c62 void **data = (void **)SAMGR_Malloc(sizeof(void *) * (vector->max + GROW_STEP)); in VECTOR_Add()
H A Dtask_manager.c52 TaskPool *taskPool = (TaskPool *)SAMGR_Malloc(sizeof(TaskPool) + sizeof(ThreadId) * size); in SAMGR_CreateFixedTaskPool()
H A Dmessage.c191 exchange->sharedRef = (uint32*)SAMGR_Malloc(sizeof(uint32)); in SharedSend()
H A Dservice.c27 ServiceImpl *impl = (ServiceImpl *)SAMGR_Malloc(sizeof(ServiceImpl)); in SAMGR_CreateServiceImpl()
/foundation/systemabilitymgr/samgr_lite/communication/broadcast/source/
H A Dpub_sub_implement.c63 Relation *newRelation = (Relation *)SAMGR_Malloc(sizeof(Relation)); in AddTopic()
102 ConsumerNode *consumerNode = (ConsumerNode *)SAMGR_Malloc(sizeof(ConsumerNode)); in Subscribe()
188 request.data = (uint8 *)SAMGR_Malloc(len); in Publish()
/foundation/systemabilitymgr/samgr_lite/samgr_endpoint/source/
H A Dsa_store.c73 fNode = SAMGR_Malloc(sizeof(FeatureNode)); in SASTORA_Save()
89 curNode = SAMGR_Malloc(sizeof(ListNode)); in SASTORA_Save()
124 PidHandle *newMap = (PidHandle *)SAMGR_Malloc(sizeof(PidHandle) * (saStore->mapSize + GROW_STEP)); in SASTORA_SaveHandleByPid()
H A Dendpoint_rpc.c42 Endpoint *endpoint = SAMGR_Malloc(sizeof(Endpoint)); in SAMGR_CreateEndpoint()
81 Router *router = SAMGR_Malloc(sizeof(Router)); in SAMGR_AddRouter()
307 router->policy = (PolicyTrans *)SAMGR_Malloc(sizeof(PolicyTrans) * policyNum); in AddPolicyToRouter()
H A Dclient_factory.c89 factory = SAMGR_Malloc(sizeof(Factory)); in SAMGR_RegisterFactory()
H A Ddefault_client_rpc.c36 client = SAMGR_Malloc(sizeof(IDefaultClient)); in SAMGR_CreateIProxy()
63 client = SAMGR_Malloc(sizeof(IDefaultClient)); in SAMGR_CreateIRemoteProxy()
H A Dendpoint.c86 Endpoint *endpoint = SAMGR_Malloc(sizeof(Endpoint)); in SAMGR_CreateEndpoint()
122 Router *router = SAMGR_Malloc(sizeof(Router)); in SAMGR_AddRouter()
339 router->policy = (PolicyTrans *)SAMGR_Malloc(sizeof(PolicyTrans) * policyNum); in AddPolicyToRouter()
635 *policy = (PolicyTrans *)SAMGR_Malloc(sizeof(PolicyTrans) * (*policyNum)); in GetRemotePolicy()
H A Dsamgr_small_ipc_adapter.c76 IRegisterEpArg *registerEpArg = SAMGR_Malloc(sizeof(IRegisterEpArg)); in Listen()
338 *policy = (PolicyTrans *)SAMGR_Malloc(sizeof(PolicyTrans) * (*policyNum)); in GetRemotePolicy()
H A Dsamgr_mini_ipc_adapter.c149 *policy = (PolicyTrans *)SAMGR_Malloc(sizeof(PolicyTrans) * (*policyNum)); in GetRemotePolicy()
H A Ddefault_client.c68 client = SAMGR_Malloc(sizeof(IDefaultClient)); in SAMGR_CreateIProxy()
/foundation/systemabilitymgr/samgr_lite/samgr_server/source/
H A Dsamgr_server_rpc.c686 char *json = (char *)SAMGR_Malloc(size * sizeof(char)); in GetJsonStream()
738 SysCapImpl *impl = (SysCapImpl *)SAMGR_Malloc(sizeof(SysCapImpl)); in ParseSysCap()
H A Dsamgr_server.c576 char *json = (char *)SAMGR_Malloc(size * sizeof(char)); in GetJsonStream()
628 SysCapImpl *impl = (SysCapImpl *)SAMGR_Malloc(sizeof(SysCapImpl)); in ParseSysCap()

Completed in 12 milliseconds