/third_party/rust/crates/bindgen/bindgen-integration/src/ |
H A D | lib.rs | 65 let mut first: bindings::bitfields::First = unsafe { mem::zeroed() }; in test_bitfields_first() 75 let mut second: bindings::bitfields::Second = unsafe { mem::zeroed() }; in test_bitfields_second() 84 let mut third: bindings::bitfields::Third = unsafe { mem::zeroed() }; in test_bitfields_third() 98 let mut fourth: bindings::bitfields::Fourth = unsafe { mem::zeroed() }; in test_bitfields_fourth() 110 let mut date: bindings::bitfields::Date2 = unsafe { mem::zeroed() }; in test_bitfields_date2() 123 let mut date: bindings::bitfields::Fifth = unsafe { mem::zeroed() }; in test_bitfields_fifth() 139 let mut date: bindings::bitfields::Sixth = unsafe { mem::zeroed() }; in test_bitfields_sixth() 153 let mut large: bindings::bitfields::Seventh = unsafe { mem::zeroed() }; in test_bitfields_seventh()
|
/third_party/skia/tests/ |
H A D | ArenaAllocTest.cpp | 44 int* zeroed = arena.makeArray<int>(10); in DEF_TEST() local 46 REPORTER_ASSERT(r, zeroed[i] == 0); in DEF_TEST() 69 int* zeroed = arena.makeArray<int>(10); in DEF_TEST() local 71 REPORTER_ASSERT(r, zeroed[i] == 0); in DEF_TEST() 95 int* zeroed = arena.makeArray<int>(10); in DEF_TEST() local 97 REPORTER_ASSERT(r, zeroed[i] == 0); in DEF_TEST()
|
/third_party/rust/crates/nix/test/sys/ |
H A D | test_ioctl.rs | 218 let mut termios = unsafe { mem::zeroed() }; in test_ioctl_read_bad() 235 let termios: termios = unsafe { mem::zeroed() }; in test_ioctl_write_ptr_bad() 265 let data: v4l2_audio = unsafe { mem::zeroed() }; in test_ioctl_write_ptr() 286 let mut data: v4l2_audio = unsafe { mem::zeroed() }; in test_ioctl_read() 296 let mut data: v4l2_audio = unsafe { mem::zeroed() }; in test_ioctl_readwrite() 327 let data: [spi_ioc_transfer; 4] = unsafe { mem::zeroed() }; in test_ioctl_write_buf() 363 let mut termios = unsafe { mem::zeroed() }; in test_ioctl_read() 372 let termios: termios = unsafe { mem::zeroed() }; in test_ioctl_write_ptr()
|
H A D | test_ptrace.rs | 63 let siginfo = unsafe { mem::zeroed() }; in test_ptrace_setsiginfo()
|
/third_party/rust/crates/libc/libc-test/test/ |
H A D | cmsg.rs | 34 let mut mhdr: msghdr = unsafe { mem::zeroed() }; in test_cmsg_firsthdr() 62 let mut mhdr: msghdr = unsafe { mem::zeroed() }; in test_cmsg_nxthdr()
|
/third_party/rust/crates/rustix/src/backend/libc/fs/ |
H A D | dir.rs | 55 use core::mem::zeroed; 292 d_name: zeroed(), in read_dirent() 294 __d_padding: zeroed(), in read_dirent() 313 let mut dirent: libc_dirent = zeroed(); in read_dirent()
|
H A D | syscalls.rs | 1374 let mut result: Stat = unsafe { core::mem::zeroed() }; in statx_to_stat() 1452 let mut result: Stat = unsafe { core::mem::zeroed() }; in stat64_to_stat()
|
/third_party/rust/crates/nix/src/sys/socket/ |
H A D | addr.rs | 473 .. unsafe { mem::zeroed() } in from_std() 488 .. unsafe { mem::zeroed() } in from_std() 502 .. unsafe { mem::zeroed() } in new() 510 .. unsafe { mem::zeroed() } in new() 818 ..mem::zeroed() in new() 865 ..mem::zeroed() in new_abstract() 894 .. unsafe { mem::zeroed() } in new_unnamed() 1027 let mut su: libc::sockaddr_un = mem::zeroed(); in from_raw() 1272 sin_zero: unsafe { mem::zeroed() }, in new() 1348 ..unsafe { mem::zeroed() } in from() [all...] |
/third_party/rust/crates/nix/src/sys/ |
H A D | utsname.rs | 49 let mut ret = mem::MaybeUninit::zeroed(); in uname()
|
H A D | epoll.rs | 61 unsafe { mem::zeroed::<EpollEvent>() } in empty()
|
H A D | event.rs | 240 ..unsafe { mem::zeroed() } in new()
|
H A D | wait.rs | 380 // Memory is zeroed rather than uninitialized, as not all platforms in waitid() 382 let mut siginfo: libc::siginfo_t = std::mem::zeroed(); in waitid()
|
H A D | aio.rs | 146 // Use mem::zeroed instead of explicitly zeroing each field, because the in common_init() 149 // explicitly zeroed when allocated. in common_init() 150 let mut a = unsafe { mem::zeroed::<libc::aiocb>() }; in common_init()
|
/third_party/rust/crates/rustix/tests/fs/ |
H A D | statfs.rs | 7 let t: StatFs = unsafe { std::mem::zeroed() }; in test_statfs_abi()
|
/third_party/ntfs-3g/ntfsprogs/ |
H A D | ntfsfallocate.c | 497 s64 zeroed; in ntfs_inner_zero() local 511 zeroed = ntfs_pwrite(vol->dev, in ntfs_inner_zero() 515 if (zeroed != vol->cluster_size) { in ntfs_inner_zero() 548 /* Newly allocated clusters before initialized size need be zeroed */ in ntfs_merge_allocation()
|
/third_party/rust/crates/nix/src/ |
H A D | ifaddrs.rs | 54 /// members of the sockaddr_storage are "ok" with being zeroed out (there are 63 let mut dst_sock = mem::MaybeUninit::<libc::sockaddr_storage>::zeroed(); in workaround_xnu_bug()
|
H A D | sched.rs | 184 cpu_set: unsafe { mem::zeroed() }, in new()
|
/third_party/rust/crates/regex/bench/src/ffi/ |
H A D | tcl.rs | 117 let mut info: tcl_regexp_info = unsafe { mem::zeroed() }; in find_at()
|
/third_party/ffmpeg/libavcodec/ |
H A D | aaccoder_twoloop.h | 523 int zeroed = 0; in search_for_quantizers_twoloop() 553 for (g = sce->ics.num_swb-1; g > 0 && zeroed < maxzeroed; g--) { in search_for_quantizers_twoloop() 563 zeroed++; in search_for_quantizers_twoloop() 568 if (zeroed) in search_for_quantizers_twoloop()
|
/third_party/rust/crates/nix/test/ |
H A D | test_fcntl.rs | 396 mem::zeroed() // required for Linux/mips in test_ofd_write_lock() 434 mem::zeroed() // required for Linux/mips in test_ofd_read_lock()
|
/third_party/rust/crates/rustix/src/backend/libc/process/ |
H A D | types.rs | 406 let mut set = unsafe { core::mem::zeroed() };
|
/third_party/rust/crates/rust-openssl/openssl/src/x509/ |
H A D | mod.rs | 320 let mut ctx = mem::zeroed(); in x509v3_context() 336 // nodb case taken care of since we zeroed ctx above in x509v3_context() 915 ctx = mem::zeroed(); in new() 966 ctx = mem::zeroed(); in new_nid() 1418 let mut ctx = mem::zeroed(); in x509v3_context() 1429 // nodb case taken care of since we zeroed ctx above in x509v3_context()
|
/third_party/node/deps/openssl/config/archs/linux-armv4/asm/crypto/modes/ |
H A D | ghashv8-armx.S | 120 @ r12 is zeroed just in time
|
/third_party/node/deps/openssl/config/archs/linux-armv4/asm_avx2/crypto/modes/ |
H A D | ghashv8-armx.S | 120 @ r12 is zeroed just in time
|
/third_party/rust/crates/rustix/src/ |
H A D | io_uring.rs | 1056 $($field: unsafe { core::mem::zeroed() }),* in io_uring_layouts()
|