Searched refs:instanceBufferLength (Results 1 – 2 of 2) sorted by relevance
70 size_t instanceBufferLength = 0; in FakePlatform() local73 otInstanceInit(nullptr, &instanceBufferLength); in FakePlatform()75 instanceBuffer = malloc(instanceBufferLength); in FakePlatform()77 memset(instanceBuffer, 0, instanceBufferLength); in FakePlatform()79 mInstance = otInstanceInit(instanceBuffer, &instanceBufferLength); in FakePlatform()
59 size_t instanceBufferLength = 0; in testInitInstance() local63 (void)otInstanceInit(nullptr, &instanceBufferLength); in testInitInstance()66 instanceBuffer = (uint8_t *)malloc(instanceBufferLength); in testInitInstance()68 memset(instanceBuffer, 0, instanceBufferLength); in testInitInstance()71 instance = otInstanceInit(instanceBuffer, &instanceBufferLength); in testInitInstance()