/dports/devel/rttr/rttr-0.9.6-16-gb3a131c/src/unit_tests/method/ |
H A D | method_misc_test.cpp | 100 method meth = type::get_by_name("method_misc_test").get_method("func"); 103 meth = type::get_by_name("method_misc_test").get_method("default_func"); 107 meth = type::get_by_name("method_misc_test").get_method(""); 118 meth = type::get_by_name("method_misc_test").get_method("func"); 125 meth = type::get_by_name("method_misc_test").get_method(""); 140 meth = type::get_by_name("method_misc_test").get_method(""); 148 method meth = type::get_by_name("method_misc_test").get_method("func"); 155 meth = type::get_by_name("method_misc_test").get_method(""); 163 method meth = type::get_by_name("method_misc_test").get_method("func"); 170 meth = type::get_by_name("method_misc_test").get_method(""); [all …]
|
H A D | method_access_level_test.cpp | 83 CHECK(t.get_method("method_1").is_valid() == true); 84 CHECK(t.get_method("method_1").get_access_level() == access_levels::public_access); 86 CHECK(t.get_method("method_2").get_access_level() == access_levels::private_access); 87 CHECK(t.get_method("method_3").get_access_level() == access_levels::protected_access); 88 CHECK(t.get_method("method_4").get_access_level() == access_levels::public_access); 90 CHECK(t.get_method("method_5").get_access_level() == access_levels::public_access); 91 CHECK(t.get_method("method_6").get_access_level() == access_levels::private_access); 93 CHECK(t.get_method("method_8").get_access_level() == access_levels::public_access); 103 REQUIRE(t.get_method("").is_valid() == false); 104 CHECK(t.get_method("").get_access_level() == access_levels::public_access); [all …]
|
H A D | test_method_reflection.cpp | 203 method meth = t_meth.get_method("method_1"); 211 t_meth.get_method("method_2").invoke(inst); 214 meth = t_meth.get_method("method_2"); 219 t_meth.get_method("method_3").invoke(inst, 35); 264 method m6 = t_meth.get_method("method_6"); 279 ret = t_meth.get_method("method_8").invoke(inst); 289 method m9 = t_meth.get_method("method_9"); 332 REQUIRE(t_meth.get_method("method_default") == t_meth.get_method("method_default")); 333 REQUIRE(t_meth.get_method("method_default") != t_meth.get_method("method_4")); 536 method meth = t_meth.get_method("variant_func"); [all …]
|
/dports/devel/p5-Moose/Moose-2.2201/t/metaclasses/ |
H A D | reinitialize.t | 13 isa_ok($meta->get_method('foo'), 'Moose::Meta::Method'); 79 does_ok(Foo->meta->get_method('foo'), 'Foo::Role::Method'); 84 does_ok(Foo->meta->get_method('foo'), 'Foo::Role::Method'); 87 Foo->meta->get_method('foo')->foo('TEST'); 89 is(Foo->meta->get_method('foo')->foo, 'TEST'); 93 is(Foo->meta->get_method('foo')->foo, 'TEST'); 121 does_ok(Bar->meta->get_method('foo'), 'Bar::Role::Method'); 126 does_ok(Bar->meta->get_method('foo'), 'Bar::Role::Method'); 187 isa_ok(Baz->meta->get_method('foo'), 'Bar::Meta::Method'); 191 isa_ok(Baz->meta->get_method('foo'), 'Bar::Meta::Method'); [all …]
|
/dports/graphics/mupdf/mupdf-1.18.0-source/platform/java/ |
H A D | mupdf_native.c | 653 mid_Device_init = get_method(&err, env, "<init>", "(J)V"); in find_fids() 696 mid_Font_init = get_method(&err, env, "<init>", "(J)V"); in find_fids() 700 mid_Image_init = get_method(&err, env, "<init>", "(J)V"); in find_fids() 726 mid_Page_init = get_method(&err, env, "<init>", "(J)V"); in find_fids() 730 mid_Path_init = get_method(&err, env, "<init>", "(J)V"); in find_fids() 760 mid_PDFPage_init = get_method(&err, env, "<init>", "(J)V"); in find_fids() 764 mid_Pixmap_init = get_method(&err, env, "<init>", "(J)V"); in find_fids() 767 mid_Point_init = get_method(&err, env, "<init>", "(FF)V"); in find_fids() 787 mid_Rect_init = get_method(&err, env, "<init>", "(FFFF)V"); in find_fids() 801 mid_Shade_init = get_method(&err, env, "<init>", "(J)V"); in find_fids() [all …]
|
/dports/devel/p5-Moose/Moose-2.2201/t/cmop/ |
H A D | advanced_methods.t | 55 Class::MOP::Class->initialize('Foo')->get_method('BUILD'), 59 Class::MOP::Class->initialize('Bar')->get_method('BUILD'), 63 Class::MOP::Class->initialize('Foo')->get_method('BUILD'), 67 Class::MOP::Class->initialize('Foo')->get_method('BUILD'), 78 Class::MOP::Class->initialize('Foo')->get_method('foo'), 90 Class::MOP::Class->initialize('Bar')->get_method('bar'), 91 Class::MOP::Class->initialize('Foo')->get_method('foo'), 104 Class::MOP::Class->initialize('Bar')->get_method('bar'), 105 Class::MOP::Class->initialize('Baz')->get_method('baz'), 106 Class::MOP::Class->initialize('Baz')->get_method('foo'), [all …]
|
H A D | methods.t | 81 my $foo_method = $Foo->get_method('foo'); 92 is( $Foo->get_method('foo')->body, $foo, 148 # calling get_method blessed them all 285 $Foo->get_method('baaz'), 286 $Foo->get_method('bang'), 287 $Bar->get_method('bar'), 299 $Bar->get_method('foo'), 300 $Bar->get_method('meta'), 301 $Foo->get_method('pie'), 419 ok($DFMmeta->get_method('foo')); [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/ |
H A D | PropertyInfoMirror.cs | 15 MethodMirror get_method, set_method; field in Mono.Debugger.Soft.PropertyInfoMirror 19 …public PropertyInfoMirror (TypeMirror parent, long id, string name, MethodMirror get_method, Metho… in PropertyInfoMirror() argument 23 this.get_method = get_method; in PropertyInfoMirror() 41 if (get_method != null) 42 return get_method.ReturnType; 68 if (get_method != null && (nonPublic || get_method.IsPublic)) in GetGetMethod() 69 return get_method; in GetGetMethod() 89 if (get_method != null) in GetIndexParameters() 90 return get_method.GetParameters (); in GetIndexParameters()
|
/dports/devel/injeqt/injeqt-1.2.0/test/unit/ |
H A D | action-method-test.cpp | 91 auto action = make_action_method(get_method<test_type>("tagged_init_action_method()")); in should_create_valid_from_tagged_action_method() 95 ;action = make_action_method(get_method<test_type>("tagged_done_action_method()")); in should_create_valid_from_tagged_action_method() 102 auto action = make_action_method(get_method<test_type>("tagged_init_action_slot()")); in should_create_valid_from_tagged_action_slot() 106 make_action_method(get_method<test_type>("tagged_done_action_slot()")); in should_create_valid_from_tagged_action_slot() 113 auto action = make_action_method(get_method<test_type>("tagged_init_action_slot()")); in should_invoke_have_results() 131 make_action_method(get_method<test_type>("invalid_init_action_arguments(int)")); in should_throw_when_arguments() 134 make_action_method(get_method<test_type>("invalid_done_action_arguments(int)")); in should_throw_when_arguments() 141 make_action_method(get_method<test_type>("invalid_action_invalid_tag()")); in should_throw_when_invalid_tag() 148 make_action_method(get_method<test_type>("invalid_action_no_tag()")); in should_throw_when_no_tag() 155 make_action_method(get_method<test_type>("invalid_init_action_signal()")); in should_throw_when_signal() [all …]
|
H A D | setter-method-test.cpp | 114 …auto setter = make_setter_method(_known_types, get_method<test_type>("tagged_setter_method_1(injec… in should_create_valid_from_tagged_setter_method() 119 …setter = make_setter_method(_known_types, get_method<test_type>("tagged_setter_method_2(injectable… in should_create_valid_from_tagged_setter_method() 127 …auto setter = make_setter_method(_known_types, get_method<test_type>("tagged_setter_slot_1(injecta… in should_create_valid_from_tagged_setter_slot() 132 …setter = make_setter_method(_known_types, get_method<test_type>("tagged_setter_slot_2(injectable_t… in should_create_valid_from_tagged_setter_slot() 140 …auto setter = make_setter_method(_known_types, get_method<test_type>("tagged_setter_slot_1(injecta… in should_invoke_have_results() 159 …make_setter_method(_known_types, get_method<test_type>("invalid_setter_multi_arguments(injectable_… in should_throw_when_multiple_arguments() 166 …make_setter_method(_known_types, get_method<test_type>("invalid_setter_invalid_tag(injectable_type… in should_throw_when_invalid_tag() 173 …make_setter_method(_known_types, get_method<test_type>("invalid_setter_no_tag(injectable_type1*)")… in should_throw_when_no_tag() 180 …make_setter_method(_known_types, get_method<test_type>("invalid_setter_signal(injectable_type1*)")… in should_throw_when_signal()
|
/dports/science/opensim-core/opensim-core-4.1/OpenSim/Simulation/Wrap/ |
H A D | PathWrap.cpp | 106 if (get_method() == "hybrid" || get_method() == "Hybrid" || get_method() == "HYBRID") in extendConnectToModel() 108 else if (get_method() == "midpoint" || get_method() == "Midpoint" || get_method() == "MIDPOINT") in extendConnectToModel() 110 else if (get_method() == "axial" || get_method() == "Axial" || get_method() == "AXIAL") in extendConnectToModel() 112 …else if (get_method() == "Unassigned") { // method was not specified in wrap object definition; u… in extendConnectToModel()
|
/dports/lang/mono/mono-5.10.1.57/external/cecil-legacy/Mono.Cecil/ |
H A D | PropertyDefinition.cs | 42 internal MethodDefinition get_method; field in Mono.Cecil.PropertyDefinition 59 return get_method.HasThis; 84 if (get_method != null) 85 return get_method; 88 return get_method; 90 set { get_method = value; } 132 if (get_method != null) 133 return get_method.HasParameters; 146 if (get_method != null) 147 return MirrorParameters (get_method, 0); [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/linker/cecil/Mono.Cecil/ |
H A D | PropertyDefinition.cs | 24 internal MethodDefinition get_method; field in Mono.Cecil.PropertyDefinition 41 return get_method.HasThis; 66 if (get_method != null) 67 return get_method; 70 return get_method; 72 set { get_method = value; } 114 if (get_method != null) 115 return get_method.HasParameters; 128 if (get_method != null) 129 return MirrorParameters (get_method, 0); [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/cecil/Mono.Cecil/ |
H A D | PropertyDefinition.cs | 24 internal MethodDefinition get_method; field in Mono.Cecil.PropertyDefinition 41 return get_method.HasThis; 66 if (get_method != null) 67 return get_method; 70 return get_method; 72 set { get_method = value; } 114 if (get_method != null) 115 return get_method.HasParameters; 128 if (get_method != null) 129 return MirrorParameters (get_method, 0); [all …]
|
/dports/devel/mono-addins/mono-addins-mono-addins-1.3/Mono.Addins.CecilReflector/Mono.Cecil/Mono.Cecil/ |
H A D | PropertyDefinition.cs | 42 internal MethodDefinition get_method; field in Mono.Cecil.PropertyDefinition 59 return get_method.HasThis; 84 if (get_method != null) 85 return get_method; 88 return get_method; 90 set { get_method = value; } 132 if (get_method != null) 133 return get_method.HasParameters; 146 if (get_method != null) 147 return MirrorParameters (get_method, 0); [all …]
|
/dports/lang/mono-basic/mono-basic-4.7/vbnc/cecil/Mono.Cecil/ |
H A D | PropertyDefinition.cs | 42 internal MethodReference get_method; field in Mono.Cecil.PropertyDefinition 59 return get_method.HasThis; 84 if (get_method != null) 85 return get_method; 88 return get_method; 90 set { get_method = value; } 132 if (get_method != null) 133 return get_method.HasParameters; 146 if (get_method != null) 147 return MirrorParameters (get_method, 0); [all …]
|
/dports/devel/rttr/rttr-0.9.6-16-gb3a131c/src/benchmarks/bench_method/ |
H A D | bench_find_method.cpp | 67 rttr::method m = rttr::type::get(nullptr).get_method(""); in bench_rttr_find_method_level_1() 109 rttr::method m = rttr::type::get(nullptr).get_method(""); in bench_rttr_find_method_level_3() 151 rttr::method m = rttr::type::get(nullptr).get_method(""); in bench_rttr_find_method_level_6() 195 rttr::method m = rttr::type::get(nullptr).get_method(""); in bench_rttr_find_method_neg_level_1() 237 rttr::method m = rttr::type::get(nullptr).get_method(""); in bench_rttr_find_method_neg_level_3() 280 rttr::method m = rttr::type::get(nullptr).get_method(""); in bench_rttr_find_method_neg_level_6() 323 rttr::method m = rttr::type::get(nullptr).get_method(""); in bench_rttr_find_method_cross_cast_level_1() 365 rttr::method m = rttr::type::get(nullptr).get_method(""); in bench_rttr_find_method_cross_cast_level_3() 407 rttr::method m = rttr::type::get(nullptr).get_method(""); in bench_rttr_find_method_cross_cast_level_6() 451 rttr::method m = rttr::type::get(nullptr).get_method(""); in bench_rttr_find_method_cross_cast_neg_level_1() [all …]
|
/dports/editors/jucipp/jucipp-b3b5182258b25835e7c5f683623ab774d8e34c75/tests/ |
H A D | source_clang_test.cpp | 177 method = clang_view->get_method(); in main() 180 method = clang_view->get_method(); in main() 183 method = clang_view->get_method(); in main() 186 method = clang_view->get_method(); in main() 189 method = clang_view->get_method(); in main() 192 method = clang_view->get_method(); in main() 195 method = clang_view->get_method(); in main() 198 method = clang_view->get_method(); in main() 201 method = clang_view->get_method(); in main() 204 method = clang_view->get_method(); in main() [all …]
|
/dports/net/py-sshuttle/sshuttle-0.78.5/tests/client/ |
H A D | test_methods_nat.py | 8 from sshuttle.methods import get_method 12 method = get_method('nat') 23 method = get_method('nat') 31 method = get_method('nat') 39 method = get_method('nat') 46 method = get_method('nat') 53 method = get_method('nat') 59 method = get_method('nat') 73 method = get_method('nat') 82 method = get_method('nat')
|
H A D | test_methods_tproxy.py | 6 from sshuttle.methods import get_method 11 method = get_method('tproxy') 20 method = get_method('tproxy') 30 method = get_method('tproxy') 40 method = get_method('tproxy') 50 method = get_method('tproxy') 65 method = get_method('tproxy') 74 method = get_method('tproxy') 84 method = get_method('tproxy') 90 method = get_method('tproxy') [all …]
|
/dports/devel/godot/godot-3.2.3-stable/modules/mono/mono_gd/ |
H A D | gd_mono_cache.cpp | 209 …stics_StackTrace, GetFrames, CACHED_CLASS(System_Diagnostics_StackTrace)->get_method("GetFrames")); in update_corlib_cache() 269 …CACHE_METHOD_THUNK_AND_CHECK(GodotObject, Dispose, CACHED_CLASS(GodotObject)->get_method("Dispose"… in update_godot_api_cache() 270 …Array, GetPtr, GODOT_API_NS_CLASS(BINDINGS_NAMESPACE_COLLECTIONS, Array)->get_method("GetPtr", 0)); in update_godot_api_cache() 271 …, GetPtr, GODOT_API_NS_CLASS(BINDINGS_NAMESPACE_COLLECTIONS, Dictionary)->get_method("GetPtr", 0)); in update_godot_api_cache() 272 …D_CHECK(SignalAwaiter, SignalCallback, GODOT_API_CLASS(SignalAwaiter)->get_method("SignalCallback"… in update_godot_api_cache() 273 …_CHECK(SignalAwaiter, FailureCallback, GODOT_API_CLASS(SignalAwaiter)->get_method("FailureCallback… in update_godot_api_cache() 274 …HECK(GodotTaskScheduler, Activate, GODOT_API_CLASS(GodotTaskScheduler)->get_method("Activate", 0)); in update_godot_api_cache() 278 …CHECK(MarshalUtils, TypeIsGenericArray, GODOT_API_CLASS(MarshalUtils)->get_method("TypeIsGenericAr… in update_godot_api_cache() 286 …HECK(MarshalUtils, ArrayGetElementType, GODOT_API_CLASS(MarshalUtils)->get_method("ArrayGetElement… in update_godot_api_cache() 289 …ECK(MarshalUtils, MakeGenericArrayType, GODOT_API_CLASS(MarshalUtils)->get_method("MakeGenericArra… in update_godot_api_cache() [all …]
|
/dports/devel/godot-tools/godot-3.2.3-stable/modules/mono/mono_gd/ |
H A D | gd_mono_cache.cpp | 209 …stics_StackTrace, GetFrames, CACHED_CLASS(System_Diagnostics_StackTrace)->get_method("GetFrames")); in update_corlib_cache() 269 …CACHE_METHOD_THUNK_AND_CHECK(GodotObject, Dispose, CACHED_CLASS(GodotObject)->get_method("Dispose"… in update_godot_api_cache() 270 …Array, GetPtr, GODOT_API_NS_CLASS(BINDINGS_NAMESPACE_COLLECTIONS, Array)->get_method("GetPtr", 0)); in update_godot_api_cache() 271 …, GetPtr, GODOT_API_NS_CLASS(BINDINGS_NAMESPACE_COLLECTIONS, Dictionary)->get_method("GetPtr", 0)); in update_godot_api_cache() 272 …D_CHECK(SignalAwaiter, SignalCallback, GODOT_API_CLASS(SignalAwaiter)->get_method("SignalCallback"… in update_godot_api_cache() 273 …_CHECK(SignalAwaiter, FailureCallback, GODOT_API_CLASS(SignalAwaiter)->get_method("FailureCallback… in update_godot_api_cache() 274 …HECK(GodotTaskScheduler, Activate, GODOT_API_CLASS(GodotTaskScheduler)->get_method("Activate", 0)); in update_godot_api_cache() 278 …CHECK(MarshalUtils, TypeIsGenericArray, GODOT_API_CLASS(MarshalUtils)->get_method("TypeIsGenericAr… in update_godot_api_cache() 286 …HECK(MarshalUtils, ArrayGetElementType, GODOT_API_CLASS(MarshalUtils)->get_method("ArrayGetElement… in update_godot_api_cache() 289 …ECK(MarshalUtils, MakeGenericArrayType, GODOT_API_CLASS(MarshalUtils)->get_method("MakeGenericArra… in update_godot_api_cache() [all …]
|
/dports/x11-toolkits/p5-Gtk2-ImageView/Gtk2-ImageView-0.05/t/ |
H A D | drawcache.t | 40 my $method = Gtk2::Gdk::Pixbuf::Draw::Cache->get_method($opts, $opts); 41 ok(($method eq 'contains' or $method eq 'scale' or $method eq 'scroll'), 'get_method'); 43 eval{Gtk2::Gdk::Pixbuf::Draw::Cache->get_method(undef, undef)}; 44 like($@, qr/Expected/, 'A TypeError is raised when get_method() is called with an argument that is … 46 eval{Gtk2::Gdk::Pixbuf::Draw::Cache->get_method($opts, undef)}; 47 like($@, qr/Expected/, 'A TypeError is raised when get_method() is called with an argument that is … 49 eval{Gtk2::Gdk::Pixbuf::Draw::Cache->get_method(undef, $opts)}; 50 like($@, qr/Expected/, 'A TypeError is raised when get_method() is called with an argument that is … 52 eval{Gtk2::Gdk::Pixbuf::Draw::Cache->get_method('Hello', 'Foo')}; 53 like($@, qr/Expected/, 'A TypeError is raised when get_method() is called with an argument that is …
|
/dports/devel/p5-MooseX-Role-Strict/MooseX-Role-Strict-0.05/lib/MooseX/Role/ |
H A D | Strict.pm | 37 $class->get_method($method_name)->body != $role->get_method($method_name)->body 47 $role->get_method($method_name) ); 58 … $class->get_method($aliased_method_name)->body != $role->get_method($method_name)->body 64 $role->get_method($method_name) );
|
/dports/devel/py-gapic-generator/gapic-generator-0.35.10/tests/unit/schema/wrappers/ |
H A D | test_service.py | 26 get_method, 82 get_method('DoThing', 'foo.bar.ThingRequest', 'foo.baz.ThingResponse'), 83 get_method('Jump', 'foo.bacon.JumpRequest', 'foo.bacon.JumpResponse'), 84 get_method('Yawn', 'a.b.v1.c.YawnRequest', 'x.y.v1.z.YawnResponse'), 93 get_method('DoThing', 'foo.bar.ThingRequest', 'foo.bar.ThingResponse'), 94 get_method('Jump', 'bacon.bar.JumpRequest', 'bacon.bar.JumpResponse'), 95 get_method('Yawn', 'a.b.v1.c.YawnRequest', 'a.b.v1.c.YawnResponse'), 109 get_method('DoThing', 'foo.bar.ThingRequest', 'foo.baz.ThingResponse'), 110 get_method('Jump', 'foo.bacon.JumpRequest', 'foo.bacon.JumpResponse'), 111 get_method('Yawn', 'a.b.v1.c.YawnRequest', 'x.y.v1.z.YawnResponse'), [all …]
|