Home
last modified time | relevance | path

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

12345678910>>...16

/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/skia/tools/
Dskdiff_main.cpp77 for (int comparison = 0; comparison < DiffResource::kStatusCount; ++comparison) { in ~DiffSummary() local
78 fStatusOfType[base][comparison].deleteAll(); in ~DiffSummary()
115 for (int comparison = 0; comparison < DiffResource::kStatusCount; ++comparison) { in printStatus() local
116 Status comparisonStatus = static_cast<Status>(comparison); in printStatus()
117 const FileArray& fileArray = fStatusOfType[base][comparison]; in printStatus()
119 if (failOnStatusType[base][comparison]) { in printStatus()
644 for (int comparison = 0; comparison < DiffResource::kStatusCount; ++comparison) { in tool_main() local
645 failOnStatusType[base][comparison] = false; in tool_main()
685 for (int comparison = 0; comparison < DiffResource::kStatusCount; ++comparison) { in tool_main() local
686 failOnStatusType[base][comparison] |= in tool_main()
[all …]
Dskdiff_image.cpp139 for (int comparison = 0; comparison < DiffResource::kStatusCount; ++comparison) { in tool_main() local
140 failOnStatusType[base][comparison] = false; in tool_main()
181 for (int comparison = 0; comparison < DiffResource::kStatusCount; ++comparison) { in tool_main() local
182 failOnStatusType[base][comparison] |= in tool_main()
183 baseStatuses[base] && comparisonStatuses[comparison]; in tool_main()
/external/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-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 …]
Dfp-cmp-03.ll1 ; Test 128-bit floating-point comparison. The tests assume a z10 implementation
6 ; There is no memory form of 128-bit comparison.
23 ; Check comparison with zero.
/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/v8/test/cctest/
Dlog-eq-of-logging-and-traversal.js141 var comparison = [];
168 comparison.push([entities_equal, address, entityA, entityB]);
170 return [equal, comparison];
177 var comparison = result[1]; variable
178 for (var i = 0, l = comparison.length; i < l; ++i) {
179 var c = comparison[i];
/external/libgdx/gdx/src/com/badlogic/gdx/utils/
DSelect.java74 int comparison = comp.compare(items[i], items[lowestIdx]); in fastMin() local
75 if (comparison < 0) { in fastMin()
86 int comparison = comp.compare(items[i], items[highestIdx]); in fastMax() local
87 if (comparison > 0) { in fastMax()
/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/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/vulkan-validation-layers/libs/glm/gtx/
Dassociated_min_max.inl12 // Min comparison between 2 variables
138 // Min comparison between 3 variables
193 // Min comparison between 4 variables
211 // Min comparison between 4 variables
233 // Min comparison between 4 variables
255 // Min comparison between 4 variables
277 // Min comparison between 4 variables
300 // Min comparison between 4 variables
323 // Min comparison between 4 variables
346 // Min comparison between 4 variables
[all …]
/external/v8/test/cctest/compiler/
Dtest-run-calls-to-external-references.cc16 ExternalReference ref, void (*comparison)(P*), in TestExternalReference()
26 comparison(&comparison_param); in TestExternalReference()
33 ExternalReference ref, void (*comparison)(P1*, P2*), in TestExternalReference()
45 comparison(&comparison_param1, &comparison_param2); in TestExternalReference()
53 ExternalReference ref, R (*comparison)(P*), in TestExternalReference()
61 CHECK_EQ(comparison(&comparison_param), m->Call()); in TestExternalReference()
68 ExternalReference ref, R (*comparison)(P1*, P2*), in TestExternalReference()
78 CHECK_EQ(comparison(&comparison_param1, &comparison_param2), m->Call()); in TestExternalReference()
/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/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
DTypeListPool.java132 int comparison = type.toString().compareTo(other.next().toString()); in compareTo() local
133 if (comparison != 0) { in compareTo()
134 return comparison; in compareTo()
/external/deqp/doc/testspecs/GLES3/
Dfunctional.texture.shadow.txt25 + All depth comparison modes
36 magnification. Reference value for depth comparison is uniform.
39 reference renderer. A simple threshold-based comparison is used.
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ec2/cloudwatch/
Dalarm.py63 namespace=None, statistic=None, comparison=None, argument
146 self.comparison = self._cmp_map.get(comparison)
170 self.comparison,
/external/v8/test/webkit/
Darray-every.js38 comparison: 11, property
40 return (s >= comparison);

12345678910>>...16