Home
last modified time | relevance | path

Searched refs:generic (Results 1 – 25 of 2721) sorted by relevance

12345678910>>...109

/third_party/alsa-lib/src/pcm/
Dpcm_generic.c38 snd_pcm_generic_t *generic = pcm->private_data; in snd_pcm_generic_close() local
40 if (generic->close_slave) in snd_pcm_generic_close()
41 err = snd_pcm_close(generic->slave); in snd_pcm_generic_close()
42 free(generic); in snd_pcm_generic_close()
48 snd_pcm_generic_t *generic = pcm->private_data; in snd_pcm_generic_nonblock() local
49 return snd_pcm_nonblock(generic->slave, nonblock); in snd_pcm_generic_nonblock()
54 snd_pcm_generic_t *generic = pcm->private_data; in snd_pcm_generic_async() local
55 return snd_pcm_async(generic->slave, sig, pid); in snd_pcm_generic_async()
60 snd_pcm_generic_t *generic = pcm->private_data; in snd_pcm_generic_poll_descriptors_count() local
61 return snd_pcm_poll_descriptors_count(generic->slave); in snd_pcm_generic_poll_descriptors_count()
[all …]
/third_party/mbedtls/tests/suites/
Dtest_suite_md.data1 # Tests of the generic message digest interface
36 generic mbedtls_md5 Test vector RFC1321 #1
40 generic mbedtls_md5 Test vector RFC1321 #2
44 generic mbedtls_md5 Test vector RFC1321 #3
48 generic mbedtls_md5 Test vector RFC1321 #4
52 generic mbedtls_md5 Test vector RFC1321 #5
56 generic mbedtls_md5 Test vector RFC1321 #6
60 generic mbedtls_md5 Test vector RFC1321 #7
64 generic mbedtls_ripemd160 Test vector from paper #1
68 generic mbedtls_ripemd160 Test vector from paper #2
[all …]
/third_party/typescript/tests/baselines/reference/
DnonGenericTypeReferenceWithTypeArguments.errors.txt1 …References/nonGenericTypeReferenceWithTypeArguments.ts(7,9): error TS2315: Type 'C' is not generic.
2 …References/nonGenericTypeReferenceWithTypeArguments.ts(8,9): error TS2315: Type 'I' is not generic.
3 …References/nonGenericTypeReferenceWithTypeArguments.ts(9,9): error TS2315: Type 'E' is not generic.
4 …eferences/nonGenericTypeReferenceWithTypeArguments.ts(10,9): error TS2315: Type 'T' is not generic.
5 …ferences/nonGenericTypeReferenceWithTypeArguments.ts(17,13): error TS2315: Type 'C' is not generic.
6 …ferences/nonGenericTypeReferenceWithTypeArguments.ts(18,13): error TS2315: Type 'I' is not generic.
7 …ferences/nonGenericTypeReferenceWithTypeArguments.ts(19,13): error TS2315: Type 'E' is not generic.
8 …ferences/nonGenericTypeReferenceWithTypeArguments.ts(20,13): error TS2315: Type 'T' is not generic.
9 …ferences/nonGenericTypeReferenceWithTypeArguments.ts(21,13): error TS2315: Type 'U' is not generic.
13 // Check that errors are reported for non-generic types with type arguments
[all …]
DnonPrimitiveInGeneric.js2 function generic<T>(t: T) {
8 generic<object>({});
9 generic<object>(a);
10 generic<object>(123); // expect error
11 generic<object>(b); // expect error
48 function generic(t) { function
53 generic({});
54 generic(a);
55 generic(123); // expect error
56 generic(b); // expect error
[all …]
DjsdocTypeNongenericInstantiationAttempt.errors.txt1 tests/cases/compiler/index.js(2,19): error TS2315: Type 'Boolean' is not generic.
2 tests/cases/compiler/index2.js(2,19): error TS2315: Type 'Void' is not generic.
3 tests/cases/compiler/index3.js(2,19): error TS2315: Type 'Undefined' is not generic.
4 tests/cases/compiler/index4.js(2,19): error TS2315: Type 'Function' is not generic.
5 tests/cases/compiler/index5.js(2,19): error TS2315: Type 'String' is not generic.
6 tests/cases/compiler/index6.js(2,19): error TS2315: Type 'Number' is not generic.
7 tests/cases/compiler/index7.js(2,19): error TS2315: Type 'Object' is not generic.
15 !!! error TS2315: Type 'Boolean' is not generic.
25 !!! error TS2315: Type 'Void' is not generic.
36 !!! error TS2315: Type 'Undefined' is not generic.
[all …]
DnonPrimitiveInGeneric.types2 function generic<T>(t: T) {
3 >generic : <T>(t: T) => void
18 generic<object>({});
19 >generic<object>({}) : void
20 >generic : <T>(t: T) => void
23 generic<object>(a);
24 >generic<object>(a) : void
25 >generic : <T>(t: T) => void
28 generic<object>(123); // expect error
29 >generic<object>(123) : void
[all …]
DclassCanExtendConstructorFunction.symbols186 === tests/cases/conformance/salsa/generic.js ===
192 >Soup : Symbol(Soup, Decl(generic.js, 0, 0))
193 >flavour : Symbol(flavour, Decl(generic.js, 4, 14))
196 >this.flavour : Symbol(Soup.flavour, Decl(generic.js, 4, 24))
197 >this : Symbol(Soup, Decl(generic.js, 0, 0))
198 >flavour : Symbol(Soup.flavour, Decl(generic.js, 4, 24))
199 >flavour : Symbol(flavour, Decl(generic.js, 4, 14))
203 >Chowder : Symbol(Chowder, Decl(generic.js, 6, 1))
204 >Soup : Symbol(Soup, Decl(generic.js, 0, 0))
207 >log : Symbol(Chowder.log, Decl(generic.js, 8, 28))
[all …]
DnonPrimitiveInGeneric.symbols2 function generic<T>(t: T) {
3 >generic : Symbol(generic, Decl(nonPrimitiveInGeneric.ts, 0, 0))
18 generic<object>({});
19 >generic : Symbol(generic, Decl(nonPrimitiveInGeneric.ts, 0, 0))
21 generic<object>(a);
22 >generic : Symbol(generic, Decl(nonPrimitiveInGeneric.ts, 0, 0))
25 generic<object>(123); // expect error
26 >generic : Symbol(generic, Decl(nonPrimitiveInGeneric.ts, 0, 0))
28 generic<object>(b); // expect error
29 >generic : Symbol(generic, Decl(nonPrimitiveInGeneric.ts, 0, 0))
DtaggedTemplateStringsTypeArgumentInference.errors.txt35 …// 2 parameter generic tag with argument 1 of type parameter type and argument 2 of function type …
41 …// 2 parameter generic tag with argument 2 of type parameter type and argument 1 of function type …
47 …ic tag with multiple arguments of function types that each have parameters of the same generic type
53 …c tag with multiple arguments of function types that each have parameters of different generic type
59 // Generic tag with argument of generic function type
64 … // Generic tag with multiple parameters of generic type passed arguments with no best common type
76 …// Generic tag with multiple parameters of generic type passed arguments with multiple best common…
92 …// Generic tag with multiple parameters of generic type passed arguments with a single best common…
96 // Generic tag with multiple parameters of generic type where one argument is of type 'any'
101 …// Generic tag with multiple parameters of generic type where one argument is [] and the other is …
DtaggedTemplateStringsTypeArgumentInferenceES6.errors.txt35 …// 2 parameter generic tag with argument 1 of type parameter type and argument 2 of function type …
41 …// 2 parameter generic tag with argument 2 of type parameter type and argument 1 of function type …
47 …ic tag with multiple arguments of function types that each have parameters of the same generic type
53 …c tag with multiple arguments of function types that each have parameters of different generic type
59 // Generic tag with argument of generic function type
64 … // Generic tag with multiple parameters of generic type passed arguments with no best common type
76 …// Generic tag with multiple parameters of generic type passed arguments with multiple best common…
92 …// Generic tag with multiple parameters of generic type passed arguments with a single best common…
96 // Generic tag with multiple parameters of generic type where one argument is of type 'any'
101 …// Generic tag with multiple parameters of generic type where one argument is [] and the other is …
DspreadInvalidArgumentType.errors.txt44 var o1 = { ...p1 }; // OK, generic type paramterre
46 var o3 = { ...t }; // OK, generic type paramter
53 var o6 = { ...mapped_generic }; // OK, generic mapped object type
54 var o7 = { ...mapped }; // OK, non-generic mapped type
56 var o8 = { ...union_generic }; // OK, union with generic type parameter
57 var o9 = { ...union_primitive }; // Error, union with generic type parameter
61 var o10 = { ...intersection_generic }; // OK, intersection with generic type parameter
62 var o11 = { ...intersection_primitive }; // Error, intersection with generic type parameter
DrestInvalidArgumentType.errors.txt41 var {...r1} = p1; // Error, generic type paramterre
43 var {...r3} = t; // Error, generic type paramter
51 var {...r6} = mapped_generic; // Error, generic mapped object type
52 var {...r7} = mapped; // OK, non-generic mapped type
54 var {...r8} = union_generic; // Error, union with generic type parameter
55 var {...r9} = union_primitive; // Error, union with generic type parameter
59 var {...r10} = intersection_generic; // Error, intersection with generic type parameter
60 var {...r11} = intersection_primitive; // Error, intersection with generic type parameter
/third_party/gn/src/base/
Dscoped_generic.h63 explicit Data(const T& in) : generic(in) {} in Data()
64 Data(const T& in, const Traits& other) : Traits(other), generic(in) {} in Data()
65 T generic; member
98 if (data_.generic != traits_type::InvalidValue() && data_.generic == value)
101 data_.generic = value;
110 swap(data_.generic, other.data_.generic); in swap()
117 element_type old_generic = data_.generic; in release()
118 data_.generic = traits_type::InvalidValue(); in release()
126 return &data_.generic; in receive()
129 const element_type& get() const { return data_.generic; } in get()
[all …]
/third_party/flutter/engine/flutter/fml/
Dunique_object.h37 explicit Data(const T& in) : generic(in) {} in Data()
38 Data(const T& in, const Traits& other) : Traits(other), generic(in) {} in Data()
40 T generic; member
63 FML_CHECK(data_.generic == Traits::InvalidValue() ||
64 data_.generic != value);
66 data_.generic = value;
75 swap(data_.generic, other.data_.generic); in swap()
82 T old_generic = data_.generic; in release()
83 data_.generic = Traits::InvalidValue(); in release()
87 const T& get() const { return data_.generic; } in get()
[all …]
/third_party/grpc/test/cpp/cocoapods/GRPCCppTests.xcodeproj/
Dproject.pbxproj12 …5EFA5F731FEDB36700EBF4B7 /* generic.mm in Sources */ = {isa = PBXBuildFile; fileRef = 5EFA5F721FED…
13 …F587C207C12F3 /* libPods-generic.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3D0872BAEE90C…
17 …9743DB7 /* libPods-generic.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeI…
21 …EDB36700EBF4B7 /* generic.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle…
22 …EFA5F721FEDB36700EBF4B7 /* generic.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode…
27generic.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = tex…
28generic.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.…
44 D0F8FABF3ECF587C207C12F3 /* libPods-generic.a in Frameworks */,
56 D9B4F77163CB9089C4436BF4 /* Pods-generic.debug.xcconfig */,
57 B357AF2DC912B224C026D114 /* Pods-generic.release.xcconfig */,
[all …]
/third_party/boost/libs/asio/doc/overview/
Dother_protocols.qbk13 Boost.Asio's generic protocol support. For this, Boost.Asio provides the following four
16 * [link boost_asio.reference.generic__datagram_protocol `generic::datagram_protocol`]
17 * [link boost_asio.reference.generic__raw_protocol `generic::raw_protocol`]
18 * [link boost_asio.reference.generic__seq_packet_protocol `generic::seq_packet_protocol`]
19 * [link boost_asio.reference.generic__stream_protocol `generic::stream_protocol`]
25 boost::asio::generic::stream_protocol::socket my_socket(my_io_context);
26 my_socket.open(boost::asio::generic::stream_protocol(AF_INET, IPPROTO_TCP));
30 `boost::asio::generic::basic_endpoint`], is included to support these protocol
37 boost::asio::generic::stream_protocol::endpoint my_endpoint2(my_endpoint1);
41 boost::asio::generic::stream_protocol::socket my_socket(my_io_context);
[all …]
/third_party/openssl/crypto/perlasm/
Dx86asm.pl33 &generic($opcode,@_) or die "undefined subroutine \&$AUTOLOAD";
65 { &generic("bswap",@_); }
87 { &::generic("movq",@_); }
98 { &::generic("pextrd",@_); }
106 { &::generic("pinsrd",@_); }
114 { &::generic("pshufb",@_); }
122 { &::generic("palignr",@_); }
130 { &::generic("pclmulqdq",@_); }
138 { &::generic("rdrand",@_); }
146 { &::generic("rdrand",@_); }
[all …]
/third_party/typescript/tests/cases/conformance/types/nonPrimitive/
DnonPrimitiveInGeneric.ts2 function generic<T>(t: T) { function
8 generic<object>({});
9 generic<object>(a);
10 generic<object>(123); // expect error
11 generic<object>(b); // expect error
/third_party/typescript_eslint/packages/eslint-plugin/docs/rules/
Darray-type.md12 type ArrayOption = 'array' | 'generic' | 'array-simple';
28 Each property can be set to one of three strings: `'array' | 'generic' | 'array-simple'`.
50 ### `"generic"`
54 Incorrect code for `"generic"`:
61 Correct code for `"generic"`:
104 | `array` | `generic` | `number[]` | `(Foo & Bar)[]` | `Readonly…
108 | `array-simple` | `generic` | `number[]` | `Array<Foo & Bar>` | `Readonly…
109 | `generic` | | `Array<number>` | `Array<Foo & Bar>` | `Readonly…
110 | `generic` | `array` | `Array<number>` | `Array<Foo & Bar>` | `readonly…
111 | `generic` | `array-simple` | `Array<number>` | `Array<Foo & Bar>` | `readonly…
[all …]
/third_party/boost/tools/quickbook/src/
Ddependency_tracker.cpp21 static std::string escaped_path(std::string const& generic) in escaped_path() argument
24 result.reserve(generic.size()); in escaped_path()
26 QUICKBOOK_FOR (char c, generic) { in escaped_path()
47 std::string generic = quickbook::detail::path_to_generic(path); in get_path() local
50 generic = escaped_path(generic); in get_path()
53 return generic; in get_path()
/third_party/toybox/toys/lsb/
DREADME4 http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/cmdbehav.html
7 http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic.html
/third_party/libwebsockets/lib/drivers/
DREADME.md23 your work to other scenarios... for example, there is a generic gpio object
25 to use OS drivers or bitbang using the generic gpio object, buttons on top of
26 generic gpio, led class that can use generic gpio or pwm interchangeably,
27 platform-specific gpio, i2c, pwm implementations that can be used at the generic
32 At these generic objects like buttons or led controllers, there is a stable
40 - display dimming timers, blanking timers, generic interaction detection to unblank
/third_party/boost/libs/asio/include/boost/asio/generic/detail/impl/
Dendpoint.ipp2 // generic/detail/impl/endpoint.hpp
26 #include <boost/asio/generic/detail/endpoint.hpp>
32 namespace generic {
97 memset(&data_.generic, 0, sizeof(boost::asio::detail::sockaddr_storage_type));
99 memcpy(&data_.generic, sock_addr, sock_addr_size);
106 } // namespace generic
/third_party/boost/boost/asio/generic/detail/impl/
Dendpoint.ipp2 // generic/detail/impl/endpoint.hpp
26 #include <boost/asio/generic/detail/endpoint.hpp>
32 namespace generic {
97 memset(&data_.generic, 0, sizeof(boost::asio::detail::sockaddr_storage_type));
99 memcpy(&data_.generic, sock_addr, sock_addr_size);
106 } // namespace generic
/third_party/libunwind/src/
Dlibunwind-generic.pc.in6 Name: libunwind-generic
7 Description: libunwind generic library
10 Libs: -L${libdir} -lunwind-generic

12345678910>>...109