Home
last modified time | relevance | path

Searched refs:pmf (Results 1 – 25 of 27) sorted by relevance

12

/external/clang/test/SemaCXX/
Dbuiltin-ptrtomember-overload-1.cpp25 void foo(C c, int A::* pmf) { in foo() argument
26 int i = c->*pmf; in foo()
37 void foo1(C1 c1, int A::* pmf) { in foo1() argument
38 int i = c1->*pmf; in foo1()
39 c1->*pmf = 10; in foo1()
42 void foo1(C1 c1, int E::* pmf) { in foo1() argument
43 int i = c1->*pmf; // expected-error {{use of overloaded operator '->*' is ambiguous}} \ in foo1()
Doverloaded-builtin-operators.cpp29 typedef void (X::*pmf)(); typedef
31 operator pmf();
38 void f(Short s, Long l, Enum1 e1, Enum2 e2, Xpmf pmf) { in f() argument
52 (void)(pmf == &X::f); in f()
53 (void)(pmf == 0); in f()
72 operator pmf&();
94 pmf &pmr = (pmf_ref = &X::f); // expected-error{{no viable overloaded '='}} in g()
95 pmf pmr2; in g()
Dbuiltin-ptrtomember-overload.cpp15 void foo(C c, B b, int A::* pmf) { in foo() argument
16 int j = c->*pmf; in foo()
17 int i = b->*pmf; in foo()
Dbuiltin-ptrtomember-ambig.cpp19 void foo(C c, int A::* pmf) { in foo() argument
21 int i = c->*pmf; // expected-error {{use of overloaded operator '->*' is ambiguous}} \ in foo()
Dnullptr.cpp26 void (A::*pmf)() = nullptr; in f() local
27 pmf = null; in f()
175 template<int (*fp)(int), int* p, int A::* pmd, int (A::*pmf)(int)>
Dmember-pointer.cpp80 void (HasMembers::*pmf)() = &HasMembers::f; in g() local
/external/clang/test/CXX/expr/expr.mptr.oper/
Dp6-0x.cpp15 void test(X *xp, int (X::*pmf)(int), int (X::*l_pmf)(int) &, in test()
18 (lvalue<X>().*pmf)(17); in test()
19 (xvalue<X>().*pmf)(17); in test()
20 (prvalue<X>().*pmf)(17); in test()
21 (xp->*pmf)(17); in test()
/external/clang/test/CodeGenCXX/
Dmember-function-pointers.cpp88 bool (A::*pmf)(int*) const; member
91 B1() : pmf(&A::foo), pa(&a) {} in B1()
92 bool operator()() const { return (pa->*pmf)(new int); } in operator ()()
209 typedef int (X::*pmf)(int); typedef
212 pmf f() { in f()
214 return pmf(); in f()
Dptr-to-member-function.cpp50 bool (A::*pmf)(int*) const; member
52 B1(int i) : pmf(&A::foo), im(i) { in B1()
53 ((A*)this->*pmf)(&im); in B1()
Dreference-cast.cpp105 typedef int (X::*pmf)(int); typedef
108 pmf get_pointer_to_member_function();
Dnullptr.cpp19 int (X::*pmf)(int) = get_nullptr(); in g() local
/external/clang/test/SemaObjCXX/
Darc-memfunc.mm13 id (X0::*pmf)() __attribute__((ns_returns_retained)) = &X0::makeObject2;
14 (x0.*pmf)();
15 (x0p->*pmf)();
/external/clang/test/CXX/temp/temp.arg/temp.arg.nontype/
Dp1-11.cpp46 template<int (X::*pmf)(int)> struct PMF { // expected-note 2 {{template parameter is declared here}}
47 PMF<pmf> *pmf2;
/external/stlport/test/unit/
Dmfunptr_test.cpp205 const_mem_fun1_ref_t<bool,V,int> pmf = mem_fun_ref( &V::f ); in find() local
206 binder2nd<const_mem_fun1_ref_t<bool,V,int> > b(pmf, 2); in find()
212 binder2nd<const_mem_fun1_ref_t<bool,V,int> > b2 = bind2nd( pmf, 2 ); in find()
/external/clang/test/CXX/dcl.decl/
Dp4-0x.cpp9 void (X::*pmf)() & = &X::f; variable
/external/clang/test/CodeGenObjCXX/
Darc.mm132 id (Test35_Helper::*pmf)() __attribute__((ns_returns_retained))
136 id obj4 = (x0.*pmf)();
139 id obj5 = (x0p->*pmf)();
160 id (Test35_Helper::*pmf)() = &Test35_Helper::makeObject4;
163 id obj4 = (x0.*pmf)();
166 id obj5 = (x0p->*pmf)();
/external/clang/test/CXX/temp/temp.param/
Dp4.cpp15 template<float (X::*pmf)(float, int)> struct A9;
/external/clang/test/SemaTemplate/
Dinstantiate-local-class.cpp62 pmf_type pmf = &T::foo; in foo() local
Dtemp_arg_nontype.cpp79 template<int (Z::*pmf)(int)> struct A6; // expected-note{{template parameter is declared here}}
/external/wpa_supplicant_8/wpa_supplicant/
Dconfig.h827 enum mfp_options pmf; member
Dconfig_winreg.c277 config->pmf = val; in wpa_config_read_global()
624 wpa_config_write_reg_dword(hk, TEXT("pmf"), config->pmf, 0); in wpa_config_write_global()
Dconfig_file.c1004 if (config->pmf) in wpa_config_write_global()
1005 fprintf(f, "pmf=%d\n", config->pmf); in wpa_config_write_global()
Dsme.c326 wpa_s->conf->pmf : ssid->ieee80211w; in sme_send_authentication()
1247 wpa_s->conf->pmf : ssid->ieee80211w) == NO_MGMT_FRAME_PROTECTION) in sme_event_unprot_disconnect()
Dwpa_supplicant.c921 wpa_s->conf->pmf : ssid->ieee80211w) == in wpa_supplicant_suites_from_ai()
1098 wpa_s->conf->pmf : ssid->ieee80211w) == NO_MGMT_FRAME_PROTECTION || in wpa_supplicant_set_suites()
1113 wpa_s->conf->pmf : ssid->ieee80211w)); in wpa_supplicant_set_suites()
1602 wpa_s->conf->pmf : ssid->ieee80211w; in wpa_supplicant_associate()
Dinterworking.c754 wpa_s->conf->pmf != NO_MGMT_FRAME_PROTECTION ? in interworking_set_hs20_params()

12