Searched refs:new (Results 1 – 12 of 12) sorted by relevance
| /rust-libc-0.2.174/libc-test/test/ |
| H A D | style_tests.rs | 21 let mut checker = StyleChecker::new(); in check_style_accept_correct_module_layout() 40 let mut checker = StyleChecker::new(); in check_style_reject_incorrect_module_layout() 57 let mut checker = StyleChecker::new(); in check_style_reject_incorrect_cfg_if_layout() 76 let mut checker = StyleChecker::new(); in check_style_accept_cfg_if_branch_resets_state() 89 let mut checker = StyleChecker::new(); in check_style_reject_multiple_f_macros() 104 let mut checker = StyleChecker::new(); in check_style_accept_cfg_ignore_target_endian_nested() 117 let mut checker = StyleChecker::new(); in check_style_reject_manual_copy() 130 let mut checker = StyleChecker::new(); in check_style_reject_manual_clone() 152 let mut checker = StyleChecker::new(); in check_style_accept_multiple_s_macros_with_disjoint_cfg() 165 let mut checker = StyleChecker::new(); in check_style_reject_duplicated_s_macro() [all …]
|
| H A D | check_style.rs | 21 let root_dir = Path::new(env!("CARGO_MANIFEST_DIR")).join("../src"); in check_style() 27 let mut style_checker = StyleChecker::new(); in walk()
|
| /rust-libc-0.2.174/ci/ios/ |
| H A D | deploy_and_run_on_ios_simulator.rs | 29 Path::new("ios_simulator_app").join(crate_name))); in package_as_simulator_app() 51 let output = t!(Command::new("xcrun").arg("simctl").arg("list").output()); in start_simulator() 71 Command::new("xcrun") in start_simulator() 80 Command::new("xcrun") in start_simulator() 90 Command::new("xcrun").arg("simctl").arg("erase").arg("rust_ios").check_status(); in start_simulator() 91 Command::new("xcrun").arg("simctl").arg("boot").arg("rust_ios").check_status(); in start_simulator() 97 Command::new("xcrun") in install_app_to_simulator() 108 let output = t!(Command::new("xcrun") in run_app_on_simulator() 130 Command::new("xcrun") in run_app_on_simulator() 158 let test_binary_path = Path::new(&args[1]); in main()
|
| /rust-libc-0.2.174/ci/ |
| H A D | runtest-android.rs | 12 let dst = Path::new("/data/local/tmp").join(test.file_name().unwrap()); in main() 14 let status = Command::new("adb") in main() 20 let status = Command::new("adb") in main() 28 let output = Command::new("adb") in main()
|
| /rust-libc-0.2.174/ |
| H A D | build.rs | 177 Some(ref wrapper) if wrapper.is_empty() => Command::new(rustc), in rustc_version_cmd() 179 let mut cmd = Command::new(wrapper); in rustc_version_cmd() 187 None => Command::new(rustc), in rustc_version_cmd() 248 let output = Command::new("freebsd-version").output().ok()?; in which_freebsd() 273 let output = Command::new(emcc).arg("-dumpversion").output().ok()?; in emcc_version_code()
|
| H A D | CONTRIBUTING.md | 25 Alternatively, you can start this process yourself by creating a new branch 50 `#[cfg]` attributes in order to easily be able to add new items which apply to 72 available between changes to the crate. If the new symbol(s) are available on 76 With that in mind, the steps for adding a new API are: 79 2. Add the API, including adding new symbol(s) to the semver lists.
|
| H A D | CHANGELOG.md | 16 - Allow new `unpredictable_function_pointer_comparisons` lints ([#4489](https://github.com/rust-lan… 32 - Linux: Add new flags for `pwritev2` and `preadv2` ([#4452](https://github.com/rust-lang/libc/pull… 36 - Musl: Add new fields since 1.2.0/1.2.2 to `struct tcp_info` ([#4443](https://github.com/rust-lang… 65 - Cygwin: Add new socket options ([#4350](https://github.com/rust-lang/libc/pull/4350)) 79 - Linux: Add new netlink flags ([#4288](https://github.com/rust-lang/libc/pull/4288)) 184 - FreeBSD: Add the new `st_filerev` field to `stat32` ([#4254](https://github.com/rust-lang/libc/pu… 188 - Linux: Added new CANFD_FDF flag for the flags field of canfd_frame <https://github.com/rust-lang/… 238 - Linux: Add new process flags ([#4174](https://github.com/rust-lang/libc/pull/4174)) 322 - Redox: add new `netinet` constants <https://github.com/rust-lang/libc/pull/3586>)
|
| H A D | README.md | 30 We will stop making new v0.2 releases once v1.0 is released.
|
| /rust-libc-0.2.174/libc-test/test/style/ |
| H A D | mod.rs | 112 pub fn new() -> Self { in new() method 240 self.seen_s_macro_cfgs.insert(String::new(), span); in handle_s_macro_no_attrs() 279 String::new(), in handle_s_macro_with_attrs() 444 let mut then_branch = Vec::new(); in parse() 458 else_branch = Some(Box::new(ExprCfgElse::If(input.parse()?))); in parse() 462 let mut items = Vec::new(); in parse() 466 else_branch = Some(Box::new(ExprCfgElse::Block(items))); in parse()
|
| /rust-libc-0.2.174/libc-test/ |
| H A D | build.rs | 12 Path::new(&env::var_os("OUT_DIR").unwrap()).join("src-hotfix") in src_hotfix_dir() 20 let mut cmsg = cc::Build::new(); in do_cc() 37 cc::Build::new().file("src/makedev.c").compile("makedev"); in do_cc() 41 cc::Build::new().file("src/errqueue.c").compile("errqueue"); in do_cc() 50 cc::Build::new().file("src/sigrt.c").compile("sigrt"); in do_cc() 79 let mut cfg = ctest::TestGenerator::new(); in ctest_cfg() 90 let mut output = BufWriter::new(File::create(&out).unwrap()); in do_semver() 141 let input = BufReader::new(input_file); in process_semver_file() 171 let re = regex::bytes::Regex::new(r"(?-u:\b)crate::").unwrap(); in main() 172 copy_dir_hotfix(Path::new("../src"), &hotfix_dir, &re, b"::"); in main() [all …]
|
| /rust-libc-0.2.174/.github/ISSUE_TEMPLATE/ |
| H A D | api_request.md | 18 small self-contained examples (nobody has time to create a new cargo project,
|
| H A D | bug_report.md | 20 small self-contained examples (nobody has time to create a new cargo project,
|