Home
last modified time | relevance | path

Searched refs:compare (Results 1 – 25 of 66) sorted by relevance

123

/system/chre/util/include/chre/util/
Dheap_impl.h32 const CompareFunction& compare) { in siftUp() argument
37 if (compare(container[parent], container[current])) { in siftUp()
48 const CompareFunction& compare) { in siftDown() argument
59 compare(container[child], container[child + 1])) { in siftDown()
66 compare(container[current], container[child])) { in siftDown()
78 void push_heap(ContainerType& container, const CompareFunction& compare) { in push_heap() argument
81 siftUp(container, container.size() - 1, compare); in push_heap()
86 void pop_heap(ContainerType& container, const CompareFunction& compare) { in pop_heap() argument
90 siftDown(container, 0, compare); in pop_heap()
96 const CompareFunction& compare) { in remove_heap() argument
[all …]
Dheap.h39 void push_heap(ContainerType& container, const CompareFunction& compare);
50 void pop_heap(ContainerType& container, const CompareFunction& compare);
64 const CompareFunction& compare);
Dpriority_queue_impl.h33 const CompareFunction& compare) in PriorityQueue() argument
34 : mCompare(compare) {} in PriorityQueue()
Dpriority_queue.h46 PriorityQueue(const CompareFunction& compare);
/system/core/demangle/
Ddemangle.cpp71 static int Filter(bool compare) { in Filter() argument
93 if (compare) Compare(identifier.c_str(), demangled_name); in Filter()
110 bool compare = false; in main() local
114 compare = true; in main()
122 if (optind == argc) return Filter(compare); in main()
130 if (compare) Compare(name, demangled_name); in main()
/system/tpm/trunks/
Dpassword_authorization_delegate_test.cc50 EXPECT_EQ(expected_auth.compare(authorization), 0); in TEST()
90 ASSERT_EQ(plaintext_parameter.compare(encrypted_parameter), 0); in TEST()
93 EXPECT_EQ(plaintext_parameter.compare(encrypted_parameter), 0); in TEST()
Dhmac_authorization_delegate_test.cc58 EXPECT_EQ(0, expected_key.compare(delegate.session_key_)); in TEST()
76 EXPECT_EQ(0, plaintext_parameter.compare(encrypted_parameter)); in TEST()
78 EXPECT_EQ(0, plaintext_parameter.compare(encrypted_parameter)); in TEST()
83 EXPECT_NE(0, plaintext_parameter.compare(encrypted_parameter)); in TEST()
90 EXPECT_EQ(0, plaintext_parameter.compare(encrypted_parameter)); in TEST()
Dhmac_session_test.cc93 EXPECT_EQ(0, test_auth.compare(entity_auth)); in TEST_F()
102 EXPECT_EQ(0, test_auth.compare(entity_auth)); in TEST_F()
/system/extras/alloc-stress/
DAndroid.bp29 "-Wno-sign-compare"
41 "-Wno-sign-compare"
/system/extras/verity/fec/tests/
Dfec.py51 def compare(a, b): function
76 if compare(temp_img.name, temp_out.name) != 0:
/system/extras/zram-perf/
DAndroid.mk5 LOCAL_CFLAGS += -g -Wall -Werror -Wno-missing-field-initializers -Wno-sign-compare -Wno-unused-para…
/system/core/libutils/include/utils/
DString16.h108 inline int compare(const String16& other) const;
139 return lhs.compare(rhs); in ANDROID_TRIVIAL_MOVE_TRAIT()
176 inline int String16::compare(const String16& other) const in compare() function
DString8.h114 inline int compare(const String8& other) const;
256 return lhs.compare(rhs); in ANDROID_TRIVIAL_MOVE_TRAIT()
340 inline int String8::compare(const String8& other) const in compare() function
/system/extras/memcpy-perf/
DAndroid.mk5 LOCAL_CFLAGS += -g -Wall -Werror -Wno-missing-field-initializers -Wno-sign-compare -O3
/system/sepolicy/tools/
Dcheckfc.c341 bool compare = false; in main() local
349 compare = true; in main()
382 if (compare && backend != SELABEL_CTX_FILE) { in main()
388 if (compare) { in main()
/system/extras/mmap-perf/
DAndroid.mk26 LOCAL_CFLAGS += -g -Wall -Werror -Wno-missing-field-initializers -Wno-sign-compare -O3
/system/sepolicy/tests/
DFcSort.py83 def compare(a, b): function
117 Fc.sort(cmp=compare)
/system/chre/build/variant/
Dgoogle_x86_googletest.mk20 TARGET_CFLAGS += -Wno-sign-compare
/system/security/keystore/
Dtest-keystore60 function compare() { function
268 compare
/system/core/liblog/
Dpmsg_reader.c456 int compare = 0; in __android_log_pmsg_file_read() local
464 compare = (nl > nr) ? 1 : -1; in __android_log_pmsg_file_read()
466 if (compare == 0) { in __android_log_pmsg_file_read()
467 compare = strcmp(names->name, r); in __android_log_pmsg_file_read()
469 if (compare <= 0) { in __android_log_pmsg_file_read()
/system/core/libsync/
DAndroid.bp58 "-Wno-sign-compare",
/system/netd/libbpf/
DBpfMapTest.cpp224 EXPECT_EQ(0, testMap1.getPinnedPath().compare(PINNED_MAP_PATH)); in TEST_F()
239 EXPECT_EQ(0, testMap1.getPinnedPath().compare(PINNED_MAP_PATH)); in TEST_F()
243 EXPECT_EQ(0, testMap2.getPinnedPath().compare(PINNED_MAP_PATH)); in TEST_F()
/system/vold/
DFileDeviceUtils.cpp58 path.compare(0, l, mnt->mnt_dir) == 0) { in BlockDeviceForPath()
/system/sepolicy/public/
Dfsck_untrusted.te24 # Allow stat access to all block devices so that fsck can compare
/system/sepolicy/prebuilts/api/27.0/public/
Dfsck_untrusted.te24 # Allow stat access to all block devices so that fsck can compare

123