Home
last modified time | relevance | path

Searched refs:ComparisonResult (Results 1 – 22 of 22) sorted by relevance

/third_party/skia/src/sksl/ir/
DSkSLConstructor.cpp190 Expression::ComparisonResult AnyConstructor::compareConstant(const Expression& other) const { in compareConstant()
194 return ComparisonResult::kUnknown; in compareConstant()
202 return ComparisonResult::kUnknown; in compareConstant()
206 return ComparisonResult::kUnknown; in compareConstant()
210 return ComparisonResult::kNotEqual; in compareConstant()
213 return ComparisonResult::kEqual; in compareConstant()
DSkSLLiteral.h118 ComparisonResult compareConstant(const Expression& other) const override { in compareConstant()
120 return ComparisonResult::kUnknown; in compareConstant()
123 ? ComparisonResult::kEqual in compareConstant()
124 : ComparisonResult::kNotEqual; in compareConstant()
DSkSLExpression.h148 enum class ComparisonResult { enum
153 virtual ComparisonResult compareConstant(const Expression& other) const { in compareConstant()
154 return ComparisonResult::kUnknown; in compareConstant()
DSkSLConstructor.h73 ComparisonResult compareConstant(const Expression& other) const override;
/third_party/protobuf/src/google/protobuf/util/
Dfield_comparator.h65 enum ComparisonResult { enum
87 virtual ComparisonResult Compare(const Message& message_1,
116 ComparisonResult Compare(const Message& message_1, const Message& message_2,
228 ComparisonResult ResultFromBoolean(bool boolean_result) const;
Dfield_comparator.cc58 FieldComparator::ComparisonResult DefaultFieldComparator::Compare( in Compare()
204 FieldComparator::ComparisonResult DefaultFieldComparator::ResultFromBoolean( in ResultFromBoolean()
Dmessage_differencer.h790 FieldComparator::ComparisonResult GetFieldComparisonResult(
Dmessage_differencer.cc1079 FieldComparator::ComparisonResult result = GetFieldComparisonResult( in CompareFieldValueUsingParentFields()
1717 FieldComparator::ComparisonResult MessageDifferencer::GetFieldComparisonResult( in GetFieldComparisonResult()
Dmessage_differencer_unittest.cc2273 virtual ComparisonResult Compare(const Message& message_1, in Compare()
/third_party/node/deps/v8/src/objects/
Dobjects-inl.h1024 Maybe<ComparisonResult> result = Compare(isolate, x, y); in GreaterThan()
1027 case ComparisonResult::kGreaterThan: in GreaterThan()
1029 case ComparisonResult::kLessThan: in GreaterThan()
1030 case ComparisonResult::kEqual: in GreaterThan()
1031 case ComparisonResult::kUndefined: in GreaterThan()
1041 Maybe<ComparisonResult> result = Compare(isolate, x, y); in GreaterThanOrEqual()
1044 case ComparisonResult::kEqual: in GreaterThanOrEqual()
1045 case ComparisonResult::kGreaterThan: in GreaterThanOrEqual()
1047 case ComparisonResult::kLessThan: in GreaterThanOrEqual()
1048 case ComparisonResult::kUndefined: in GreaterThanOrEqual()
[all …]
Dbigint.cc593 ComparisonResult UnequalSign(bool left_negative) { in UnequalSign()
594 return left_negative ? ComparisonResult::kLessThan in UnequalSign()
595 : ComparisonResult::kGreaterThan; in UnequalSign()
599 ComparisonResult AbsoluteGreater(bool both_negative) { in AbsoluteGreater()
600 return both_negative ? ComparisonResult::kLessThan in AbsoluteGreater()
601 : ComparisonResult::kGreaterThan; in AbsoluteGreater()
605 ComparisonResult AbsoluteLess(bool both_negative) { in AbsoluteLess()
606 return both_negative ? ComparisonResult::kGreaterThan in AbsoluteLess()
607 : ComparisonResult::kLessThan; in AbsoluteLess()
613 ComparisonResult BigInt::CompareToBigInt(Handle<BigInt> x, Handle<BigInt> y) { in CompareToBigInt()
[all …]
Dbigint.h178 static ComparisonResult CompareToBigInt(Handle<BigInt> x, Handle<BigInt> y);
202 static Maybe<ComparisonResult> CompareToString(Isolate* isolate,
205 static ComparisonResult CompareToNumber(Handle<BigInt> x, Handle<Object> y);
207 V8_EXPORT_PRIVATE static ComparisonResult CompareToDouble(Handle<BigInt> x,
Dstring.cc1142 ComparisonResult String::Compare(Isolate* isolate, Handle<String> x, in Compare()
1146 return ComparisonResult::kEqual; in Compare()
1148 return x->length() == 0 ? ComparisonResult::kEqual in Compare()
1149 : ComparisonResult::kGreaterThan; in Compare()
1151 return ComparisonResult::kLessThan; in Compare()
1156 return ComparisonResult::kLessThan; in Compare()
1158 return ComparisonResult::kGreaterThan; in Compare()
1166 ComparisonResult result = ComparisonResult::kEqual; in Compare()
1170 result = ComparisonResult::kGreaterThan; in Compare()
1172 result = ComparisonResult::kLessThan; in Compare()
[all …]
Dobjects.h265 enum class ComparisonResult { enum
273 bool ComparisonResultToBool(Operation op, ComparisonResult result);
391 V8_EXPORT_PRIVATE V8_WARN_UNUSED_RESULT static Maybe<ComparisonResult>
Dobjects.cc161 bool ComparisonResultToBool(Operation op, ComparisonResult result) { in ComparisonResultToBool()
164 return result == ComparisonResult::kLessThan; in ComparisonResultToBool()
166 return result == ComparisonResult::kLessThan || in ComparisonResultToBool()
167 result == ComparisonResult::kEqual; in ComparisonResultToBool()
169 return result == ComparisonResult::kGreaterThan; in ComparisonResultToBool()
171 return result == ComparisonResult::kGreaterThan || in ComparisonResultToBool()
172 result == ComparisonResult::kEqual; in ComparisonResultToBool()
669 ComparisonResult StrictNumberCompare(double x, double y) { in StrictNumberCompare()
671 return ComparisonResult::kUndefined; in StrictNumberCompare()
673 return ComparisonResult::kLessThan; in StrictNumberCompare()
[all …]
Dmodule.cc327 ComparisonResult::kLessThan; in GetModuleNamespace()
Dstring.h312 V8_WARN_UNUSED_RESULT static ComparisonResult Compare(Isolate* isolate,
Djs-temporal-objects.cc2202 ((r) == ComparisonResult::kEqual \
2204 : ((r) == ComparisonResult::kLessThan ? -1 : 1))
2532 ComparisonResult::kLessThan) || in ParseTemporalInstant()
2534 ComparisonResult::kGreaterThan)) { in ParseTemporalInstant()
3901 ComparisonResult compare_result = in NanosecondsToDays()
4029 ComparisonResult::kGreaterThan) { in NanosecondsToDays()
Djs-number-format.cc1951 Maybe<ComparisonResult> comparison = Object::Compare(isolate, a, b); in LessThan()
1953 comparison.FromJust() == ComparisonResult::kLessThan; in LessThan()
/third_party/node/deps/v8/src/runtime/
Druntime-strings.cc355 ComparisonResult result = String::Compare(isolate, x, y); in RUNTIME_FUNCTION()
356 DCHECK_NE(result, ComparisonResult::kUndefined); in RUNTIME_FUNCTION()
366 ComparisonResult result = String::Compare(isolate, x, y); in RUNTIME_FUNCTION()
367 DCHECK_NE(result, ComparisonResult::kUndefined); in RUNTIME_FUNCTION()
377 ComparisonResult result = String::Compare(isolate, x, y); in RUNTIME_FUNCTION()
378 DCHECK_NE(result, ComparisonResult::kUndefined); in RUNTIME_FUNCTION()
388 ComparisonResult result = String::Compare(isolate, x, y); in RUNTIME_FUNCTION()
389 DCHECK_NE(result, ComparisonResult::kUndefined); in RUNTIME_FUNCTION()
Druntime-bigint.cc42 Maybe<ComparisonResult> maybe_result = in RUNTIME_FUNCTION()
/third_party/skia/src/sksl/
DSkSLConstantFolder.cpp72 case Expression::ComparisonResult::kNotEqual: in simplify_vector_equality()
76 case Expression::ComparisonResult::kEqual: in simplify_vector_equality()
79 case Expression::ComparisonResult::kUnknown: in simplify_vector_equality()
563 case Expression::ComparisonResult::kNotEqual: in Simplify()
567 case Expression::ComparisonResult::kEqual: in Simplify()
570 case Expression::ComparisonResult::kUnknown: in Simplify()