Home
last modified time | relevance | path

Searched refs:wd (Results 1 – 25 of 230) sorted by relevance

12345678910

/third_party/musl/libc-test/src/functionalext/supplement/linux/
Dinotify.c26 int wd; member
42 static int inotify_rm_watch_test(int fd, int wd) in inotify_rm_watch_test() argument
45 return inotify_rm_watch(fd, wd); in inotify_rm_watch_test()
57 struct inotify_test data[TEST_DATA_COUNT] = {{.fd = fd, .wd = -1, .mask = IN_ACCESS}, in inotify_test()
58 {.fd = fd, .wd = -1, .mask = IN_MODIFY}, in inotify_test()
59 {.fd = fd, .wd = -1, .mask = IN_ATTRIB}, in inotify_test()
60 {.fd = fd, .wd = -1, .mask = IN_CLOSE_WRITE}, in inotify_test()
61 {.fd = fd, .wd = -1, .mask = IN_CLOSE_NOWRITE}, in inotify_test()
62 {.fd = fd, .wd = -1, .mask = IN_OPEN}, in inotify_test()
63 {.fd = fd, .wd = -1, .mask = IN_MOVED_FROM}, in inotify_test()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsMSAInstrFormats.td32 bits<5> wd;
39 let Inst{10-6} = wd;
45 bits<5> wd;
52 let Inst{10-6} = wd;
58 bits<5> wd;
65 let Inst{10-6} = wd;
71 bits<5> wd;
78 let Inst{10-6} = wd;
84 bits<5> wd;
89 let Inst{10-6} = wd;
[all …]
/third_party/skia/third_party/externals/imgui/examples/example_glfw_vulkan/
Dmain.cpp210 static void SetupVulkanWindow(ImGui_ImplVulkanH_Window* wd, VkSurfaceKHR surface, int width, int he… in SetupVulkanWindow() argument
212 wd->Surface = surface; in SetupVulkanWindow()
216 vkGetPhysicalDeviceSurfaceSupportKHR(g_PhysicalDevice, g_QueueFamily, wd->Surface, &res); in SetupVulkanWindow()
226wd->SurfaceFormat = ImGui_ImplVulkanH_SelectSurfaceFormat(g_PhysicalDevice, wd->Surface, requestSu… in SetupVulkanWindow()
234wd->PresentMode = ImGui_ImplVulkanH_SelectPresentMode(g_PhysicalDevice, wd->Surface, &present_mode… in SetupVulkanWindow()
239 …ImGui_ImplVulkanH_CreateOrResizeWindow(g_Instance, g_PhysicalDevice, g_Device, wd, g_QueueFamily, … in SetupVulkanWindow()
261 static void FrameRender(ImGui_ImplVulkanH_Window* wd, ImDrawData* draw_data) in FrameRender() argument
265 …VkSemaphore image_acquired_semaphore = wd->FrameSemaphores[wd->SemaphoreIndex].ImageAcquiredSemap… in FrameRender()
266 …VkSemaphore render_complete_semaphore = wd->FrameSemaphores[wd->SemaphoreIndex].RenderCompleteSema… in FrameRender()
267 …err = vkAcquireNextImageKHR(g_Device, wd->Swapchain, UINT64_MAX, image_acquired_semaphore, VK_NULL… in FrameRender()
[all …]
/third_party/flutter/skia/third_party/externals/imgui/examples/example_glfw_vulkan/
Dmain.cpp186 static void SetupVulkanWindowData(ImGui_ImplVulkanH_WindowData* wd, VkSurfaceKHR surface, int width… in SetupVulkanWindowData() argument
188 wd->Surface = surface; in SetupVulkanWindowData()
192 vkGetPhysicalDeviceSurfaceSupportKHR(g_PhysicalDevice, g_QueueFamily, wd->Surface, &res); in SetupVulkanWindowData()
202wd->SurfaceFormat = ImGui_ImplVulkanH_SelectSurfaceFormat(g_PhysicalDevice, wd->Surface, requestSu… in SetupVulkanWindowData()
210wd->PresentMode = ImGui_ImplVulkanH_SelectPresentMode(g_PhysicalDevice, wd->Surface, &present_mode… in SetupVulkanWindowData()
214 …ImGui_ImplVulkanH_CreateWindowDataCommandBuffers(g_PhysicalDevice, g_Device, g_QueueFamily, wd, g_… in SetupVulkanWindowData()
215 …ImGui_ImplVulkanH_CreateWindowDataSwapChainAndFramebuffer(g_PhysicalDevice, g_Device, wd, g_Alloca… in SetupVulkanWindowData()
220 ImGui_ImplVulkanH_WindowData* wd = &g_WindowData; in CleanupVulkan() local
221 ImGui_ImplVulkanH_DestroyWindowData(g_Instance, g_Device, wd, g_Allocator); in CleanupVulkan()
234 static void FrameRender(ImGui_ImplVulkanH_WindowData* wd) in FrameRender() argument
[all …]
/third_party/flutter/skia/third_party/externals/imgui/examples/example_sdl_vulkan/
Dmain.cpp176 static void SetupVulkanWindowData(ImGui_ImplVulkanH_WindowData* wd, VkSurfaceKHR surface, int width… in SetupVulkanWindowData() argument
178 wd->Surface = surface; in SetupVulkanWindowData()
182 vkGetPhysicalDeviceSurfaceSupportKHR(g_PhysicalDevice, g_QueueFamily, wd->Surface, &res); in SetupVulkanWindowData()
192wd->SurfaceFormat = ImGui_ImplVulkanH_SelectSurfaceFormat(g_PhysicalDevice, wd->Surface, requestSu… in SetupVulkanWindowData()
200wd->PresentMode = ImGui_ImplVulkanH_SelectPresentMode(g_PhysicalDevice, wd->Surface, &present_mode… in SetupVulkanWindowData()
204 …ImGui_ImplVulkanH_CreateWindowDataCommandBuffers(g_PhysicalDevice, g_Device, g_QueueFamily, wd, g_… in SetupVulkanWindowData()
205 …ImGui_ImplVulkanH_CreateWindowDataSwapChainAndFramebuffer(g_PhysicalDevice, g_Device, wd, g_Alloca… in SetupVulkanWindowData()
210 ImGui_ImplVulkanH_WindowData* wd = &g_WindowData; in CleanupVulkan() local
211 ImGui_ImplVulkanH_DestroyWindowData(g_Instance, g_Device, wd, g_Allocator); in CleanupVulkan()
224 static void FrameRender(ImGui_ImplVulkanH_WindowData* wd) in FrameRender() argument
[all …]
/third_party/skia/third_party/externals/imgui/examples/example_sdl_vulkan/
Dmain.cpp202 static void SetupVulkanWindow(ImGui_ImplVulkanH_Window* wd, VkSurfaceKHR surface, int width, int he… in SetupVulkanWindow() argument
204 wd->Surface = surface; in SetupVulkanWindow()
208 vkGetPhysicalDeviceSurfaceSupportKHR(g_PhysicalDevice, g_QueueFamily, wd->Surface, &res); in SetupVulkanWindow()
218wd->SurfaceFormat = ImGui_ImplVulkanH_SelectSurfaceFormat(g_PhysicalDevice, wd->Surface, requestSu… in SetupVulkanWindow()
226wd->PresentMode = ImGui_ImplVulkanH_SelectPresentMode(g_PhysicalDevice, wd->Surface, &present_mode… in SetupVulkanWindow()
231 …ImGui_ImplVulkanH_CreateOrResizeWindow(g_Instance, g_PhysicalDevice, g_Device, wd, g_QueueFamily, … in SetupVulkanWindow()
253 static void FrameRender(ImGui_ImplVulkanH_Window* wd, ImDrawData* draw_data) in FrameRender() argument
257 …VkSemaphore image_acquired_semaphore = wd->FrameSemaphores[wd->SemaphoreIndex].ImageAcquiredSemap… in FrameRender()
258 …VkSemaphore render_complete_semaphore = wd->FrameSemaphores[wd->SemaphoreIndex].RenderCompleteSema… in FrameRender()
259 …err = vkAcquireNextImageKHR(g_Device, wd->Swapchain, UINT64_MAX, image_acquired_semaphore, VK_NULL… in FrameRender()
[all …]
/third_party/libuv/src/unix/
Dlinux-inotify.c41 int wd; member
52 if (a->wd < b->wd) return -1; in compare_watchers()
53 if (a->wd > b->wd) return 1; in compare_watchers()
151 static struct watcher_list* find_watcher(uv_loop_t* loop, int wd) { in find_watcher() argument
153 w.wd = wd; in find_watcher()
162 inotify_rm_watch(loop->inotify_fd, w->wd); in maybe_free_watcher_list()
203 w = find_watcher(loop, e->wd); in uv__inotify_read()
257 int wd; in uv_fs_event_start() local
275 wd = inotify_add_watch(handle->loop->inotify_fd, path, events); in uv_fs_event_start()
276 if (wd == -1) in uv_fs_event_start()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleShaderFragmentMaskTests.cpp681 void drawAndSampleInputAttachment (Context& context, const TestParams& params, WorkingData& wd) in drawAndSampleInputAttachment() argument
693 …(VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, VK_SHADER_STAGE_FRAGMENT_BIT, &wd.defaultSampler.get()) in drawAndSampleInputAttachment()
707 …const VkDescriptorImageInfo colorImageInfo = makeDescriptorImageInfo(DE_NULL, *wd.colorImageView,… in drawAndSampleInputAttachment()
708 …const VkDescriptorBufferInfo bufferInfo = makeDescriptorBufferInfo(*wd.colorBuffer, 0u, wd.colorB… in drawAndSampleInputAttachment()
734 attachments.push_back(*wd.colorImageView); in drawAndSampleInputAttachment()
876 vk.cmdBindVertexBuffers(*cmdBuffer, 0u, 1u, &wd.vertexBuffer.get(), &vertexBufferOffset); in drawAndSampleInputAttachment()
880 vk.cmdDraw(*cmdBuffer, wd.numVertices, 1u, 0u, 0u); in drawAndSampleInputAttachment()
899 *wd.colorBuffer, // VkBuffer buffer; in drawAndSampleInputAttachment()
910 …invalidateMappedMemoryRange(vk, device, wd.colorBufferAlloc->getMemory(), wd.colorBufferAlloc->get… in drawAndSampleInputAttachment()
914 void draw (Context& context, const TestParams& params, WorkingData& wd) in draw() argument
[all …]
DvktPipelineMultisampleMixedAttachmentSamplesTests.cpp973 void draw (Context& context, const TestParams& params, WorkingData& wd) in draw() argument
977 const deUint32 numSubpasses = static_cast<deUint32>(wd.perSubpass.size()); in draw()
988 …perSubpassSampleLocationsInfo.push_back(makeSampleLocationsInfo(*wd.perSubpass[subpassNdx]->pixelG… in draw()
1003 attachments.push_back(wd.perSubpass[subpassNdx]->colorImageView.get()); in draw()
1004 attachments.push_back(wd.perSubpass[subpassNdx]->depthStencilImageView.get()); in draw()
1085 …c_cast<deUint32>(attachments.size()), dataOrNullPtr(attachments), wd.renderSize.x(), wd.renderSize… in draw()
1101wd.renderSize, getImageAspectFlags(params.depthStencilFormat), params.perSubpassSamples[subpassNdx… in draw()
1122 { wd.renderSize.x(), wd.renderSize.y() } in draw()
1162 …vk.cmdBindVertexBuffers(*cmdBuffer, 0u, 1u, &wd.perSubpass[subpassNdx]->vertexBuffer.get(), &verte… in draw()
1166 vk.cmdDraw(*cmdBuffer, wd.perSubpass[subpassNdx]->numVertices, 1u, 0u, 0u); in draw()
[all …]
/third_party/skia/third_party/externals/imgui/backends/
Dimgui_impl_vulkan.cpp120 …PhysicalDevice physical_device, VkDevice device, ImGui_ImplVulkanH_Window* wd, const VkAllocationC…
121 …PhysicalDevice physical_device, VkDevice device, ImGui_ImplVulkanH_Window* wd, uint32_t queue_fami…
1167 …PhysicalDevice physical_device, VkDevice device, ImGui_ImplVulkanH_Window* wd, uint32_t queue_fami… in ImGui_ImplVulkanH_CreateWindowCommandBuffers() argument
1175 for (uint32_t i = 0; i < wd->ImageCount; i++) in ImGui_ImplVulkanH_CreateWindowCommandBuffers()
1177 ImGui_ImplVulkanH_Frame* fd = &wd->Frames[i]; in ImGui_ImplVulkanH_CreateWindowCommandBuffers()
1178 ImGui_ImplVulkanH_FrameSemaphores* fsd = &wd->FrameSemaphores[i]; in ImGui_ImplVulkanH_CreateWindowCommandBuffers()
1227 …PhysicalDevice physical_device, VkDevice device, ImGui_ImplVulkanH_Window* wd, const VkAllocationC… in ImGui_ImplVulkanH_CreateWindowSwapChain() argument
1230 VkSwapchainKHR old_swapchain = wd->Swapchain; in ImGui_ImplVulkanH_CreateWindowSwapChain()
1231 wd->Swapchain = VK_NULL_HANDLE; in ImGui_ImplVulkanH_CreateWindowSwapChain()
1237 for (uint32_t i = 0; i < wd->ImageCount; i++) in ImGui_ImplVulkanH_CreateWindowSwapChain()
[all …]
/third_party/node/deps/npm/node_modules/npm-lifecycle/
Dindex.js65 function lifecycle (pkg, stage, wd, opts) { argument
83 validWd(wd || path.resolve(opts.dir, pkg.name), function (er, wd) { argument
86 if ((wd.indexOf(opts.dir) !== 0 || _incorrectWorkingDirectory(wd, pkg)) &&
88 …warn('lifecycle', logid(pkg, stage), 'cannot run in wd', pkg._id, pkg.scripts[stage], `(wd=${wd})`)
102 if (!opts.unsafePerm) env.TMPDIR = wd
104 lifecycle_(pkg, stage, wd, opts, env, (er) => {
113 function _incorrectWorkingDirectory (wd, pkg) { argument
114 return wd.lastIndexOf(pkg.name) !== wd.length - pkg.name.length
117 function lifecycle_ (pkg, stage, wd, opts, env, cb) { argument
119 var p = wd.split(/[\\/]node_modules[\\/]/)
[all …]
/third_party/rust/crates/nix/src/sys/
Dinotify.rs114 wd: i32, field
125 pub wd: WatchDescriptor, field
163 Errno::result(res).map(|wd| WatchDescriptor { wd }) in add_watch()
172 pub fn rm_watch(self, wd: WatchDescriptor) -> Result<()> { in rm_watch()
175 let arg = wd.wd; in rm_watch()
177 let arg = wd.wd as u32; in rm_watch()
225 wd: WatchDescriptor { wd: event.wd }, in read_events()
/third_party/ffmpeg/tests/api/
Dapi-threadmessage-test.c65 struct sender_data *wd = arg; in sender_thread() local
67 av_log(NULL, AV_LOG_INFO, "sender #%d: workload=%d\n", wd->id, wd->workload); in sender_thread()
68 for (i = 0; i < wd->workload; i++) { in sender_thread()
69 if (rand() % wd->workload < wd->workload / 10) { in sender_thread()
70 av_log(NULL, AV_LOG_INFO, "sender #%d: flushing the queue\n", wd->id); in sender_thread()
71 av_thread_message_flush(wd->queue); in sender_thread()
87 i + 1, wd->workload, wd->id); in sender_thread()
112 wd->id, i + 1, wd->workload, msg.frame); in sender_thread()
113 ret = av_thread_message_queue_send(wd->queue, &msg, 0); in sender_thread()
121 wd->id, av_err2str(ret)); in sender_thread()
[all …]
/third_party/flutter/skia/third_party/externals/imgui/examples/
Dimgui_impl_vulkan.cpp844 …ice, VkDevice device, uint32_t queue_family, ImGui_ImplVulkanH_WindowData* wd, const VkAllocationC… in ImGui_ImplVulkanH_CreateWindowDataCommandBuffers() argument
854 ImGui_ImplVulkanH_FrameData* fd = &wd->Frames[i]; in ImGui_ImplVulkanH_CreateWindowDataCommandBuffers()
902 …icalDevice physical_device, VkDevice device, ImGui_ImplVulkanH_WindowData* wd, const VkAllocationC… in ImGui_ImplVulkanH_CreateWindowDataSwapChainAndFramebuffer() argument
907 VkSwapchainKHR old_swapchain = wd->Swapchain; in ImGui_ImplVulkanH_CreateWindowDataSwapChainAndFramebuffer()
912 for (uint32_t i = 0; i < wd->BackBufferCount; i++) in ImGui_ImplVulkanH_CreateWindowDataSwapChainAndFramebuffer()
914 if (wd->BackBufferView[i]) in ImGui_ImplVulkanH_CreateWindowDataSwapChainAndFramebuffer()
915 vkDestroyImageView(device, wd->BackBufferView[i], allocator); in ImGui_ImplVulkanH_CreateWindowDataSwapChainAndFramebuffer()
916 if (wd->Framebuffer[i]) in ImGui_ImplVulkanH_CreateWindowDataSwapChainAndFramebuffer()
917 vkDestroyFramebuffer(device, wd->Framebuffer[i], allocator); in ImGui_ImplVulkanH_CreateWindowDataSwapChainAndFramebuffer()
919 wd->BackBufferCount = 0; in ImGui_ImplVulkanH_CreateWindowDataSwapChainAndFramebuffer()
[all …]
/third_party/ltp/testcases/kernel/syscalls/inotify/
Dinotify10.c40 int wd; member
121 event_set[test_cnt].wd = wd_parent; in verify_inotify()
127 event_set[test_cnt].wd = wd_subdir; in verify_inotify()
133 event_set[test_cnt].wd = wd_parent; in verify_inotify()
139 event_set[test_cnt].wd = wd_child; in verify_inotify()
157 "name=\"%.*s\"", event->wd, event->mask, in verify_inotify()
160 } else if (expected->wd == event->wd && in verify_inotify()
166 event->wd, event->mask, event->cookie, in verify_inotify()
173 event->wd, expected->wd, in verify_inotify()
Dinotify05.c36 static int wd; variable
87 event->wd, event->mask, in verify_inotify()
95 event->wd != -1) { in verify_inotify()
100 event->wd, event->mask, in verify_inotify()
114 event->wd, event->mask, in verify_inotify()
133 wd = SAFE_MYINOTIFY_ADD_WATCH(fd_notify, fname, IN_ALL_EVENTS); in setup()
141 if (fd_notify > 0 && myinotify_rm_watch(fd_notify, wd) == -1) { in cleanup()
143 fd_notify, wd); in cleanup()
Dinotify01.c38 static int wd, reap_wd; variable
106 event->wd, event->mask, in verify_inotify()
113 event->wd, event->mask, in verify_inotify()
118 event->wd, event->mask, in verify_inotify()
125 event->wd, event->mask, in verify_inotify()
147 wd = SAFE_MYINOTIFY_ADD_WATCH(fd_notify, fname, IN_ALL_EVENTS); in setup()
153 if (reap_wd && myinotify_rm_watch(fd_notify, wd) < 0) { in cleanup()
155 fd_notify, wd); in cleanup()
Dinotify03.c40 static int wd; variable
61 wd = SAFE_MYINOTIFY_ADD_WATCH(fd_notify, fname, IN_ALL_EVENTS); in verify_inotify()
96 event->wd, event->mask, in verify_inotify()
101 event->wd, event->mask, in verify_inotify()
107 event->wd, event->mask, in verify_inotify()
119 ret = myinotify_rm_watch(fd_notify, wd); in verify_inotify()
123 fd_notify, wd); in verify_inotify()
126 fd_notify, wd); in verify_inotify()
Dinotify08.c51 static int wd; variable
102 "name=\"%.*s\"", event->wd, event->mask, in verify_inotify()
110 event->wd, event->mask, in verify_inotify()
116 event->wd, event->mask, in verify_inotify()
143 wd = SAFE_MYINOTIFY_ADD_WATCH(fd_notify, FILE_PATH, in setup()
165 if (reap_wd && myinotify_rm_watch(fd_notify, wd) < 0) { in cleanup()
167 "inotify_rm_watch (%d, %d) failed,", fd_notify, wd); in cleanup()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiBufferMarkerTests.cpp105 void createDeviceWithExtension (Context& context, WorkingDevice& wd, VkQueueFlagBits testQueue, boo… in createDeviceWithExtension() argument
160wd.logicalDevice = createCustomDevice(useValidation, vkp, instance, instanceDriver, physicalDevice… in createDeviceWithExtension()
161 wd.deviceDriver = MovePtr<DeviceDriver>(new DeviceDriver(vkp, instance, *wd.logicalDevice)); in createDeviceWithExtension()
162wd.allocator = MovePtr<Allocator>(new SimpleAllocator(*wd.deviceDriver, *wd.logicalDevice, getPhy… in createDeviceWithExtension()
163 wd.queueFamilyIdx = queueCreateInfo.queueFamilyIndex; in createDeviceWithExtension()
164 wd.queue = getDeviceQueue(*wd.deviceDriver, *wd.logicalDevice, wd.queueFamilyIdx, 0u); in createDeviceWithExtension()
165 wd.queueProps = queueFamilyProperties[queueCreateInfo.queueFamilyIndex]; in createDeviceWithExtension()
286 WorkingDevice wd; in bufferMarkerSequential() local
288 createDeviceWithExtension(context, wd, params.testQueue, params.useHostPtr); in bufferMarkerSequential()
290 const DeviceInterface& vk(*wd.deviceDriver); in bufferMarkerSequential()
[all …]
/third_party/node/deps/npm/test/need-npm5-update/belongs-in-pacote/
Dgit-races.js18 var wd = path.resolve(tmpdir(), 'git-races') variable
21 var testcase_git = path.resolve(wd, testcase + '.git')
22 var testcase_path = path.resolve(wd, testcase)
49 var realrepo = path.resolve(wd, 'github-com-BryanDonovan-dummy-npm-' + name + '.git')
58 rimraf.sync(wd)
138 mkdirp.sync(wd)
140 extract(testcase_tgz, wd, andClone(testcase_git, testcase_path, andExtractPackages))
145 extract(tgz, wd, done)
155 cache: path.resolve(wd, 'cache')
/third_party/ffmpeg/libavcodec/arm/
Dvp9dsp_init_16bpp_arm_template.c192 #define define_loop_filter(dir, wd, size, bpp) \ argument
193 void ff_vp9_loop_filter_##dir##_##wd##_##size##_##bpp##_neon(uint8_t *dst, ptrdiff_t stride, int E,…
195 #define define_loop_filters(wd, size, bpp) \ argument
196 define_loop_filter(h, wd, size, bpp); \
197 define_loop_filter(v, wd, size, bpp)
215 #define init_lpf_func_8(idx1, idx2, dir, wd, bpp) \ in vp9dsp_loopfilter_init_arm() argument
216 dsp->loop_filter_8[idx1][idx2] = ff_vp9_loop_filter_##dir##_##wd##_8_##bpp##_neon in vp9dsp_loopfilter_init_arm()
221 #define init_lpf_func_mix2(idx1, idx2, idx3, dir, wd, bpp) \ in vp9dsp_loopfilter_init_arm() argument
222 dsp->loop_filter_mix2[idx1][idx2][idx3] = ff_vp9_loop_filter_##dir##_##wd##_16_##bpp##_neon in vp9dsp_loopfilter_init_arm()
224 #define init_lpf_funcs_8_wd(idx, wd, bpp) \ in vp9dsp_loopfilter_init_arm() argument
[all …]
/third_party/musl/porting/liteos_a/kernel/src/string/
Dstpncpy.c14 word *wd; in __stpncpy() local
19 wd=(void *)d; ws=(const void *)s; in __stpncpy()
21 n-=sizeof(size_t), ws++, wd++) *wd = *ws; in __stpncpy()
22 d=(void *)wd; s=(const void *)ws; in __stpncpy()
/third_party/musl/porting/liteos_m/kernel/src/string/
Dstpncpy.c14 word *wd; in __stpncpy() local
19 wd=(void *)d; ws=(const void *)s; in __stpncpy()
21 n-=sizeof(size_t), ws++, wd++) *wd = *ws; in __stpncpy()
22 d=(void *)wd; s=(const void *)ws; in __stpncpy()
/third_party/musl/src/string/
Dstpncpy.c14 word *wd; in __stpncpy() local
19 wd=(void *)d; ws=(const void *)s; in __stpncpy()
21 n-=sizeof(size_t), ws++, wd++) *wd = *ws; in __stpncpy()
22 d=(void *)wd; s=(const void *)ws; in __stpncpy()

12345678910