Home
last modified time | relevance | path

Searched refs:CompareResult (Results 1 – 24 of 24) sorted by relevance

/external/rust/crates/nom/src/
Dtraits.rs633 pub enum CompareResult { enum
645 fn compare(&self, t: T) -> CompareResult; in compare() argument
653 fn compare_no_case(&self, t: T) -> CompareResult; in compare_no_case() argument
658 fn compare(&self, t: &'b [u8]) -> CompareResult { in compare() argument
662 Some(_) => CompareResult::Error, in compare()
665 CompareResult::Ok in compare()
667 CompareResult::Incomplete in compare()
690 fn compare_no_case(&self, t: &'b [u8]) -> CompareResult { in compare_no_case() argument
702 CompareResult::Error in compare_no_case()
704 CompareResult::Incomplete in compare_no_case()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/hash/internal/
Dspy_hash_state.h106 enum class CompareResult { enum
113 static CompareResult Compare(const SpyHashStateImpl& a, in Compare()
117 if (a_flat == b_flat) return CompareResult::kEqual; in Compare()
118 if (absl::EndsWith(a_flat, b_flat)) return CompareResult::kBSuffixA; in Compare()
119 if (absl::EndsWith(b_flat, a_flat)) return CompareResult::kASuffixB; in Compare()
120 return CompareResult::kUnequal; in Compare()
/external/libtextclassifier/abseil-cpp/absl/hash/internal/
Dspy_hash_state.h106 enum class CompareResult { enum
113 static CompareResult Compare(const SpyHashStateImpl& a, in Compare()
117 if (a_flat == b_flat) return CompareResult::kEqual; in Compare()
118 if (absl::EndsWith(a_flat, b_flat)) return CompareResult::kBSuffixA; in Compare()
119 if (absl::EndsWith(b_flat, a_flat)) return CompareResult::kASuffixB; in Compare()
120 return CompareResult::kUnequal; in Compare()
/external/openscreen/third_party/abseil/src/absl/hash/internal/
Dspy_hash_state.h106 enum class CompareResult { enum
113 static CompareResult Compare(const SpyHashStateImpl& a, in Compare()
117 if (a_flat == b_flat) return CompareResult::kEqual; in Compare()
118 if (absl::EndsWith(a_flat, b_flat)) return CompareResult::kBSuffixA; in Compare()
119 if (absl::EndsWith(b_flat, a_flat)) return CompareResult::kASuffixB; in Compare()
120 return CompareResult::kUnequal; in Compare()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/hash/internal/
Dspy_hash_state.h106 enum class CompareResult { enum
113 static CompareResult Compare(const SpyHashStateImpl& a, in Compare()
117 if (a_flat == b_flat) return CompareResult::kEqual; in Compare()
118 if (absl::EndsWith(a_flat, b_flat)) return CompareResult::kBSuffixA; in Compare()
119 if (absl::EndsWith(b_flat, a_flat)) return CompareResult::kASuffixB; in Compare()
120 return CompareResult::kUnequal; in Compare()
/external/abseil-cpp/absl/hash/internal/
Dspy_hash_state.h106 enum class CompareResult { enum
113 static CompareResult Compare(const SpyHashStateImpl& a, in Compare()
117 if (a_flat == b_flat) return CompareResult::kEqual; in Compare()
118 if (absl::EndsWith(a_flat, b_flat)) return CompareResult::kBSuffixA; in Compare()
119 if (absl::EndsWith(b_flat, a_flat)) return CompareResult::kASuffixB; in Compare()
120 return CompareResult::kUnequal; in Compare()
/external/angle/third_party/abseil-cpp/absl/hash/internal/
Dspy_hash_state.h106 enum class CompareResult { enum
113 static CompareResult Compare(const SpyHashStateImpl& a, in Compare()
117 if (a_flat == b_flat) return CompareResult::kEqual; in Compare()
118 if (absl::EndsWith(a_flat, b_flat)) return CompareResult::kBSuffixA; in Compare()
119 if (absl::EndsWith(b_flat, a_flat)) return CompareResult::kASuffixB; in Compare()
120 return CompareResult::kUnequal; in Compare()
/external/swiftshader/third_party/subzero/src/
DIceTypes.cpp46 CompareResult) \ argument
61 CompareResult) \ argument
81 CompareResult) \ argument
88 CompareResult) \ argument
126 CompareResult) \ argument
129 IsBoolean, IsParam, IceType_##CompareResult},
DIceTypes.def83 // CompareResult)
/external/rust/crates/nom/src/character/
Dstreaming.rs9 use crate::traits::{Compare, CompareResult};
124 CompareResult::Ok => Ok((input.slice(2..), input.slice(0..2))), in crlf()
125 CompareResult::Incomplete => Err(Err::Incomplete(Needed::Size(2))), in crlf()
126 CompareResult::Error => { in crlf()
171 CompareResult::Incomplete => Err(Err::Incomplete(Needed::Unknown)), in not_line_ending()
172 CompareResult::Error => { in not_line_ending()
176 CompareResult::Ok => Ok((input.slice(index..), input.slice(..index))), in not_line_ending()
207 CompareResult::Ok => Ok((input.slice(1..), input.slice(0..1))), in line_ending()
208 CompareResult::Incomplete => Err(Err::Incomplete(Needed::Size(1))), in line_ending()
209 CompareResult::Error => { in line_ending()
[all …]
Dcomplete.rs9 use crate::traits::{Compare, CompareResult};
122 CompareResult::Ok => Ok((input.slice(2..), input.slice(0..2))), in crlf()
173 CompareResult::Ok => Ok((input.slice(index..), input.slice(..index))), in not_line_ending()
212 CompareResult::Ok => Ok((input.slice(1..), input.slice(0..1))), in line_ending()
213 CompareResult::Incomplete => Err(Err::Error(E::from_error_kind(input, ErrorKind::CrLf))), in line_ending()
214 CompareResult::Error => { in line_ending()
217 CompareResult::Ok => Ok((input.slice(2..), input.slice(0..2))), in line_ending()
/external/rust/crates/nom/src/bytes/
Dstreaming.rs8 use crate::traits::{Compare, CompareResult, FindSubstring, FindToken, InputIter, InputLength, Input…
38 CompareResult::Ok => Ok(i.take_split(tag_len)), in tag()
39 CompareResult::Incomplete => Err(Err::Incomplete(Needed::Size(tag_len))), in tag()
40 CompareResult::Error => { in tag()
79 CompareResult::Ok => Ok(i.take_split(tag_len)), in tag_no_case()
80 CompareResult::Incomplete => Err(Err::Incomplete(Needed::Size(tag_len))), in tag_no_case()
81 CompareResult::Error => { in tag_no_case()
Dcomplete.rs8 use crate::traits::{Compare, CompareResult, FindSubstring, FindToken, InputIter, InputLength, Input…
39 CompareResult::Ok => Ok(i.take_split(tag_len)), in tag()
81 CompareResult::Ok => Ok(i.take_split(tag_len)), in tag_no_case()
/external/angle/third_party/abseil-cpp/absl/hash/
Dhash_testing.h256 case SpyHashState::CompareResult::kEqual: in VerifyTypeImplementsAbslHashCorrectly()
260 case SpyHashState::CompareResult::kBSuffixA: in VerifyTypeImplementsAbslHashCorrectly()
265 case SpyHashState::CompareResult::kASuffixB: in VerifyTypeImplementsAbslHashCorrectly()
270 case SpyHashState::CompareResult::kUnequal: in VerifyTypeImplementsAbslHashCorrectly()
/external/libtextclassifier/abseil-cpp/absl/hash/
Dhash_testing.h256 case SpyHashState::CompareResult::kEqual: in VerifyTypeImplementsAbslHashCorrectly()
260 case SpyHashState::CompareResult::kBSuffixA: in VerifyTypeImplementsAbslHashCorrectly()
265 case SpyHashState::CompareResult::kASuffixB: in VerifyTypeImplementsAbslHashCorrectly()
270 case SpyHashState::CompareResult::kUnequal: in VerifyTypeImplementsAbslHashCorrectly()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/hash/
Dhash_testing.h256 case SpyHashState::CompareResult::kEqual: in VerifyTypeImplementsAbslHashCorrectly()
260 case SpyHashState::CompareResult::kBSuffixA: in VerifyTypeImplementsAbslHashCorrectly()
265 case SpyHashState::CompareResult::kASuffixB: in VerifyTypeImplementsAbslHashCorrectly()
270 case SpyHashState::CompareResult::kUnequal: in VerifyTypeImplementsAbslHashCorrectly()
/external/webrtc/third_party/abseil-cpp/absl/hash/
Dhash_testing.h256 case SpyHashState::CompareResult::kEqual: in VerifyTypeImplementsAbslHashCorrectly()
260 case SpyHashState::CompareResult::kBSuffixA: in VerifyTypeImplementsAbslHashCorrectly()
265 case SpyHashState::CompareResult::kASuffixB: in VerifyTypeImplementsAbslHashCorrectly()
270 case SpyHashState::CompareResult::kUnequal: in VerifyTypeImplementsAbslHashCorrectly()
/external/openscreen/third_party/abseil/src/absl/hash/
Dhash_testing.h256 case SpyHashState::CompareResult::kEqual: in VerifyTypeImplementsAbslHashCorrectly()
260 case SpyHashState::CompareResult::kBSuffixA: in VerifyTypeImplementsAbslHashCorrectly()
265 case SpyHashState::CompareResult::kASuffixB: in VerifyTypeImplementsAbslHashCorrectly()
270 case SpyHashState::CompareResult::kUnequal: in VerifyTypeImplementsAbslHashCorrectly()
/external/abseil-cpp/absl/hash/
Dhash_testing.h256 case SpyHashState::CompareResult::kEqual: in VerifyTypeImplementsAbslHashCorrectly()
260 case SpyHashState::CompareResult::kBSuffixA: in VerifyTypeImplementsAbslHashCorrectly()
265 case SpyHashState::CompareResult::kASuffixB: in VerifyTypeImplementsAbslHashCorrectly()
270 case SpyHashState::CompareResult::kUnequal: in VerifyTypeImplementsAbslHashCorrectly()
/external/rust/crates/nom/src/combinator/
Dmacros.rs984 use $crate::{Compare,CompareResult,InputLength,Slice};
987 CompareResult::Ok => {
991 CompareResult::Incomplete => {
994 CompareResult::Error => {
Dmod.rs15 use crate::traits::{Compare, CompareResult, Offset, Slice};
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dformat_types.h869 int CompareResult = _mm_movemask_epi8(CmpToSRGBThresholdMask);
874 if (CompareResult == 0xFFFF)
879 else if (CompareResult == 0x0)
/external/skqp/src/pathops/
DSkOpAngle.cpp16 static bool CompareResult(const char* func, SkString* bugOut, SkString* bugPart, int append, in CompareResult() function
25 #define COMPARE_RESULT(append, compare) CompareResult(__FUNCTION__, &bugOut, bugPart, append, \
/external/skia/src/pathops/
DSkOpAngle.cpp16 static bool CompareResult(const char* func, SkString* bugOut, SkString* bugPart, int append, in CompareResult() function
25 #define COMPARE_RESULT(append, compare) CompareResult(__FUNCTION__, &bugOut, bugPart, append, \