Home
last modified time | relevance | path

Searched refs:impls (Results 1 – 25 of 47) sorted by relevance

12

/third_party/node/deps/npm/node_modules/protoduck/
Dindex.js7 impl (target, types, impls) { argument
8 if (!impls && !isArray(types)) {
9 impls = types
12 if (!impls && this.isDerivable) {
13 impls = this._defaultImpls
15 if (!impls) {
16 impls = {}
21 checkImpls(this, target, impls)
33 defineMethod(this, name, target, types, impls)
155 function defineMethod (duck, name, target, types, impls) { argument
[all …]
/third_party/openssl/test/
Dproperty_test.c317 } impls[] = { in test_register_deregister() local
332 for (i = 0; i < OSSL_NELEM(impls); i++) in test_register_deregister()
333 if (!TEST_true(ossl_method_store_add(store, &prov, impls[i].nid, in test_register_deregister()
334 impls[i].prop, impls[i].impl, in test_register_deregister()
341 for (i = 0; i < OSSL_NELEM(impls); i++) { in test_register_deregister()
342 const size_t j = (1 + i * 3) % OSSL_NELEM(impls); in test_register_deregister()
343 int nid = impls[j].nid; in test_register_deregister()
344 void *impl = impls[j].impl; in test_register_deregister()
353 if (TEST_false(ossl_method_store_remove(store, impls[0].nid, impls[0].impl))) in test_register_deregister()
371 } impls[] = { in test_property() local
[all …]
/third_party/openssl/crypto/property/
Dproperty.c59 STACK_OF(IMPLEMENTATION) *impls;
235 sk_IMPLEMENTATION_pop_free(a->impls, &impl_free); in alg_cleanup()
348 || (alg->impls = sk_IMPLEMENTATION_new_null()) == NULL in ossl_method_store_add()
357 for (i = 0; i < sk_IMPLEMENTATION_num(alg->impls); i++) { in ossl_method_store_add()
358 const IMPLEMENTATION *tmpimpl = sk_IMPLEMENTATION_value(alg->impls, i); in ossl_method_store_add()
364 if (i == sk_IMPLEMENTATION_num(alg->impls) in ossl_method_store_add()
365 && sk_IMPLEMENTATION_push(alg->impls, impl)) in ossl_method_store_add()
402 for (i = 0; i < sk_IMPLEMENTATION_num(alg->impls); i++) { in ossl_method_store_remove()
403 IMPLEMENTATION *impl = sk_IMPLEMENTATION_value(alg->impls, i); in ossl_method_store_remove()
407 (void)sk_IMPLEMENTATION_delete(alg->impls, i); in ossl_method_store_remove()
[all …]
/third_party/rust/crates/io-lifetimes/
DCargo.toml16 # dependencies to add foreign-type impls for the traits. In the future,
17 # we'll prefer to have crates provide their own impls; this is just a
27 # The following dependencies allow io-lifetimes to define impls for various
29 # because when we're using the std types and traits, we can't define impls
31 # the needs impls upstream.
35 # will need to wait until the impls are added upstream.
37 # Optionally depend on async-std just to provide impls for its types.
/third_party/rust/crates/syn/codegen/src/
Dgen.rs28 let mut impls = TokenStream::new(); in traverse() localVariable
35 impls.extend(features); in traverse()
36 node(&mut traits, &mut impls, &s, defs); in traverse()
39 (traits, impls) in traverse()
Ddebug.rs102 let mut impls = TokenStream::new(); in generate() localVariable
104 impls.extend(expand_impl(defs, node)); in generate()
113 #impls in generate()
Dclone.rs119 let mut impls = TokenStream::new(); in generate() localVariable
121 impls.extend(expand_impl(defs, node)); in generate()
131 #impls in generate()
Dvisit.rs119 fn node(traits: &mut TokenStream, impls: &mut TokenStream, s: &Node, defs: &Definitions) { in node()
220 impls.extend(quote! { in node()
231 let (traits, impls) = gen::traverse(defs, node); in generate()
262 #impls in generate()
Dvisit_mut.rs119 fn node(traits: &mut TokenStream, impls: &mut TokenStream, s: &Node, defs: &Definitions) { in node()
216 impls.extend(quote! { in node()
227 let (traits, impls) = gen::traverse(defs, node); in generate()
259 #impls in generate()
Dhash.rs155 let mut impls = TokenStream::new(); in generate() localVariable
157 impls.extend(expand_impl(defs, node)); in generate()
168 #impls in generate()
Deq.rs146 let mut impls = TokenStream::new(); in generate() localVariable
148 impls.extend(expand_impl(defs, node)); in generate()
158 #impls in generate()
Dfold.rs104 fn node(traits: &mut TokenStream, impls: &mut TokenStream, s: &Node, defs: &Definitions) { in node()
243 impls.extend(quote! { in node()
254 let (traits, impls) = gen::traverse(defs, node); in generate()
283 #impls in generate()
Dsnapshot.rs290 let mut impls = TokenStream::new(); in generate() localVariable
292 impls.extend(expand_impl(&defs, node)); in generate()
301 #impls in generate()
/third_party/rust/crates/serde/serde/
DCargo.toml38 # 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
48 # Provide impls for types in the Rust core allocation and collections library
53 # Opt into impls for Rc<T> and Arc<T>. Serializing and deserializing these types
/third_party/rust/crates/cxx/syntax/
Dtypes.rs24 pub impls: OrderedMap<ImplKey<'a>, Option<&'a Impl>>, field
39 let mut impls = OrderedMap::new(); in collect() localVariable
167 impls.insert(key, Some(imp)); in collect()
188 if implicit_impl && !impls.contains_key(&impl_key) { in collect()
189 impls.insert(impl_key, None); in collect()
209 impls, in collect()
/third_party/rust/crates/cxx/third-party/bazel/
DBUILD.syn-1.0.107.bazel32 "clone-impls",
64 "clone-impls",
/third_party/rust/crates/syn/
DCargo.toml25 default = ["derive", "parsing", "printing", "clone-impls", "proc-macro"]
33 clone-impls = []
DBUILD.gn33 "clone-impls",
/third_party/rust/crates/cxx/book/src/
Dextern-c++.md53 CXX produces for you in Rust *do not* come with `Send` and `Sync` impls. If you
56 marker trait impls.
225 Handwritten `ExternType` impls make it possible to plug in a data structure
289 ## Explicit shim trait impls
294 internal trait impls connecting the Rust API of UniquePtr and CxxVector to
298 previous section, you may find that your code needs some trait impls which CXX
/third_party/rust/crates/rustix/
DCargo.toml186 # Expose io-lifetimes' features for third-party crate impls.
195 #all-impls = ["async-std", "tokio", "os_pipe", "socket2", "mio", "fs-err"]
196 all-impls = ["os_pipe", "fs-err"]
/third_party/rust/crates/cxx/gen/lib/
DCargo.toml18 …n = "1.0.95", default-features = false, features = ["parsing", "printing", "clone-impls", "full"] }
/third_party/rust/crates/serde/serde_derive_internals/
DCargo.toml20 …= "1.0.60", default-features = false, features = ["derive", "parsing", "printing", "clone-impls"] }
/third_party/rust/crates/syn/examples/
DREADME.md8 An example implementation of a derive macro that generates trait impls.
/third_party/rust/crates/cxx/gen/cmd/
DCargo.toml28 …n = "1.0.95", default-features = false, features = ["parsing", "printing", "clone-impls", "full"] }
/third_party/rust/crates/cxx/gen/build/
DCargo.toml28 …n = "1.0.95", default-features = false, features = ["parsing", "printing", "clone-impls", "full"] }

12