Home
last modified time | relevance | path

Searched defs:static (Results 1 – 25 of 134) sorted by relevance

123456

/third_party/typescript/tests/cases/compiler/
DstaticFieldWithInterfaceContext.ts6 static x = { a: "a" }; variable
11 let c2: I = class { static [ex] = { a: "a" }; }; variable
16 let { c: c3 }: { c: I } = { c: class { static x = { a: "a" } } }; variable
17 let { c: c4 = class { static x = { a: "a" } }}: { c?: I } = { }; variable
18 let { c: c5 = class { static x = { a: "a" } }}: { c?: I } = { c: class { static x = { a: "a" } } }; variable
19 let [ c6 ]: [I] = [class { static x = { a: "a" } }]; variable
20 let [ c7 ]: I[] = [class { static x = { a: "a" } }]; variable
22 let [ c8 = class { static x = { a: "a" } } ]: [I?] = []; variable
23 let [ c9 = class { static x = { a: "a" } } ]: I[] = []; variable
24 let [ c10 = class { static x = { a: "a" } } ]: [I?] = [class { static x = { a: "a" } }]; variable
[all …]
DclassExpressionWithStaticProperties2.ts3 static a = 1; variable
5 static c = { variable
DclassExpressionWithStaticPropertiesES62.ts3 static a = 1; variable
5 static c = { variable
DemitClassExpressionInDeclarationFile2.ts3 static getTags() { } variable
5 private static ps = -1 variable
DemitClassExpressionInDeclarationFile.ts3 static getTags() { } variable
7 static getTags(c: C): C { return c } variable
/third_party/typescript/tests/baselines/reference/
DparserMemberFunctionDeclarationAmbiguities1.js4 static() {} method in C
7 public static() {} method in C
10 public static static() {} method in C
13 static static() {} method in C
Dparser642331_1.js5 constructor (static) { } argument
12 function test(static) { argument
DconstructorStaticParamName.js5 constructor (static) { } argument
12 function test(static) { argument
Dparser642331.js3 constructor (static) { } argument
9 function test(static) { argument
DconstructorStaticParamNameErrors.js5 constructor (static) { } argument
12 function test(static) { argument
DstrictModeReservedWordInClassDeclaration.js5 constructor(private, public, static) { argument
14 foo1(private, static, public) { argument
48 function Foo(private, public, static) { argument
58 C.prototype.foo1 = function (private, static, public) { argument
/third_party/typescript/tests/cases/conformance/classes/propertyMemberDeclarations/
DstaticPropertyNameConflicts.ts63 static name: number; // error variable
68 static name() {} // error variable
74 static length: number; // error variable
79 static length() {} // error variable
85 static prototype: number; // error variable
90 static prototype() {} // error variable
96 static caller: number; // error variable
101 static caller() {} // error variable
107 static arguments: number; // error variable
112 static arguments() {} // error variable
/third_party/rust/crates/tracing/tracing/src/
Dsubscriber.rs22 S: Subscriber + Send + Sync + 'static, in with_default()
41 S: Subscriber + Send + Sync + 'static, in set_global_default()
60 S: Subscriber + Send + Sync + 'static, in set_default()
/third_party/rust/crates/tracing/tracing-core/src/
Devent.rs32 pub fn dispatch(metadata: &'static Metadata<'static>, fields: &'a field::ValueSet<'_>) { in dispatch()
42 pub fn new(metadata: &'static Metadata<'static>, fields: &'a field::ValueSet<'a>) -> Self { in new()
55 metadata: &'static Metadata<'static>, in new_child_of()
73 metadata: &'static Metadata<'static>, in child_of()
98 pub fn metadata(&self) -> &'static Metadata<'static> { in metadata()
Dspan.rs108 pub fn new(metadata: &'static Metadata<'static>, values: &'a field::ValueSet<'a>) -> Self { in new()
118 pub fn new_root(metadata: &'static Metadata<'static>, values: &'a field::ValueSet<'a>) -> Self { in new_root()
130 metadata: &'static Metadata<'static>, in child_of()
141 pub fn metadata(&self) -> &'static Metadata<'static> { in metadata()
292 pub fn into_inner(self) -> Option<(Id, &'static Metadata<'static>)> { in into_inner()
308 pub fn metadata(&self) -> Option<&'static Metadata<'static>> { in metadata()
/third_party/rust/crates/tracing/examples/examples/
Dinstrumented-error.rs30 fn do_something(foo: &str) -> Result<&'static str, impl Error + Send + Sync + 'static> { in do_something()
39 ) -> Result<&'static str, impl Error + Send + Sync + 'static> { in do_another_thing()
66 fn print_extracted_spantraces(error: &(dyn Error + 'static)) { in print_extracted_spantraces()
84 fn print_naive_spantraces(error: &(dyn Error + 'static)) { in print_naive_spantraces()
Dcustom-error.rs39 fn do_something(foo: &str) -> Result<&'static str, impl Error + Send + Sync + 'static> { in do_something()
47 ) -> Result<&'static str, impl Error + Send + Sync + 'static> { in do_another_thing()
/third_party/rust/crates/tracing/tracing-futures/src/executor/
Dfutures_preview.rs20 fn spawn_obj(&mut self, future: FutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_obj()
49 fn spawn_obj(&mut self, future: FutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_obj()
77 fn spawn_local_obj(&mut self, future: LocalFutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_local_obj()
106 fn spawn_local_obj(&mut self, future: LocalFutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_local_obj()
Dfutures_03.rs16 fn spawn_obj(&self, future: FutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_obj()
45 fn spawn_obj(&self, future: FutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_obj()
74 fn spawn_local_obj(&self, future: LocalFutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_local_obj()
104 fn spawn_local_obj(&self, future: LocalFutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_local_obj()
Dfutures_01.rs115 R: Send + 'static, in block_on()
116 E: Send + 'static, in block_on()
175 R: 'static, in block_on()
176 E: 'static, in block_on()
261 R: Send + 'static, in block_on()
262 E: Send + 'static, in block_on()
323 R: 'static, in block_on()
324 E: 'static, in block_on()
/third_party/rust/crates/memchr/bench/src/memmem/
Dimp.rs35 ) -> impl Fn(&str) -> bool + 'static { in prebuilt()
73 ) -> impl Fn(&str) -> bool + 'static { in prebuilt()
127 ) -> impl Fn(&str) -> bool + 'static { in prebuilt()
177 ) -> impl Fn(&str) -> bool + 'static { in prebuilt()
229 ) -> impl Fn(&str) -> bool + 'static { in prebuilt()
270 ) -> impl Fn(&str) -> bool + 'static { in prebuilt()
326 ) -> impl Fn(&str) -> bool + 'static { in prebuilt()
364 ) -> impl Fn(&str) -> bool + 'static { in prebuilt()
402 ) -> impl Fn(&str) -> bool + 'static { in prebuilt()
425 ) -> impl Fn(&str) -> bool + 'static { in prebuilt()
[all …]
/third_party/rust/crates/memchr/bench/src/memchr/
Dmod.rs774 bench: impl FnMut(Search1, &mut Bencher<'_>) + Clone + 'static, in define_memchr_input1()
798 bench: impl FnMut(Search2, &mut Bencher<'_>) + Clone + 'static, in define_memchr_input2()
822 bench: impl FnMut(Search3, &mut Bencher<'_>) + Clone + 'static, in define_memchr_input3()
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/interfaces/2_declaration_merging/
Ddeclaration_merging_1.ts61 static getName(name: Ds<number | string | boolean>): Ds<number | string | boolean> { variable
64 static getSrc(src :Ds<number | string>){ variable
/third_party/rust/crates/tracing/tracing-error/src/
Derror.rs103 pub(crate) fn error(&self) -> &(dyn Error + Send + Sync + 'static) { in error()
125 unsafe fn object_ref<E>(e: &ErrorImpl<Erased>) -> &(dyn Error + Send + Sync + 'static) in object_ref()
149 fn source<'a>(&'a self) -> Option<&'a (dyn Error + 'static)> { in source()
174 fn source(&self) -> Option<&(dyn Error + 'static)> { in source()
284 impl ExtractSpanTrace for dyn Error + 'static { implementation
/third_party/gstreamer/gstplugins_good/gst/deinterlace/tvtime/
Dgreedyh.asm32 static void label
251 static void label

123456