Home
last modified time | relevance | path

Searched refs:Compare (Results 1 – 20 of 20) sorted by relevance

/frameworks/av/media/libstagefright/foundation/tests/
DUtils_test.cpp33 ASSERT_EQ(AStringUtils::Compare("Audio", "AudioExt", 5, false), 0); in TEST_F()
34 ASSERT_EQ(AStringUtils::Compare("Audio", "audiOExt", 5, true), 0); in TEST_F()
35 ASSERT_NE(AStringUtils::Compare("Audio", "audioExt", 5, false), 0); in TEST_F()
36 ASSERT_NE(AStringUtils::Compare("Audio", "AudiOExt", 5, false), 0); in TEST_F()
38 ASSERT_LT(AStringUtils::Compare("Audio", "AudioExt", 7, false), 0); in TEST_F()
39 ASSERT_LT(AStringUtils::Compare("Audio", "audiOExt", 7, true), 0); in TEST_F()
41 ASSERT_GT(AStringUtils::Compare("AudioExt", "Audio", 7, false), 0); in TEST_F()
42 ASSERT_GT(AStringUtils::Compare("audiOext", "Audio", 7, true), 0); in TEST_F()
44 ASSERT_LT(AStringUtils::Compare("Audio", "Video", 5, false), 0); in TEST_F()
45 ASSERT_LT(AStringUtils::Compare("Audio1", "Audio2", 6, false), 0); in TEST_F()
[all …]
DBase64_test.cpp54 ASSERT_EQ(AStringUtils::Compare(expected[i].c_str(), in verifyDecode()
69 ASSERT_EQ(AStringUtils::Compare(expected[i].c_str(), out.c_str(), in verifyEncode()
/frameworks/av/media/libstagefright/foundation/
DAStringUtils.cpp23 int AStringUtils::Compare(const char *a, const char *b, size_t len, bool ignoreCase) { in Compare() function in android::AStringUtils
38 if (strLen < globIx || Compare(str, glob, globIx /* len */, ignoreCase)) { in MatchesGlob()
59 return !Compare(tail, pattern, len, ignoreCase); in MatchesGlob()
62 while (ix + len <= strLen && Compare(str + ix, pattern, len, ignoreCase)) { in MatchesGlob()
/frameworks/native/services/surfaceflinger/tests/unittests/
DStrongTypingTest.cpp26 using SpunkyType = StrongTyping<int, struct SpunkyTypeTag, Compare>; in TEST()
52 using FunkyType = StrongTyping<int, struct FunkyTypeTag, Compare, Add>; in TEST()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dstruct_field.rscript92 // Compare contents of a struct InnerOne instance against incoming argument values.
104 // Compare contents of a struct InnerOne instance within global
110 // Compare contents of element of array of struct InnerOne
116 // Compare contents of element of array of struct InnerTwo
/frameworks/native/services/surfaceflinger/Scheduler/
DStrongTyping.h45 struct Compare : Ability<T, Compare> { struct
DHwcStrongTypes.h24 using HwcConfigIndexType = StrongTyping<int, struct HwcConfigIndexTypeTag, Compare, Add, Hash>;
DVSyncDispatch.h37 using CallbackToken = StrongTyping<size_t, class CallbackTokenTag, Compare, Hash>;
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dstruct_field.rscript94 // Compare contents of a struct InnerOne instance against incoming argument values.
106 // Compare contents of a struct InnerOne instance within global
112 // Compare contents of element of array of struct InnerOne
118 // Compare contents of element of array of struct InnerTwo
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DAStringUtils.h26 static int Compare(const char *a, const char *b, size_t len, bool ignoreCase);
/frameworks/compile/mclinker/include/mcld/LD/
DBranchIsland.h128 struct Compare { struct
157 typedef HashEntry<Key, Stub*, Key::Compare> StubEntryType;
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioProfileVectorHelper.cpp387 template<typename T, typename Compare>
389 const T& input1, const T& input2, Compare comp) in intersectAndOrder()
391 std::set<typename T::value_type, Compare> set1{input1.begin(), input1.end(), comp}; in intersectAndOrder()
392 std::set<typename T::value_type, Compare> set2{input2.begin(), input2.end(), comp}; in intersectAndOrder()
/frameworks/av/media/libstagefright/codecs/common/include/
DvoMem.h48 VO_S32 (VO_API * Compare) (VO_S32 uID, VO_PTR pBuffer1, VO_PTR pBuffer2, VO_U32 uSize);
/frameworks/base/tools/aapt2/configuration/
DConfigurationParser.internal.h105 bool Compare() { in Compare() function
194 .Compare(); in operator()
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dserialization.h267 template <typename Key, typename T, typename Compare, typename Allocator>
269 const std::map<Key, T, Compare, Allocator>& m);
356 template <typename Key, typename T, typename Compare, typename Allocator>
358 const std::map<Key, T, Compare, Allocator>& v) {
644 template <typename Key, typename T, typename Compare, typename Allocator>
645 inline void SerializeType(const std::map<Key, T, Compare, Allocator>& value,
862 template <typename Key, typename T, typename Compare, typename Allocator>
863 inline void SerializeObject(const std::map<Key, T, Compare, Allocator>&, MessageWriter*, void*&);
1007 template <typename Key, typename T, typename Compare, typename Allocator>
1008 inline void SerializeObject(const std::map<Key, T, Compare, Allocator>& v,
[all …]
Dencoding.h470 template <typename Key, typename T, typename Compare, typename Allocator>
472 const std::map<Key, T, Compare, Allocator>& value) { in EncodeType() argument
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/
Dscale_sig_opt.s34 CMP r2, #0 @Compare exp and 0
/frameworks/av/drm/libmediadrm/tests/
DDrmMetrics_test.cpp332 ASSERT_TRUE(differ.Compare(expectedMetricsProto, metricsProto)) in TEST_F()
378 ASSERT_TRUE(differ.Compare(expectedMetricsProto, metricsProto)) in TEST_F()
420 ASSERT_TRUE(differ.Compare(expectedMetricsProto, metricsProto)) in TEST_F()
/frameworks/compile/slang/
Dslang_rs_context.h280 template <class FilterIn, class Compare>
281 std::vector<RSExportType *> getReduceResultTypes(FilterIn Filt, Compare Comp) const { in getReduceResultTypes()
/frameworks/ml/nn/common/
DMetaModel.cpp268 class Compare { class in android::nn::MetaModel::OrigOperandToSlicedInputOperandIndex
316 std::map<Operand, uint32_t, Compare> mMap;