Home
last modified time | relevance | path

Searched refs:Class (Results 1 – 25 of 1215) sorted by relevance

12345678910>>...49

/third_party/boost/boost/multi_index/
Dmem_fun.hpp53 class Class,typename Type,
64 is_convertible<const ChainedPtr&,const Class&>,Type>::type
74 Type operator()(const Class& x)const in operator ()()
79 Type operator()(const reference_wrapper<const Class>& x)const in operator ()()
84 Type operator()(const reference_wrapper<Class>& x)const in operator ()()
91 class Class,typename Type,
102 is_convertible<ChainedPtr&,Class&>,Type>::type
112 Type operator()(Class& x)const in operator ()()
117 Type operator()(const reference_wrapper<Class>& x)const in operator ()()
125 template<class Class,typename Type,Type (Class::*PtrToMemberFunction)()const>
[all …]
Dmember.hpp44 template<class Class,typename Type,Type Class::*PtrToMember>
53 is_convertible<const ChainedPtr&,const Class&>,Type&>::type
63 Type& operator()(const Class& x)const in operator ()()
68 Type& operator()(const reference_wrapper<const Class>& x)const in operator ()()
73 Type& operator()(const reference_wrapper<Class>& x)const in operator ()()
79 template<class Class,typename Type,Type Class::*PtrToMember>
88 is_convertible<const ChainedPtr&,const Class&>,Type&>::type
98 const Type& operator()(const Class& x)const in operator ()()
103 Type& operator()(Class& x)const in operator ()()
108 const Type& operator()(const reference_wrapper<const Class>& x)const in operator ()()
[all …]
/third_party/typescript/tests/baselines/reference/
DmethodsReturningThis.symbols2 function Class()
3 >Class : Symbol(Class, Decl(input.js, 0, 0))
7 // error: 'Class' doesn't have property 'notPresent'
8 Class.prototype.containsError = function () { return this.notPresent; };
9 >Class.prototype : Symbol(Class.containsError, Decl(input.js, 2, 1))
10 >Class : Symbol(Class, Decl(input.js, 0, 0))
12 >containsError : Symbol(Class.containsError, Decl(input.js, 2, 1))
13 >this : Symbol(Class, Decl(input.js, 0, 0))
16 Class.prototype.m1 = function (a, b, c, d, tx, ty) { return this; };
17 >Class.prototype : Symbol(Class.m1, Decl(input.js, 5, 72))
[all …]
DmethodsReturningThis.types2 function Class()
3 >Class : typeof Class
7 // error: 'Class' doesn't have property 'notPresent'
8 Class.prototype.containsError = function () { return this.notPresent; };
9 >Class.prototype.containsError = function () { return this.notPresent; } : () => any
10 >Class.prototype.containsError : any
11 >Class.prototype : any
12 >Class : typeof Class
21 Class.prototype.m1 = function (a, b, c, d, tx, ty) { return this; };
22 >Class.prototype.m1 = function (a, b, c, d, tx, ty) { return this; } : (a: any, b: any, c: any, d: …
[all …]
DdestructuringParameterDeclaration5.types5 class Class implements F {
6 >Class : Class
11 class SubClass extends Class {
13 >Class : Class
20 >super : typeof Class
47 function d0<T extends Class>({x} = { x: new Class() }) { }
48 >d0 : <T extends Class>({ x }?: { x: Class; }) => void
49 >x : Class
50 >{ x: new Class() } : { x: Class; }
51 >x : Class
[all …]
DmethodsReturningThis.js2 function Class() class
7 Class.prototype.containsError = function () { return this.notPresent; };
10 Class.prototype.m1 = function (a, b, c, d, tx, ty) { return this; };
11 Class.prototype.m2 = function (x, y) { return this; };
12 Class.prototype.m3 = function (x, y) { return this; };
13 Class.prototype.m4 = function (angle) { return this; };
14 Class.prototype.m5 = function (matrix) { return this; };
15 Class.prototype.m6 = function (x, y, pivotX, pivotY, scaleX, scaleY, rotation, skewX, skewY) { retu…
16 Class.prototype.m7 = function(matrix) { return this; };
17 Class.prototype.m8 = function() { return this; };
[all …]
DunionTypeWithRecursiveSubtypeReduction1.types5 public members: Class[];
6 >members : Class[]
12 public members: (Class | Property)[];
13 >members : (Class | Property)[]
16 class Class {
17 >Class : Class
26 public parent: Module | Class;
27 >parent : Module | Class
30 var t: Class | Property;
31 >t : Class | Property
[all …]
DunionTypeWithRecursiveSubtypeReduction2.errors.txt1 …cursiveSubtypeReduction2.ts(19,1): error TS2322: Type 'Property' is not assignable to type 'Class'.
3 Type 'Module | Class' is not assignable to type 'Namespace'.
4 Property 'members' is missing in type 'Class' but required in type 'Namespace'.
5 tests/cases/compiler/unionTypeWithRecursiveSubtypeReduction2.ts(20,1): error TS2322: Type 'Class' i…
7 Type 'Namespace' is not assignable to type 'Module | Class'.
10 Type '(Class | Property)[]' is not assignable to type 'Class[]'.
11 Type 'Class | Property' is not assignable to type 'Class'.
12 Type 'Property' is not assignable to type 'Class'.
17 public members: Class[];
21 public members: (Class | Property)[];
[all …]
DunionTypeWithRecursiveSubtypeReduction2.types5 public members: Class[];
6 >members : Class[]
12 public members: (Class | Property)[];
13 >members : (Class | Property)[]
16 class Class {
17 >Class : Class
26 public parent: Module | Class;
27 >parent : Module | Class
30 var c: Class;
31 >c : Class
[all …]
DunionTypeWithRecursiveSubtypeReduction1.symbols5 public members: Class[];
7 >Class : Symbol(Class, Decl(unionTypeWithRecursiveSubtypeReduction1.ts, 6, 1))
13 public members: (Class | Property)[];
15 >Class : Symbol(Class, Decl(unionTypeWithRecursiveSubtypeReduction1.ts, 6, 1))
19 class Class {
20 >Class : Symbol(Class, Decl(unionTypeWithRecursiveSubtypeReduction1.ts, 6, 1))
23 >parent : Symbol(Class.parent, Decl(unionTypeWithRecursiveSubtypeReduction1.ts, 8, 13))
30 public parent: Module | Class;
33 >Class : Symbol(Class, Decl(unionTypeWithRecursiveSubtypeReduction1.ts, 6, 1))
36 var t: Class | Property;
[all …]
DunionTypeWithRecursiveSubtypeReduction2.symbols5 public members: Class[];
7 >Class : Symbol(Class, Decl(unionTypeWithRecursiveSubtypeReduction2.ts, 6, 1))
13 public members: (Class | Property)[];
15 >Class : Symbol(Class, Decl(unionTypeWithRecursiveSubtypeReduction2.ts, 6, 1))
19 class Class {
20 >Class : Symbol(Class, Decl(unionTypeWithRecursiveSubtypeReduction2.ts, 6, 1))
23 >parent : Symbol(Class.parent, Decl(unionTypeWithRecursiveSubtypeReduction2.ts, 8, 13))
30 public parent: Module | Class;
33 >Class : Symbol(Class, Decl(unionTypeWithRecursiveSubtypeReduction2.ts, 6, 1))
36 var c: Class;
[all …]
DaliasesInSystemModule1.types5 import cls = alias.Class;
8 >Class : any
10 export import cls2 = alias.Class;
13 >Class : any
15 let x = new alias.Class();
17 >new alias.Class() : any
18 >alias.Class : any
20 >Class : any
35 export import cls = alias.Class;
38 >Class : any
[all …]
DaliasesInSystemModule2.types5 import cls = alias.Class;
8 >Class : any
10 export import cls2 = alias.Class;
13 >Class : any
15 let x = new alias.Class();
17 >new alias.Class() : any
18 >alias.Class : any
20 >Class : any
35 export import cls = alias.Class;
38 >Class : any
[all …]
DdestructuringParameterDeclaration5.js5 class Class implements F { class
9 class SubClass extends Class {
27 function d0<T extends Class>({x} = { x: new Class() }) { }
29 function d2<T extends Class>({x}: { x: Class }) { }
33 var obj = new Class();
38 d1({ x: new Class() });
48 d3({ y: new Class() });
70 var Class = /** @class */ (function () {
71 function Class() { class in Class
73 return Class;
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/base/
Dinvoke_test.cc71 struct Class { struct
159 std::unique_ptr<Class> p(new Class); in TEST()
160 std::unique_ptr<const Class> cp(new Class); in TEST()
161 std::unique_ptr<volatile Class> vp(new Class); in TEST()
163 EXPECT_EQ(1, base_internal::invoke(&Class::Method, p, 3, 2)); in TEST()
164 EXPECT_EQ(1, base_internal::invoke(&Class::Method, p.get(), 3, 2)); in TEST()
165 EXPECT_EQ(1, base_internal::invoke(&Class::Method, *p, 3, 2)); in TEST()
166 EXPECT_EQ(1, base_internal::invoke(&Class::RefMethod, p, 3, 2)); in TEST()
167 EXPECT_EQ(1, base_internal::invoke(&Class::RefMethod, p.get(), 3, 2)); in TEST()
168 EXPECT_EQ(1, base_internal::invoke(&Class::RefMethod, *p, 3, 2)); in TEST()
[all …]
/third_party/abseil-cpp/absl/base/
Dinvoke_test.cc71 struct Class { struct
159 std::unique_ptr<Class> p(new Class); in TEST()
160 std::unique_ptr<const Class> cp(new Class); in TEST()
161 std::unique_ptr<volatile Class> vp(new Class); in TEST()
163 EXPECT_EQ(1, base_internal::invoke(&Class::Method, p, 3, 2)); in TEST()
164 EXPECT_EQ(1, base_internal::invoke(&Class::Method, p.get(), 3, 2)); in TEST()
165 EXPECT_EQ(1, base_internal::invoke(&Class::Method, *p, 3, 2)); in TEST()
166 EXPECT_EQ(1, base_internal::invoke(&Class::RefMethod, p, 3, 2)); in TEST()
167 EXPECT_EQ(1, base_internal::invoke(&Class::RefMethod, p.get(), 3, 2)); in TEST()
168 EXPECT_EQ(1, base_internal::invoke(&Class::RefMethod, *p, 3, 2)); in TEST()
[all …]
/third_party/boost/boost/dll/detail/
Dget_mem_fn_type.hpp14 template<typename Class, typename Func>
17 template<typename Class, typename Return, typename ...Args>
18 struct get_mem_fn_type<Class, Return(Args...)> {
19 typedef Return (Class::*mem_fn)(Args...);
22 template<typename Class, typename Return, typename ...Args>
23 struct get_mem_fn_type<const Class, Return(Args...)> {
24 typedef Return (Class::*mem_fn)(Args...) const ;
27 template<typename Class, typename Return, typename ...Args>
28 struct get_mem_fn_type<volatile Class, Return(Args...)> {
29 typedef Return (Class::*mem_fn)(Args...) volatile;
[all …]
Dctor_dtor.hpp38 template<typename Class, typename ...Args>
39 struct constructor<Class(Args...)> {
40 typedef typename detail::get_mem_fn_type<Class, void(Args...)>::mem_fn standard_t;
41 typedef Class*(*allocating_t)(Args...);
50 …void call_standard (Class * const ptr, Args...args){ (ptr->*standard)(static_cast<Args>(args)...)… in call_standard()
53 Class * call_allocating(Args...args){ return allocating(static_cast<Args>(args)...); } in call_allocating()
76 template <typename Class>
79 typedef void(*type)(Class* const);
81 typedef void(__thiscall * type)(Class* const);
83 typedef void(__cdecl * type)(Class* const);
[all …]
/third_party/boost/boost/property_map/parallel/
Dsimple_trigger.hpp29 template<typename Class, typename T, typename Result>
33 simple_trigger_t(Class* self, in simple_trigger_t()
34 Result (Class::*pmf)(int, int, const T&, in simple_trigger_t()
46 Class* self;
47 Result (Class::*pmf)(int, int, const T&, trigger_receive_context);
59 template<typename ProcessGroup, typename Class, typename T>
61 simple_trigger(ProcessGroup& pg, int tag, Class* self, in simple_trigger()
62 void (Class::*pmf)(int source, int tag, const T& data, in simple_trigger()
66 detail::simple_trigger_t<Class, T, void>(self, pmf)); in simple_trigger()
76 template<typename ProcessGroup, typename Class, typename T, typename Result>
[all …]
/third_party/abseil-cpp/absl/utility/
Dutility_test.cc206 struct Class { struct
274 std::unique_ptr<Class> p(new Class); in TEST()
275 std::unique_ptr<const Class> cp(new Class); in TEST()
277 1, absl::apply(&Class::Method, in TEST()
278 std::tuple<std::unique_ptr<Class>&, int, int>(p, 3, 2))); in TEST()
279 EXPECT_EQ(1, absl::apply(&Class::Method, in TEST()
280 std::tuple<Class*, int, int>(p.get(), 3, 2))); in TEST()
282 1, absl::apply(&Class::Method, std::tuple<Class&, int, int>(*p, 3, 2))); in TEST()
285 1, absl::apply(&Class::ConstMethod, in TEST()
286 std::tuple<std::unique_ptr<Class>&, int, int>(p, 3, 2))); in TEST()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/utility/
Dutility_test.cc206 struct Class { struct
274 std::unique_ptr<Class> p(new Class); in TEST()
275 std::unique_ptr<const Class> cp(new Class); in TEST()
277 1, absl::apply(&Class::Method, in TEST()
278 std::tuple<std::unique_ptr<Class>&, int, int>(p, 3, 2))); in TEST()
279 EXPECT_EQ(1, absl::apply(&Class::Method, in TEST()
280 std::tuple<Class*, int, int>(p.get(), 3, 2))); in TEST()
282 1, absl::apply(&Class::Method, std::tuple<Class&, int, int>(*p, 3, 2))); in TEST()
285 1, absl::apply(&Class::ConstMethod, in TEST()
286 std::tuple<std::unique_ptr<Class>&, int, int>(p, 3, 2))); in TEST()
[all …]
/third_party/boost/boost/phoenix/bind/detail/
Dmember_variable.hpp26 template <typename This, typename Class>
27 struct result<This(Class)>
28 : result<This(Class const &)>
31 template <typename This, typename Class>
32 struct result<This(Class &)>
37 typename boost::remove_reference<Class>::type
49 template <typename Class>
50 RT& operator()(Class& obj) const in operator ()()
58 template <typename Class>
59 RT& operator()(Class* obj) const in operator ()()
[all …]
/third_party/boost/boost/phoenix/bind/detail/cpp03/preprocessed/
Dmember_function_ptr_10.hpp23 template <typename Class, typename A0>
24 RT operator()(Class& obj, A0 & a0) const in operator ()()
30 template <typename Class, typename A0>
31 RT operator()(Class* obj, A0 & a0) const in operator ()()
54 template <typename Class, typename A0 , typename A1>
55 RT operator()(Class& obj, A0 & a0 , A1 & a1) const in operator ()()
61 template <typename Class, typename A0 , typename A1>
62 RT operator()(Class* obj, A0 & a0 , A1 & a1) const in operator ()()
85 template <typename Class, typename A0 , typename A1 , typename A2>
86 RT operator()(Class& obj, A0 & a0 , A1 & a1 , A2 & a2) const in operator ()()
[all …]
/third_party/typescript/tests/cases/conformance/salsa/
DmethodsReturningThis.ts4 function Class() function
9 Class.prototype.containsError = function () { return this.notPresent; };
12 Class.prototype.m1 = function (a, b, c, d, tx, ty) { return this; };
13 Class.prototype.m2 = function (x, y) { return this; };
14 Class.prototype.m3 = function (x, y) { return this; };
15 Class.prototype.m4 = function (angle) { return this; };
16 Class.prototype.m5 = function (matrix) { return this; };
17 Class.prototype.m6 = function (x, y, pivotX, pivotY, scaleX, scaleY, rotation, skewX, skewY) { retu…
18 Class.prototype.m7 = function(matrix) { return this; };
19 Class.prototype.m8 = function() { return this; };
[all …]
/third_party/node/src/
Dnode_mem-inl.h12 template <typename Class, typename AllocatorStruct>
13 AllocatorStruct NgLibMemoryManager<Class, AllocatorStruct>::MakeAllocator() { in MakeAllocator()
15 static_cast<void*>(static_cast<Class*>(this)), in MakeAllocator()
23 template <typename Class, typename T>
24 void* NgLibMemoryManager<Class, T>::ReallocImpl(void* ptr, in ReallocImpl()
27 Class* manager = static_cast<Class*>(user_data); in ReallocImpl()
74 template <typename Class, typename T>
75 void* NgLibMemoryManager<Class, T>::MallocImpl(size_t size, void* user_data) { in MallocImpl()
79 template <typename Class, typename T>
80 void NgLibMemoryManager<Class, T>::FreeImpl(void* ptr, void* user_data) { in FreeImpl()
[all …]

12345678910>>...49