Home
last modified time | relevance | path

Searched refs:comparison (Results 1 – 25 of 933) sorted by relevance

12345678910>>...38

/external/smali/util/src/main/java/org/jf/util/
DLinearSearch.java53 int comparison = comparator.compare(list.get(guess), key); in linearSearch() local
54 if (comparison == 0) { in linearSearch()
57 if (comparison < 0) { in linearSearch()
60 comparison = comparator.compare(list.get(guess), key); in linearSearch()
61 if (comparison == 0) { in linearSearch()
64 if (comparison > 0) { in linearSearch()
73 comparison = comparator.compare(list.get(guess), key); in linearSearch()
74 if (comparison == 0) { in linearSearch()
77 if (comparison < 0) { in linearSearch()
/external/clang/test/SemaObjC/
Dobjc-literal-comparison.m39 …if (obj == @"") return; // expected-warning{{direct comparison of a string literal has undefined b…
40 …if (obj != @"") return; // expected-warning{{direct comparison of a string literal has undefined b…
41 …if (@"" == obj) return; // expected-warning{{direct comparison of a string literal has undefined b…
42 …if (@"" == @"") return; // expected-warning{{direct comparison of a string literal has undefined b…
44 …if (@[] == obj) return; // expected-warning{{direct comparison of an array literal has undefined b…
45 …if (@{} == obj) return; // expected-warning{{direct comparison of a dictionary literal has undefin…
46 …if (@12 == obj) return; // expected-warning{{direct comparison of a numeric literal has undefined …
47 …if (@1.0 == obj) return; // expected-warning{{direct comparison of a numeric literal has undefined…
48 …if (@__objc_yes == obj) return; // expected-warning{{direct comparison of a numeric literal has un…
49 …if (@(1+1) == obj) return; // expected-warning{{direct comparison of a boxed expression has undefi…
[all …]
Dcomptypes-7.m49 …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 *' …
55 …if (i == obj_c) foo() ; // expected-warning {{comparison between pointer and integer ('int' and 'M…
56 …if (obj_c == j) foo() ; // expected-warning {{comparison of distinct pointer types ('MyClass *' an…
57 …if (j == obj_c) foo() ; // expected-warning {{comparison of distinct pointer types ('int *' and 'M…
59 …if (obj_p == i) foo() ; // expected-warning {{comparison between pointer and integer ('id<MyProtoc…
60 …if (i == obj_p) foo() ; // expected-warning {{comparison between pointer and integer ('int' and 'i…
[all …]
Dcomptypes-3.m45 …if (obj_a == obj_b) foo (); // expected-warning {{comparison of distinct pointer types ('id<MyProt…
46 …if (obj_b == obj_a) foo (); // expected-warning {{comparison of distinct pointer types ('id<MyProt…
57 …if (obj_b == obj_ac) foo (); // expected-warning {{comparison of distinct pointer types ('id<MyPro…
58 …if (obj_ac == obj_b) foo (); // expected-warning {{comparison of distinct pointer types ('id<MyPro…
60 …if (obj_ab == obj_ac) foo (); // expected-warning {{comparison of distinct pointer types ('id<MyPr…
61 …if (obj_ac == obj_ab) foo (); // expected-warning {{comparison of distinct pointer types ('id<MyPr…
Dcomptypes-1.m57 /* 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<MyProt…
71 …if (obj_c == obj_cp) foo() ; // expected-warning {{comparison of distinct pointer types ('MyClass …
72 …if (obj_cp == obj_c) foo() ; // expected-warning {{comparison of distinct pointer types ('MyOtherC…
77 /* Any comparison between 'MyOtherClass *' (which implements
/external/clang/test/SemaCXX/
Dwarn-memsize-comparison.cpp20 expected-warning{{size argument in 'memset' call is a comparison}} \ in f()
26 expected-warning{{size argument in 'memmove' call is a comparison}} \ in f()
32 expected-warning{{size argument in 'memcpy' call is a comparison}} \ in f()
38 expected-warning{{size argument in 'memcmp' call is a comparison}} \ in f()
44 expected-warning{{size argument in 'strncmp' call is a comparison}} \ in f()
50 expected-warning{{size argument in 'strncasecmp' call is a comparison}} \ in f()
56 expected-warning{{size argument in 'strncpy' call is a comparison}} \ in f()
62 expected-warning{{size argument in 'strncat' call is a comparison}} \ in f()
68 expected-warning{{size argument in 'strndup' call is a comparison}} \ in f()
74 expected-warning{{size argument in 'strlcpy' call is a comparison}} \ in f()
[all …]
/external/libnl/
Dmake.log44 external/libnl/lib/nl.c:694:18: warning: comparison of integers of different signs: '__kernel_size_…
50 external/libnl/lib/nl.c:917:23: warning: comparison of integers of different signs: '__u32' (aka 'u…
57 external/libnl/lib/addr.c:707:14: warning: comparison of integers of different signs: 'socklen_t' (…
60 external/libnl/lib/addr.c:719:14: warning: comparison of integers of different signs: 'socklen_t' (…
63 external/libnl/lib/addr.c:990:24: warning: comparison of integers of different signs: 'int' and 'un…
82 external/libnl/lib/msg.c:168:21: warning: comparison of integers of different signs: 'const __u32' …
85 external/libnl/lib/msg.c:183:18: warning: comparison of integers of different signs: 'const __u32' …
88 external/libnl/lib/msg.c:367:10: warning: comparison of integers of different signs: 'size_t' (aka …
103 external/libnl/lib/msg.c:836:18: warning: comparison of integers of different signs: 'int' and 'uns…
112 external/libnl/lib/msg.c:915:21: warning: comparison of integers of different signs: 'int' and 'uns…
[all …]
/external/skqp/tools/skdiff/
Dskdiff_main.cpp75 for (int comparison = 0; comparison < DiffResource::kStatusCount; ++comparison) { in ~DiffSummary() local
76 fStatusOfType[base][comparison].deleteAll(); in ~DiffSummary()
113 for (int comparison = 0; comparison < DiffResource::kStatusCount; ++comparison) { in printStatus() local
114 Status comparisonStatus = static_cast<Status>(comparison); in printStatus()
115 const FileArray& fileArray = fStatusOfType[base][comparison]; in printStatus()
117 if (failOnStatusType[base][comparison]) { in printStatus()
647 for (int comparison = 0; comparison < DiffResource::kStatusCount; ++comparison) { in main() local
648 failOnStatusType[base][comparison] = false; in main()
688 for (int comparison = 0; comparison < DiffResource::kStatusCount; ++comparison) { in main() local
689 failOnStatusType[base][comparison] |= in main()
[all …]
/external/skia/tools/skdiff/
Dskdiff_main.cpp75 for (int comparison = 0; comparison < DiffResource::kStatusCount; ++comparison) { in ~DiffSummary() local
76 fStatusOfType[base][comparison].deleteAll(); in ~DiffSummary()
113 for (int comparison = 0; comparison < DiffResource::kStatusCount; ++comparison) { in printStatus() local
114 Status comparisonStatus = static_cast<Status>(comparison); in printStatus()
115 const FileArray& fileArray = fStatusOfType[base][comparison]; in printStatus()
117 if (failOnStatusType[base][comparison]) { in printStatus()
647 for (int comparison = 0; comparison < DiffResource::kStatusCount; ++comparison) { in main() local
648 failOnStatusType[base][comparison] = false; in main()
688 for (int comparison = 0; comparison < DiffResource::kStatusCount; ++comparison) { in main() local
689 failOnStatusType[base][comparison] |= in main()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/SystemZ/
Dint-cmp-30.ll6 ; Check unsigned comparison near the low end of the CLHHSI range, using zero
20 ; Check unsigned comparison near the low end of the CLHHSI range, using sign
34 ; Check unsigned comparison near the high end of the CLHHSI range, using zero
48 ; Check unsigned comparison near the high end of the CLHHSI range, using sign
62 ; Check unsigned comparison above the high end of the CLHHSI range, using zero
75 ; When using unsigned comparison with sign extension, equality with values
104 ; Check signed comparison near the low end of the CLHHSI range, using zero
105 ; extension. This is equivalent to unsigned comparison.
118 ; Check signed comparison near the low end of the CLHHSI range, using sign
132 ; Check signed comparison near the high end of the CLHHSI range, using zero
[all …]
Dint-cmp-31.ll6 ; Check unsigned comparison near the low end of the CLHHSI range, using zero
20 ; Check unsigned comparison near the low end of the CLHHSI range, using sign
34 ; Check unsigned comparison near the high end of the CLHHSI range, using zero
48 ; Check unsigned comparison near the high end of the CLHHSI range, using sign
62 ; Check unsigned comparison above the high end of the CLHHSI range, using zero
75 ; When using unsigned comparison with sign extension, equality with values
104 ; Check signed comparison near the low end of the CLHHSI range, using zero
105 ; extension. This is equivalent to unsigned comparison.
118 ; Check signed comparison near the low end of the CLHHSI range, using sign
132 ; Check signed comparison near the high end of the CLHHSI range, using zero
[all …]
Dint-cmp-21.ll6 ; Check unsigned comparison near the low end of the CLI range, using zero
20 ; Check unsigned comparison near the low end of the CLI range, using sign
34 ; Check unsigned comparison near the high end of the CLI range, using zero
48 ; Check unsigned comparison near the high end of the CLI range, using sign
62 ; Check unsigned comparison above the high end of the CLI range, using zero
75 ; When using unsigned comparison with sign extension, equality with values
103 ; Check signed comparison near the low end of the CLI range, using zero
104 ; extension. This is equivalent to unsigned comparison.
117 ; Check signed comparison near the low end of the CLI range, using sign
130 ; Check signed comparison near the high end of the CLI range, using zero
[all …]
Dint-cmp-20.ll6 ; Check unsigned comparison near the low end of the CLI range, using zero
20 ; Check unsigned comparison near the low end of the CLI range, using sign
34 ; Check unsigned comparison near the high end of the CLI range, using zero
48 ; Check unsigned comparison near the high end of the CLI range, using sign
62 ; Check unsigned comparison above the high end of the CLI range, using zero
75 ; When using unsigned comparison with sign extension, equality with values
103 ; Check signed comparison near the low end of the CLI range, using zero
104 ; extension. This is equivalent to unsigned comparison.
117 ; Check signed comparison near the low end of the CLI range, using sign
130 ; Check signed comparison near the high end of the CLI range, using zero
[all …]
/external/llvm/test/CodeGen/SystemZ/
Dint-cmp-31.ll6 ; Check unsigned comparison near the low end of the CLHHSI range, using zero
20 ; Check unsigned comparison near the low end of the CLHHSI range, using sign
34 ; Check unsigned comparison near the high end of the CLHHSI range, using zero
48 ; Check unsigned comparison near the high end of the CLHHSI range, using sign
62 ; Check unsigned comparison above the high end of the CLHHSI range, using zero
75 ; When using unsigned comparison with sign extension, equality with values
104 ; Check signed comparison near the low end of the CLHHSI range, using zero
105 ; extension. This is equivalent to unsigned comparison.
118 ; Check signed comparison near the low end of the CLHHSI range, using sign
132 ; Check signed comparison near the high end of the CLHHSI range, using zero
[all …]
Dint-cmp-30.ll6 ; Check unsigned comparison near the low end of the CLHHSI range, using zero
20 ; Check unsigned comparison near the low end of the CLHHSI range, using sign
34 ; Check unsigned comparison near the high end of the CLHHSI range, using zero
48 ; Check unsigned comparison near the high end of the CLHHSI range, using sign
62 ; Check unsigned comparison above the high end of the CLHHSI range, using zero
75 ; When using unsigned comparison with sign extension, equality with values
104 ; Check signed comparison near the low end of the CLHHSI range, using zero
105 ; extension. This is equivalent to unsigned comparison.
118 ; Check signed comparison near the low end of the CLHHSI range, using sign
132 ; Check signed comparison near the high end of the CLHHSI range, using zero
[all …]
Dint-cmp-20.ll6 ; Check unsigned comparison near the low end of the CLI range, using zero
20 ; Check unsigned comparison near the low end of the CLI range, using sign
34 ; Check unsigned comparison near the high end of the CLI range, using zero
48 ; Check unsigned comparison near the high end of the CLI range, using sign
62 ; Check unsigned comparison above the high end of the CLI range, using zero
75 ; When using unsigned comparison with sign extension, equality with values
103 ; Check signed comparison near the low end of the CLI range, using zero
104 ; extension. This is equivalent to unsigned comparison.
117 ; Check signed comparison near the low end of the CLI range, using sign
130 ; Check signed comparison near the high end of the CLI range, using zero
[all …]
Dint-cmp-21.ll6 ; Check unsigned comparison near the low end of the CLI range, using zero
20 ; Check unsigned comparison near the low end of the CLI range, using sign
34 ; Check unsigned comparison near the high end of the CLI range, using zero
48 ; Check unsigned comparison near the high end of the CLI range, using sign
62 ; Check unsigned comparison above the high end of the CLI range, using zero
75 ; When using unsigned comparison with sign extension, equality with values
103 ; Check signed comparison near the low end of the CLI range, using zero
104 ; extension. This is equivalent to unsigned comparison.
117 ; Check signed comparison near the low end of the CLI range, using sign
130 ; Check signed comparison near the high end of the CLI range, using zero
[all …]
/external/proguard/src/proguard/classfile/editor/
DComparableConstant.java257 int comparison;
259 (comparison = string1a.compareTo(string2a)) != 0 ? comparison :
270 int comparison;
272 (comparison = string1a.compareTo(string2a)) != 0 ? comparison :
273 (comparison = string1b.compareTo(string2b)) != 0 ? comparison :
/external/webrtc/webrtc/video/
Dvideo_quality_test.cc390 FrameComparison comparison; in CompareFrames() local
392 if (!PopComparison(&comparison)) { in CompareFrames()
403 PerformFrameComparison(comparison); in CompareFrames()
417 bool PopComparison(FrameComparison* comparison) { in PopComparison() argument
427 *comparison = comparisons_.front(); in PopComparison()
476 void PerformFrameComparison(const FrameComparison& comparison) { in PerformFrameComparison() argument
478 double psnr = I420PSNR(&comparison.reference, &comparison.render); in PerformFrameComparison()
479 double ssim = I420SSIM(&comparison.reference, &comparison.render); in PerformFrameComparison()
481 int64_t input_time_ms = comparison.reference.ntp_time_ms(); in PerformFrameComparison()
486 Sample(comparison.dropped, input_time_ms, comparison.send_time_ms, in PerformFrameComparison()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/docs/
DMergeFunctions.rst85 top-level. Second part describes the comparison procedure itself. The third
172 Every comparison is based either on the numbers or on flags comparison. In
173 *random-access* approach we could use the same comparison algorithm. During
174 comparison we exit once we find the difference, but here we might have to scan
177 comparison, we should get numbers sequence and then create the hash number. So,
192 exactly; this is a key point in fast functions comparison).
246 As it was mentioned before, comparison routine consists of
247 "sub-comparison-routines", each of them also consists
248 "sub-comparison-routines", and so on, finally it ends up with a primitives
249 comparison.
[all …]
/external/llvm/docs/
DMergeFunctions.rst85 top-level. Second part describes the comparison procedure itself. The third
172 Every comparison is based either on the numbers or on flags comparison. In
173 *random-access* approach we could use the same comparison algorithm. During
174 comparison we exit once we find the difference, but here we might have to scan
177 comparison, we should get numbers sequence and then create the hash number. So,
192 exactly; this is a key point in fast functions comparison).
246 As it was mentioned before, comparison routine consists of
247 "sub-comparison-routines", each of them also consists
248 "sub-comparison-routines", and so on, finally it ends up with a primitives
249 comparison.
[all …]
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/groovy/org/mockftpserver/fake/user/
DUserAccount.groovy26 * If you want to provide a custom comparison, for instance using encrypted passwords, you can
42 * This implementation uses standard (case-sensitive) String comparison. Subclasses can provide
43 * custom comparison behavior, for instance using encrypted password values, by overriding this
66 * This implementation uses standard (case-sensitive) String comparison. Subclasses can provide
67 * custom comparison behavior, for instance using encrypted password values, by overriding this
/external/junit/src/main/java/org/junit/internal/
DMethodSorter.java29 final int comparison = m1.getName().compareTo(m2.getName());
30 if (comparison != 0) {
31 return comparison;
/external/python/cpython2/Doc/library/
Dfilecmp.rst44 comparison could not be done for some other reason.
73 Construct a new directory comparison object, to compare the directories *a* and
86 Print (to ``sys.stdout``) a comparison between *a* and *b*.
91 Print a comparison between *a* and *b* and common immediate
97 Print a comparison between *a* and *b* and common subdirectories
163 file comparison operator.
169 to the class's file comparison operator.
/external/python/cpython3/Lib/lib2to3/fixes/
Dfix_has_key.py87 if arg.type in (syms.comparison, syms.not_test, syms.and_test,
99 new = pytree.Node(syms.comparison, (arg, n_op, before))
103 if node.parent.type in (syms.comparison, syms.expr, syms.xor_expr,

12345678910>>...38