Searched refs:extPart (Results 1 – 4 of 4) sorted by relevance
84 int32_t InitExtPart(const cJSON *params, ExtPart *extPart) in InitExtPart() argument88 if (extPart == NULL) { in InitExtPart()91 extPart->instance = (ExtPart *)HcMalloc(sizeof(ExtPart), 0); in InitExtPart()92 if (extPart->instance == NULL) { in InitExtPart()98 ExtPluginList GetExtPlugins(ExtPart *extPart) in GetExtPlugins() argument101 (void)extPart; in GetExtPlugins()106 void DestroyExtPart(ExtPart *extPart) in DestroyExtPart() argument109 if (extPart != NULL) { in DestroyExtPart()110 HcFree(extPart->instance); in DestroyExtPart()111 extPart->instance = NULL; in DestroyExtPart()
3632 ExtPart *extPart; member in __anon61fa367a0111::ExtPartTest3642 extPart = reinterpret_cast<ExtPart *>(HcMalloc(sizeof(ExtPart), 0)); in SetUp()3643 ASSERT_NE(extPart, nullptr); in SetUp()3649 HcFree(extPart); in TearDown()3654 int ret = InitExtPart(nullptr, extPart);3660 ExtPluginList list = GetExtPlugins(extPart);3666 DestroyExtPart(extPart);3667 ASSERT_TRUE(extPart->instance == nullptr);
23 int32_t (*initExtPartFunc)(const cJSON *params, ExtPart *extPart);24 ExtPluginList (*getPluginListFunc)(ExtPart *extPart);25 void (*destroyExtPartFunc)(ExtPart *extPart);
145 int32_t InitExtPart(const cJSON *params, ExtPart *extPart);155 ExtPluginList GetExtPlugins(ExtPart *extPart);164 void DestroyExtPart(ExtPart *extPart);