OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:comparison
(Results
1 - 25
of
1881
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/clang/test/SemaCXX/
warn-enum-compare.cpp
68
while (B1 == B2); // expected-warning {{
comparison
of two values with different enumeration types ('name1::Baz' and 'name2::Baz')}}
69
while (name1::B2 == name2::B3); // expected-warning {{
comparison
of two values with different enumeration types ('name1::Baz' and 'name2::Baz')}}
70
while (z == name2::B2); // expected-warning {{
comparison
of two values with different enumeration types ('name1::Baz' and 'name2::Baz')}}
72
while (((((B1)))) == B2); // expected-warning {{
comparison
of two values with different enumeration types ('name1::Baz' and 'name2::Baz')}}
73
while (name1::B2 == (name2::B3)); // expected-warning {{
comparison
of two values with different enumeration types ('name1::Baz' and 'name2::Baz')}}
74
while (z == ((((name2::B2))))); // expected-warning {{
comparison
of two values with different enumeration types ('name1::Baz' and 'name2::Baz')}}
76
while ((((B1))) == (((B2)))); // expected-warning {{
comparison
of two values with different enumeration types ('name1::Baz' and 'name2::Baz')}}
77
while ((name1::B2) == (((name2::B3)))); // expected-warning {{
comparison
of two values with different enumeration types ('name1::Baz' and 'name2::Baz')}}
78
while ((((z))) == (name2::B2)); // expected-warning {{
comparison
of two values with different enumeration types ('name1::Baz' and 'name2::Baz')}}
80
while (x == a); // expected-warning {{
comparison
of two values with different enumeration types ('Foo' and 'name1::Foo')}
[
all
...]
warn-assignment-condition.cpp
16
// expected-note{{use '==' to turn this assignment into an equality
comparison
}} \
21
// expected-note{{use '==' to turn this assignment into an equality
comparison
}} \
26
// expected-note{{use '==' to turn this assignment into an equality
comparison
}} \
31
// expected-note{{use '==' to turn this assignment into an equality
comparison
}} \
36
// expected-note{{use '==' to turn this assignment into an equality
comparison
}} \
41
// expected-note{{use '==' to turn this assignment into an equality
comparison
}} \
46
// expected-note{{use '==' to turn this assignment into an equality
comparison
}} \
50
// expected-note{{use '==' to turn this assignment into an equality
comparison
}} \
62
// expected-note{{use '==' to turn this assignment into an equality
comparison
}} \
67
// expected-note{{use '==' to turn this assignment into an equality
comparison
}} \
[
all
...]
compare.cpp
12
(a == (unsigned long) b) + // expected-warning {{
comparison
of integers of different signs}}
16
((long) a == b) + // expected-warning {{
comparison
of integers of different signs}}
17
((int) a == b) + // expected-warning {{
comparison
of integers of different signs}}
18
((short) a == b) + // expected-warning {{
comparison
of integers of different signs}}
19
((signed char) a == b) + // expected-warning {{
comparison
of integers of different signs}}
20
((long) a == (unsigned long) b) + // expected-warning {{
comparison
of integers of different signs}}
21
((int) a == (unsigned int) b) + // expected-warning {{
comparison
of integers of different signs}}
24
(a < (unsigned long) b) + // expected-warning {{
comparison
of integers of different signs}}
28
((long) a < b) + // expected-warning {{
comparison
of integers of different signs}}
29
((int) a < b) + // expected-warning {{
comparison
of integers of different signs}
[
all
...]
composite-pointer-type.cpp
14
if (d1 >= d2) // expected-error{{
comparison
of distinct}}
25
if (d1 == d2) // expected-error{{
comparison
of distinct}}
56
if (p == q) // expected-warning{{
comparison
of distinct pointer types ('void **' and 'const void **') uses non-standard composite pointer type 'const void *const *'}}
/external/clang/test/Sema/
self-comparison.c
4
return x == x; // expected-warning {{self-
comparison
always evaluates to true}}
8
return (x) != (((x))); // expected-warning {{self-
comparison
always evaluates to false}}
12
if (s == s) {} // expected-warning {{self-
comparison
always evaluates to true}}
17
if (v == v) {} // expected-warning {{self-
comparison
always evaluates to true}}
22
return x < x; // expected-warning {{self-
comparison
}}
26
return x > x; // expected-warning {{self-
comparison
}}
55
return array1 == array1; // expected-warning{{self-
comparison
always evaluates to true}}
56
return array1 != array1; // expected-warning{{self-
comparison
always evaluates to false}}
57
return array1 < array1; // expected-warning{{self-
comparison
always evaluates to false}}
58
return array1 <= array1; // expected-warning{{self-
comparison
always evaluates to true}
[
all
...]
ext_vector_comparisons.c
9
return vec == vec; // expected-warning{{self-
comparison
always evaluates to a constant}}
10
return vec != vec; // expected-warning{{self-
comparison
always evaluates to a constant}}
11
return vec < vec; // expected-warning{{self-
comparison
always evaluates to a constant}}
12
return vec <= vec; // expected-warning{{self-
comparison
always evaluates to a constant}}
13
return vec > vec; // expected-warning{{self-
comparison
always evaluates to a constant}}
14
return vec >= vec; // expected-warning{{self-
comparison
always evaluates to a constant}}
compare.c
7
return C != 1; // expected-warning {{
comparison
between pointer and integer ('char *' and 'int')}}
16
(a == (unsigned long) b) + // expected-warning {{
comparison
of integers of different signs}}
20
((long) a == b) + // expected-warning {{
comparison
of integers of different signs}}
21
((int) a == b) + // expected-warning {{
comparison
of integers of different signs}}
22
((short) a == b) + // expected-warning {{
comparison
of integers of different signs}}
23
((signed char) a == b) + // expected-warning {{
comparison
of integers of different signs}}
24
((long) a == (unsigned long) b) + // expected-warning {{
comparison
of integers of different signs}}
25
((int) a == (unsigned int) b) + // expected-warning {{
comparison
of integers of different signs}}
28
(a < (unsigned long) b) + // expected-warning {{
comparison
of integers of different signs}}
32
((long) a < b) + // expected-warning {{
comparison
of integers of different signs}
[
all
...]
/external/clang/test/Parser/
pointer_promotion.c
11
if (ip < cp) {} // expected-warning {{
comparison
of distinct pointer types ('int *' and 'char *')}}
12
if (cp < fp) {} // expected-warning {{
comparison
of distinct pointer types ('char *' and 'struct foo *')}}
13
if (fp < bp) {} // expected-warning {{
comparison
of distinct pointer types ('struct foo *' and 'struct bar *')}}
14
if (ip < 7) {} // expected-warning {{
comparison
between pointer and integer ('int *' and 'int')}}
15
if (sint < ip) {} // expected-warning {{
comparison
between pointer and integer ('int' and 'int *')}}
16
if (ip == cp) {} // expected-warning {{
comparison
of distinct pointer types ('int *' and 'char *')}}
/external/kernel-headers/original/linux/netfilter/
xt_multiport.h
16
u_int8_t flags; /* Type of
comparison
*/
23
u_int8_t flags; /* Type of
comparison
*/
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/netfilter/
xt_multiport.h
16
u_int8_t flags; /* Type of
comparison
*/
23
u_int8_t flags; /* Type of
comparison
*/
/external/clang/test/CodeGen/
const-unordered-compare.c
3
// Checks folding of an unordered
comparison
/external/clang/test/SemaObjC/
comptypes-7.m
49
if (obj == i) foo() ; // expected-warning {{
comparison
between pointer and integer ('id' and 'int')}}
50
if (i == obj) foo() ; // expected-warning {{
comparison
between pointer and integer ('int' and 'id')}}
51
if (obj == j) foo() ; // expected-warning {{
comparison
of distinct pointer types ('id' and 'int *')}}
52
if (j == obj) foo() ; // expected-warning {{
comparison
of distinct pointer types ('int *' and 'id')}}
54
if (obj_c == i) foo() ; // expected-warning {{
comparison
between pointer and integer ('MyClass *' and 'int')}}
55
if (i == obj_c) foo() ; // expected-warning {{
comparison
between pointer and integer ('int' and 'MyClass *')}}
56
if (obj_c == j) foo() ; // expected-warning {{
comparison
of distinct pointer types ('MyClass *' and 'int *')}}
57
if (j == obj_c) foo() ; // expected-warning {{
comparison
of distinct pointer types ('int *' and 'MyClass *')}}
59
if (obj_p == i) foo() ; // expected-warning {{
comparison
between pointer and integer ('id<MyProtocol>' and 'int')}}
60
if (i == obj_p) foo() ; // expected-warning {{
comparison
between pointer and integer ('int' and 'id<MyProtocol>')}
[
all
...]
comptypes-3.m
45
if (obj_a == obj_b) foo (); // expected-warning {{
comparison
of distinct pointer types ('id<MyProtocolA>' and 'id<MyProtocolB>')}}
46
if (obj_b == obj_a) foo (); // expected-warning {{
comparison
of distinct pointer types ('id<MyProtocolB>' and 'id<MyProtocolA>')}}
57
if (obj_b == obj_ac) foo (); // expected-warning {{
comparison
of distinct pointer types ('id<MyProtocolB>' and 'id<MyProtocolAC>')}}
58
if (obj_ac == obj_b) foo (); // expected-warning {{
comparison
of distinct pointer types ('id<MyProtocolAC>' and 'id<MyProtocolB>')}}
60
if (obj_ab == obj_ac) foo (); // expected-warning {{
comparison
of distinct pointer types ('id<MyProtocolAB>' and 'id<MyProtocolAC>')}}
61
if (obj_ac == obj_ab) foo (); // expected-warning {{
comparison
of distinct pointer types ('id<MyProtocolAC>' and 'id<MyProtocolAB>')}}
comptypes-1.m
57
/* Any
comparison
involving an 'id' must be without warnings. */
67
/* Any
comparison
between 'MyClass *' and anything which is not an 'id'
69
if (obj_p == obj_c) foo() ; // expected-warning {{
comparison
of distinct pointer types ('id<MyProtocol>' and 'MyClass *')}}
71
if (obj_c == obj_cp) foo() ; // expected-warning {{
comparison
of distinct pointer types ('MyClass *' and 'MyOtherClass *')}}
72
if (obj_cp == obj_c) foo() ; // expected-warning {{
comparison
of distinct pointer types ('MyOtherClass *' and 'MyClass *')}}
77
/* Any
comparison
between 'MyOtherClass *' (which implements
/external/iptables/include/linux/netfilter/
xt_multiport.h
16
__u8 flags; /* Type of
comparison
*/
22
__u8 flags; /* Type of
comparison
*/
xt_quota2.h
18
/*
Comparison
-invariant */
/external/clang/test/SemaTemplate/
self-comparison.cpp
4
(void)(A == A); // expected-warning {{self-
comparison
always evaluates to true}}
9
(void)(A == A); // expected-warning {{self-
comparison
always evaluates to true}}
16
(void)(A == A); // expected-warning {{self-
comparison
always evaluates to true}}
23
(void)(A == A); // expected-warning {{self-
comparison
always evaluates to true}}
30
(void)(A == A); // expected-warning {{self-
comparison
always evaluates to true}}
/frameworks/compile/libbcc/tests/data/src/
pointers.c
10
printf("Pointer
comparison
to zero: %d %d %d\n", pa == 0, pb == 0, pc == 0);
11
printf("Pointer
comparison
: %d %d %d %d %d\n", pa < pb, pa == pb, pa > pb, ! pb, ! pc);
/external/iptables/extensions/
libxt_connmark.man
6
specified, this is logically ANDed with the mark before the
comparison
).
libxt_mark.man
9
comparison
).
/external/oprofile/m4/
kernelversion.m4
1
dnl AX_KERNEL_VERSION(major, minor, level,
comparison
, action-if-true, action-if-false)
/external/guava/src/com/google/common/collect/
ComparisonChain.java
28
* A utility for performing a "lazy" chained
comparison
statement, which
42
* nonzero</i>
comparison
result in the chain, or will be zero if every
43
*
comparison
result was zero.
45
* <p>Once any
comparison
returns a nonzero value, remaining comparisons are
56
* Begins a new chained
comparison
statement. See example in the class
137
* Comparable#compareTo}, <i>if</i> the result of this
comparison
chain
145
*
comparison
chain has not already been determined.
152
* <i>if</i> the result of this
comparison
chain has not already been
159
* <i>if</i> the result of this
comparison
chain has not already been
166
* Float#compare}, <i>if</i> the result of this
comparison
chain has no
[
all
...]
/dalvik/vm/mterp/x86-atom/
bincmp.S
19
* Code: Generic 32-bit
comparison
operation. Provides a "revcmp"
20
* variable to specify the reverse
comparison
to perform.
24
* Description: Branch to the given destination if the
comparison
39
#
comparison
is true
/external/clang/test/FixIt/
no-macro-fixit.c
13
// expected-note {{use '==' to turn this assignment into an equality
comparison
}} \
/external/e2fsprogs/intl/
plural-exp.h
50
less_than, /*
Comparison
. */
51
greater_than, /*
Comparison
. */
52
less_or_equal, /*
Comparison
. */
53
greater_or_equal, /*
Comparison
. */
54
equal, /*
Comparison
for equality. */
55
not_equal, /*
Comparison
for inequality. */
Completed in 724 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>