Home
last modified time | relevance | path

Searched refs:cfg (Results 1 – 25 of 122) sorted by relevance

12345

/rust-libc-0.2.174/libc-test/
H A Dbuild.rs82 cfg.cfg(f, None); in ctest_cfg()
84 cfg in ctest_cfg()
1831 cfg.cfg("libc_ctest", None); in test_wasi()
1836 cfg.cfg("target_env", Some("p2")); in test_wasi()
2405 Some(12) => cfg.cfg("freebsd12", None), in test_freebsd()
2406 Some(13) => cfg.cfg("freebsd13", None), in test_freebsd()
2407 Some(14) => cfg.cfg("freebsd14", None), in test_freebsd()
2408 Some(15) => cfg.cfg("freebsd15", None), in test_freebsd()
3707 cfg.cfg("linux_time_bits64", None); in config_gnu_bits()
3708 cfg.cfg("gnu_time_bits64", None); in config_gnu_bits()
[all …]
/rust-libc-0.2.174/src/unix/linux_like/linux/gnu/b64/
H A Dmod.rs14 #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))]
33 #[cfg(target_pointer_width = "32")]
35 #[cfg(target_pointer_width = "64")]
73 #[cfg(not(any(
85 #[cfg(not(any(
186 if #[cfg(target_arch = "aarch64")] {
189 } else if #[cfg(any(target_arch = "powerpc64"))] {
192 } else if #[cfg(any(target_arch = "sparc64"))] {
198 } else if #[cfg(any(target_arch = "s390x"))] {
201 } else if #[cfg(target_arch = "x86_64")] {
[all …]
/rust-libc-0.2.174/src/unix/linux_like/linux/gnu/b32/
H A Dmod.rs73 if #[cfg(not(any(
181 #[cfg(not(any(
191 #[cfg(not(any(
199 #[cfg(all(
214 #[cfg(gnu_time_bits64)]
252 #[cfg(not(gnu_time_bits64))]
395 } else if #[cfg(all(
410 #[cfg(target_endian = "little")]
428 #[cfg(target_endian = "big")]
434 #[cfg(target_endian = "big")]
[all …]
H A Dpowerpc.rs72 #[cfg(not(gnu_time_bits64))]
78 #[cfg(gnu_time_bits64)]
82 #[cfg(gnu_time_bits64)]
86 #[cfg(gnu_time_bits64)]
89 #[cfg(not(gnu_time_bits64))]
91 #[cfg(not(gnu_time_bits64))]
103 #[cfg(not(gnu_time_bits64))]
109 #[cfg(gnu_time_bits64)]
113 #[cfg(gnu_time_bits64)]
117 #[cfg(gnu_time_bits64)]
[all …]
/rust-libc-0.2.174/src/
H A Dlib.rs30 if #[cfg(feature = "rustc-dep-of-std")] {
38 if #[cfg(windows)] {
46 } else if #[cfg(target_os = "fuchsia")] {
54 } else if #[cfg(target_os = "switch")] {
62 } else if #[cfg(target_os = "psp")] {
70 } else if #[cfg(target_os = "vxworks")] {
86 } else if #[cfg(unix)] {
94 } else if #[cfg(target_os = "hermit")] {
102 } else if #[cfg(target_os = "teeos")] {
110 } else if #[cfg(target_os = "trusty")] {
[all …]
H A Dprimitives.rs21 if #[cfg(all(
54 if #[cfg(any(target_arch = "avr", target_arch = "msp430"))] {
64 if #[cfg(all(target_pointer_width = "64", not(windows)))] {
92 if #[cfg(all(target_arch = "aarch64", not(target_os = "windows")))] {
/rust-libc-0.2.174/src/unix/linux_like/linux/musl/b64/
H A Dmod.rs51 #[cfg(target_endian = "big")]
54 #[cfg(target_endian = "little")]
57 #[cfg(target_endian = "big")]
60 #[cfg(target_endian = "little")]
66 #[cfg(target_endian = "big")]
69 #[cfg(target_endian = "little")]
85 if #[cfg(target_arch = "aarch64")] {
88 } else if #[cfg(target_arch = "mips64")] {
94 } else if #[cfg(any(target_arch = "s390x"))] {
97 } else if #[cfg(any(target_arch = "x86_64"))] {
[all …]
/rust-libc-0.2.174/src/unix/newlib/
H A Dmod.rs9 if #[cfg(any(target_os = "espidf"))] {
37 if #[cfg(target_os = "horizon")] {
48 if #[cfg(target_os = "espidf")] {
57 if #[cfg(any(
92 #[cfg(target_os = "espidf")]
97 #[cfg(not(any(
215 #[cfg(target_os = "espidf")]
217 #[cfg(target_os = "espidf")]
253 #[cfg(target_os = "espidf")]
255 #[cfg(target_os = "espidf")]
[all …]
/rust-libc-0.2.174/src/unix/
H A Dmod.rs24 if #[cfg(any(
259 if #[cfg(not(any(
361 if #[cfg(any(
375 if #[cfg(any(
397 if #[cfg(any(
409 } else if #[cfg(all(
514 } else if #[cfg(any(
1633 if #[cfg(not(any(
1654 if #[cfg(not(any(
1836 } else if #[cfg(any(
[all …]
/rust-libc-0.2.174/src/unix/linux_like/linux/gnu/b32/mips/
H A Dmod.rs8 #[cfg(not(gnu_time_bits64))]
10 #[cfg(gnu_time_bits64)]
13 #[cfg(not(gnu_time_bits64))]
25 #[cfg(gnu_time_bits64)]
38 #[cfg(gnu_time_bits64)]
40 #[cfg(gnu_time_bits64)]
44 #[cfg(gnu_time_bits64)]
48 #[cfg(gnu_time_bits64)]
52 #[cfg(gnu_time_bits64)]
69 #[cfg(gnu_time_bits64)]
[all …]
/rust-libc-0.2.174/libc-test/test/
H A Dmakedev.rs4 #![cfg(any(
19 if #[cfg(any(target_os = "solaris", target_os = "illumos"))] {
22 } else if #[cfg(any(
34 } else if #[cfg(any(
42 } else if #[cfg(any(
81 #[cfg(target_os = "android")]
95 #[cfg(any(target_os = "dragonfly", target_os = "freebsd", target_os = "netbsd",))]
109 #[cfg(target_os = "openbsd")]
122 #[cfg(any(
H A Dcmsg.rs4 #[cfg(unix)]
14 #[cfg(not(target_arch = "sparc64"))]
55 #[cfg(not(target_arch = "sparc64"))]
72 if cfg!(target_os = "aix") && cmsg_len % std::mem::size_of::<cmsghdr>() != 0 { in test_cmsg_nxthdr()
/rust-libc-0.2.174/src/unix/solarish/
H A Dx86_64.rs4 if #[cfg(target_os = "solaris")] {
57 #[cfg(target_os = "solaris")]
59 #[cfg(target_os = "solaris")]
85 #[cfg(target_os = "illumos")]
87 #[cfg(target_os = "illumos")]
89 #[cfg(target_os = "illumos")]
91 #[cfg(target_os = "solaris")]
93 #[cfg(target_os = "solaris")]
95 #[cfg(target_os = "solaris")]
101 if #[cfg(feature = "extra_traits")] {
/rust-libc-0.2.174/src/unix/linux_like/linux/gnu/b64/aarch64/
H A Dilp32.rs11 #[cfg(target_endian = "little")]
18 #[cfg(target_endian = "little")]
25 #[cfg(target_endian = "little")]
32 #[cfg(target_endian = "big")]
39 #[cfg(target_endian = "big")]
46 #[cfg(target_endian = "big")]
H A Dlp64.rs11 #[cfg(target_endian = "little")]
18 #[cfg(target_endian = "little")]
25 #[cfg(target_endian = "little")]
32 #[cfg(target_endian = "big")]
39 #[cfg(target_endian = "big")]
46 #[cfg(target_endian = "big")]
/rust-libc-0.2.174/src/unix/linux_like/linux/musl/b32/
H A Dmod.rs44 if #[cfg(any(target_arch = "x86"))] {
47 } else if #[cfg(any(target_arch = "mips"))] {
50 } else if #[cfg(any(target_arch = "arm"))] {
53 } else if #[cfg(any(target_arch = "powerpc"))] {
56 } else if #[cfg(any(target_arch = "hexagon"))] {
59 } else if #[cfg(any(target_arch = "riscv32"))] {
/rust-libc-0.2.174/src/unix/linux_like/linux/musl/
H A Dmod.rs31 if #[cfg(doc)] {
163 #[cfg(target_arch = "mips")]
188 #[cfg(target_endian = "big")]
208 #[cfg(target_endian = "big")]
445 #[cfg(not(musl_v1_2_3))]
453 #[cfg(musl_v1_2_3)]
457 #[cfg(musl_v1_2_3)]
460 #[cfg(musl_v1_2_3)]
675 #[cfg(target_arch = "loongarch64")]
967 if #[cfg(any(
[all …]
/rust-libc-0.2.174/src/unix/linux_like/linux/arch/mips/
H A Dmod.rs37 if #[cfg(linux_time_bits64)] {
101 if #[cfg(linux_time_bits64)] {
225 if #[cfg(target_env = "musl")] {
249 if #[cfg(any(target_env = "gnu", target_env = "uclibc"))] {
269 } else if #[cfg(target_env = "musl")] {
296 if #[cfg(target_env = "gnu")] {
299 } else if #[cfg(target_env = "uclibc")] {
306 if #[cfg(
315 if #[cfg(all(
326 } else if #[cfg(all(
/rust-libc-0.2.174/src/unix/linux_like/linux/gnu/
H A Dmod.rs12 if #[cfg(doc)] {
35 #[cfg(all(
90 #[cfg(not(any(
99 #[cfg(not(any(
477 #[cfg(any(
484 #[cfg(any(
492 #[cfg(not(any(
499 #[cfg(not(any(
909 if #[cfg(not(any(
1028 if #[cfg(any(
[all …]
/rust-libc-0.2.174/src/unix/linux_like/linux/arch/generic/
H A Dmod.rs53 if #[cfg(all(
63 } else if #[cfg(all(
125 if #[cfg(all(
254 if #[cfg(any(target_arch = "arm", target_arch = "s390x"))] {
279 if #[cfg(any(target_env = "gnu", target_env = "uclibc"))] {
299 } else if #[cfg(any(target_env = "musl", target_env = "ohos"))] {
325 if #[cfg(target_env = "gnu")] {
328 } else if #[cfg(target_env = "uclibc")] {
/rust-libc-0.2.174/src/unix/linux_like/linux/arch/
H A Dmod.rs2 if #[cfg(any(
10 } else if #[cfg(any(target_arch = "powerpc", target_arch = "powerpc64"))] {
13 } else if #[cfg(any(target_arch = "sparc", target_arch = "sparc64"))] {
/rust-libc-0.2.174/src/unix/bsd/
H A Dmod.rs40 #[cfg(not(any(
60 #[cfg(target_os = "netbsd")]
65 #[cfg(all(
70 #[cfg(not(all(
146 #[cfg(target_os = "dragonfly")]
150 #[cfg(target_os = "dragonfly")]
154 #[cfg(target_os = "dragonfly")]
158 #[cfg(target_os = "dragonfly")]
162 #[cfg(target_os = "dragonfly")]
168 if #[cfg(feature = "extra_traits")] {
[all …]
/rust-libc-0.2.174/src/unix/linux_like/
H A Dmod.rs72 #[cfg(target_os = "android")]
299 #[cfg(target_pointer_width = "32")]
301 #[cfg(target_pointer_width = "64")]
322 #[cfg(target_pointer_width = "64")]
324 #[cfg(target_pointer_width = "32")]
330 if #[cfg(feature = "extra_traits")] {
571 if #[cfg(target_os = "android")] {
579 if #[cfg(target_env = "ohos")] {
1024 if #[cfg(all(
1703 if #[cfg(any(
[all …]
/rust-libc-0.2.174/src/unix/linux_like/linux/uclibc/
H A Dmod.rs16 if #[cfg(doc)] {
36 #[cfg(target_endian = "little")]
38 #[cfg(target_pointer_width = "32")]
40 #[cfg(target_endian = "big")]
68 #[cfg(target_pointer_width = "64")]
70 #[cfg(not(target_pointer_width = "64"))]
505 if #[cfg(any(target_arch = "mips", target_arch = "mips64"))] {
508 } else if #[cfg(target_arch = "x86_64")] {
511 } else if #[cfg(target_arch = "arm")] {
/rust-libc-0.2.174/src/unix/linux_like/linux/gnu/b32/arm/
H A Dmod.rs65 #[cfg(not(gnu_time_bits64))]
67 #[cfg(not(gnu_time_bits64))]
69 #[cfg(gnu_time_bits64)]
76 #[cfg(not(gnu_time_bits64))]
83 #[cfg(gnu_time_bits64)]
87 #[cfg(gnu_time_bits64)]
91 #[cfg(gnu_time_bits64)]
93 #[cfg(not(gnu_time_bits64))]
132 #[cfg(not(gnu_time_bits64))]
135 #[cfg(not(gnu_time_bits64))]
[all …]

12345