Home
last modified time | relevance | path

Searched refs:reservation (Results 1 – 25 of 97) sorted by relevance

1234

/third_party/skia/third_party/externals/dawn/src/tests/unittests/wire/
DWireInjectSwapChainTests.cpp33 ReservedSwapChain reservation = GetWireClient()->ReserveSwapChain(device); in TEST_F() local
37 ASSERT_TRUE(GetWireServer()->InjectSwapChain(apiSwapchain, reservation.id, in TEST_F()
38 reservation.generation, reservation.deviceId, in TEST_F()
39 reservation.deviceGeneration)); in TEST_F()
41 wgpuSwapChainPresent(reservation.swapchain); in TEST_F()
57 ReservedSwapChain reservation = GetWireClient()->ReserveSwapChain(device); in TEST_F() local
61 ASSERT_TRUE(GetWireServer()->InjectSwapChain(apiSwapchain, reservation.id, in TEST_F()
62 reservation.generation, reservation.deviceId, in TEST_F()
63 reservation.deviceGeneration)); in TEST_F()
66 ASSERT_FALSE(GetWireServer()->InjectSwapChain(apiSwapchain, reservation.id, in TEST_F()
[all …]
DWireInjectTextureTests.cpp33 ReservedTexture reservation = GetWireClient()->ReserveTexture(device); in TEST_F() local
37 ASSERT_TRUE(GetWireServer()->InjectTexture(apiTexture, reservation.id, reservation.generation, in TEST_F()
38 reservation.deviceId, reservation.deviceGeneration)); in TEST_F()
40 wgpuTextureCreateView(reservation.texture, nullptr); in TEST_F()
57 ReservedTexture reservation = GetWireClient()->ReserveTexture(device); in TEST_F() local
61 ASSERT_TRUE(GetWireServer()->InjectTexture(apiTexture, reservation.id, reservation.generation, in TEST_F()
62 reservation.deviceId, reservation.deviceGeneration)); in TEST_F()
65 ASSERT_FALSE(GetWireServer()->InjectTexture(apiTexture, reservation.id, reservation.generation, in TEST_F()
66 reservation.deviceId, in TEST_F()
67 reservation.deviceGeneration)); in TEST_F()
[all …]
DWireInjectDeviceTests.cpp33 ReservedDevice reservation = GetWireClient()->ReserveDevice(); in TEST_F() local
41 GetWireServer()->InjectDevice(serverDevice, reservation.id, reservation.generation)); in TEST_F()
44 wgpuDeviceCreateBuffer(reservation.device, &bufferDesc); in TEST_F()
68 ReservedDevice reservation = GetWireClient()->ReserveDevice(); in TEST_F() local
76 GetWireServer()->InjectDevice(serverDevice, reservation.id, reservation.generation)); in TEST_F()
80 GetWireServer()->InjectDevice(serverDevice, reservation.id, reservation.generation)); in TEST_F()
92 ReservedDevice reservation = GetWireClient()->ReserveDevice(); in TEST_F() local
101 GetWireServer()->InjectDevice(serverDevice, reservation.id, reservation.generation)); in TEST_F()
104 wgpuDeviceRelease(reservation.device); in TEST_F()
119 ReservedDevice reservation = GetWireClient()->ReserveDevice(); in TEST_F() local
[all …]
/third_party/node/deps/v8/src/heap/
Dmemory-allocator.cc218 bool MemoryAllocator::CommitMemory(VirtualMemory* reservation) { in CommitMemory() argument
219 Address base = reservation->address(); in CommitMemory()
220 size_t size = reservation->size(); in CommitMemory()
221 if (!reservation->SetPermissions(base, size, PageAllocator::kReadWrite)) { in CommitMemory()
228 bool MemoryAllocator::UncommitMemory(VirtualMemory* reservation) { in UncommitMemory() argument
229 size_t size = reservation->size(); in UncommitMemory()
230 if (!reservation->SetPermissions(reservation->address(), size, in UncommitMemory()
248 VirtualMemory reservation(page_allocator, chunk_size, hint, alignment); in AllocateAlignedMemory() local
249 if (!reservation.IsReserved()) return HandleAllocationFailure(); in AllocateAlignedMemory()
254 if ((reservation.address() + static_cast<Address>(chunk_size)) == 0u) { in AllocateAlignedMemory()
[all …]
Dcode-range.cc153 if (!reservation()->SetPermissions(reservation()->address(), reserved_area, in InitReservation()
165 reservation()->region().begin(), reservation()->region().size()); in Free()
Dspaces.cc53 Address area_end, VirtualMemory reservation, in Page() argument
56 std::move(reservation), executable, PageSize::kRegular) {} in Page()
129 VirtualMemory* reservation = reserved_memory(); in ShrinkToHighWaterMark() local
130 if (!reservation->IsReserved()) return 0; in ShrinkToHighWaterMark()
Dbasic-memory-chunk.cc55 Address area_end, VirtualMemory reservation) in BasicMemoryChunk() argument
64 reservation_(std::move(reservation)) { in BasicMemoryChunk()
Dmemory-allocator.h271 VirtualMemory reservation; member
292 bool CommitMemory(VirtualMemory* reservation);
302 bool UncommitMemory(VirtualMemory* reservation);
/third_party/skia/third_party/externals/dawn/src/dawn_wire/
DWireClient.cpp44 void WireClient::ReclaimTextureReservation(const ReservedTexture& reservation) { in ReclaimTextureReservation() argument
45 mImpl->ReclaimTextureReservation(reservation); in ReclaimTextureReservation()
48 void WireClient::ReclaimSwapChainReservation(const ReservedSwapChain& reservation) { in ReclaimSwapChainReservation() argument
49 mImpl->ReclaimSwapChainReservation(reservation); in ReclaimSwapChainReservation()
52 void WireClient::ReclaimDeviceReservation(const ReservedDevice& reservation) { in ReclaimDeviceReservation() argument
53 mImpl->ReclaimDeviceReservation(reservation); in ReclaimDeviceReservation()
/third_party/node/deps/v8/src/base/
Dvirtual-address-space.cc154 base::Optional<AddressSpaceReservation> reservation = in AllocateSubspace() local
158 if (!reservation.has_value()) in AllocateSubspace()
161 new VirtualAddressSubspace(*reservation, this, max_page_permissions)); in AllocateSubspace()
183 AddressSpaceReservation reservation, VirtualAddressSpaceBase* parent_space, in VirtualAddressSubspace() argument
187 reinterpret_cast<Address>(reservation.base()), in VirtualAddressSubspace()
188 reservation.size(), max_page_permissions), in VirtualAddressSubspace()
189 reservation_(reservation), in VirtualAddressSubspace()
190 region_allocator_(reinterpret_cast<Address>(reservation.base()), in VirtualAddressSubspace()
191 reservation.size(), in VirtualAddressSubspace()
341 base::Optional<AddressSpaceReservation> reservation = in AllocateSubspace() local
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_wire/client/
DClient.cpp121 void Client::ReclaimTextureReservation(const ReservedTexture& reservation) { in ReclaimTextureReservation() argument
122 TextureAllocator().Free(FromAPI(reservation.texture)); in ReclaimTextureReservation()
125 void Client::ReclaimSwapChainReservation(const ReservedSwapChain& reservation) { in ReclaimSwapChainReservation() argument
126 SwapChainAllocator().Free(FromAPI(reservation.swapchain)); in ReclaimSwapChainReservation()
129 void Client::ReclaimDeviceReservation(const ReservedDevice& reservation) { in ReclaimDeviceReservation() argument
130 DeviceAllocator().Free(FromAPI(reservation.device)); in ReclaimDeviceReservation()
DClient.h51 void ReclaimTextureReservation(const ReservedTexture& reservation);
52 void ReclaimSwapChainReservation(const ReservedSwapChain& reservation);
53 void ReclaimDeviceReservation(const ReservedDevice& reservation);
/third_party/typescript/tests/baselines/reference/
DparserRealSource10.types596 constructor (public tokenId: TokenID, public reservation: Reservation,
598 >reservation : Reservation
613 function setTokenInfo(tokenId: TokenID, reservation: number, binopPrecedence: number,
614 >setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: num…
616 >reservation : number
633 tokenTable[tokenId] = new TokenInfo(tokenId, reservation, binopPrecedence,
634 >tokenTable[tokenId] = new TokenInfo(tokenId, reservation, binopPrecedence, …
638 >new TokenInfo(tokenId, reservation, binopPrecedence, …
641 >reservation : number
691 >setTokenInfo : (tokenId: TokenID, reservation: number, binopPrecedence: number, binopNodeType: num…
[all …]
/third_party/node/deps/v8/src/init/
Disolate-allocator.cc139 if (isolate_ptr_compr_cage_.reservation()->IsReserved()) { in ~IsolateAllocator()
171 CHECK_GE(isolate_ptr_compr_cage_.reservation()->size(), in CommitPagesForIsolate()
174 CHECK(isolate_ptr_compr_cage_.reservation()->InVM( in CommitPagesForIsolate()
203 CHECK(isolate_ptr_compr_cage_.reservation()->SetPermissions( in CommitPagesForIsolate()
/third_party/node/deps/v8/src/utils/
Dallocation.cc379 VirtualMemory reservation(params.page_allocator, params.reservation_size, in InitReservation() local
382 if (!reservation.IsReserved()) return false; in InitReservation()
384 reservation_ = std::move(reservation); in InitReservation()
435 VirtualMemory reservation(params.page_allocator, in InitReservation() local
438 if (!reservation.IsReserved()) return false; in InitReservation()
443 VirtualMemoryCageStart(reservation.address(), params); in InitReservation()
444 if (reservation.address() == start_address) { in InitReservation()
445 reservation_ = std::move(reservation); in InitReservation()
/third_party/skia/third_party/externals/dawn/src/utils/
DWireHelper.cpp135 auto reservation = mWireClient->ReserveDevice(); in RegisterDevice() local
136 mWireServer->InjectDevice(backendDevice, reservation.id, reservation.generation); in RegisterDevice()
139 return std::make_pair(wgpu::Device::Acquire(reservation.device), backendDevice); in RegisterDevice()
/third_party/skia/third_party/externals/dawn/src/dawn_wire/server/
DObjectStorage.h102 Data reservation;
103 reservation.handle = nullptr;
104 reservation.state = AllocationState::Free;
105 mKnown.push_back(std::move(reservation));
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DExecutableMemory.cpp323 zx_vaddr_t reservation; in allocateMemoryPages() local
326 0, length, &reservation); in allocateMemoryPages()
334 ASSERT(roundUp(reservation, pageSize) == reservation); in allocateMemoryPages()
336 mapping = reinterpret_cast<void *>(reservation); in allocateMemoryPages()
/third_party/mesa3d/src/imagination/vulkan/winsys/pvrsrvkm/
Dpvr_srv_bridge.c483 *reservation_out = ret.reservation; in pvr_srv_int_reserve_addr()
488 void pvr_srv_int_unreserve_addr(int fd, void *reservation) in pvr_srv_int_unreserve_addr() argument
491 .reservation = reservation, in pvr_srv_int_unreserve_addr()
594 void *reservation, in pvr_srv_int_map_pages() argument
602 .reservation = reservation, in pvr_srv_int_map_pages()
633 void *reservation, in pvr_srv_int_unmap_pages() argument
638 .reservation = reservation, in pvr_srv_int_unmap_pages()
665 void *reservation, in pvr_srv_int_map_pmr() argument
672 .reservation = reservation, in pvr_srv_int_map_pmr()
Dpvr_srv_bridge.h341 void *reservation; member
350 void *reservation; member
400 void *reservation; member
416 void *reservation; member
431 void *reservation; member
888 void pvr_srv_int_unreserve_addr(int fd, void *reservation);
902 void *reservation,
909 void *reservation,
915 void *reservation,
Dpvr_srv_bo.c407 &srv_vma->reservation); in pvr_srv_heap_alloc_reserved()
454 &srv_vma->reservation); in pvr_srv_winsys_heap_alloc()
478 pvr_srv_int_unreserve_addr(srv_ws->render_fd, srv_vma->reservation); in pvr_srv_winsys_heap_free()
529 srv_vma->reservation, in pvr_srv_winsys_vma_map()
549 srv_vma->reservation, in pvr_srv_winsys_vma_map()
586 srv_vma->reservation, in pvr_srv_winsys_vma_unmap()
/third_party/skia/third_party/externals/dawn/src/include/dawn_wire/
DWireClient.h72 void ReclaimTextureReservation(const ReservedTexture& reservation);
73 void ReclaimSwapChainReservation(const ReservedSwapChain& reservation);
74 void ReclaimDeviceReservation(const ReservedDevice& reservation);
/third_party/node/deps/v8/src/base/platform/
Dplatform-posix.cc567 void* reservation = Allocate(hint, size, alignment, permission); in CreateAddressSpaceReservation() local
568 if (!reservation && permission == MemoryPermission::kNoAccessWillJitLater) { in CreateAddressSpaceReservation()
571 reservation = Allocate(hint, size, alignment, permission); in CreateAddressSpaceReservation()
574 if (!reservation) return {}; in CreateAddressSpaceReservation()
576 return AddressSpaceReservation(reservation, size); in CreateAddressSpaceReservation()
580 void OS::FreeAddressSpaceReservation(AddressSpaceReservation reservation) { in FreeAddressSpaceReservation() argument
581 Free(reservation.base(), reservation.size()); in FreeAddressSpaceReservation()
931 AddressSpaceReservation reservation) { in FreeSubReservation() argument
Dplatform-fuchsia.cc323 void OS::FreeAddressSpaceReservation(AddressSpaceReservation reservation) { in FreeAddressSpaceReservation() argument
325 zx::vmar vmar(reservation.vmar_); in FreeAddressSpaceReservation()
401 AddressSpaceReservation reservation) { in FreeSubReservation() argument
402 OS::FreeAddressSpaceReservation(reservation); in FreeSubReservation()
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/
Dmemory.cpp71 zx_vaddr_t reservation; in allocatePages() local
74 vmo, 0, length, &reservation); in allocatePages()
78 return reinterpret_cast<void*>(reservation); in allocatePages()

1234