Home
last modified time | relevance | path

Searched refs:size_of (Results 76 - 100 of 439) sorted by relevance

12345678910>>...18

/third_party/rust/crates/serde/serde/src/de/
H A Dsize_hint.rs14 if mem::size_of::<Element>() == 0 { in cautious()
19 MAX_PREALLOC_BYTES / mem::size_of::<Element>(), in cautious()
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
H A Dissue-1443.rs25 ::std::mem::size_of::<Bar>(), in bindgen_test_layout_Bar()
66 ::std::mem::size_of::<Baz>(), in bindgen_test_layout_Baz()
107 ::std::mem::size_of::<Tar>(), in bindgen_test_layout_Tar()
148 ::std::mem::size_of::<Taz>(), in bindgen_test_layout_Taz()
H A Dstruct_with_nesting.rs33 ::std::mem::size_of::<foo__bindgen_ty_1__bindgen_ty_1>(), in bindgen_test_layout_foo__bindgen_ty_1__bindgen_ty_1()
77 ::std::mem::size_of::<foo__bindgen_ty_1__bindgen_ty_2>(), in bindgen_test_layout_foo__bindgen_ty_1__bindgen_ty_2()
133 ::std::mem::size_of::<foo__bindgen_ty_1>(), in bindgen_test_layout_foo__bindgen_ty_1()
168 ::std::mem::size_of::<foo>(), in bindgen_test_layout_foo()
H A Dsorted_items.rs30 ::std::mem::size_of::<Point>(), in bindgen_test_layout_Point()
66 ::std::mem::size_of::<Angle>(), in bindgen_test_layout_Angle()
117 ::std::mem::size_of::<Point>(), in bindgen_test_layout_Point()
157 ::std::mem::size_of::<Angle>(), in bindgen_test_layout_Angle()
H A Dsort-items.rs30 ::std::mem::size_of::<Point>(), in bindgen_test_layout_Point()
66 ::std::mem::size_of::<Angle>(), in bindgen_test_layout_Angle()
117 ::std::mem::size_of::<Point>(), in bindgen_test_layout_Point()
157 ::std::mem::size_of::<Angle>(), in bindgen_test_layout_Angle()
H A Dlayout_eth_conf.rs167 ::std::mem::size_of::<rte_eth_rxmode>(), in bindgen_test_layout_rte_eth_rxmode()
430 ::std::mem::size_of::<rte_eth_txmode>(), in bindgen_test_layout_rte_eth_txmode()
566 ::std::mem::size_of::<rte_eth_rss_conf>(), in bindgen_test_layout_rte_eth_rss_conf()
679 ::std::mem::size_of::<rte_eth_vmdq_dcb_conf__bindgen_ty_1>(), in bindgen_test_layout_rte_eth_vmdq_dcb_conf__bindgen_ty_1()
718 ::std::mem::size_of::<rte_eth_vmdq_dcb_conf>(), in bindgen_test_layout_rte_eth_vmdq_dcb_conf()
822 ::std::mem::size_of::<rte_eth_dcb_rx_conf>(), in bindgen_test_layout_rte_eth_dcb_rx_conf()
875 ::std::mem::size_of::<rte_eth_vmdq_dcb_tx_conf>(), in bindgen_test_layout_rte_eth_vmdq_dcb_tx_conf()
930 ::std::mem::size_of::<rte_eth_dcb_tx_conf>(), in bindgen_test_layout_rte_eth_dcb_tx_conf()
981 ::std::mem::size_of::<rte_eth_vmdq_tx_conf>(), in bindgen_test_layout_rte_eth_vmdq_tx_conf()
1044 ::std::mem::size_of in bindgen_test_layout_rte_eth_vmdq_rx_conf__bindgen_ty_1()
[all...]
H A Dpublic-dtor.rs16 ::std::mem::size_of::<cv_Foo>(), in bindgen_test_layout_cv_Foo()
44 ::std::mem::size_of::<cv_Bar>(), in bindgen_test_layout_cv_Bar()
H A Dinherit_typedef.rs16 ::std::mem::size_of::<Foo>(), in bindgen_test_layout_Foo()
35 ::std::mem::size_of::<Bar>(), in bindgen_test_layout_Bar()
H A Dissue_311.rs25 ::std::mem::size_of::<jsval_layout__bindgen_ty_1>(), in bindgen_test_layout_jsval_layout__bindgen_ty_1()
38 ::std::mem::size_of::<jsval_layout>(), in bindgen_test_layout_jsval_layout()
H A Dfunc_return_must_use.rs40 ::std::mem::size_of::<AnnotatedStruct>(), in bindgen_test_layout_AnnotatedStruct()
60 ::std::mem::size_of::<PlainStruct>(), in bindgen_test_layout_PlainStruct()
H A Dissue-447.rs26 ::std::mem::size_of::<GuardObjectNotifier>(), in bindgen_test_layout_GuardObjectNotifier()
46 ::std::mem::size_of::<JSAutoCompartment>(), in bindgen_test_layout_JSAutoCompartment()
H A Dopaque_in_struct.rs18 ::std::mem::size_of::<opaque>(), in bindgen_test_layout_opaque()
39 ::std::mem::size_of::<container>(), in bindgen_test_layout_container()
H A Dvtable_recursive_sig.rs20 ::std::mem::size_of::<Base>(), in bindgen_test_layout_Base()
51 ::std::mem::size_of::<Derived>(), in bindgen_test_layout_Derived()
H A Dissue-801-opaque-sloppiness.rs22 ::std::mem::size_of::<B>(), in bindgen_test_layout_B()
47 ::std::mem::size_of::<C>(), in bindgen_test_layout_C()
H A Darray-of-zero-sized-types.rs17 ::std::mem::size_of::<Empty>(), in bindgen_test_layout_Empty()
40 ::std::mem::size_of::<HasArrayOfEmpty>(), in bindgen_test_layout_HasArrayOfEmpty()
H A Dissue-574-assertion-failure-in-codegen.rs24 ::std::mem::size_of::<_bindgen_ty_1>(), in bindgen_test_layout__bindgen_ty_1()
50 ::std::mem::size_of::<a>(), in __bindgen_test_layout_a_open0_int_close0_instantiation()
H A Dissue-573-layout-test-failures.rs24 ::std::mem::size_of::<AutoIdVector>(), in bindgen_test_layout_AutoIdVector()
47 ::std::mem::size_of::<Outer>(), in __bindgen_test_layout_Outer_open0_int_close0_instantiation()
H A Dreplace_use.rs25 ::std::mem::size_of::<Test>(), in bindgen_test_layout_Test()
43 ::std::mem::size_of::<nsTArray>(), in __bindgen_test_layout_nsTArray_open0_long_close0_instantiation()
H A Dallowlist-namespaces.rs26 ::std::mem::size_of::<Helper>(), in bindgen_test_layout_Helper()
48 ::std::mem::size_of::<Test>(), in bindgen_test_layout_Test()
H A Dallowlisted-item-references-no-partialeq.rs16 ::std::mem::size_of::<NoPartialEq>(), in bindgen_test_layout_NoPartialEq()
37 ::std::mem::size_of::<AllowlistMe>(), in bindgen_test_layout_AllowlistMe()
H A Dallowlisted-item-references-no-hash.rs16 ::std::mem::size_of::<NoHash>(), in bindgen_test_layout_NoHash()
37 ::std::mem::size_of::<AllowlistMe>(), in bindgen_test_layout_AllowlistMe()
H A Dallowlisted_item_references_no_copy.rs16 ::std::mem::size_of::<NoCopy>(), in bindgen_test_layout_NoCopy()
37 ::std::mem::size_of::<AllowlistMe>(), in bindgen_test_layout_AllowlistMe()
/third_party/rust/crates/nix/src/
H A Dsched.rs227 let bytes = mem::size_of::<libc::cpu_set_t>();
229 let bytes = mem::size_of::<libc::cpuset_t>();
266 mem::size_of::<CpuSet>() as libc::size_t, in sched_setaffinity()
301 mem::size_of::<CpuSet>() as libc::size_t, in sched_getaffinity()
/third_party/rust/crates/rustix/src/backend/linux_raw/net/
H A Dsyscalls.rs11 by_mut, by_ref, c_int, c_uint, ret, ret_owned_fd, ret_usize, size_of, slice, slice_mut,
167 let mut addrlen = core::mem::size_of::<sockaddr>() as socklen_t;
182 let mut addrlen = core::mem::size_of::<sockaddr>() as socklen_t;
207 let mut addrlen = core::mem::size_of::<sockaddr>() as socklen_t;
223 let mut addrlen = core::mem::size_of::<sockaddr>() as socklen_t;
321 size_of::<sockaddr_in, _>()
335 size_of::<sockaddr_in, _>(),
359 size_of::<sockaddr_in6, _>()
373 size_of::<sockaddr_in6, _>(),
471 let mut addrlen = core::mem::size_of
[all...]
/third_party/rust/crates/rustix/src/backend/linux_raw/param/
H A Dauxv.rs18 use core::mem::size_of;
223 assert_eq!(phent, size_of::<Elf_Phdr>()); in init_from_auxp()
333 || hdr.e_ehsize as usize != size_of::<Elf_Ehdr>() in check_elf_base()
334 || hdr.e_phentsize as usize != size_of::<Elf_Phdr>() in check_elf_base()
346 if hdr.e_phoff < size_of::<Elf_Ehdr>() { in check_elf_base()

Completed in 15 milliseconds

12345678910>>...18