/third_party/skia/third_party/externals/dawn/src/common/ |
D | SlabAllocator.cpp | 45 Slab* slab = this->next; in ~SentinelSlab() local 46 while (slab != nullptr) { in ~SentinelSlab() 47 Slab* next = slab->next; in ~SentinelSlab() 48 ASSERT(slab->blocksInUse == 0); in ~SentinelSlab() 50 delete[] slab->allocation; in ~SentinelSlab() 51 slab = next; in ~SentinelSlab() 107 bool SlabAllocatorImpl::IsNodeInSlab(Slab* slab, IndexLinkNode* node) const { in IsNodeInSlab() argument 108 char* firstObjectPtr = reinterpret_cast<char*>(slab) + mSlabBlocksOffset; in IsNodeInSlab() 114 void SlabAllocatorImpl::PushFront(Slab* slab, IndexLinkNode* node) const { in PushFront() argument 115 ASSERT(IsNodeInSlab(slab, node)); in PushFront() [all …]
|
D | SlabAllocator.h | 114 bool IsNodeInSlab(Slab* slab, IndexLinkNode* node) const; 118 void PushFront(Slab* slab, IndexLinkNode* node) const; 119 IndexLinkNode* PopFront(Slab* slab) const; 155 void Prepend(Slab* slab);
|
/third_party/libuv/test/ |
D | test-udp-try-send.c | 43 static char slab[65536]; in alloc_cb() local 45 ASSERT(suggested_size <= sizeof(slab)); in alloc_cb() 46 buf->base = slab; in alloc_cb() 47 buf->len = sizeof(slab); in alloc_cb()
|
D | test-udp-send-immediate.c | 43 static char slab[65536]; in alloc_cb() local 45 ASSERT(suggested_size <= sizeof(slab)); in alloc_cb() 46 buf->base = slab; in alloc_cb() 47 buf->len = sizeof(slab); in alloc_cb()
|
D | test-udp-multicast-join.c | 48 static char slab[65536]; in alloc_cb() local 50 ASSERT(suggested_size <= sizeof(slab)); in alloc_cb() 51 buf->base = slab; in alloc_cb() 52 buf->len = sizeof(slab); in alloc_cb()
|
D | test-close-fd.c | 31 static char slab[1]; in alloc_cb() local 32 buf->base = slab; in alloc_cb() 33 buf->len = sizeof(slab); in alloc_cb()
|
D | test-not-readable-nor-writable-on-read-error.c | 44 static char slab[64]; in alloc_cb() local 45 buf->base = slab; in alloc_cb() 46 buf->len = sizeof(slab); in alloc_cb()
|
D | test-udp-multicast-join6.c | 60 static char slab[65536]; in alloc_cb() local 62 ASSERT(suggested_size <= sizeof(slab)); in alloc_cb() 63 buf->base = slab; in alloc_cb() 64 buf->len = sizeof(slab); in alloc_cb()
|
D | test-udp-send-and-recv.c | 47 static char slab[65536]; in alloc_cb() local 49 ASSERT(suggested_size <= sizeof(slab)); in alloc_cb() 50 buf->base = slab; in alloc_cb() 51 buf->len = sizeof(slab); in alloc_cb()
|
D | test-watcher-cross-stop.c | 37 static char slab[1]; variable 43 buf->base = slab; in alloc_cb() 44 buf->len = sizeof(slab); in alloc_cb()
|
D | test-readable-on-eof.c | 44 static char slab[64]; in alloc_cb() local 45 buf->base = slab; in alloc_cb() 46 buf->len = sizeof(slab); in alloc_cb()
|
D | test-udp-send-unreachable.c | 47 static char slab[65536]; in alloc_cb() local 49 ASSERT_LE(suggested_size, sizeof(slab)); in alloc_cb() 50 buf->base = slab; in alloc_cb() 51 buf->len = sizeof(slab); in alloc_cb()
|
D | blackhole-server.c | 66 static char slab[65536]; in alloc_cb() local 67 buf->base = slab; in alloc_cb() 68 buf->len = sizeof(slab); in alloc_cb()
|
D | test-tcp-shutdown-after-write.c | 55 static char slab[64]; in alloc_cb() local 56 buf->base = slab; in alloc_cb() 57 buf->len = sizeof(slab); in alloc_cb()
|
D | test-udp-connect6.c | 46 static char slab[65536]; in alloc_cb() local 48 ASSERT_LE(suggested_size, sizeof(slab)); in alloc_cb() 49 buf->base = slab; in alloc_cb() 50 buf->len = sizeof(slab); in alloc_cb()
|
D | test-udp-connect.c | 46 static char slab[65536]; in alloc_cb() local 48 ASSERT(suggested_size <= sizeof(slab)); in alloc_cb() 49 buf->base = slab; in alloc_cb() 50 buf->len = sizeof(slab); in alloc_cb()
|
D | benchmark-udp-pummel.c | 65 static char slab[65536]; in alloc_cb() local 66 ASSERT(suggested_size <= sizeof(slab)); in alloc_cb() 67 buf->base = slab; in alloc_cb() 68 buf->len = sizeof(slab); in alloc_cb()
|
D | test-osx-select.c | 34 static char slab[1024]; in alloc_cb() local 35 buf->base = slab; in alloc_cb() 36 buf->len = sizeof(slab); in alloc_cb()
|
D | test-tcp-read-stop-start.c | 59 static char slab[65536]; in on_alloc() local 60 buf->base = slab; in on_alloc() 61 buf->len = sizeof(slab); in on_alloc()
|
D | test-tcp-write-to-half-open-connection.c | 71 static char slab[1024]; in alloc_cb() local 72 buf->base = slab; in alloc_cb() 73 buf->len = sizeof(slab); in alloc_cb()
|
D | benchmark-ping-udp.c | 53 static char slab[64 * 1024]; in buf_alloc() local 54 buf->base = slab; in buf_alloc() 55 buf->len = sizeof(slab); in buf_alloc()
|
D | test-udp-alloc-cb-fail.c | 47 static char slab[65536]; in sv_alloc_cb() local 49 buf->base = slab; in sv_alloc_cb() 50 buf->len = sizeof(slab); in sv_alloc_cb()
|
D | test-tcp-close-accept.c | 82 static char slab[1]; in alloc_cb() local 83 buf->base = slab; in alloc_cb() 84 buf->len = sizeof(slab); in alloc_cb()
|
D | test-udp-open.c | 86 static char slab[65536]; in alloc_cb() local 87 ASSERT(suggested_size <= sizeof(slab)); in alloc_cb() 88 buf->base = slab; in alloc_cb() 89 buf->len = sizeof(slab); in alloc_cb()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/docs/ |
D | ALLOCATION.rst | 66 this cheap, the Cfg includes a slab allocator from which these objects are 70 providing the container with an allocator that uses the Cfg-local slab 72 store a pointer to the slab allocator in thread-local storage (TLS). This is 91 This requires maintaining the proper slab allocator pointer in TLS. 94 slab allocator into its own TLS. This is used as the Cfg is built within the 99 When the translation thread grabs a new Cfg pointer, it installs the Cfg's slab 101 assembly buffer, it must take care not to use the Cfg's slab allocator. If 102 there is a slab allocator for the assembler buffer, a pointer to it can also be 106 the Cfg's slab allocator, and clears the allocator pointer from its TLS.
|