Home
last modified time | relevance | path

Searched +full:all +full:- +full:impls (Results 1 – 25 of 75) sorted by relevance

123

/third_party/openssl/crypto/property/
Dproperty.c2 * Copyright 2019-2022 The OpenSSL Project Authors. All Rights Reserved.
3 * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
59 STACK_OF(IMPLEMENTATION) *impls;
82 /* Count of the query cache entries for all algs */
85 /* Flag: 1 if query cache entries for all algs need flushing */
115 ossl_property_free(globp->list); in ossl_ctx_global_properties_free()
143 return globp != NULL ? &globp->list : NULL; in ossl_ctx_global_properties()
153 return globp != NULL && globp->no_mirrored ? 1 : 0; in ossl_global_properties_no_mirrored()
163 globp->no_mirrored = 1; in ossl_global_properties_stop_mirroring()
169 return (*method->up_ref)(method->method); in ossl_method_up_ref()
[all …]
/third_party/openssl/test/
Dproperty_test.c2 * Copyright 2019-2022 The OpenSSL Project Authors. All Rights Reserved.
3 * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
19 * We make our OSSL_PROVIDER for testing purposes. All we really need is
85 { "", "sky=blue", -1 },
92 { "groan", "groan=no", -1 },
93 { "groan", "groan!=yes", -1 },
94 { "cold=no", "cold", -1 },
97 { "groan", "cold", -1 },
100 { "groan=blue", "groan=yellow", -1 },
105 { "today=monday, tomorrow=3", "today!='monday'", -1 },
[all …]
/third_party/rust/crates/cxx/syntax/
Dtypes.rs16 pub all: OrderedSet<&'a Type>, field
24 pub impls: OrderedMap<ImplKey<'a>, Option<&'a Impl>>, field
31 pub fn collect(cx: &mut Errors, apis: &'a [Api]) -> Self { in collect()
32 let mut all = OrderedSet::new(); in collect() localVariable
39 let mut impls = OrderedMap::new(); in collect() localVariable
44 fn visit<'a>(all: &mut OrderedSet<&'a Type>, ty: &'a Type) { in collect()
54 CollectTypes(all).visit_type(ty); in collect()
69 // All other cases of duplicate identifiers are reported as an error. in collect()
86 visit(&mut all, &field.ty); in collect()
93 all.insert(repr_type); in collect()
[all …]
/third_party/rust/crates/serde/serde/
DCargo.toml5 rust-version = "1.15"
6 license = "MIT OR Apache-2.0"
9 repository = "https://github.com/serde-rs/serde"
13 readme = "crates-io.md"
14 include = ["build.rs", "src/**/*.rs", "crates-io.md", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
20 [dev-dependencies]
27 targets = ["x86_64-unknown-linux-gnu"]
38 # Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
42 # Provide impls for types that require unstable functionality. For tracking and
45 # https://github.com/serde-rs/serde/issues/812
[all …]
/third_party/rust/crates/rustix/
DCargo.toml8 description = "Safe Rust bindings to POSIX/Unix/Linux/Winsock2-like syscalls"
10 license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
14 categories = ["os::unix-apis", "date-and-time", "filesystem", "network-programming"]
16 rust-version = "1.48"
18 [build-dependencies]
23 itoa = { version = "1.0.1", default-features = false, optional = true }
24 io-lifetimes = { version = "1.0.0", default-features = false, features = ["close"], optional = true…
26 # Special dependencies used in rustc-dep-of-std mode.
27 core = { version = "1.0.0", optional = true, package = "rustc-std-workspace-core" }
28 alloc = { version = "1.0.0", optional = true, package = "rustc-std-workspace-alloc" }
[all …]
/third_party/rust/crates/syn/
DCargo.toml5 categories = ["development-tools::procedural-macro-helpers", "parser-implementations"]
13 "/LICENSE-APACHE",
14 "/LICENSE-MIT",
20 license = "MIT OR Apache-2.0"
22 rust-version = "1.31"
25 default = ["derive", "parsing", "printing", "clone-impls", "proc-macro"]
31 visit-mut = []
33 clone-impls = []
34 extra-traits = []
35 proc-macro = ["proc-macro2/proc-macro", "quote/proc-macro"]
[all …]
DREADME.md4 [<img alt="github" src="https://img.shields.io/badge/github-dtolnay/syn-8da0cb?style=for-the-badge&…
5 [<img alt="crates.io" src="https://img.shields.io/crates/v/syn.svg?style=for-the-badge&color=fc8d62…
6 [<img alt="docs.rs" src="https://img.shields.io/badge/docs.rs-syn-66c2a5?style=for-the-badge&labelC…
7 …/github/actions/workflow/status/dtolnay/syn/ci.yml?branch=master&style=for-the-badge" height="20">…
15 - **Data structures** — Syn provides a complete syntax tree that can represent
21 - **Derives** — Of particular interest to derive macros is [`syn::DeriveInput`]
24 user-defined trait.
26 - **Parsing** — Parsing in Syn is built around [parser functions] with the
27 signature `fn(ParseStream) -> Result<T>`. Every syntax tree node defined by
32 - **Location information** — Every token parsed by Syn is associated with a
[all …]
/third_party/rust/crates/rustix/.github/workflows/
Dmain.yml6 - main
13 runs-on: ubuntu-latest
15 - uses: actions/checkout@v3
18 - uses: ./.github/actions/install-rust
21 - run: cargo fmt --all -- --check
25 runs-on: ${{ matrix.os }}
30 - build: stable
31 os: ubuntu-latest
33 - build: nightly
34 os: ubuntu-latest
[all …]
/third_party/rust/crates/syn/codegen/src/
Dhash.rs9 fn skip(field_type: &Type) -> bool { in skip()
15 Type::Tuple(inner) => inner.iter().all(skip), in skip()
20 fn expand_impl_body(defs: &Definitions, node: &Node) -> TokenStream { in expand_impl_body()
121 fn expand_impl(defs: &Definitions, node: &Node) -> TokenStream { in expand_impl()
142 #[cfg_attr(doc_cfg, doc(cfg(feature = "extra-traits")))] in expand_impl()
154 pub fn generate(defs: &Definitions) -> Result<()> { in generate()
155 let mut impls = TokenStream::new(); in generate() localVariable
157 impls.extend(expand_impl(defs, node)); in generate()
168 #impls in generate()
Deq.rs9 fn always_eq(field_type: &Type) -> bool { in always_eq()
15 Type::Tuple(inner) => inner.iter().all(always_eq), in always_eq()
20 fn expand_impl_body(defs: &Definitions, node: &Node) -> TokenStream { in expand_impl_body()
106 fn expand_impl(defs: &Definitions, node: &Node) -> TokenStream { in expand_impl()
116 #[cfg_attr(doc_cfg, doc(cfg(feature = "extra-traits")))] in expand_impl()
136 #[cfg_attr(doc_cfg, doc(cfg(feature = "extra-traits")))] in expand_impl()
138 fn eq(&self, #other: &Self) -> bool { in expand_impl()
145 pub fn generate(defs: &Definitions) -> Result<()> { in generate()
146 let mut impls = TokenStream::new(); in generate() localVariable
148 impls.extend(expand_impl(defs, node)); in generate()
[all …]
/third_party/node/deps/npm/node_modules/protoduck/
DREADME.md1 …[![Travis](https://img.shields.io/travis/zkat/protoduck.svg)](https://travis-ci.org/zkat/protoduck…
13 `$ npm install -S protoduck`
21 * [Defining protocols](#defining-protocols)
22 * [Implementations](#protocol-impls)
23 * [Multiple dispatch](#multiple-dispatch)
38 isADuck: [() => true] // default implementation -- it's optional!
72 * Fresh JavaScript Feel™ -- methods work just like native methods when called
80 Like most Object-oriented languages, JavaScript comes with its own way of
101 another -- protocols are independent of inheritance, even though they're able to
126 #### Protocol Impls
[all …]
DCHANGELOG.md3 All notable changes to this project will be documented in this file. See [standard-version](https:/…
6 ## [5.0.1](https://github.com/zkat/protoduck/compare/v5.0.0...v5.0.1) (2018-10-26)
12 * **standard:** standard --fix ([2dedbb8](https://github.com/zkat/protoduck/commit/2dedbb8))
17 # [5.0.0](https://github.com/zkat/protoduck/compare/v4.0.0...v5.0.0) (2017-12-12)
29 * **license:** license changed from CC0-1.0 to MIT
34 # [4.0.0](https://github.com/zkat/protoduck/compare/v3.3.2...v4.0.0) (2017-04-17)
45 * **constraints:** added optional where-constraints ([16ad124](https://github.com/zkat/protoduck/co…
46 * **defaults:** allow default impls without arrays in defs ([6cf7d84](https://github.com/zkat/proto…
58 * Static protocols were removed -- only method-style protocols are available now.
/third_party/rust/crates/io-lifetimes/src/
Dlib.rs8 //! | ---------- | ------------------------ |
16 //! - Less `unsafe` in user code!
18 //! - Easier to understand ownership.
20 //! - It avoids the inconsistency where `AsRawFd` and `IntoRawFd` return
24 //! - It enables a number of safe and portable convenience features, such as
31 // Work around https://github.com/rust-lang/rust/issues/103306.
32 #![cfg_attr(all(wasi_ext, target_os = "wasi"), feature(wasi_ext))]
80 // io-lifetimes defined `FromFd`/`IntoFd` traits instead of just using
82 // including std types like File and TcpStream, and popular third-party types.
86 // for third-party types. However, this means that until `OwnedFd` et al are
[all …]
/third_party/rust/crates/rustix/src/backend/libc/time/
Dtypes.rs8 #[cfg(not(all(
15 #[cfg(all(
30 #[cfg(not(all(
38 #[cfg(all(
45 #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))]
49 #[cfg(not(all(target_arch = "x86_64", target_pointer_width = "32")))]
53 #[cfg(not(all(
59 /// On 32-bit glibc platforms, `timespec` has anonymous padding fields, which
61 /// struct with explicit padding, with bidirectional `From` impls.
62 #[cfg(all(
[all …]
/third_party/rust/crates/regex/
DCHANGELOG.md1 1.7.1 (2023-01-09)
8 * [PERF #930](https://github.com/rust-lang/regex/pull/930):
13 * [BUG #945](https://github.com/rust-lang/regex/issues/945):
17 1.7.0 (2022-11-05)
23 * [FEATURE #832](https://github.com/rust-lang/regex/issues/916):
27 1.6.0 (2022-07-05)
33 * [FEATURE #832](https://github.com/rust-lang/regex/pull/832):
34 Clarify that `Captures::len` includes all groups, not just matching groups.
35 * [FEATURE #857](https://github.com/rust-lang/regex/pull/857):
37 * [FEATURE #861](https://github.com/rust-lang/regex/pull/861):
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DIntermRebuild.h2 // Copyright 2020 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
24 // - The node is visited before children are traversed.
25 // - The returned value is used to replace the visited node. The returned value may be the same
27 // - If multiple nodes are returned, children and post visits of the returned nodes are not
30 // - If any new children are returned, the node is automatically rebuilt with the new children
32 // - Depending on the type of the node, null children may be discarded.
33 // - Ill-typed children cause rebuild errors. Ill-typed means the node to automatically rebuild
35 // - Only instances of TIntermAggregateBase can accept Multi results for any of its children.
38 // - The node is visited after any children are traversed.
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DIntermRebuild.h2 // Copyright 2020 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
24 // - The node is visited before children are traversed.
25 // - The returned value is used to replace the visited node. The returned value may be the same
27 // - If multiple nodes are returned, children and post visits of the returned nodes are not
30 // - If any new children are returned, the node is automatically rebuilt with the new children
32 // - Depending on the type of the node, null children may be discarded.
33 // - Ill-typed children cause rebuild errors. Ill-typed means the node to automatically rebuild
35 // - Only instances of TIntermAggregateBase can accept Multi results for any of its children.
38 // - The node is visited after any children are traversed.
[all …]
/third_party/libdrm/android/
Dgralloc_handle.h2 * Copyright (C) 2010-2011 Chia-I Wu <olvaffe@gmail.com>
3 * Copyright (C) 2010-2011 LunarG Inc.
15 * in all copies or substantial portions of the Software.
39 /* dma-buf file descriptor
54 uint32_t magic; /* differentiate between allocator impls */
76 ((sizeof(struct gralloc_handle_t) - sizeof(native_handle_t))/sizeof(int)) \
77 - GRALLOC_HANDLE_NUM_FDS)
100 handle->magic = GRALLOC_HANDLE_MAGIC; in gralloc_handle_create()
101 handle->version = GRALLOC_HANDLE_VERSION; in gralloc_handle_create()
102 handle->width = width; in gralloc_handle_create()
[all …]
/third_party/rust/crates/syn/src/
Dlit.rs10 #[cfg(feature = "extra-traits")]
21 /// [syntax tree enum]: crate::Expr#syntax-tree-enums
23 /// A UTF-8 string literal: `"foo"`.
52 /// A UTF-8 string literal: `"foo"`.
121 pub fn new(value: &str, span: Span) -> Self { in new()
132 pub fn value(&self) -> String { in value()
140 /// All spans in the syntax tree will point to the span of this `LitStr`.
153 /// fn get_path(attr: &Attribute) -> Result<Option<Path>> {
171 pub fn parse<T: Parse>(&self) -> Result<T> { in parse()
177 /// All spans in the syntax tree will point to the span of this `LitStr`.
[all …]
Dlib.rs1 …hub]](https://github.com/dtolnay/syn)&ensp;[![crates-io]](https://crates.io/crates/syn)&ensp;[![do…
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…
15 //! - **Data structures** — Syn provides a complete syntax tree that can
21 //! - **Derives** — Of particular interest to derive macros is
24 //! derive implementations of a user-defined trait.
26 //! - **Parsing** — Parsing in Syn is built around [parser functions] with the
27 //! signature `fn(ParseStream) -> Result<T>`. Every syntax tree node defined
32 //! - **Location information** — Every token parsed by Syn is associated with a
[all …]
/third_party/rust/crates/cxx/book/src/
Dshared.md12 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.
35 fn deck() -> Vec<PlayingCard>;
43 Shared structs compile to an aggregate-initialization compatible C++ struct.
65 all of the listed variants, we use a Rust representation for shared enums that
126 You may provide explicit discriminants for some or all of the enum variants, in
146 fitting all the discriminants (whether explicit or implicit). If you need a
197 variants and discriminant values and integer representation written in Rust all
200 Extern enums support all the same features as ordinary shared enums (explicit
201 discriminants, repr). Again, CXX will static assert that all of those things you
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_impl.cc1 // Copyright 2016 Google Inc. All Rights Reserved.
7 // https://www.apache.org/licenses/LICENSE-2.0
34 // time_zone::Impls are linked into a map to support fast lookup by name.
65 TimeZoneImplByName::const_iterator itr = time_zone_map->find(name); in LoadTimeZone()
66 if (itr != time_zone_map->end()) { in LoadTimeZone()
67 *tz = time_zone(itr->second); in LoadTimeZone()
68 return itr->second != utc_impl; in LoadTimeZone()
81 impl = new_impl->zone_ ? new_impl.release() : utc_impl; in LoadTimeZone()
96 cleared->push_back(element.second); in ClearTimeZoneMapTestOnly()
98 time_zone_map->clear(); in ClearTimeZoneMapTestOnly()
/third_party/rust/crates/tracing/tracing-opentelemetry/
DREADME.md1 ![Tracing — Structured, application-level diagnostics][splash]
3 [splash]: https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/splash.svg
9 [![Crates.io][crates-badge]][crates-url]
10 [![Documentation][docs-badge]][docs-url]
11 [![Documentation (master)][docs-master-badge]][docs-master-url]
12 [![MIT licensed][mit-badge]][mit-url]
13 [![Build Status][actions-badge]][actions-url]
14 [![Discord chat][discord-badge]][discord-url]
15 ![maintenance status][maint-badge]
17 [Documentation][docs-url] | [Chat][discord-url]
[all …]
/third_party/rust/crates/tracing/tracing-subscriber/tests/
Dsupport.rs27 pub fn mock() -> ExpectLayerBuilder { in mock()
37 pub fn named(name: impl std::fmt::Display) -> ExpectLayerBuilder { in named()
57 /// run with `--nocapture`.
61 /// the name of the test unless tests are run with `--test-threads=1`).
67 pub fn named(mut self, name: impl fmt::Display) -> Self { in named()
77 pub fn enter(mut self, span: MockSpan) -> Self { in enter()
82 pub fn event(mut self, event: MockEvent) -> Self { in event()
87 pub fn exit(mut self, span: MockSpan) -> Self { in exit()
92 pub fn done(mut self) -> Self { in done()
97 pub fn record<I>(mut self, span: MockSpan, fields: I) -> Self in record()
[all …]
/third_party/rust/crates/memchr/bench/src/memmem/
Dimp.rs2 This module defines a common API (by convention) for all of the different
3 impls that we benchmark. The intent here is to 1) make it easy to write macros
4 for generating benchmark definitions generic over impls and 2) make it easier
5 to read the benchmarks themselves and grok how exactly each of the impls are
15 it makes writing macros to define benchmarks for all variants much easier.
19 /// does approximately as well as all other implementations, and a lot better
22 pub(crate) fn available(_: &str) -> &'static [&'static str] { in available()
29 pub(crate) fn oneshot(haystack: &str, needle: &str) -> bool { in oneshot()
35 ) -> impl Fn(&str) -> bool + 'static { in prebuilt()
43 ) -> impl Iterator<Item = usize> + 'a { in oneshotiter()
[all …]

123