| /third_party/lzma/CPP/7zip/ |
| D | 7zip_gcc.mak | 16 RC=windres.exe --target=pe-x86-64 17 RC=windres.exe -F pe-i386 27 CFLAGS_WARN_WALL = -Werror -Wall -Wextra 31 # -Wa,-aln=test.s 32 # -save-temps 33 FLAGS_BASE = -mbranch-protection=standard -march=armv8.5-a 34 FLAGS_BASE = -mbranch-protection=standard 36 # FLAGS_BASE = -DZ7_NO_UNICODE 38 CFLAGS_BASE_LIST = -c 44 CFLAGS_DEBUG = -g [all …]
|
| /third_party/skia/third_party/externals/icu/source/ |
| D | runConfigureICU | 4 # Copyright (c) 1999-2015, International Business Machines Corporation and 16 if test $ec -eq 0 23 …echo "${uletter}sage: $me [ -h, --help ] [ --enable-debug | --disable-release ] platform [ config… 24 if test $ec -eq 0 28 Options: -h, --help Print this message and exit 29 --enable-debug Enable support for debugging 30 --disable-release Disable presetting optimization flags 35 CXXFLAGS=xyz path/to/runConfigureICU --enable-debug ... 46 HP-UX/ACC Use the HP ANSI C/Advanced C++ compilers on HP-UX 11 61 TRU64V5.1/CXX Use the Compaq cxx compiler on Tru64 (OSF) [all …]
|
| /third_party/icu/icu4c/source/ |
| D | runConfigureICU | 4 # Copyright (c) 1999-2015, International Business Machines Corporation and 16 if test $ec -eq 0 23 …echo "${uletter}sage: $me [ -h, --help ] [ --enable-debug | --disable-release ] platform [ config… 24 if test $ec -eq 0 28 Options: -h, --help Print this message and exit 29 --enable-debug Enable support for debugging 30 --disable-release Disable presetting optimization flags 35 CXXFLAGS=xyz path/to/runConfigureICU --enable-debug ... 41 AIX/OpenXL Use the IBM Open XL ibm-clang_r/ibm-clang++_r compilers on AIX 47 HP-UX/ACC Use the HP ANSI C/Advanced C++ compilers on HP-UX 11 [all …]
|
| /third_party/skia/m133/third_party/externals/icu/source/ |
| D | runConfigureICU | 4 # Copyright (c) 1999-2015, International Business Machines Corporation and 16 if test $ec -eq 0 23 …echo "${uletter}sage: $me [ -h, --help ] [ --enable-debug | --disable-release ] platform [ config… 24 if test $ec -eq 0 28 Options: -h, --help Print this message and exit 29 --enable-debug Enable support for debugging 30 --disable-release Disable presetting optimization flags 35 CXXFLAGS=xyz path/to/runConfigureICU --enable-debug ... 41 AIX/OpenXL Use the IBM Open XL ibm-clang_r/ibm-clang++_r compilers on AIX 47 HP-UX/ACC Use the HP ANSI C/Advanced C++ compilers on HP-UX 11 [all …]
|
| /third_party/rust/crates/cxx/book/src/ |
| D | tutorial.md | 2 # Tutorial: CXX blobstore client 11 <https://github.com/dtolnay/cxx>. To try it out directly, run `cargo run` from 20 projects. (CXX works with other build systems too; refer to chapter 5.) 22 Create a blank Cargo project: `mkdir cxx-demo`; `cd cxx-demo`; `cargo init`. 24 Edit the Cargo.toml to add a dependency on the `cxx` crate: 29 # name = "cxx-demo" 34 cxx = "1.0" 41 CXX relies on a description of the function signatures that will be exposed from 43 in a Rust module annotated with the `#[cxx::bridge]` attribute macro. 51 #[cxx::bridge] [all …]
|
| D | extern-c++.md | 5 #[cxx::bridge] 16 The `extern "C++"` section of a CXX bridge declares C++ types and signatures to 28 # #[cxx::bridge] 46 MyType>`. This is to safeguard against things like mem::swap-ing the contents of 51 **Thread safety:** Be aware that CXX does not assume anything about the thread 53 CXX produces for you in Rust *do not* come with `Send` and `Sync` impls. If you 59 # #[cxx::bridge] 82 "Rust"](extern-rust.md)*** functions and methods. In particular, any signature 83 with a `self` parameter is interpreted as a C++ non-static member function and 87 in are accurate; that would be unreasonable. CXX performs static assertions that [all …]
|
| D | index.md | 2 …cxx"><img src="https://img.shields.io/badge/github-8da0cb?style=for-the-badge&labelColor=555555&lo… 5 # CXX — safe interop between Rust and C++ 10 boundary effectively within this regime. CXX fills in the low level stuff so 12 interface over unsafe C-style signatures. 18 From a high level description of the language boundary, CXX uses static analysis 28 they please. In addition, CXX provides builtin bindings for key standard library 35 large-file blobstore service. The blobstore supports a `put` operation for a 41 #[cxx::bridge] 46 fn next_chunk(buf: &mut MultiBuf) -> &[u8]; 54 fn new_blobstore_client() -> UniquePtr<BlobstoreClient>; [all …]
|
| D | context.md | 5 from the other language, the generally applicable approaches outside of the CXX 8 - Build a C-compatible wrapper around the code (expressed using `extern "C"` 9 signatures, primitives, C-compatible structs, raw pointers). Translate that 14 - Build a C wrapper around the C++ code and use **[bindgen]** to translate that 18 - Build a C-compatible Rust wrapper around the Rust code and use **[cbindgen]** 26 [bindgen]: https://github.com/rust-lang/rust-bindgen 33 related to C++ is best-effort only. Bindgen starts from a point of wanting to 38 memory-unsafe things at runtime whenever called. 40 [bindgen#388]: https://github.com/rust-lang/rust-bindgen/issues/388 41 [bindgen#380]: https://github.com/rust-lang/rust-bindgen/issues/380 [all …]
|
| D | shared.md | 12 sensitive but CXX will topologically sort and forward-declare your types as 17 For enums, only C-like a.k.a. unit variants are currently supported. 20 #[cxx::bridge] 35 fn deck() -> Vec<PlayingCard>; 43 Shared structs compile to an aggregate-initialization compatible C++ struct. 46 base type decided by CXX. 108 #[cxx::bridge] 130 #[cxx::bridge] 145 By default CXX represents your enum using the smallest integer type capable of 150 #[cxx::bridge] [all …]
|
| /third_party/rust/crates/cxx/macro/src/ |
| D | expand.rs | 20 pub fn bridge(mut ffi: Module) -> Result<TokenStream> { in bridge() 39 #[cfg(feature = "experimental-enum-variants-from-header")] in bridge() 51 fn expand(ffi: Module, doc: Doc, attrs: OtherAttrs, apis: &[Api], types: &Types) -> TokenStream { in expand() 121 // Work around https://github.com/rust-lang/rust/issues/67851. in expand() 154 fn expand_struct(strct: &Struct) -> TokenStream { in expand_struct() 187 unsafe impl #generics ::cxx::ExternType for #ident #generics { in expand_struct() 191 type Kind = ::cxx::kind::Trivial; in expand_struct() 198 fn expand_struct_operators(strct: &Struct) -> TokenStream { in expand_struct_operators() 213 … extern "C" fn #local_name #generics(lhs: &#ident #generics, rhs: &#ident #generics) -> bool { in expand_struct_operators() 215 ::cxx::private::prevent_unwind(__fn, || *lhs == *rhs) in expand_struct_operators() [all …]
|
| D | derive.rs | 7 pub fn expand_struct(strct: &Struct, actual_derives: &mut Option<TokenStream>) -> TokenStream { in expand_struct() 18 Trait::Eq => traits.push(quote_spanned!(span=> ::cxx::core::cmp::Eq)), in expand_struct() 20 Trait::Hash => traits.push(quote_spanned!(span=> ::cxx::core::hash::Hash)), in expand_struct() 22 Trait::PartialEq => traits.push(quote_spanned!(span=> ::cxx::core::cmp::PartialEq)), in expand_struct() 38 pub fn expand_enum(enm: &Enum, actual_derives: &mut Option<TokenStream>) -> TokenStream { in expand_enum() 60 traits.push(quote_spanned!(span=> ::cxx::core::cmp::Eq)); in expand_enum() 64 Trait::Hash => traits.push(quote_spanned!(span=> ::cxx::core::hash::Hash)), in expand_enum() 67 traits.push(quote_spanned!(span=> ::cxx::core::cmp::PartialEq)); in expand_enum() 86 traits.push(quote!(::cxx::core::cmp::Eq)); in expand_enum() 89 traits.push(quote!(::cxx::core::cmp::PartialEq)); in expand_enum() [all …]
|
| /third_party/elfutils/debuginfod/ |
| D | ChangeLog | 1 2023-04-21 Frank Ch. Eigler <fche@redhat.com> 3 * debuginfod.cxx (groom): Fix -r / -X logic. 5 2023-04-13 Frank Ch. Eigler <fche@redhat.com> 7 * debuginfod.cxx (archive_classify, scan_archive_file): Catch and 10 2023-03-30 Jan Alexander Steffens (heftig) <heftig@archlinux.org> 12 * debuginfod-client.c (update_atime): New function. 15 2023-03-30 Jan Alexander Steffens (heftig) <heftig@archlinux.org> 17 * debuginfod-client.c (debuginfod_query_server): Don't modify 19 * debuginfod.cxx (extract_section, handle_buildid_r_match): Ditto. 21 2023-03-30 Aaron Merey <amerey@redhat.com> [all …]
|
| /third_party/liburing/.github/workflows/ |
| D | build.yml | 10 runs-on: ubuntu-22.04 13 fail-fast: false 16 # x86-64 gcc 17 - arch: x86_64 18 cc_pkg: gcc-x86-64-linux-gnu 19 cxx_pkg: g++-x86-64-linux-gnu 20 cc: x86_64-linux-gnu-gcc 21 cxx: x86_64-linux-gnu-g++ 23 # x86-64 clang 24 - arch: x86_64 [all …]
|
| /third_party/rust/crates/cxx/ |
| D | README.md | 1 CXX — safe FFI between Rust and C++ 4 …lds.io/badge/github-dtolnay/cxx-8da0cb?style=for-the-badge&labelColor=555555&logo=github" height="… 5 …ps://img.shields.io/crates/v/cxx.svg?style=for-the-badge&color=fc8d62&logo=rust" height="20">](htt… 6 …img.shields.io/badge/docs.rs-cxx-66c2a5?style=for-the-badge&labelColor=555555&logo=docs.rs" height… 7 …ctions/workflow/status/dtolnay/cxx/ci.yml?branch=master&style=for-the-badge" height="20">](https:/… 11 using bindgen or cbindgen to generate unsafe C-style bindings. 21 cxx = "1.0" 23 [build-dependencies] 24 cxx-build = "1.0" 28 *[Release notes](https://github.com/dtolnay/cxx/releases)* [all …]
|
| D | Cargo.toml | 2 name = "cxx" 5 categories = ["development-tools::ffi", "api-bindings", "no-std"] 7 documentation = "https://docs.rs/cxx" 9 exclude = ["/demo", "/gen", "/syntax", "/third-party", "/tools/buck/prelude"] 10 homepage = "https://cxx.rs" 12 license = "MIT OR Apache-2.0" 14 repository = "https://github.com/dtolnay/cxx" 15 rust-version = "1.60" 18 default = ["std", "cxxbridge-flags/default"] # c++11 19 "c++14" = ["cxxbridge-flags/c++14"] [all …]
|
| D | BUILD | 5 name = "cxx", 13 ":cxxbridge-macro", 16 deps = [":core-lib"], 28 data = ["gen/cmd/src/gen/include/cxx.h"], 31 "//third-party:clap", 32 "//third-party:codespan-reporting", 33 "//third-party:proc-macro2", 34 "//third-party:quote", 35 "//third-party:syn", 41 hdrs = ["include/cxx.h"], [all …]
|
| /third_party/ncurses/package/ |
| D | ncurses.sym | 2 # script for shared library symbol-visibility using libtool 4 # This file was generated by ncu-mapsyms 6 …--disable-getcap --disable-leaks --disable-root-environ --disable-termcap --enable-getcap --enable… 7 …--disable-getcap --disable-leaks --disable-root-environ --disable-termcap --enable-getcap --enable… 8 …--disable-getcap --disable-leaks --disable-root-environ --disable-termcap --enable-hard-tabs --ena… 9 …--disable-getcap --disable-leaks --disable-root-environ --disable-termcap --enable-hard-tabs --wit… 11 …--disable-getcap --disable-leaks --disable-root-environ --disable-termcap --enable-getcap --enable… 12 …--disable-getcap --disable-leaks --disable-root-environ --disable-termcap --enable-hard-tabs --wit… 14 …--disable-getcap --disable-leaks --disable-root-environ --disable-termcap --enable-getcap --enable… 15 …--disable-getcap --disable-leaks --disable-root-environ --disable-termcap --enable-hard-tabs --wit… [all …]
|
| D | ncursesw.sym | 2 # script for shared library symbol-visibility using libtool 4 # This file was generated by ncu-mapsyms 6 …--disable-getcap --disable-leaks --disable-root-environ --disable-termcap --enable-getcap --enable… 7 …--disable-getcap --disable-leaks --disable-root-environ --disable-termcap --enable-hard-tabs --ena… 9 …--disable-getcap --disable-leaks --disable-root-environ --disable-termcap --enable-getcap --enable… 10 …--disable-getcap --disable-leaks --disable-root-environ --disable-termcap --enable-hard-tabs --ena… 12 …--disable-getcap --disable-leaks --disable-root-environ --disable-termcap --enable-getcap --enable… 13 …--disable-getcap --disable-leaks --disable-root-environ --disable-termcap --enable-hard-tabs --ena… 15 …--disable-getcap --disable-leaks --disable-root-environ --disable-termcap --enable-getcap --enable… 16 …--disable-getcap --disable-leaks --disable-root-environ --disable-termcap --enable-hard-tabs --ena… [all …]
|
| /third_party/cups/ |
| D | BUILD.gn | 6 # http://www.apache.org/licenses/LICENSE-2.0 18 cups_code_dir = "${target_gen_dir}/cups-2.4.12" 35 "$core_code_dir/dest-job.c", 36 "$core_code_dir/dest-localization.c", 37 "$core_code_dir/dest-options.c", 47 "$core_code_dir/http-addr.c", 48 "$core_code_dir/http-addrlist.c", 49 "$core_code_dir/http-support.c", 51 "$core_code_dir/ipp-file.c", 52 "$core_code_dir/ipp-support.c", [all …]
|
| /third_party/rust/crates/cxx/book/src/binding/ |
| D | result.md | 12 by the CXX bridge to return Result, the program calls C++'s `std::terminate`. 17 declared by the CXX bridge to return Result, a message is logged and the program 25 Note that the return type written inside of cxx::bridge must be written without 33 #[cxx::bridge] 36 fn fallible1(depth: usize) -> Result<String>; 37 fn fallible2() -> Result<()>; 41 fn fallible1(depth: usize) -> anyhow::Result<String> { 48 fn fallible2() -> Result<(), io::Error> { 54 The exception that gets thrown by CXX on the C++ side is always of type 59 // rust/cxx.h [all …]
|
| /third_party/rust/crates/cxx/src/ |
| D | extern_type.rs | 14 /// `ExternType` makes it possible for CXX to safely share a consistent Rust 15 /// type across multiple #\[cxx::bridge\] invocations that refer to a common 18 /// In the following snippet, two #\[cxx::bridge\] invocations in different 26 /// the same type in Rust. The CXX code generator will use an automatically 34 /// #[cxx::bridge(namespace = "example")] 39 /// fn create_demo() -> UniquePtr<Demo>; 45 /// #[cxx::bridge(namespace = "example")] 59 /// ## Integrating with bindgen-generated types 62 /// emitted by bindgen as the definition of a C++ type emitted by CXX. 70 /// mod folly_sys; // the bindgen-generated bindings [all …]
|
| D | lib.rs | 1 …]](https://github.com/dtolnay/cxx) [![crates-io]](https://crates.io/crates/cxx) [![docs-… 3 //! [github]: https://img.shields.io/badge/github-8da0cb?style=for-the-badge&labelColor=555555&logo… 4 //! [crates-io]: https://img.shields.io/badge/crates.io-fc8d62?style=for-the-badge&labelColor=55555… 5 //! [docs-rs]: https://img.shields.io/badge/docs.rs-66c2a5?style=for-the-badge&labelColor=555555&lo… 11 //! wrong when using bindgen or cbindgen to generate unsafe C-style bindings. 22 //! *[Release notes](https://github.com/dtolnay/cxx/releases)* 28 //! Please see **<https://cxx.rs>** for a tutorial, reference material, and 37 //! From this, CXX receives a complete picture of the boundary to perform static 41 //! If everything checks out statically, then CXX uses a pair of code generators 56 //! combination. CXX guarantees an ABI-compatible signature that both sides [all …]
|
| /third_party/rust/crates/cxx/gen/build/ |
| D | Cargo.toml | 2 name = "cxx-build" 5 categories = ["development-tools::build-utils", "development-tools::ffi"] 6 description = "C++ code generator for integrating `cxx` crate into a Cargo build." 7 documentation = "https://docs.rs/cxx-build" 10 homepage = "https://cxx.rs" 11 keywords = ["ffi", "build-dependencies"] 12 license = "MIT OR Apache-2.0" 13 repository = "https://github.com/dtolnay/cxx" 14 rust-version = "1.60" 19 experimental-async-fn = [] [all …]
|
| /third_party/vulkan-loader/ |
| D | CMakeLists.txt | 2 # Copyright (c) 2014-2023 Valve Corporation 3 # Copyright (c) 2014-2023 LunarG, Inc. 4 # Copyright (c) 2021-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. 5 # Copyright (c) 2023-2023 RasterGrid Kft. 11 # http://www.apache.org/licenses/LICENSE-2.0 59 set(GIT_BRANCH_NAME "--unknown--") 60 set(GIT_TAG_INFO "--unknown--") 64 COMMAND ${GIT_EXECUTABLE} describe --tags --always 91 …"System-wide search directory. If not set or empty, CMAKE_INSTALL_FULL_SYSCONFDIR and /etc are use… 168 # Note that clang-cl.exe should use MSVC flavor flags, not GNU [all …]
|
| /third_party/gptfdisk/ |
| D | Makefile.linux | 1 CFLAGS+=-D_FILE_OFFSET_BITS=64 2 #CXXFLAGS+=-Wall -D_FILE_OFFSET_BITS=64 -D USE_UTF16 3 CXXFLAGS+=-Wall -D_FILE_OFFSET_BITS=64 5 …MES=crc32 support guid gptpart mbrpart basicmbr mbr gpt bsd parttypes attributes diskio diskio-unix 6 MBR_LIBS=support diskio diskio-unix basicmbr mbrpart 15 $(CXX) $(LIB_OBJS) gdisk.o gpttext.o $(LDFLAGS) -luuid $(LDLIBS) -o gdisk 16 # $(CXX) $(LIB_OBJS) gdisk.o gpttext.o $(LDFLAGS) -licuio -licuuc -luuid -o gdisk 19 $(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o $(LDFLAGS) -luuid -lncursesw $(LDLIBS) -o cgdisk 20 # $(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o $(LDFLAGS) -licuio -licuuc -luuid -lncurses -o cgdisk 23 $(CXX) $(LIB_OBJS) sgdisk.o gptcl.o $(LDFLAGS) -luuid -lpopt $(LDLIBS) -o sgdisk [all …]
|