Home
last modified time | relevance | path

Searched refs:newRelation (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/systemabilitymgr/samgr_lite/communication/broadcast/source/
H A Dpub_sub_implement.c63 Relation *newRelation = (Relation *)SAMGR_Malloc(sizeof(Relation)); in AddTopic() local
64 if (newRelation == NULL) { in AddTopic()
67 newRelation->topic = *topic; in AddTopic()
68 newRelation->callbacks.consumer = NULL; in AddTopic()
69 UtilsListInit(&newRelation->callbacks.node); in AddTopic()
72 UtilsListAdd(&head->node, &(newRelation->node)); in AddTopic()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/
H A Dlnn_topo_manager.c90 static bool IsSameRelation(const uint8_t *newRelation, const uint8_t *oldRelation, uint32_t len) in IsSameRelation() argument
95 …if ((newRelation[i] != 0 && oldRelation[i] == 0) || (newRelation[i] == 0 && oldRelation[i] != 0)) { in IsSameRelation()