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
2086
) 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-unused-comparison.cpp
1
// RUN: %clang_cc1 -fsyntax-only -fcxx-exceptions -verify -Wno-unused -Wunused-
comparison
%s
14
x == 7; // expected-warning {{equality
comparison
result unused}} \
15
// expected-note {{use '=' to turn this equality
comparison
into an assignment}}
16
x != 7; // expected-warning {{inequality
comparison
result unused}} \
17
// expected-note {{use '|=' to turn this inequality
comparison
into an or-assignment}}
18
7 == x; // expected-warning {{equality
comparison
result unused}}
19
p == p; // expected-warning {{equality
comparison
result unused}} \
20
// expected-note {{use '=' to turn this equality
comparison
into an assignment}} \
21
// expected-warning {{self-
comparison
always evaluates to true}}
22
a == a; // expected-warning {{equality
comparison
result unused}}
[
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
...]
/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
*/
/prebuilts/gcc/linux-x86/host/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
*/
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/netfilter/
xt_multiport.h
16
u_int8_t flags; /* Type of
comparison
*/
23
u_int8_t flags; /* Type of
comparison
*/
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/netfilter/
xt_multiport.h
16
u_int8_t flags; /* Type of
comparison
*/
23
u_int8_t flags; /* Type of
comparison
*/
/cts/tests/tests/webkitsecurity/assets/
ignored-result-null-comparison-crash.js
2
"This tests that bytecode generation doesn't crash on a
comparison
to null with an ignored result."
ignored-result-null-comparison-crash.html
7
<script src="script-tests/ignored-result-null-
comparison
-crash.js"></script>
/external/clang/test/CodeGen/
const-unordered-compare.c
3
// Checks folding of an unordered
comparison
/external/clang/test/Frontend/
Wno-everything.c
6
return x < y; // expected-warning {{
comparison
of integers}}
Weverything.c
8
return x < y; // expected-warning {{
comparison
of integers}}
diagnostics-option-names.c
6
// CHECK:
comparison
of integers of different signs{{.*}} [-Werror,-Wsign-compare]
warning-mapping-5.c
8
return x < y; // expected-warning {{
comparison
of integers}}
/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
...]
/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
).
Completed in 889 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>