Lines Matching refs:contains
15 if !exclude.iter().any(|x| target.contains(x)) {
20 if target.contains("solaris") || target.contains("illumos") {
26 if target.contains("linux")
27 || target.contains("android")
28 || target.contains("emscripten")
29 || target.contains("fuchsia")
30 || target.contains("bsd")
35 if target.contains("android") || target.contains("linux") {
38 if target.contains("linux")
39 || target.contains("l4re")
40 || target.contains("android")
41 || target.contains("emscripten")
49 t if t.contains("android") => return test_android(t),
50 t if t.contains("apple") => return test_apple(t),
51 t if t.contains("dragonfly") => return test_dragonflybsd(t),
52 t if t.contains("emscripten") => return test_emscripten(t),
53 t if t.contains("freebsd") => return test_freebsd(t),
54 t if t.contains("haiku") => return test_haiku(t),
55 t if t.contains("linux") => return test_linux(t),
56 t if t.contains("netbsd") => return test_netbsd(t),
57 t if t.contains("openbsd") => return test_openbsd(t),
58 t if t.contains("redox") => return test_redox(t),
59 t if t.contains("solaris") => return test_solarish(t),
60 t if t.contains("illumos") => return test_solarish(t),
61 t if t.contains("wasi") => return test_wasi(t),
62 t if t.contains("windows") => return test_windows(t),
63 t if t.contains("vxworks") => return test_vxworks(t),
64 t if t.contains("nto-qnx") => return test_neutrino(t),
183 assert!(target.contains("apple"));
184 let x86_64 = target.contains("x86_64");
185 let i686 = target.contains("i686");
395 // FIXME: sigaction actually contains a union with two variants:
414 assert!(target.contains("openbsd"));
419 let x86_64 = target.contains("x86_64");
582 assert!(target.contains("windows"));
583 let gnu = target.contains("gnu");
586 if target.contains("msvc") {
704 assert!(target.contains("redox"));
753 let is_solaris = target.contains("solaris");
754 let is_illumos = target.contains("illumos");
905 if ty.contains("door_desc_t_") {
993 assert!(target.contains("netbsd"));
1203 assert!(target.contains("dragonfly"));
1426 assert!(target.contains("wasi"));
1501 assert!(target.contains("android"));
1503 t if t.contains("aarch64") || t.contains("x86_64") => 64,
1504 t if t.contains("i686") || t.contains("arm") => 32,
1507 let x86 = target.contains("i686") || target.contains("x86_64");
1862 assert!(target.contains("freebsd"));
2400 assert!(target.contains("emscripten"));
2591 n if n.contains("__SIZEOF_PTHREAD") => true,
2654 ].contains(&field))
2662 assert!(target.contains("nto-qnx"));
2876 // fields contains unions
2913 assert!(target.contains("vxworks"));
3021 assert!(target.contains("linux"));
3024 let gnu = target.contains("gnu");
3025 let musl = target.contains("musl") || target.contains("ohos");
3026 let uclibc = target.contains("uclibc");
3038 let arm = target.contains("arm");
3039 let i686 = target.contains("i686");
3040 let mips = target.contains("mips");
3041 let mips32 = mips && !target.contains("64");
3042 let mips64 = mips && target.contains("64");
3043 let ppc = target.contains("powerpc");
3044 let ppc64 = target.contains("powerpc64");
3045 let s390x = target.contains("s390x");
3046 let sparc64 = target.contains("sparc64");
3047 let x32 = target.contains("x32");
3048 let x86_32 = target.contains("i686");
3049 let x86_64 = target.contains("x86_64");
3050 let aarch64_musl = target.contains("aarch64") && musl;
3051 let gnueabihf = target.contains("gnueabihf");
3052 let x86_64_gnux32 = target.contains("gnux32") && x86_64;
3053 let riscv64 = target.contains("riscv64");
3054 let uclibc = target.contains("uclibc");
3469 n if musl && n.contains("__SIZEOF_PTHREAD") => true,
3787 ].contains(&field) && musl) ||
3853 let gnu = target.contains("gnu");
3854 let musl = target.contains("musl") || target.contains("ohos");
3855 let linux = target.contains("linux");
3856 let emscripten = target.contains("emscripten");
3857 let android = target.contains("android");
4016 assert!(target.contains("haiku"));