/haiku/src/tests/system/libroot/posix/ |
H A D | tst-mbrtowc.c | 43 memset(&s, 0, sizeof(s)); /* get s into initial state */ in utf8_test_1() 54 memset(&s, 0, sizeof(s)); /* get s into initial state */ in utf8_test_1() 60 memset(&s, 0, sizeof(s)); /* get s into initial state */ in utf8_test_1() 76 memset(&s, 0, sizeof(s)); /* get s into initial state */ in utf8_test_2() 81 memset(&s, 0, sizeof(s)); /* get s into initial state */ in utf8_test_2() 86 memset(&s, 0, sizeof(s)); /* get s into initial state */ in utf8_test_2() 92 memset(&s, 0, sizeof(s)); /* get s into initial state */ in utf8_test_2() 111 memset(&s, 0, sizeof(s)); /* get s into initial state */ in utf8_test_3() 116 memset(&s, 0, sizeof(s)); /* get s into initial state */ in utf8_test_3() 121 memset(&s, 0, sizeof(s)); /* get s into initial state */ in utf8_test_3() [all …]
|
H A D | gnulib-test-mbrtowc.c | 45 memset (&state, '\0', sizeof (mbstate_t)); in main() 58 memset (&state, '\0', sizeof (mbstate_t)); in main() 75 memset (&state, '\0', sizeof (mbstate_t)); in main() 117 memset (&state, '\0', sizeof (mbstate_t)); in main() 127 memset (&state, '\0', sizeof (mbstate_t)); in main() 162 memset (&state, '\0', sizeof (mbstate_t)); in main() 215 memset (&state, '\0', sizeof (mbstate_t)); in main() 292 memset (&state, '\0', sizeof (mbstate_t)); in main() 354 memset (&state, '\0', sizeof (mbstate_t)); in main()
|
H A D | tst-wcrtomb.c | 63 memset(buf, '\xff', sizeof(buf)); in check_ascii() 64 memset(&s, '\0', sizeof(s)); in check_ascii()
|
/haiku/headers/os/package/hpkg/ |
H A D | PackageInfoAttributeValue.h | 128 memset(&version, 0, sizeof(version)); in Clear() 129 memset(&resolvable, 0, sizeof(resolvable)); in Clear() 130 memset(&resolvableExpression, 0, sizeof(resolvableExpression)); in Clear() 131 memset(&globalWritableFileInfo, 0, sizeof(globalWritableFileInfo)); in Clear() 132 memset(&userSettingsFileInfo, 0, sizeof(userSettingsFileInfo)); in Clear() 133 memset(&user, 0, sizeof(user)); in Clear()
|
/haiku/headers/libs/agg/ |
H A D | agg_alpha_mask_u8.h | 108 memset(dst, 0, num_pix * sizeof(cover_type)); in fill_hspan() 117 memset(dst, 0, num_pix * sizeof(cover_type)); in fill_hspan() 120 memset(covers, 0, -x * sizeof(cover_type)); in fill_hspan() 131 memset(dst, 0, num_pix * sizeof(cover_type)); in fill_hspan() 134 memset(covers + count, 0, rest * sizeof(cover_type)); in fill_hspan() 158 memset(dst, 0, num_pix * sizeof(cover_type)); in combine_hspan() 167 memset(dst, 0, num_pix * sizeof(cover_type)); in combine_hspan() 170 memset(covers, 0, -x * sizeof(cover_type)); in combine_hspan() 181 memset(dst, 0, num_pix * sizeof(cover_type)); in combine_hspan() 184 memset(covers + count, 0, rest * sizeof(cover_type)); in combine_hspan() [all …]
|
H A D | agg_rendering_buffer_dynarow.h | 69 memset(&m_rows[0], 0, sizeof(row_data) * height); in rendering_buffer_dynarow() 87 memset(&m_rows[0], 0, sizeof(row_data) * height); in init() 114 memset(p, 0, m_byte_width); in row_ptr()
|
/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/ |
H A D | nvme_admin.c | 111 memset(&cmd, 0, sizeof(struct nvme_cmd)); in nvme_admin_identify_ctrlr() 134 memset(&cmd, 0, sizeof(struct nvme_cmd)); in nvme_admin_get_feature() 169 memset(&cmd, 0, sizeof(struct nvme_cmd)); in nvme_admin_set_feature() 202 memset(&cmd, 0, sizeof(struct nvme_cmd)); in nvme_admin_create_ioq() 238 memset(&cmd, 0, sizeof(struct nvme_cmd)); in nvme_admin_delete_ioq() 265 memset(&cmd, 0, sizeof(struct nvme_cmd)); in nvme_admin_identify_ns() 285 memset(&cmd, 0, sizeof(struct nvme_cmd)); in nvme_admin_attach_ns() 305 memset(&cmd, 0, sizeof(struct nvme_cmd)); in nvme_admin_detach_ns() 327 memset(&cmd, 0, sizeof(struct nvme_cmd)); in nvme_admin_create_ns() 358 memset(&cmd, 0, sizeof(struct nvme_cmd)); in nvme_admin_delete_ns() [all …]
|
/haiku/src/tests/kits/support/bmemoryio/ |
H A D | WriteTest.cpp | 30 memset(buf, 0, 10); in PerformTest() 38 memset(buf, 0, 10); in PerformTest() 46 memset(buf, 0, 10); in PerformTest() 54 memset(buf, 0, 10); in PerformTest() 61 memset(buf, 0, 10); in PerformTest()
|
/haiku/src/servers/app/drawing/Painter/ |
H A D | agg_clipped_alpha_mask.h | 98 memset(dst, m_outside, num_pix * sizeof(cover_type)); in _set_outside() 107 memset(dst, m_outside, num_pix * sizeof(cover_type)); in _set_outside() 110 memset(covers, m_outside, -x * sizeof(cover_type)); in _set_outside() 121 memset(dst, m_outside, num_pix * sizeof(cover_type)); in _set_outside() 124 memset(covers + count, m_outside, rest * sizeof(cover_type)); in _set_outside()
|
/haiku/src/tests/kits/media/media_decoder/ |
H A D | media_decoder.cpp | 22 memset(mh,0,sizeof(media_header)); in GetNextChunk() 48 memset(&format,0,sizeof(format)); in main() 66 memset(&format,0,sizeof(format)); in main() 77 memset(&mh,0,sizeof(mh)); in main()
|
/haiku/src/libs/bsd/ |
H A D | arc4random.c | 116 memset(rs, 0, sizeof(*rs)); in _rs_forkdetect() 170 memset(rsx->rs_buf, 0, sizeof(rsx->rs_buf)); in _rs_stir() 191 memset(rsx->rs_buf, 0, sizeof(rsx->rs_buf)); in _rs_rekey() 206 memset(rsx->rs_buf, 0, KEYSZ + IVSZ); in _rs_rekey() 224 memset(keystream, 0, m); in _rs_random_buf() 244 memset(keystream, 0, sizeof(*val)); in _rs_random_u32()
|
/haiku/src/bin/network/telnet/ |
H A D | general.h | 40 #define ClearElement(x) memset((char *)&x, 0, sizeof x) 41 #define ClearArray(x) memset((char *)x, 0, sizeof x)
|
/haiku/src/system/libroot/posix/string/arch/x86/ |
H A D | arch_string.S | 18 FUNCTION(memset): 22 FUNCTION_END(memset)
|
/haiku/src/kits/support/ |
H A D | BlockCache.cpp | 102 DEBUG_ONLY(memset(pointer, 0xCC, sizeof(_FreeBlock))); in ~BBlockCache() 122 DEBUG_ONLY(memset(pointer, 0xCC, sizeof(_FreeBlock))); in Get() 127 DEBUG_ONLY(if (pointer) memset(pointer, 0xCC, sizeof(_FreeBlock))); in Get() 148 DEBUG_ONLY(memset(pointer, 0xCC, sizeof(_FreeBlock))); in Save()
|
/haiku/src/system/kernel/arch/sparc/ |
H A D | arch_thread.cpp | 55 memset((void *)((addr_t)kstack + KERNEL_STACK_GUARD_PAGES * B_PAGE_SIZE), 0, in arch_thread_init_kthread_stack() 58 memset(kstack, 0, KERNEL_STACK_SIZE); in arch_thread_init_kthread_stack() 61 memset(kstack, 0, KERNEL_STACK_SIZE); in arch_thread_init_kthread_stack()
|
/haiku/src/tests/system/network/ |
H A D | ufunc.c | 29 memset(buf, '=', sl + 4); in test_banner() 34 memset(buf, '=', sl + 4); in test_banner()
|
H A D | unix_dgram_test.cpp | 169 memset(&addr, 0, sizeof(addr)); in send_test() 264 memset(buf, 0, sizeof(buf)); in send_test() 275 memset(buf, 0, sizeof(buf)); in send_test() 277 memset(&addr3, 0, sizeof(addr3)); in send_test() 305 memset(buf, 0, sizeof(buf)); in send_test() 317 memset(buf, 0, sizeof(buf)); in send_test() 389 memset(buf, 0, sizeof(buf)); in send_unbound_test() 391 memset(&addr_sender, 0, sizeof(addr_sender)); in send_unbound_test() 482 memset(buf, 0, sizeof(buf)); in shutdown_test() 562 memset(&msg, 0, sizeof(msg)); in send_fd_test() [all …]
|
/haiku/src/tests/system/network/multicast/ |
H A D | multicast.cpp | 22 memset(&sin, 0, sizeof(sin)); in main() 29 memset(&mreq, 0, sizeof(mreq)); in main()
|
/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | mkdos.cpp | 41 memset(d, 0, sizeof(*d)); in create_volume_label_sector() 42 memset(d->deName, 0x20, 11); in create_volume_label_sector() 389 memset(bootsector,0x00,512); in _dosfs_initialize() 419 memset(bs->BPB_Reserved,0,12); in _dosfs_initialize() 425 memset(bs->BS_VolLab, 0x20, 11); in _dosfs_initialize() 456 memset(bs->BS_VolLab, 0x20, 11); in _dosfs_initialize() 475 memset(zerobuffer,0,65536); in _dosfs_initialize() 511 memset(sec,0,512); in _dosfs_initialize() 562 memset(&fsinfosector,0x00,512); in _dosfs_initialize() 580 memset(data, 0, 512); in _dosfs_initialize() [all …]
|
/haiku/src/add-ons/kernel/partitioning_systems/common/ |
H A D | PartitionMapWriter.cpp | 164 memset(descriptor, 0, sizeof(partition_descriptor)); in WriteLogical() 169 memset(descriptor, 0, sizeof(partition_descriptor)); in WriteLogical() 199 memset(descriptor, 0, sizeof(partition_descriptor)); in WriteExtendedHead() 218 memset(descriptor, 0, sizeof(partition_descriptor)); in WriteExtendedHead() 223 memset(descriptor, 0, sizeof(partition_descriptor)); in WriteExtendedHead() 249 memset(descriptor, 0, sizeof(partition_descriptor)); in ClearExtendedHead()
|
/haiku/src/kits/debugger/model/ |
H A D | SystemInfo.cpp | 14 memset(&fSystemInfo, 0, sizeof(system_info)); in SystemInfo() 15 memset(&fSystemName, 0, sizeof(utsname)); in SystemInfo()
|
/haiku/src/system/libroot/posix/string/ |
H A D | strncpy.cpp | 26 memset(dest, '\0', count); in strncpy() 54 memset(dest, '\0', count); in strncpy()
|
/haiku/src/system/boot/platform/bios_ia32/ |
H A D | long.cpp | 96 memset(pmlTop, 0, B_PAGE_SIZE); in long_mmu_init() 140 memset(pml4, 0, B_PAGE_SIZE); in long_mmu_init() 155 memset(pdpt, 0, B_PAGE_SIZE); in long_mmu_init() 161 memset(pageDir, 0, B_PAGE_SIZE); in long_mmu_init() 175 memset(pdpt, 0, B_PAGE_SIZE); in long_mmu_init() 179 memset(pageDir, 0, B_PAGE_SIZE); in long_mmu_init() 192 memset(pageTable, 0, B_PAGE_SIZE); in long_mmu_init()
|
/haiku/src/system/boot/platform/efi/arch/x86_64/ |
H A D | arch_mmu.cpp | 207 memset(pml4, 0, B_PAGE_SIZE); in arch_mmu_generate_post_efi_page_tables() 261 memset(pdpt, 0, B_PAGE_SIZE); in arch_mmu_generate_post_efi_page_tables() 267 memset(pageDir, 0, B_PAGE_SIZE); in arch_mmu_generate_post_efi_page_tables() 278 memset(pdpt, 0, B_PAGE_SIZE); in arch_mmu_generate_post_efi_page_tables() 282 memset(pageDir, 0, B_PAGE_SIZE); in arch_mmu_generate_post_efi_page_tables() 292 memset(pageTable, 0, B_PAGE_SIZE); in arch_mmu_generate_post_efi_page_tables()
|
/haiku/src/add-ons/kernel/generic/scsi_periph/ |
H A D | block.cpp | 114 memset(&capacityResult, 0, sizeof(capacityResult)); in read_capacity_10() 117 memset(cmd, 0, sizeof(*cmd)); in read_capacity_10() 154 memset(&capacityLongResult, 0, sizeof(capacityLongResult)); in read_capacity_16() 158 memset(cmd, 0, sizeof(*cmd)); in read_capacity_16() 205 memset(&vpdProvisioning, 0, sizeof(vpdProvisioning)); in get_unmap_commands() 233 memset(&vpdBlockLimits, 0, sizeof(vpdBlockLimits)); in get_unmap_limits() 497 memset(unmapList, 0, unmapListAllocatedSize); in trim_unmap() 551 memset(cmd, 0, sizeof(*cmd)); in trim_unmap() 606 memset(unmapList, 0, unmapListSize); in trim_unmap() 653 memset(block, 0, device->block_size); in trim_writesame16() [all …]
|