Home
last modified time | relevance | path

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

12345678910>>...93

/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))
DintraExpressionInferences.js35 operateWithGeneric: (generic: T) => string
38 const inferTypeFn = <T>(generic: MyInterface<T>) => generic;
42 operateWithGeneric: generic => generic.toFixed()
221 var inferTypeFn = function (generic) { return generic; }; argument
224 operateWithGeneric: function (generic) { return generic.toFixed(); } argument
329 operateWithGeneric: (generic: T) => string;
331 declare const inferTypeFn: <T>(generic: MyInterface<T>) => MyInterface<T>;
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 …
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 …
DintraExpressionInferences.types124 operateWithGeneric: (generic: T) => string
125 >operateWithGeneric : (generic: T) => string
126 >generic : T
129 const inferTypeFn = <T>(generic: MyInterface<T>) => generic;
130 >inferTypeFn : <T>(generic: MyInterface<T>) => MyInterface<T>
131 ><T>(generic: MyInterface<T>) => generic : <T>(generic: MyInterface<T>) => MyInterface<T>
132 >generic : MyInterface<T>
133 >generic : MyInterface<T>
137 >inferTypeFn({ retrieveGeneric: parameter => 5, operateWithGeneric: generic => generic.toFixe…
138 >inferTypeFn : <T>(generic: MyInterface<T>) => MyInterface<T>
[all …]
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
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
/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/node/deps/openssl/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/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/node/deps/v8/src/torque/
Ddeclaration-visitor.cc219 for (GenericCallable* generic : generic_list) { in Visit()
222 TypeArgumentInference inference = generic->InferSpecializationTypes( in Visit()
229 generic, TypeVisitor::ComputeTypeVector(decl->generic_parameters)}); in Visit()
236 << *matching_generic << " and " << *generic << ")"; in Visit()
239 matching_generic = generic; in Visit()
254 for (GenericCallable* generic : generic_list) { in Visit()
257 generic, in Visit()
300 key.generic->generic_parameters().size(); in DeclareSpecializedTypes()
304 << key.generic->name() << "\", expected: " << generic_parameter_count in DeclareSpecializedTypes()
310 Identifier* generic_type_name = key.generic->generic_parameters()[i++].name; in DeclareSpecializedTypes()
[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/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/musl/
Dmusl_src.gni1812 "arch/generic/bits/dirent.h",
1813 "arch/generic/bits/errno.h",
1814 "arch/generic/bits/ioctl.h",
1815 "arch/generic/bits/io.h",
1816 "arch/generic/bits/ipc.h",
1817 "arch/generic/bits/kd.h",
1818 "arch/generic/bits/limits.h",
1819 "arch/generic/bits/link.h",
1820 "arch/generic/bits/mman.h",
1821 "arch/generic/bits/poll.h",
[all …]
/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/rust/crates/cxx/syntax/
Dparse.rs1226 PathArguments::AngleBracketed(generic) => { in parse_type_path()
1227 if ident == "UniquePtr" && generic.args.len() == 1 { in parse_type_path()
1228 if let GenericArgument::Type(arg) = &generic.args[0] { in parse_type_path()
1232 langle: generic.lt_token, in parse_type_path()
1234 rangle: generic.gt_token, in parse_type_path()
1237 } else if ident == "SharedPtr" && generic.args.len() == 1 { in parse_type_path()
1238 if let GenericArgument::Type(arg) = &generic.args[0] { in parse_type_path()
1242 langle: generic.lt_token, in parse_type_path()
1244 rangle: generic.gt_token, in parse_type_path()
1247 } else if ident == "WeakPtr" && generic.args.len() == 1 { in parse_type_path()
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_vertex_attrib_64bit.txt95 vector consumes only a single generic vertex attribute; three- and
100 Note that 64-bit generic vertex attributes were nominally supported
173 To load values into a generic shader attribute declared as a signed or
181 integers, then loaded into the generic attribute at slot index in the same
184 To load values into a generic shader attribute declared as a double, or
198 The full set of VertexAttrib* commands specify generic attributes whose
205 The values loaded into a shader attribute variable bound to generic
220 specifies state for a generic vertex attribute array associated with a
226 encoded into one or more generic attribute components as specified for the
235 if (generic vertex attribute j array enabled) {
[all …]
/third_party/openGLES/extensions/ARB/
DARB_vertex_attrib_64bit.txt105 vector consumes only a single generic vertex attribute; three- and
110 Note that 64-bit generic vertex attributes were nominally supported
183 To load values into a generic shader attribute declared as a signed or
191 integers, then loaded into the generic attribute at slot index in the same
194 To load values into a generic shader attribute declared as a double, or
208 The full set of VertexAttrib* commands specify generic attributes whose
215 The values loaded into a shader attribute variable bound to generic
230 specifies state for a generic vertex attribute array associated with a
236 encoded into one or more generic attribute components as specified for the
245 if (generic vertex attribute j array enabled) {
[all …]

12345678910>>...93