Searched refs:MARL_ASSERT (Results 1 – 12 of 12) sorted by relevance
/external/swiftshader/third_party/marl/src/ |
D | memory.cpp | 36 MARL_ASSERT(mapping != MAP_FAILED, "Failed to allocate %d pages", int(count)); in allocatePages() 45 MARL_ASSERT(res == 0, "Failed to free %d pages at %p", int(count), ptr); in freePages() 50 MARL_ASSERT(res == 0, "Failed to protect page at %p", addr); in protectPage() 77 MARL_ASSERT(status == ZX_OK, "Failed to allocate %d pages", int(count)); in allocatePages() 85 MARL_ASSERT(status == ZX_OK, "Failed to free %d pages at %p", int(count), in freePages() 92 MARL_ASSERT(status == ZX_OK, "Failed to protect page at %p", addr); in protectPage() 110 MARL_ASSERT(mapping != nullptr, "Failed to allocate %d pages", int(count)); in allocatePages() 117 MARL_ASSERT(res != 0, "Failed to free %d pages at %p", int(count), ptr); in freePages() 123 MARL_ASSERT(res != 0, "Failed to protect page at %p", addr); in protectPage() 144 MARL_ASSERT(alignment < pageSize(), in pagedMalloc() [all …]
|
D | scheduler.cpp | 48 MARL_ASSERT(FIBER->state == STATE, \ 100 MARL_ASSERT(bound == nullptr, "Scheduler already bound"); in bind() 114 MARL_ASSERT(bound != nullptr, "No scheduler bound"); in unbind() 121 MARL_ASSERT(it != bound->singleThreadedWorkers.byTid.end(), in unbind() 123 MARL_ASSERT(it->second.get() == worker, "worker is not bound?"); in unbind() 234 MARL_ASSERT(worker != nullptr, "No Scheduler::Worker bound"); in Fiber() 247 MARL_ASSERT(worker == Worker::getCurrent(), in wait() 254 MARL_ASSERT(worker == Worker::getCurrent(), in switchTo() 290 MARL_ASSERT(false, "bad fiber state"); in toString() 316 MARL_ASSERT(deleted, "WaitingFibers::take() maps out of sync"); in take() [all …]
|
D | thread.cpp | 75 MARL_ASSERT(res == TRUE, #expr " failed with error: %d", \ 103 MARL_ASSERT(out.count <= MaxGroupCount, "Group index overflow"); in getProcessorGroups() 286 MARL_ASSERT(size > 0, in Thread() 302 MARL_ASSERT(groupAffinity.Group == core.windows.group, in Thread() 324 MARL_ASSERT(impl != nullptr, "join() called on unjoinable thread"); in join() 395 MARL_ASSERT(!marl::Thread::Affinity::supported, in setAffinity() 405 MARL_ASSERT(!impl, "Thread::join() was not called before destruction"); in ~Thread()
|
D | osfiber_windows.h | 69 MARL_ASSERT(out->fiber != nullptr, in createFiberFromCurrentThread() 85 MARL_ASSERT(out->fiber != nullptr, "CreateFiberEx() failed with error 0x%x", in createFiber()
|
D | osfiber_ucontext.h | 117 MARL_ASSERT(res == 0, "getcontext() returned %d", int(res)); in createFiber() 133 MARL_ASSERT(res == 0, "swapcontext() returned %d", int(res)); in switchTo()
|
D | debug.cpp | 44 MARL_ASSERT(Scheduler::get() != nullptr, in assert_has_bound_scheduler()
|
/external/swiftshader/third_party/marl/include/marl/ |
D | debug.h | 41 #define MARL_ASSERT(cond, msg, ...) \ macro 53 #define MARL_ASSERT(cond, msg, ...) macro
|
D | containers.h | 229 MARL_ASSERT(count > 0, "pop_back() called on empty vector"); in pop_back() 236 MARL_ASSERT(count > 0, "front() called on empty vector"); in front() 242 MARL_ASSERT(count > 0, "back() called on empty vector"); in back() 248 MARL_ASSERT(count > 0, "front() called on empty vector"); in front() 254 MARL_ASSERT(count > 0, "back() called on empty vector"); in back() 280 MARL_ASSERT(i < count, "index %d exceeds vector size %d", int(i), int(count)); 286 MARL_ASSERT(i < count, "index %d exceeds vector size %d", int(i), int(count)); 559 MARL_ASSERT(entry->next == nullptr, "link() called on entry already linked"); in link() 560 MARL_ASSERT(entry->prev == nullptr, "link() called on entry already linked"); in link()
|
D | waitgroup.h | 91 MARL_ASSERT(data->count > 0, "marl::WaitGroup::done() called too many times"); in done()
|
D | dag.h | 322 MARL_ASSERT(numIns.size() == dag->nodes.size(), 344 MARL_ASSERT(numIns.size() == dag->nodes.size(),
|
D | memory.h | 314 MARL_ASSERT(usageStats.count > 0, in free() 316 MARL_ASSERT(usageStats.bytes >= allocation.request.size, in free()
|
D | pool.h | 155 MARL_ASSERT(refs >= 0, "reset() called on zero-ref pool item"); in reset()
|