Lines Matching refs:instance
48 otInstance * instance = nullptr; in LLVMFuzzerTestOneInput() local
57 instance = otInstanceInitSingle(); in LLVMFuzzerTestOneInput()
58 IgnoreError(otLinkSetPanId(instance, panId)); in LLVMFuzzerTestOneInput()
59 IgnoreError(otIp6SetEnabled(instance, true)); in LLVMFuzzerTestOneInput()
60 IgnoreError(otThreadSetEnabled(instance, true)); in LLVMFuzzerTestOneInput()
61 IgnoreError(otThreadBecomeLeader(instance)); in LLVMFuzzerTestOneInput()
66 message = otIp6NewMessage(instance, &settings); in LLVMFuzzerTestOneInput()
72 error = otIp6Send(instance, message); in LLVMFuzzerTestOneInput()
80 while (otTaskletsArePending(instance)) in LLVMFuzzerTestOneInput()
82 otTaskletsProcess(instance); in LLVMFuzzerTestOneInput()
85 FuzzerPlatformProcess(instance); in LLVMFuzzerTestOneInput()
95 if (instance != nullptr) in LLVMFuzzerTestOneInput()
97 otInstanceFinalize(instance); in LLVMFuzzerTestOneInput()