Home
last modified time | relevance | path

Searched refs:zeroed (Results 1 – 25 of 83) sorted by relevance

1234

/third_party/rust/crates/bindgen/bindgen-integration/src/
Dlib.rs65 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/rust/crates/nix/test/sys/
Dtest_ioctl.rs218 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()
Dtest_ptrace.rs63 let siginfo = unsafe { mem::zeroed() }; in test_ptrace_setsiginfo()
/third_party/skia/tests/
DArenaAllocTest.cpp44 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/libc/libc-test/test/
Dcmsg.rs34 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/
Ddir.rs55 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()
/third_party/openssl/doc/man3/
DPKCS12_item_decrypt_d2i.pod37 buffer will zeroed after the decrypt.
42 the buffer containing the input encoding will be zeroed after the encrypt.
DBUF_MEM_new.pod35 BUF_MEM_free() frees up an already existing buffer. The data is zeroed
DOPENSSL_instrument_bus.pod24 zeroed upon invocation (if you want to retrieve actual probe values).
/third_party/rust/crates/nix/src/sys/socket/
Daddr.rs473 .. unsafe { mem::zeroed() }
488 .. unsafe { mem::zeroed() }
502 .. unsafe { mem::zeroed() }
510 .. unsafe { mem::zeroed() }
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/bindgen/book/src/
Dusing-unions.md74 let x = unsafe { std::mem::zeroed::<bindings_builtin_union::greek_t>() };
102 // `default()` or `zeroed()` may still be used with Bindgen's Union types
Dtutorial-5.md33 let mut stream: bz_stream = mem::zeroed();
70 let mut stream: bz_stream = mem::zeroed();
/third_party/mesa3d/docs/relnotes/
D19.0.8.rst43 - egl/x11: calloc dri2_surf so it's properly zeroed
/third_party/rust/crates/nix/src/sys/
Dutsname.rs49 let mut ret = mem::MaybeUninit::zeroed(); in uname()
Depoll.rs61 unsafe { mem::zeroed::<EpollEvent>() } in empty()
/third_party/ntfs-3g/ntfsprogs/
Dntfsfallocate.c497 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()
/third_party/rust/crates/rustix/tests/fs/
Dstatfs.rs7 let t: StatFs = unsafe { std::mem::zeroed() }; in test_statfs_abi()
/third_party/ffmpeg/libavcodec/
Daaccoder_twoloop.h523 int zeroed = 0; in search_for_quantizers_twoloop() local
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/openGLES/extensions/SGIX/
DSGIX_resample.txt143 RESAMPLE_ZERO_FILL_SGIX then derived components are zeroed. Note that
145 and the odd numbered pixels produced have the zeroed components:
/third_party/skia/third_party/externals/opengl-registry/extensions/SGIX/
DSGIX_resample.txt143 RESAMPLE_ZERO_FILL_SGIX then derived components are zeroed. Note that
145 and the odd numbered pixels produced have the zeroed components:
/third_party/rust/crates/regex/bench/src/ffi/
Dtcl.rs117 let mut info: tcl_regexp_info = unsafe { mem::zeroed() }; in find_at()
/third_party/rust/crates/nix/src/
Difaddrs.rs63 let mut dst_sock = mem::MaybeUninit::<libc::sockaddr_storage>::zeroed(); in workaround_xnu_bug()
Dsched.rs184 cpu_set: unsafe { mem::zeroed() }, in new()
/third_party/rust/crates/nix/test/
Dtest_fcntl.rs396 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/mbedtls/tests/scripts/
Dtest_zeroize.gdb40 # the block of memory was correctly zeroed would force the compiler to not

1234