HomeSort by relevance Sort by last modified time
    Searched full:assignment (Results 1 - 25 of 2981) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /art/test/069-field-type/
expected.txt 0 Assignment was allowed
  /external/v8/test/message/
destructuring-modify-const.out 1 *%(basename)s:9: TypeError: Assignment to constant variable.
4 TypeError: Assignment to constant variable.
new-target-assignment.out 1 *%(basename)s:5: ReferenceError: Invalid left-hand side in assignment
4 ReferenceError: Invalid left-hand side in assignment
  /ndk/tests/device/issue61659-neon-assignment/jni/
Android.mk 4 LOCAL_MODULE := issue61659-neon-assignment
5 LOCAL_SRC_FILES := issue61659-neon-assignment.c.neon
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/all/
assign.d 2 #name : assignment tests
  /external/clang/test/SemaCXX/
warn-assignment-condition.cpp 15 if (x = 7) {} // expected-warning {{using the result of an assignment as a condition without parentheses}} \
16 // expected-note{{use '==' to turn this assignment into an equality comparison}} \
17 // expected-note{{place parentheses around the assignment to silence this warning}}
20 } while (x = 7); // expected-warning {{using the result of an assignment as a condition without parentheses}} \
21 // expected-note{{use '==' to turn this assignment into an equality comparison}} \
22 // expected-note{{place parentheses around the assignment to silence this warning}}
25 while (x = 7) {} // expected-warning {{using the result of an assignment as a condition without parentheses}} \
26 // expected-note{{use '==' to turn this assignment into an equality comparison}} \
27 // expected-note{{place parentheses around the assignment to silence this warning}}
30 for (; x = 7; ) {} // expected-warning {{using the result of an assignment as a condition without parentheses}}
    [all...]
default-assignment-operator.cpp 3 class Base { // expected-error {{cannot define the implicit copy assignment operator for 'Base', because non-static reference member 'ref' cannot use copy assignment operator}} \
9 class X : Base { // // expected-error {{cannot define the implicit copy assignment operator for 'X', because non-static const member 'cint' cannot use copy assignment operator}} \
10 // expected-note{{assignment operator for 'Base' first required here}}
31 x = cx; // expected-note{{assignment operator for 'X' first required here}}
76 class E1 { // expected-error{{cannot define the implicit copy assignment operator for 'E1', because non-static const member 'a' cannot use copy assignment operator}}
87 e1 = e2; // expected-note{{assignment operator for 'E1' first required here}}
104 void f(Z z) { z = z; } // expected-note{{implicit copy assignment operator}
    [all...]
warn-unused-comparison.cpp 19 // expected-note {{use '=' to turn this equality comparison into an assignment}}
21 // expected-note {{use '|=' to turn this inequality comparison into an or-assignment}}
29 // expected-note {{use '=' to turn this equality comparison into an assignment}} \
32 // expected-note {{use '=' to turn this equality comparison into an assignment}}
34 // expected-note {{use '=' to turn this equality comparison into an assignment}}
36 // expected-note {{use '|=' to turn this inequality comparison into an or-assignment}}
44 // expected-note {{use '=' to turn this equality comparison into an assignment}}
46 // expected-note {{use '=' to turn this equality comparison into an assignment}}
48 // expected-note {{use '=' to turn this equality comparison into an assignment}}
50 // expected-note {{use '=' to turn this equality comparison into an assignment}}
    [all...]
  /external/clang/test/FixIt/
no-macro-fixit.c 12 while (value = va_arg(values, int)) { // expected-warning {{using the result of an assignment as a condition without parentheses}} \
13 // expected-note {{use '==' to turn this assignment into an equality comparison}} \
14 // expected-note {{place parentheses around the assignment to silence this warning}}
  /build/kati/testcase/
assign_after_tab.mk 1 # This is an assignment.
  /prebuilts/go/darwin-x86/src/cmd/vet/testdata/
assign.go 5 // This file contains tests for the useless-assignment checker.
14 // Accidental self-assignment; it should be "s.x = x"
15 x = x // ERROR "self-assignment of x to x"
17 s.x = s.x // ERROR "self-assignment of s.x to s.x"
atomic.go 17 x = atomic.AddUint64(&x, 1) // ERROR "direct assignment to atomic value"
18 _, x = 10, atomic.AddUint64(&x, 1) // ERROR "direct assignment to atomic value"
19 x, _ = atomic.AddUint64(&x, 1), 10 // ERROR "direct assignment to atomic value"
22 *y = atomic.AddUint64(y, 1) // ERROR "direct assignment to atomic value"
25 su.Counter = atomic.AddUint64(&su.Counter, 1) // ERROR "direct assignment to atomic value"
30 *sp.Counter = atomic.AddUint64(sp.Counter, 1) // ERROR "direct assignment to atomic value"
35 au[0] = atomic.AddUint64(&au[0], 1) // ERROR "direct assignment to atomic value"
39 *ap[0] = atomic.AddUint64(ap[0], 1) // ERROR "direct assignment to atomic value"
  /prebuilts/go/linux-x86/src/cmd/vet/testdata/
assign.go 5 // This file contains tests for the useless-assignment checker.
14 // Accidental self-assignment; it should be "s.x = x"
15 x = x // ERROR "self-assignment of x to x"
17 s.x = s.x // ERROR "self-assignment of s.x to s.x"
atomic.go 17 x = atomic.AddUint64(&x, 1) // ERROR "direct assignment to atomic value"
18 _, x = 10, atomic.AddUint64(&x, 1) // ERROR "direct assignment to atomic value"
19 x, _ = atomic.AddUint64(&x, 1), 10 // ERROR "direct assignment to atomic value"
22 *y = atomic.AddUint64(y, 1) // ERROR "direct assignment to atomic value"
25 su.Counter = atomic.AddUint64(&su.Counter, 1) // ERROR "direct assignment to atomic value"
30 *sp.Counter = atomic.AddUint64(sp.Counter, 1) // ERROR "direct assignment to atomic value"
35 au[0] = atomic.AddUint64(&au[0], 1) // ERROR "direct assignment to atomic value"
39 *ap[0] = atomic.AddUint64(ap[0], 1) // ERROR "direct assignment to atomic value"
  /external/eigen/doc/snippets/
TopicAliasing_block.cpp 5 // This assignment shows the aliasing problem
7 cout << "After the assignment, mat = \n" << mat << endl;
  /external/clang/test/SemaObjC/
self-assign.m 9 if (self = [self :x :y]) {} // expected-warning{{using the result of an assignment as a condition without parentheses}} \
10 // expected-note{{use '==' to turn this assignment into an equality comparison}} \
11 // expected-note{{place parentheses around the assignment to silence this warning}}
  /external/clang/test/CodeGen/
2002-07-31-SubregFailure.c 11 Assignment(*abase.ap);
debug-info-block-decl.c 2 // Assignment and block entry should point to the same line.
6 // CHECK: store{{.*}}bitcast{{.*}}, !dbg ![[ASSIGNMENT:[0-9]+]]
12 // CHECK: [[ASSIGNMENT]] = !DILocation(line: [[@LINE+2]],
  /external/clang/test/Analysis/
bool-assignment.c 40 BOOL constant = 2; // expected-warning {{Assignment of a non-Boolean value}}
42 BOOL x = y; // expected-warning {{Assignment of a non-Boolean value}}
46 BOOL x = y; // expected-warning {{Assignment of a non-Boolean value}}
55 x = y; // expected-warning {{Assignment of a non-Boolean value}}
59 x = y; // expected-warning {{Assignment of a non-Boolean value}}
71 Boolean constant = 2; // expected-warning {{Assignment of a non-Boolean value}}
73 Boolean x = y; // expected-warning {{Assignment of a non-Boolean value}}
77 Boolean x = y; // expected-warning {{Assignment of a non-Boolean value}}
86 x = y; // expected-warning {{Assignment of a non-Boolean value}}
90 x = y; // expected-warning {{Assignment of a non-Boolean value}
    [all...]
  /frameworks/compile/mclinker/include/mcld/Script/
Assignment.h 1 //===- Assignment.h -------------------------------------------------------===//
21 /** \class Assignment
22 * \brief This class defines the interfaces to assignment command.
25 class Assignment : public ScriptCommand {
36 Assignment(Level pLevel, Type pType, SymOperand& pSymbol, RpnExpr& pRpnExpr);
38 ~Assignment();
40 Assignment& operator=(const Assignment& pAssignment);
55 return pCmd->getKind() == ScriptCommand::ASSIGNMENT;
  /prebuilts/go/darwin-x86/test/fixedbugs/bug324.dir/
prog.go 30 // this assignment is correctly illegal:
34 // this assignment is correctly illegal:
38 // this assignment is correctly illegal:
42 // this assignment unexpectedly compiles and then executes
50 // this is a legitimate call, but because of the previous assignment,
  /prebuilts/go/linux-x86/test/fixedbugs/bug324.dir/
prog.go 30 // this assignment is correctly illegal:
34 // this assignment is correctly illegal:
38 // this assignment is correctly illegal:
42 // this assignment unexpectedly compiles and then executes
50 // this is a legitimate call, but because of the previous assignment,
  /frameworks/compile/mclinker/lib/Script/
Assignment.cpp 1 //===- Assignment.cpp -----------------------------------------------------===//
9 #include "mcld/Script/Assignment.h"
28 // Assignment
30 Assignment::Assignment(Level pLevel,
34 : ScriptCommand(ScriptCommand::ASSIGNMENT),
41 Assignment::~Assignment() {
44 Assignment& Assignment::operator=(const Assignment& pAssignment)
    [all...]
  /external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
p19.cpp 15 // Copy assignment operator
16 lambda1 = lambda1; // expected-error{{copy assignment operator is implicitly deleted}}
18 // Move assignment operator
  /external/clang/test/CXX/special/class.copy/
p20.cpp 18 struct ImplicitNonConstCopy1 : NonConstCopy { // expected-note{{the implicit copy assignment operator}}
22 struct ImplicitNonConstCopy2 { // expected-note{{the implicit copy assignment operator}}
27 struct ImplicitNonConstCopy3 { // expected-note{{the implicit copy assignment operator}}

Completed in 1523 milliseconds

1 2 3 4 5 6 7 8 91011>>