Home
last modified time | relevance | path

Searched refs:newMemory (Results 1 – 5 of 5) sorted by relevance

/third_party/node/test/fixtures/wpt/wasm/jsapi/memory/
Dgrow.any.js44 const newMemory = memory.buffer; constant
45 assert_not_equals(oldMemory, newMemory);
47 assert_ArrayBuffer(newMemory, { "size": 2 }, "New buffer after growing");
59 const newMemory = memory.buffer; constant
60 assert_not_equals(oldMemory, newMemory);
62 assert_ArrayBuffer(newMemory, { "size": 2 }, "New buffer after growing");
74 const newMemory = memory.buffer; constant
75 assert_not_equals(oldMemory, newMemory);
77 assert_ArrayBuffer(newMemory, { "size": 5 }, "New buffer after growing");
89 const newMemory = memory.buffer; constant
[all …]
/third_party/skia/third_party/externals/angle2/src/common/
DMemoryBuffer.cpp46 uint8_t *newMemory = static_cast<uint8_t *>(malloc(sizeof(uint8_t) * size)); in resize() local
47 if (newMemory == nullptr) in resize()
55 std::copy(mData, mData + std::min(mSize, size), newMemory); in resize()
59 mData = newMemory; in resize()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiExternalMemoryTests.cpp3514 const vk::Unique<vk::VkDeviceMemory> newMemory (config.dedicated in testMemoryFdDup() local
3522 checkHostMemory(vkd, *device, *newMemory, testData.size(), &testData[0]); in testMemoryFdDup()
3524 writeHostMemory(vkd, *device, *newMemory, testDataA.size(), &testDataA[0]); in testMemoryFdDup()
3579 const vk::Unique<vk::VkDeviceMemory> newMemory (config.dedicated in testMemoryFdDup2() local
3587 checkHostMemory(vkd, *device, *newMemory, testData.size(), &testData[0]); in testMemoryFdDup2()
3589 writeHostMemory(vkd, *device, *newMemory, testDataA.size(), &testDataA[0]); in testMemoryFdDup2()
3644 const vk::Unique<vk::VkDeviceMemory> newMemory (config.dedicated in testMemoryFdDup3() local
3652 checkHostMemory(vkd, *device, *newMemory, testData.size(), &testData[0]); in testMemoryFdDup3()
3654 writeHostMemory(vkd, *device, *newMemory, testDataA.size(), &testDataA[0]); in testMemoryFdDup3()
3785 const vk::Unique<vk::VkDeviceMemory> newMemory (config.dedicated in testMemoryFdSendOverSocket() local
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiExternalMemoryTests.cpp3514 const vk::Unique<vk::VkDeviceMemory> newMemory (config.dedicated in testMemoryFdDup() local
3522 checkHostMemory(vkd, *device, *newMemory, testData.size(), &testData[0]); in testMemoryFdDup()
3524 writeHostMemory(vkd, *device, *newMemory, testDataA.size(), &testDataA[0]); in testMemoryFdDup()
3579 const vk::Unique<vk::VkDeviceMemory> newMemory (config.dedicated in testMemoryFdDup2() local
3587 checkHostMemory(vkd, *device, *newMemory, testData.size(), &testData[0]); in testMemoryFdDup2()
3589 writeHostMemory(vkd, *device, *newMemory, testDataA.size(), &testDataA[0]); in testMemoryFdDup2()
3644 const vk::Unique<vk::VkDeviceMemory> newMemory (config.dedicated in testMemoryFdDup3() local
3652 checkHostMemory(vkd, *device, *newMemory, testData.size(), &testData[0]); in testMemoryFdDup3()
3654 writeHostMemory(vkd, *device, *newMemory, testDataA.size(), &testDataA[0]); in testMemoryFdDup3()
3785 const vk::Unique<vk::VkDeviceMemory> newMemory (config.dedicated in testMemoryFdSendOverSocket() local
[all …]
/third_party/skia/third_party/vulkanmemoryallocator/include/
Dvk_mem_alloc.h6750 VkDeviceMemory newMemory,
12127 VkDeviceMemory newMemory, in Init() argument
12137 m_hMemory = newMemory; in Init()