Home
last modified time | relevance | path

Searched refs:lvalue (Results 1 – 25 of 284) sorted by relevance

12345678910>>...12

/external/llvm-project/clang/test/CXX/over/over.match/over.match.funcs/
Dp4-0x.cpp3 template<typename T> T &lvalue();
30 void lvalue() &; // expected-note 2 {{'lvalue' declared here}}
52 int &ir1 = lvalue<X0>().f(); in test_ref_qualifier_binding()
55 int &ir2 = lvalue<X0>().ft(1); in test_ref_qualifier_binding()
61 int &ir1 = lvalue<X0>()(); in test_ref_qualifier_binding_with_surrogates()
67 int &ir1 = lvalue<X0>() + prvalue<X0>(); in test_ref_qualifier_binding_operators()
70 int &ir2 = lvalue<X0>() + 1; in test_ref_qualifier_binding_operators()
76 int &ir1 = lvalue<X0>().h(); in test_ref_qualifier_overloading()
79 int &ir2 = lvalue<X0>().h2(); in test_ref_qualifier_overloading()
94 lvalue<X0>().lvalue(); in test_diagnostics()
[all …]
/external/clang/test/CXX/over/over.match/over.match.funcs/
Dp4-0x.cpp4 template<typename T> T &lvalue();
41 int &ir1 = lvalue<X0>().f(); in test_ref_qualifier_binding()
44 int &ir2 = lvalue<X0>().ft(1); in test_ref_qualifier_binding()
50 int &ir1 = lvalue<X0>()(); in test_ref_qualifier_binding_with_surrogates()
56 int &ir1 = lvalue<X0>() + prvalue<X0>(); in test_ref_qualifier_binding_operators()
59 int &ir2 = lvalue<X0>() + 1; in test_ref_qualifier_binding_operators()
65 int &ir1 = lvalue<X0>().h(); in test_ref_qualifier_overloading()
68 int &ir2 = lvalue<X0>().h2(); in test_ref_qualifier_overloading()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_test_main.c148 long long lvalue = (long long)value; in write_elem() local
149 lvalue = MIN2(lvalue, ((long long)1 << (type.width - 1)) - 1); in write_elem()
150 lvalue = MAX2(lvalue, -((long long)1 << (type.width - 1))); in write_elem()
153 *((int8_t *)dst + index) = (int8_t)lvalue; in write_elem()
156 *((int16_t *)dst + index) = (int16_t)lvalue; in write_elem()
159 *((int32_t *)dst + index) = (int32_t)lvalue; in write_elem()
162 *((int64_t *)dst + index) = (int64_t)lvalue; in write_elem()
169 unsigned long long lvalue = (long long)value; in write_elem() local
170 lvalue = MIN2(lvalue, ((unsigned long long)1 << type.width) - 1); in write_elem()
173 *((uint8_t *)dst + index) = (uint8_t)lvalue; in write_elem()
[all …]
/external/ppp/pppd/plugins/radius/
Davpair.c77 vp->lvalue = len; in rc_avpair_assign()
80 vp->lvalue = strlen((char *) pval); in rc_avpair_assign()
90 vp->lvalue = * (UINT4 *) pval; in rc_avpair_assign()
158 UINT4 lvalue; in rc_avpair_gen() local
227 pair->lvalue = attrlen; in rc_avpair_gen()
233 memcpy ((char *) &lvalue, (char *) ptr, in rc_avpair_gen()
235 pair->lvalue = ntohl (lvalue); in rc_avpair_gen()
268 UINT4 lvalue; in rc_extract_vendor_specific_attributes() local
322 pair->lvalue = vlen; in rc_extract_vendor_specific_attributes()
328 memcpy ((char *) &lvalue, (char *) ptr, in rc_extract_vendor_specific_attributes()
[all …]
Dradius.c573 if (vp->lvalue != PW_FRAMED) { in radius_setparams()
575 vp->lvalue, rstate.user); in radius_setparams()
583 if (vp->lvalue != PW_PPP) { in radius_setparams()
585 vp->lvalue, rstate.user); in radius_setparams()
592 maxconnect = vp->lvalue; in radius_setparams()
604 idle_time_limit = vp->lvalue; in radius_setparams()
609 maxoctets = vp->lvalue; in radius_setparams()
613 maxoctets_dir = ( vp->lvalue > 4 ) ? 0 : vp->lvalue ; in radius_setparams()
618 rstate.acct_interim_interval = vp->lvalue; in radius_setparams()
628 remote = vp->lvalue; in radius_setparams()
[all …]
Dsendserver.c37 UINT4 lvalue; in rc_pack_list() local
65 length = vp->lvalue; in rc_pack_list()
77 lvalue = htonl(vp->lvalue); in rc_pack_list()
78 memcpy(buf, (char *) &lvalue, sizeof(UINT4)); in rc_pack_list()
93 length = vp->lvalue; in rc_pack_list()
133 length = vp->lvalue; in rc_pack_list()
158 length = vp->lvalue; in rc_pack_list()
168 lvalue = htonl (vp->lvalue); in rc_pack_list()
169 memcpy (buf, (char *) &lvalue, sizeof (UINT4)); in rc_pack_list()
221 (vp->lvalue == PW_ADMINISTRATIVE)) in rc_send_server()
/external/aac/libFDK/include/arm/
Dclz_arm.h151 LONG lvalue = (LONG)(value << 16); in fixnorm_S() local
152 if (!lvalue) return 0; in fixnorm_S()
153 if (lvalue < 0) lvalue = ~lvalue; in fixnorm_S()
154 return fixnormz_D(lvalue) - 1; in fixnorm_S()
/external/llvm-project/clang/test/CXX/expr/expr.post/expr.static.cast/
Dp3-p4-0x.cpp17 template<typename T> T& lvalue();
24 A &&ar2 = static_cast<A&&>(lvalue<C>()); in test()
27 A &&ar5 = static_cast<A&&>(lvalue<D>()); in test()
32 …A &&ar9 = static_cast<A&&>(lvalue<const A>()); // expected-error {{cannot cast from lvalue of typ… in test()
37 const A &&ar13 = static_cast<const A&&>(lvalue<C>()); in test()
40 const A &&ar16 = static_cast<const A&&>(lvalue<D>()); in test()
Dp3-0x.cpp9 template<typename T> T& lvalue();
15 A &&ar2 = static_cast<A&&>(lvalue<A>()); in test()
16 A &&ar3 = static_cast<A&&>(lvalue<B>()); in test()
21 const A &&ar8 = static_cast<const A&&>(lvalue<A>()); in test()
22 const A &&ar9 = static_cast<const A&&>(lvalue<B>()); in test()
/external/clang/test/CXX/expr/expr.post/expr.static.cast/
Dp3-0x.cpp9 template<typename T> T& lvalue();
15 A &&ar2 = static_cast<A&&>(lvalue<A>()); in test()
16 A &&ar3 = static_cast<A&&>(lvalue<B>()); in test()
21 const A &&ar8 = static_cast<const A&&>(lvalue<A>()); in test()
22 const A &&ar9 = static_cast<const A&&>(lvalue<B>()); in test()
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/
Dp3-0x.cpp15 template<typename T> T& lvalue();
20 X<int&> xi2 = f0(lvalue<int>()); in test_f0()
23 X<Y&> xy2 = f0(lvalue<Y>()); in test_f0()
32 f1(lvalue<int>()); // expected-error{{no matching function for call to 'f1'}} in test_f1()
35 f1(lvalue<Y>()); // expected-error{{no matching function for call to 'f1'}} in test_f1()
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
Dp5-0x.cpp7 template<typename T> T& lvalue();
216 …int & ir1 = (lvalue<IntBitfield>().i); // expected-error{{non-const reference cannot bind to bit-f… in test()
219 int && ir4 = move(lvalue<IntBitfield>()).i; // no-warning in test()
221 …volatile int & vir1 = (lvalue<IntBitfield>().i); // expected-error{{non-const reference cannot bin… in test()
224 volatile int && vir4 = move(lvalue<IntBitfield>()).i; // no-warning in test()
226 const int & cir1 = (lvalue<IntBitfield>().i); // no-warning in test()
229 const int && cir4 = move(lvalue<IntBitfield>()).i; // no-warning in test()
231 …const volatile int & cvir1 = (lvalue<IntBitfield>().i); // expected-error{{non-const reference can… in test()
234 const volatile int && cvir4 = move(lvalue<IntBitfield>()).i; // no-warning in test()
/external/llvm-project/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
Dp5-0x.cpp7 template<typename T> T& lvalue();
216 …int & ir1 = (lvalue<IntBitfield>().i); // expected-error{{non-const reference cannot bind to bit-f… in test()
219 int && ir4 = move(lvalue<IntBitfield>()).i; // no-warning in test()
221 …volatile int & vir1 = (lvalue<IntBitfield>().i); // expected-error{{non-const reference cannot bin… in test()
224 volatile int && vir4 = move(lvalue<IntBitfield>()).i; // no-warning in test()
226 const int & cir1 = (lvalue<IntBitfield>().i); // no-warning in test()
229 const int && cir4 = move(lvalue<IntBitfield>()).i; // no-warning in test()
231 …const volatile int & cvir1 = (lvalue<IntBitfield>().i); // expected-error{{non-const reference can… in test()
234 const volatile int && cvir4 = move(lvalue<IntBitfield>()).i; // no-warning in test()
/external/llvm-project/clang/test/CXX/expr/expr.mptr.oper/
Dp6-0x.cpp5 template<typename T> T& lvalue();
18 (lvalue<X>().*pmf)(17); in test()
24 (lvalue<X>().*l_pmf)(17); in test()
30 …(lvalue<X>().*r_pmf)(17); // expected-error-re{{pointer-to-member function type 'int (X::*)(int){{… in test()
/external/clang/test/CXX/expr/expr.mptr.oper/
Dp6-0x.cpp5 template<typename T> T& lvalue();
18 (lvalue<X>().*pmf)(17); in test()
24 (lvalue<X>().*l_pmf)(17); in test()
30 …(lvalue<X>().*r_pmf)(17); // expected-error-re{{pointer-to-member function type 'int (X::*)(int){{… in test()
/external/llvm-project/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/
Dp3-0x.cpp45 template<typename T> T& lvalue();
50 X<int&> xi2 = f0(lvalue<int>()); in test_f0()
53 X<Y&> xy2 = f0(lvalue<Y>()); in test_f0()
62 f1(lvalue<int>()); // expected-error{{no matching function for call to 'f1'}} in test_f1()
65 f1(lvalue<Y>()); // expected-error{{no matching function for call to 'f1'}} in test_f1()
/external/llvm-project/clang/test/OpenMP/
Dtarget_update_codegen.cpp348 void lvalue(int *B, int l, int e) { in lvalue() function
390 void lvalue(int *B, int l, int e) { in lvalue() function
437 void lvalue(int *B, int l, int e) { in lvalue() function
487 void lvalue(int **B, int l, int e) { in lvalue() function
541 void lvalue(struct S *s, int l, int e) { in lvalue() function
591 void lvalue(struct S *s, int l, int e) { in lvalue() function
641 void lvalue(struct S *s, int l, int e) { in lvalue() function
693 void lvalue(struct S *s, int l, int e) { in lvalue() function
755 void lvalue(int **BB, int a, int b) { in lvalue() function
/external/libbrillo/brillo/glib/
Ddbus.cc26 if (!::dbus_g_proxy_call(proxy.gproxy(), method, &Resetter(&error).lvalue(), in CallPtrArray()
28 &Resetter(result).lvalue(), G_TYPE_INVALID)) { in CallPtrArray()
40 &Resetter(&error).lvalue()); in GetSystemBusConnection()
114 if (!::dbus_g_proxy_call(proxy.gproxy(), "GetAll", &Resetter(&error).lvalue(), in RetrieveProperties()
118 &Resetter(result).lvalue(), G_TYPE_INVALID)) { in RetrieveProperties()
180 &Resetter(&error).lvalue()); in GetGProxy()
235 &Resetter(&err).lvalue())) { in RegisterExclusiveService()
262 &Resetter(&err).lvalue())) { in RegisterExclusiveService()
/external/llvm-project/clang/test/SemaCXX/
Dconstant-expression-cxx1z.cpp65 template<typename T> struct lvalue { struct
134 SEQ(B(lvalue<int>().get()) = A(0));
135 SEQ(B(lvalue<UserDefined>().get()) = A(ud));
136 SEQ(B(lvalue<int>().get()) += A(0));
137 SEQ(B(lvalue<UserDefined>().get()) += A(ud));
138 SEQ(B(lvalue<NonMember>().get()) += A(nm));
Dexpression-traits.cpp364 Class lvalue; in expr_ref_4() local
365 ASSERT_LVALUE(lvalue.dataMember); in expr_ref_4()
379 ASSERT_RVALUE(lvalue.Enumerator); in expr_ref_4()
506 Class lvalue; in expr_mptr_oper() local
507 ASSERT_LVALUE(lvalue.*(&Class::dataMember)); in expr_mptr_oper()
514 ASSERT_LVALUE((&lvalue)->*(&Class::dataMember)); in expr_mptr_oper()
/external/clang/lib/CodeGen/
DCGDecl.cpp655 LValue &lvalue, in drillIntoBlockVariable() argument
657 lvalue.setAddress(CGF.emitBlockByrefAddress(lvalue.getAddress(), var)); in drillIntoBlockVariable()
661 LValue lvalue, bool capturedByInit) { in EmitScalarInit() argument
662 Qualifiers::ObjCLifetime lifetime = lvalue.getObjCLifetime(); in EmitScalarInit()
666 drillIntoBlockVariable(*this, lvalue, cast<VarDecl>(D)); in EmitScalarInit()
667 EmitStoreThroughLValue(RValue::get(value), lvalue, true); in EmitScalarInit()
690 LValue tempLV = lvalue; in EmitScalarInit()
731 if (!accessedByInit && tryEmitARCCopyWeakInit(*this, lvalue, init)) { in EmitScalarInit()
740 if (capturedByInit) drillIntoBlockVariable(*this, lvalue, cast<VarDecl>(D)); in EmitScalarInit()
742 EmitARCStoreWeak(lvalue.getAddress(), value, /*ignored*/ true); in EmitScalarInit()
[all …]
DCGAtomic.cpp43 AtomicInfo(CodeGenFunction &CGF, LValue &lvalue) in AtomicInfo() argument
46 assert(!lvalue.isGlobalReg()); in AtomicInfo()
48 if (lvalue.isSimple()) { in AtomicInfo()
49 AtomicTy = lvalue.getType(); in AtomicInfo()
71 if (lvalue.getAlignment().isZero()) in AtomicInfo()
72 lvalue.setAlignment(AtomicAlign); in AtomicInfo()
74 LVal = lvalue; in AtomicInfo()
75 } else if (lvalue.isBitField()) { in AtomicInfo()
76 ValueTy = lvalue.getType(); in AtomicInfo()
78 auto &OrigBFI = lvalue.getBitFieldInfo(); in AtomicInfo()
[all …]
/external/clang/test/SemaCXX/
Dexpression-traits.cpp364 Class lvalue; in expr_ref_4() local
365 ASSERT_LVALUE(lvalue.dataMember); in expr_ref_4()
379 ASSERT_RVALUE(lvalue.Enumerator); in expr_ref_4()
506 Class lvalue; in expr_mptr_oper() local
507 ASSERT_LVALUE(lvalue.*(&Class::dataMember)); in expr_mptr_oper()
514 ASSERT_LVALUE((&lvalue)->*(&Class::dataMember)); in expr_mptr_oper()
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dmisc-throw-by-value-catch-by-reference.cpp40 logic_error lvalue("lvalue"); in testThrowFunc() local
41 throw lvalue; in testThrowFunc()
44 throw move(lvalue); in testThrowFunc()
/external/llvm/test/Transforms/DeadStoreElimination/
D2011-09-06-EndOfFunction.ll11 %temp.lvalue = alloca %"class.std::auto_ptr", align 8
12 call void @_Z3barv(%"class.std::auto_ptr"* sret %temp.lvalue)
13 …%_M_ptr.i.i = getelementptr inbounds %"class.std::auto_ptr", %"class.std::auto_ptr"* %temp.lvalue,…

12345678910>>...12