Home
last modified time | relevance | path

Searched refs:MARL_ASSERT (Results 1 – 12 of 12) sorted by relevance

/external/swiftshader/third_party/marl/src/
Dmemory.cpp36 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 …]
Dscheduler.cpp48 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 …]
Dthread.cpp75 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()
Dosfiber_windows.h69 MARL_ASSERT(out->fiber != nullptr, in createFiberFromCurrentThread()
85 MARL_ASSERT(out->fiber != nullptr, "CreateFiberEx() failed with error 0x%x", in createFiber()
Dosfiber_ucontext.h117 MARL_ASSERT(res == 0, "getcontext() returned %d", int(res)); in createFiber()
133 MARL_ASSERT(res == 0, "swapcontext() returned %d", int(res)); in switchTo()
Ddebug.cpp44 MARL_ASSERT(Scheduler::get() != nullptr, in assert_has_bound_scheduler()
/external/swiftshader/third_party/marl/include/marl/
Ddebug.h41 #define MARL_ASSERT(cond, msg, ...) \ macro
53 #define MARL_ASSERT(cond, msg, ...) macro
Dcontainers.h229 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()
Dwaitgroup.h91 MARL_ASSERT(data->count > 0, "marl::WaitGroup::done() called too many times"); in done()
Ddag.h322 MARL_ASSERT(numIns.size() == dag->nodes.size(),
344 MARL_ASSERT(numIns.size() == dag->nodes.size(),
Dmemory.h314 MARL_ASSERT(usageStats.count > 0, in free()
316 MARL_ASSERT(usageStats.bytes >= allocation.request.size, in free()
Dpool.h155 MARL_ASSERT(refs >= 0, "reset() called on zero-ref pool item"); in reset()