Searched refs:lvalue (Results 1 - 25 of 50) sorted by relevance

12

/external/clang/test/CXX/expr/expr.mptr.oper/
H A Dp6-0x.cpp5 template<typename T> T& lvalue();
12 // expression whose object expression is an lvalue, the program is
18 (lvalue<X>().*pmf)(17);
24 (lvalue<X>().*l_pmf)(17);
25 (xvalue<X>().*l_pmf)(17); // expected-error-re{{pointer-to-member function type 'int (X::*)(int){{( __attribute__\(\(thiscall\)\))?}} &' can only be called on an lvalue}}
26 (prvalue<X>().*l_pmf)(17); // expected-error-re{{pointer-to-member function type 'int (X::*)(int){{( __attribute__\(\(thiscall\)\))?}} &' can only be called on an lvalue}}
30 (lvalue<X>().*r_pmf)(17); // expected-error-re{{pointer-to-member function type 'int (X::*)(int){{( __attribute__\(\(thiscall\)\))?}} &&' can only be called on an rvalue}}
/external/clang/test/CXX/over/over.match/over.match.funcs/
H A Dp4-0x.cpp4 template<typename T> T &lvalue();
41 int &ir1 = lvalue<X0>().f();
44 int &ir2 = lvalue<X0>().ft(1);
50 int &ir1 = lvalue<X0>()();
56 int &ir1 = lvalue<X0>() + prvalue<X0>();
59 int &ir2 = lvalue<X0>() + 1;
65 int &ir1 = lvalue<X0>().h();
68 int &ir2 = lvalue<X0>().h2();
/external/clang/test/CXX/expr/expr.post/expr.static.cast/
H A Dp3-0x.cpp9 template<typename T> T& lvalue();
15 A &&ar2 = static_cast<A&&>(lvalue<A>());
16 A &&ar3 = static_cast<A&&>(lvalue<B>());
21 const A &&ar8 = static_cast<const A&&>(lvalue<A>());
22 const A &&ar9 = static_cast<const A&&>(lvalue<B>());
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/
H A Dp3-0x.cpp5 // and the argument is an lvalue, the type "lvalue reference to A" is
15 template<typename T> T& lvalue();
20 X<int&> xi2 = f0(lvalue<int>());
23 X<Y&> xy2 = f0(lvalue<Y>());
32 f1(lvalue<int>()); // expected-error{{no matching function for call to 'f1'}}
35 f1(lvalue<Y>()); // expected-error{{no matching function for call to 'f1'}}
/external/ppp/pppd/plugins/radius/
H A Davpair.c77 vp->lvalue = len;
80 vp->lvalue = strlen((char *) pval);
90 vp->lvalue = * (UINT4 *) pval;
158 UINT4 lvalue; local
227 pair->lvalue = attrlen;
233 memcpy ((char *) &lvalue, (char *) ptr,
235 pair->lvalue = ntohl (lvalue);
268 UINT4 lvalue; local
322 pair->lvalue
[all...]
H A Dsendserver.c37 UINT4 lvalue; local
65 length = vp->lvalue;
77 lvalue = htonl(vp->lvalue);
78 memcpy(buf, (char *) &lvalue, sizeof(UINT4));
93 length = vp->lvalue;
133 length = vp->lvalue;
158 length = vp->lvalue;
168 lvalue = htonl (vp->lvalue);
[all...]
H A Dradius.c570 if (vp->lvalue != PW_FRAMED) {
572 vp->lvalue, rstate.user);
580 if (vp->lvalue != PW_PPP) {
582 vp->lvalue, rstate.user);
589 maxconnect = vp->lvalue;
594 maxoctets = vp->lvalue;
598 maxoctets_dir = ( vp->lvalue > 4 ) ? 0 : vp->lvalue ;
603 rstate.acct_interim_interval = vp->lvalue;
613 remote = vp->lvalue;
[all...]
H A Dradiusclient.h329 UINT4 lvalue; member in struct:value_pair
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_test_main.c148 long long lvalue = (long long)value; local
149 lvalue = MIN2(lvalue, ((long long)1 << (type.width - 1)) - 1);
152 *((int8_t *)dst + index) = (int8_t)lvalue;
155 *((int16_t *)dst + index) = (int16_t)lvalue;
158 *((int32_t *)dst + index) = (int32_t)lvalue;
161 *((int64_t *)dst + index) = (int64_t)lvalue;
168 unsigned long long lvalue = (long long)value; local
169 lvalue = MIN2(lvalue, ((unsigne
[all...]
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_test_main.c148 long long lvalue = (long long)value; local
149 lvalue = MIN2(lvalue, ((long long)1 << (type.width - 1)) - 1);
152 *((int8_t *)dst + index) = (int8_t)lvalue;
155 *((int16_t *)dst + index) = (int16_t)lvalue;
158 *((int32_t *)dst + index) = (int32_t)lvalue;
161 *((int64_t *)dst + index) = (int64_t)lvalue;
168 unsigned long long lvalue = (long long)value; local
169 lvalue = MIN2(lvalue, ((unsigne
[all...]
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
H A Dp5-0x.cpp7 template<typename T> T& lvalue();
25 // - is an xvalue, class prvalue, array prvalue or function lvalue
40 // function lvalue case
45 // an xvalue, class prvalue, or function lvalue of type "cv3
57 // function lvalue
62 // conversion sequence includes an lvalue-to-rvalue conversion, the
106 double& rd2 = 2.0; // expected-error{{non-const lvalue reference to type 'double' cannot bind to a temporary of type 'double'}}
108 double& rd3 = i; // expected-error{{non-const lvalue reference to type 'double' cannot bind to a value of unrelated type 'int'}}
129 double&& rrd2 = d; // expected-error{{rvalue reference to type 'double' cannot bind to lvalue of type 'double'}}
199 X &&f0(X &x) { return x; } // expected-error{{rvalue reference to type 'rdar13278115::X' cannot bind to lvalue o
[all...]
/external/clang/test/SemaCXX/
H A Dexpression-traits.cpp29 // basic.lval/1 Every expression is either an lvalue or an rvalue.
34 // an lvalue.
39 static_assert(__is_lvalue_expr(expr), "should be an lvalue"); \
43 static_assert(!__is_rvalue_expr(expr), "should be an lvalue"); \
140 // (8.3.2, 8.5.3), ... the expression is an lvalue.
149 // 5.1/2 A string literal is an lvalue; all other
218 // expression. ...The result is an lvalue if the entity is
253 // entity denoted by the identifier. The result is an lvalue if
266 // member. The result is an lvalue if the member is a static
280 // expr.call/10: A function call is an lvalue i
364 Class lvalue; local
506 Class lvalue; local
[all...]
/external/clang/lib/CodeGen/
H A DCGDecl.cpp560 LValue &lvalue,
562 lvalue.setAddress(CGF.BuildBlockByrefAddress(lvalue.getAddress(), var));
567 LValue lvalue,
569 Qualifiers::ObjCLifetime lifetime = lvalue.getObjCLifetime();
573 drillIntoBlockVariable(*this, lvalue, cast<VarDecl>(D));
574 EmitStoreThroughLValue(RValue::get(value), lvalue, true); local
597 LValue tempLV = lvalue;
644 if (capturedByInit) drillIntoBlockVariable(*this, lvalue, cast<VarDecl>(D));
646 EmitARCStoreWeak(lvalue
559 drillIntoBlockVariable(CodeGenFunction &CGF, LValue &lvalue, const VarDecl *var) argument
565 EmitScalarInit(const Expr *init, const ValueDecl *D, LValue lvalue, bool capturedByInit) argument
673 EmitScalarInit(llvm::Value *init, LValue lvalue) argument
1161 EmitExprAsInit(const Expr *init, const ValueDecl *D, LValue lvalue, bool capturedByInit) argument
1187 EmitAtomicInit(const_cast<Expr*>(init), lvalue); local
[all...]
H A DCGExprComplex.cpp295 ComplexPairTy ComplexExprEmitter::EmitLoadOfLValue(LValue lvalue, argument
297 assert(lvalue.isSimple() && "non-simple complex l-value?");
298 if (lvalue.getType()->isAtomicType())
299 return CGF.EmitAtomicLoad(lvalue, loc).getComplexVal();
301 llvm::Value *SrcPtr = lvalue.getAddress();
302 bool isVolatile = lvalue.isVolatileQualified();
303 unsigned AlignR = lvalue.getAlignment().getQuantity();
305 QualType ComplexTy = lvalue.getType();
330 LValue lvalue,
332 if (lvalue
329 EmitStoreOfComplex(ComplexPairTy Val, LValue lvalue, bool isInit) argument
[all...]
H A DCGAtomic.cpp40 AtomicInfo(CodeGenFunction &CGF, LValue &lvalue) : CGF(CGF) { argument
41 assert(lvalue.isSimple());
43 AtomicTy = lvalue.getType();
60 if (lvalue.getAlignment().isZero())
61 lvalue.setAlignment(AtomicAlign);
64 (AtomicSizeInBits > uint64_t(C.toBits(lvalue.getAlignment())) ||
104 void emitCopyIntoMemory(RValue rvalue, LValue lvalue) const;
107 LValue projectValue(LValue lvalue) const {
108 llvm::Value *addr = lvalue.getAddress();
112 return LValue::MakeAddr(addr, getValueType(), lvalue
497 LValue lvalue = LValue::MakeAddr(Ptr, AtomicTy, alignChars, getContext()); local
[all...]
H A DCGExpr.cpp386 "materialized temporary field is not a simple lvalue");
405 // Emit the expression as an lvalue.
699 // Store the updated result through the lvalue.
773 /// If this returns a normal address, and if the lvalue's C type is fixed size,
775 /// type of the same size of the lvalue's type. If the lvalue has a variable
997 llvm::Value *CodeGenFunction::EmitLoadOfScalar(LValue lvalue, argument
999 return EmitLoadOfScalar(lvalue.getAddress(), lvalue.isVolatile(),
1000 lvalue
1108 LValue lvalue = LValue::MakeAddr(Addr, Ty, local
1241 EmitStoreOfScalar(llvm::Value *value, LValue lvalue, bool isInit) argument
3328 LValue lvalue = MakeNaturalAlignAddrLValue(addr, type); local
[all...]
H A DCodeGenFunction.h776 LValue lvalue)
777 : CGF(CGF), Data(OpaqueValueMappingData::bind(CGF, opaqueValue, lvalue)) {
1448 LValue lvalue, bool capturedByInit);
1703 /// this expression is used as an lvalue, for instance in "&Arr[Idx]".
1726 LValue lvalue, bool capturedByInit);
1727 void EmitScalarInit(llvm::Value *init, LValue lvalue);
1938 /// If this returns a normal address, and if the lvalue's C type is fixed
1940 /// an LLVM type of the same size of the lvalue's type. If the lvalue has a
1953 void EmitAtomicInit(Expr *E, LValue lvalue);
774 OpaqueValueMapping(CodeGenFunction &CGF, const OpaqueValueExpr *opaqueValue, LValue lvalue) argument
[all...]
H A DCGObjC.cpp499 LValue lvalue, QualType type);
587 /// lvalue-to-rvalue expressions.
1303 LValue lvalue variable
1305 CGF.emitDestroy(lvalue.getAddress(), ivar->getType(), destroyer,
2086 // lvalue is inadequately aligned.
2364 LValue lvalue,
2371 return TryEmitResult(CGF.EmitLoadOfLValue(lvalue,
2376 return TryEmitResult(CGF.EmitARCLoadWeakRetained(lvalue.getAddress()),
2394 // Emit the lvalue.
2701 LValue lvalue,
2363 tryEmitARCRetainLoadOfScalar(CodeGenFunction &CGF, LValue lvalue, QualType type) argument
2700 emitARCRetainLoadOfScalar(CodeGenFunction &CGF, LValue lvalue, QualType type) argument
2798 LValue lvalue = EmitLValue(e->getLHS()); local
2815 LValue lvalue = EmitLValue(e->getLHS()); local
[all...]
/external/clang/test/CXX/expr/expr.post/expr.const.cast/
H A Dp1-0x.cpp4 // an lvalue reference to object type, the result is an lvalue; if T
11 template<typename T> T& lvalue();
40 unsigned &t0 = const_cast<unsigned&>(a.ubf); // expected-error {{const_cast from bit-field lvalue to reference type}}
41 unsigned &t1 = const_cast<unsigned&>(a.foo(), a.ubf); // expected-error {{const_cast from bit-field lvalue to reference type}}
42 unsigned &t2 = const_cast<unsigned&>(a.pred() ? a.ubf : a.ubf); // expected-error {{const_cast from bit-field lvalue to reference type}}
43 unsigned &t3 = const_cast<unsigned&>(a.pred() ? a.ubf : a.uv); // expected-error {{const_cast from bit-field lvalue to reference type}}
/external/iproute2/tc/
H A Dem_meta.c354 PARSE_ERR(arg, "lvalue and rvalue are not compatible.");
364 unsigned long lvalue = 0, rvalue = 0; local
376 a = parse_object(args, args, &meta_hdr.left, &lvalue, NULL);
408 dump_value(n, TCA_EM_META_LVALUE, lvalue, &meta_hdr.left);
/external/qemu/distrib/sdl-1.2.15/src/stdlib/
H A DSDL_string.c211 unsigned long lvalue = 0; local
219 text += SDL_ScanUnsignedLong(text, 10, &lvalue);
220 value += lvalue;
225 lvalue = *text - '0';
226 value += (double)lvalue / mult;
/external/chromium_org/third_party/cython/src/Cython/Includes/cpython/
H A Dbytes.pxd129 # address of an existing string object as an lvalue (it may be
H A Dstring.pxd129 # address of an existing string object as an lvalue (it may be
/external/clang/include/clang/Sema/
H A DDeclSpec.h1083 /// True if this is an lvalue reference, false if it's an rvalue reference.
1153 /// \brief Whether the ref-qualifier (if any) is an lvalue reference.
1393 bool lvalue) {
1398 I.Ref.LValueRef = lvalue;
1392 getReference(unsigned TypeQuals, SourceLocation Loc, bool lvalue) argument
/external/chromium_org/third_party/mesa/src/src/glsl/
H A Dast_to_hir.cpp708 _mesa_glsl_error(& lhs_loc, state, "non-lvalue in assignment");
773 get_lvalue_copy(exec_list *instructions, ir_rvalue *lvalue) argument
775 void *ctx = ralloc_parent(lvalue);
778 var = new(ctx) ir_variable(lvalue->type, "_post_incdec_tmp",
784 lvalue));
1505 /* Get a temporary of a copy of the lvalue before it's modified.

Completed in 727 milliseconds

12