/external/clang/test/CXX/expr/expr.mptr.oper/ |
p6-0x.cpp | 5 template<typename T> T& lvalue(); 12 // expression whose object expression is an lvalue, the program is 18 (lvalue<X>().*pmf)(17); 23 // Lvalue ref-qualifier. 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/ |
p4-0x.cpp | 4 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/ |
p3-0x.cpp | 9 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/ |
p3-0x.cpp | 5 // 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/ |
avpair.c | 77 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 = vlen [all...] |
sendserver.c | 37 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...] |
radius.c | 570 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...] |
/prebuilts/misc/common/swig/include/2.0.11/php/ |
typemaps.i | 43 %typemap(in) TYPE *REFERENCE (TYPE lvalue), TYPE &REFERENCE (TYPE lvalue) 46 lvalue = (*$input)->value.lval ? true : false; 47 $1 = &lvalue; 51 (*$arg)->value.lval = lvalue$argnum ? true : false; 80 $1->value.dval = (double)(lvalue$argnum); 101 %typemap(in) TYPE *REFERENCE (TYPE lvalue), TYPE &REFERENCE (TYPE lvalue) 104 lvalue = (TYPE) (*$input)->value.lval; 105 $1 = &lvalue; [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
lp_test_main.c | 148 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, ((unsigned long long)1 << type.width) - 1) [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_test_main.c | 148 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, ((unsigned long long)1 << type.width) - 1) [all...] |
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/ |
p5-0x.cpp | 7 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 of type 'rdar13278115::X'} [all...] |
/prebuilts/misc/common/swig/include/2.0.11/python/ |
pyapi.swg | 21 long lvalue;
|
/frameworks/base/tools/aidl/ |
AST.h | 140 Variable* lvalue; member in struct:Assignment 144 Assignment(Variable* lvalue, Expression* rvalue); 145 Assignment(Variable* lvalue, Expression* rvalue, Type* cast); 173 Expression* lvalue; member in struct:Comparison 177 Comparison(Expression* lvalue, const string& op, Expression* rvalue); 231 Variable* lvalue; member in struct:VariableDeclaration 235 VariableDeclaration(Variable* lvalue); 236 VariableDeclaration(Variable* lvalue, Expression* rvalue, Type* cast = NULL);
|
AST.cpp | 260 :lvalue(l), 267 :lvalue(l), 280 this->lvalue->Write(to); 371 :lvalue(l), 385 this->lvalue->Write(to); 499 :lvalue(l), 506 :lvalue(l), 519 this->lvalue->WriteDeclaration(to);
|
/external/clang/test/SemaCXX/ |
expression-traits.cpp | 29 // 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 if and only if th 364 Class lvalue; local 506 Class lvalue; local [all...] |
/external/clang/lib/CodeGen/ |
CGDecl.cpp | 560 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 1187 EmitAtomicInit(const_cast<Expr*>(init), lvalue); local [all...] |
CGExprComplex.cpp | 76 ComplexPairTy EmitLoadOfLValue(LValue LV, SourceLocation Loc); 80 void EmitStoreOfComplex(ComplexPairTy Val, LValue LV, bool isInit); 160 LValue LV = CGF.EmitLValue(E->getSubExpr()); 220 LValue EmitCompoundAssignLValue(const CompoundAssignOperator *E, 265 LValue EmitBinAssignLValue(const BinaryOperator *E, 295 ComplexPairTy ComplexExprEmitter::EmitLoadOfLValue(LValue lvalue, 297 assert(lvalue.isSimple() && "non-simple complex l-value?"); 298 if (lvalue.getType()->isAtomicType()) 299 return CGF.EmitAtomicLoad(lvalue, loc).getComplexVal() [all...] |
CGAtomic.cpp | 40 AtomicInfo(CodeGenFunction &CGF, LValue &lvalue) : CGF(CGF) { 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())) || 87 bool emitMemSetZeroIfNecessary(LValue dest) const; 104 void emitCopyIntoMemory(RValue rvalue, LValue lvalue) const 497 LValue lvalue = LValue::MakeAddr(Ptr, AtomicTy, alignChars, getContext()); local [all...] |
CGExpr.cpp | 149 // FIXME: This function should take an LValue as an argument. 168 LValue LV = MakeAddrLValue(Location, E->getType()); 315 LValue CodeGenFunction::EmitMaterializeTemporaryExpr( 325 LValue RefTempDst = MakeAddrLValue(Object, M->getType()); 383 LValue LV = MakeAddrLValue(Object, E->getType()); 386 "materialized temporary field is not a simple lvalue"); 405 // Emit the expression as an lvalue. 406 LValue LV = EmitLValue(E); 675 EmitComplexPrePostIncDec(const UnaryOperator *E, LValue LV, 699 // Store the updated result through the lvalue 1108 LValue lvalue = LValue::MakeAddr(Addr, Ty, local 3328 LValue lvalue = MakeNaturalAlignAddrLValue(addr, type); local [all...] |
/external/clang/test/CXX/expr/expr.post/expr.const.cast/ |
p1-0x.cpp | 4 // 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}}
|
/prebuilts/misc/common/swig/include/2.0.11/tcl/ |
tclapi.swg | 20 long lvalue;
|
tclinit.swg | 58 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/personalization/ |
UserHistoryDictionaryTests.java | 97 long lvalue = Math.abs((long)value); local 98 while (lvalue > 0) { 99 builder.append(CHARACTERS[(int)(lvalue % lengthOfChars)]); 100 lvalue /= lengthOfChars;
|
/external/iproute2/tc/ |
em_meta.c | 354 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/ |
SDL_string.c | 211 unsigned long lvalue = 0; local 219 text += SDL_ScanUnsignedLong(text, 10, &lvalue); 220 value += lvalue; 225 lvalue = *text - '0'; 226 value += (double)lvalue / mult; [all...] |