Home
last modified time | relevance | path

Searched refs:readSync (Results 1 – 25 of 79) sorted by relevance

1234

/third_party/node/test/parallel/
Dtest-fs-read-type.js124 () => fs.readSync(fd, expected.length, 0, 'utf-8'),
135 fs.readSync(value,
147 fs.readSync(fd,
158 fs.readSync(fd,
171 fs.readSync(fd,
184 fs.readSync(fd,
198 fs.readSync(fd,
211 fs.readSync(fd,
222 fs.readSync(fd,
229 fs.readSync(fd,
Dtest-x509-escaping.js15 const rootPEM = fixtures.readSync('x509-escaping/google/root.pem');
16 const intermPEM = fixtures.readSync('x509-escaping/google/intermediate.pem');
17 const keyPEM = fixtures.readSync('x509-escaping/google/key.pem');
23 const leafPEM = fixtures.readSync(name, 'utf8');
109 const serverKey = fixtures.readSync('x509-escaping/server-key.pem', 'utf8');
112 const pem = fixtures.readSync(`x509-escaping/alt-${i}-cert.pem`, 'utf8');
218 const serverKey = fixtures.readSync('x509-escaping/server-key.pem', 'utf8');
221 const pem = fixtures.readSync(`x509-escaping/info-${i}-cert.pem`, 'utf8');
325 const serverKey = fixtures.readSync('x509-escaping/server-key.pem', 'utf8');
328 const pem = fixtures.readSync(`x509-escaping/subj-${i}-cert.pem`, 'utf8');
Dtest-x509-escaping-revert-CVE-2021-44532.js87 const serverKey = fixtures.readSync('x509-escaping/server-key.pem', 'utf8');
90 const pem = fixtures.readSync(`x509-escaping/alt-${i}-cert.pem`, 'utf8');
197 const serverKey = fixtures.readSync('x509-escaping/server-key.pem', 'utf8');
200 const pem = fixtures.readSync(`x509-escaping/info-${i}-cert.pem`, 'utf8');
Dtest-fs-opendir.js49 const dirent = dir.readSync();
56 assert.strictEqual(dir.readSync(), null);
63 assert.throws(() => dir.readSync(), dirclosedError);
215 assertDirent(dir.readSync());
240 assert.throws(() => dir.readSync(), dirconcurrentError);
Dtest-tls-0-dns-altname-revert-CVE-2021-44532.js34 key: fixtures.readSync(['0-dns', '0-dns-key.pem']),
35 cert: fixtures.readSync(['0-dns', '0-dns-cert.pem'])
Dtest-tls-0-dns-altname.js34 key: fixtures.readSync(['0-dns', '0-dns-key.pem']),
35 cert: fixtures.readSync(['0-dns', '0-dns-cert.pem'])
Dtest-http2-empty-frame-without-eof.js5 const { readSync } = require('../common/fixtures');
11 const blobWithEmptyFrame = readSync('emptyframe.http2');
Dtest-stream-preprocess.js12 const modelData = fixtures.readSync('file-to-read-without-bom.txt', 'utf8');
19 assert.strictEqual(fixtures.readSync('file-to-read-with-bom.txt', 'utf8'),
Dtest-fs-read.js43 const r = fs.readSync(fd, bufferSync, 0, expected.length, 0);
61 const nRead = fs.readSync(fd, Buffer.alloc(1), 0, 1, pos);
Dtest-wasm-simple.js7 const buffer = fixtures.readSync('simple.wasm');
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationOperationSingleQueueTests.cpp93 const SyncInfo readSync = m_readOp->getInSyncInfo(); in iterate() local
105 readSync.stageMask, // VkPipelineStageFlags2KHR dstStageMask in iterate()
106 readSync.accessMask, // VkAccessFlags2KHR dstAccessMask in iterate()
108 readSync.imageLayout, // VkImageLayout newLayout in iterate()
121 readSync.stageMask, // VkPipelineStageFlags2KHR dstStageMask in iterate()
122 readSync.accessMask, // VkAccessFlags2KHR dstAccessMask in iterate()
177 const SyncInfo readSync = m_readOp->getInSyncInfo(); in iterate() local
189 readSync.stageMask, // VkPipelineStageFlags2KHR dstStageMask in iterate()
190 readSync.accessMask, // VkAccessFlags2KHR dstAccessMask in iterate()
192 readSync.imageLayout, // VkImageLayout newLayout in iterate()
[all …]
DvktSynchronizationOperationMultiQueueTests.cpp383 const SyncInfo& readSync, in createBarrierMultiQueue() argument
395 !secondQueue ? VkPipelineStageFlags(VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT) : readSync.stageMask, in createBarrierMultiQueue()
396 !secondQueue ? 0u : readSync.accessMask, in createBarrierMultiQueue()
398 readSync.imageLayout, in createBarrierMultiQueue()
422 !secondQueue ? VkPipelineStageFlags(VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT) : readSync.stageMask, in createBarrierMultiQueue()
423 !secondQueue ? 0u : readSync.accessMask, in createBarrierMultiQueue()
528 const SyncInfo readSync = readOp->getInSyncInfo(); in iterate() local
534 …ue (synchronizationWrapper[QUEUETYPE_WRITE], writeCmdBuffer, writeSync, readSync, *resource, queue… in iterate()
538 …ueue (synchronizationWrapper[QUEUETYPE_READ], readCmdBuffer, writeSync, readSync, *resource, queue… in iterate()
702 const SyncInfo readSync = m_ops[opIdx]->getInSyncInfo(); in iterate() local
[all …]
DvktSynchronizationCrossInstanceSharingTests.cpp865 const SyncInfo& readSync) in recordWriteBarrier() argument
870 const vk::VkPipelineStageFlags2KHR dstStageMask = readSync.stageMask; in recordWriteBarrier()
871 const vk::VkAccessFlags2KHR dstAccessMask = readSync.accessMask; in recordWriteBarrier()
881 readSync.imageLayout, // VkImageLayout newLayout in recordWriteBarrier()
912 const SyncInfo& readSync, in recordReadBarrier() argument
915 const vk::VkPipelineStageFlags2KHR srcStageMask = readSync.stageMask; in recordReadBarrier()
916 const vk::VkAccessFlags2KHR srcAccessMask = readSync.accessMask; in recordReadBarrier()
918 const vk::VkPipelineStageFlags2KHR dstStageMask = readSync.stageMask; in recordReadBarrier()
919 const vk::VkAccessFlags2KHR dstAccessMask = readSync.accessMask; in recordReadBarrier()
929 readSync.imageLayout, // VkImageLayout newLayout in recordReadBarrier()
[all …]
DvktSynchronizationSignalOrderTests.cpp714 const SyncInfo readSync = iter.readOp->getInSyncInfo(); in iterate() local
730 DE_ASSERT(readSync.imageLayout != VK_IMAGE_LAYOUT_UNDEFINED); in iterate()
735 readSync.stageMask, // VkPipelineStageFlags2KHR dstStageMask in iterate()
736 readSync.accessMask, // VkAccessFlags2KHR dstAccessMask in iterate()
738 readSync.imageLayout, // VkImageLayout newLayout in iterate()
750 readSync.stageMask, // VkPipelineStageFlags2KHR dstStageMask in iterate()
751 readSync.accessMask, // VkAccessFlags2KHR dstAccessMask in iterate()
1402 const SyncInfo readSync = iter.readOp->getInSyncInfo(); in iterate() local
1408 DE_ASSERT(readSync.imageLayout != VK_IMAGE_LAYOUT_UNDEFINED); in iterate()
1413 readSync.stageMask, // VkPipelineStageFlags2KHR dstStageMask in iterate()
[all …]
DvktSynchronizationTimelineSemaphoreTests.cpp982 const SyncInfo readSync = m_iterations[iterIdx]->readOp->getInSyncInfo(); in iterate() local
988 DE_ASSERT(readSync.imageLayout != VK_IMAGE_LAYOUT_UNDEFINED); in iterate()
993 readSync.stageMask, // VkPipelineStageFlags2KHR dstStageMask in iterate()
994 readSync.accessMask, // VkAccessFlags2KHR dstAccessMask in iterate()
996 readSync.imageLayout, // VkImageLayout newLayout in iterate()
1008 readSync.stageMask, // VkPipelineStageFlags2KHR dstStageMask in iterate()
1009 readSync.accessMask, // VkAccessFlags2KHR dstAccessMask in iterate()
1603 const SyncInfo readSync = m_iterations[iterIdx + 1]->op->getInSyncInfo(); in iterate() local
1609 DE_ASSERT(readSync.imageLayout != VK_IMAGE_LAYOUT_UNDEFINED); in iterate()
1614 readSync.stageMask, // VkPipelineStageFlags2KHR dstStageMask in iterate()
[all …]
DvktSynchronizationWin32KeyedMutexTests.cpp485 const SyncInfo& readSync) in recordWriteBarrier() argument
490 …const vk::VkPipelineStageFlags dstStageMask = static_cast<VkPipelineStageFlags>(readSync.stageMa… in recordWriteBarrier()
491 const vk::VkAccessFlags dstAccessMask = static_cast<VkAccessFlags>(readSync.accessMask); in recordWriteBarrier()
506 readSync.imageLayout, in recordWriteBarrier()
543 const SyncInfo& readSync, in recordReadBarrier() argument
546 …const vk::VkPipelineStageFlags srcStageMask = static_cast<VkPipelineStageFlags>(readSync.stageMa… in recordReadBarrier()
547 const vk::VkAccessFlags srcAccessMask = static_cast<VkAccessFlags>(readSync.accessMask); in recordReadBarrier()
549 …const vk::VkPipelineStageFlags dstStageMask = static_cast<VkPipelineStageFlags>(readSync.stageMa… in recordReadBarrier()
550 const vk::VkAccessFlags dstAccessMask = static_cast<VkAccessFlags>(readSync.accessMask); in recordReadBarrier()
565 readSync.imageLayout, in recordReadBarrier()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
DvktSynchronizationOperationSingleQueueTests.cpp93 const SyncInfo readSync = m_readOp->getInSyncInfo(); in iterate() local
105 readSync.stageMask, // VkPipelineStageFlags2KHR dstStageMask in iterate()
106 readSync.accessMask, // VkAccessFlags2KHR dstAccessMask in iterate()
108 readSync.imageLayout, // VkImageLayout newLayout in iterate()
121 readSync.stageMask, // VkPipelineStageFlags2KHR dstStageMask in iterate()
122 readSync.accessMask, // VkAccessFlags2KHR dstAccessMask in iterate()
177 const SyncInfo readSync = m_readOp->getInSyncInfo(); in iterate() local
189 readSync.stageMask, // VkPipelineStageFlags2KHR dstStageMask in iterate()
190 readSync.accessMask, // VkAccessFlags2KHR dstAccessMask in iterate()
192 readSync.imageLayout, // VkImageLayout newLayout in iterate()
[all …]
DvktSynchronizationOperationMultiQueueTests.cpp383 const SyncInfo& readSync, in createBarrierMultiQueue() argument
395 !secondQueue ? VkPipelineStageFlags(VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT) : readSync.stageMask, in createBarrierMultiQueue()
396 !secondQueue ? 0u : readSync.accessMask, in createBarrierMultiQueue()
398 readSync.imageLayout, in createBarrierMultiQueue()
422 !secondQueue ? VkPipelineStageFlags(VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT) : readSync.stageMask, in createBarrierMultiQueue()
423 !secondQueue ? 0u : readSync.accessMask, in createBarrierMultiQueue()
528 const SyncInfo readSync = readOp->getInSyncInfo(); in iterate() local
534 …ue (synchronizationWrapper[QUEUETYPE_WRITE], writeCmdBuffer, writeSync, readSync, *resource, queue… in iterate()
538 …ueue (synchronizationWrapper[QUEUETYPE_READ], readCmdBuffer, writeSync, readSync, *resource, queue… in iterate()
702 const SyncInfo readSync = m_ops[opIdx]->getInSyncInfo(); in iterate() local
[all …]
DvktSynchronizationCrossInstanceSharingTests.cpp865 const SyncInfo& readSync) in recordWriteBarrier() argument
870 const vk::VkPipelineStageFlags2KHR dstStageMask = readSync.stageMask; in recordWriteBarrier()
871 const vk::VkAccessFlags2KHR dstAccessMask = readSync.accessMask; in recordWriteBarrier()
881 readSync.imageLayout, // VkImageLayout newLayout in recordWriteBarrier()
912 const SyncInfo& readSync, in recordReadBarrier() argument
915 const vk::VkPipelineStageFlags2KHR srcStageMask = readSync.stageMask; in recordReadBarrier()
916 const vk::VkAccessFlags2KHR srcAccessMask = readSync.accessMask; in recordReadBarrier()
918 const vk::VkPipelineStageFlags2KHR dstStageMask = readSync.stageMask; in recordReadBarrier()
919 const vk::VkAccessFlags2KHR dstAccessMask = readSync.accessMask; in recordReadBarrier()
929 readSync.imageLayout, // VkImageLayout newLayout in recordReadBarrier()
[all …]
DvktSynchronizationSignalOrderTests.cpp714 const SyncInfo readSync = iter.readOp->getInSyncInfo(); in iterate() local
730 DE_ASSERT(readSync.imageLayout != VK_IMAGE_LAYOUT_UNDEFINED); in iterate()
735 readSync.stageMask, // VkPipelineStageFlags2KHR dstStageMask in iterate()
736 readSync.accessMask, // VkAccessFlags2KHR dstAccessMask in iterate()
738 readSync.imageLayout, // VkImageLayout newLayout in iterate()
750 readSync.stageMask, // VkPipelineStageFlags2KHR dstStageMask in iterate()
751 readSync.accessMask, // VkAccessFlags2KHR dstAccessMask in iterate()
1402 const SyncInfo readSync = iter.readOp->getInSyncInfo(); in iterate() local
1408 DE_ASSERT(readSync.imageLayout != VK_IMAGE_LAYOUT_UNDEFINED); in iterate()
1413 readSync.stageMask, // VkPipelineStageFlags2KHR dstStageMask in iterate()
[all …]
DvktSynchronizationTimelineSemaphoreTests.cpp982 const SyncInfo readSync = m_iterations[iterIdx]->readOp->getInSyncInfo(); in iterate() local
988 DE_ASSERT(readSync.imageLayout != VK_IMAGE_LAYOUT_UNDEFINED); in iterate()
993 readSync.stageMask, // VkPipelineStageFlags2KHR dstStageMask in iterate()
994 readSync.accessMask, // VkAccessFlags2KHR dstAccessMask in iterate()
996 readSync.imageLayout, // VkImageLayout newLayout in iterate()
1008 readSync.stageMask, // VkPipelineStageFlags2KHR dstStageMask in iterate()
1009 readSync.accessMask, // VkAccessFlags2KHR dstAccessMask in iterate()
1603 const SyncInfo readSync = m_iterations[iterIdx + 1]->op->getInSyncInfo(); in iterate() local
1609 DE_ASSERT(readSync.imageLayout != VK_IMAGE_LAYOUT_UNDEFINED); in iterate()
1614 readSync.stageMask, // VkPipelineStageFlags2KHR dstStageMask in iterate()
[all …]
DvktSynchronizationWin32KeyedMutexTests.cpp485 const SyncInfo& readSync) in recordWriteBarrier() argument
490 …const vk::VkPipelineStageFlags dstStageMask = static_cast<VkPipelineStageFlags>(readSync.stageMa… in recordWriteBarrier()
491 const vk::VkAccessFlags dstAccessMask = static_cast<VkAccessFlags>(readSync.accessMask); in recordWriteBarrier()
506 readSync.imageLayout, in recordWriteBarrier()
543 const SyncInfo& readSync, in recordReadBarrier() argument
546 …const vk::VkPipelineStageFlags srcStageMask = static_cast<VkPipelineStageFlags>(readSync.stageMa… in recordReadBarrier()
547 const vk::VkAccessFlags srcAccessMask = static_cast<VkAccessFlags>(readSync.accessMask); in recordReadBarrier()
549 …const vk::VkPipelineStageFlags dstStageMask = static_cast<VkPipelineStageFlags>(readSync.stageMa… in recordReadBarrier()
550 const vk::VkAccessFlags dstAccessMask = static_cast<VkAccessFlags>(readSync.accessMask); in recordReadBarrier()
565 readSync.imageLayout, in recordReadBarrier()
[all …]
/third_party/node/test/common/
Dfixtures.mjs6 readSync,
13 readSync,
/third_party/node/test/pummel/
Dtest-fs-largefile.js42 fs.readSync(fd, readBuf, 0, readBuf.length, offset);
44 fs.readSync(fd, readBuf, 0, 1, 0);
/third_party/node/test/sequential/
Dtest-tls-securepair-client.js61 const key = fixtures.readSync(keyPath).toString();
62 const cert = fixtures.readSync(certPath).toString();

1234