Searched refs:compare (Results 1 - 25 of 42) sorted by relevance

12

/system/chre/util/include/chre/util/
H A Dheap.h36 * @param compare The object that provides the custom ordering of the elements.
39 void push_heap(ContainerType& container, const CompareFunction& compare);
47 * @param compare The object that provides the custom ordering of the elements.
50 void pop_heap(ContainerType& container, const CompareFunction& compare);
60 * @param compare The object that provides the custom ordering of the elements.
64 const CompareFunction& compare);
H A Dheap_impl.h32 const CompareFunction& compare) {
37 if (compare(container[parent], container[current])) {
48 const CompareFunction& compare) {
59 compare(container[child], container[child + 1])) {
66 compare(container[current], container[child])) {
78 void push_heap(ContainerType& container, const CompareFunction& compare) {
81 siftUp(container, container.size() - 1, compare);
86 void pop_heap(ContainerType& container, const CompareFunction& compare) {
90 siftDown(container, 0, compare);
96 const CompareFunction& compare) {
31 siftUp(ContainerType& container, size_t index, const CompareFunction& compare) argument
47 siftDown(ContainerType& container, size_t index, const CompareFunction& compare) argument
95 remove_heap(ContainerType& container, size_t index, const CompareFunction& compare) argument
[all...]
H A Dpriority_queue.h41 * Constructs the object with a compare type that provides a strict weak
44 * @param compare The comparator that returns true if left < right.
46 PriorityQueue(const CompareFunction& compare);
H A Dpriority_queue_impl.h33 const CompareFunction& compare)
34 : mCompare(compare) {}
32 PriorityQueue( const CompareFunction& compare) argument
/system/extras/alloc-stress/
H A DAndroid.mk6 LOCAL_CFLAGS += -g -Wall -Werror -Wno-missing-field-initializers -Wno-sign-compare
/system/extras/memcpy-perf/
H A DAndroid.mk6 LOCAL_CFLAGS += -g -Wall -Werror -Wno-missing-field-initializers -Wno-sign-compare -O3
/system/extras/zram-perf/
H A DAndroid.mk6 LOCAL_CFLAGS += -g -Wall -Werror -Wno-missing-field-initializers -Wno-sign-compare -Wno-unused-parameter
/system/extras/mmap-perf/
H A DAndroid.mk26 LOCAL_CFLAGS += -g -Wall -Werror -Wno-missing-field-initializers -Wno-sign-compare -O3
/system/core/demangle/
H A Ddemangle.cpp64 bool compare = false; local
68 compare = true;
85 if (compare) {
/system/tpm/trunks/
H A Dpassword_authorization_delegate_test.cc50 EXPECT_EQ(expected_auth.compare(authorization), 0);
90 ASSERT_EQ(plaintext_parameter.compare(encrypted_parameter), 0);
93 EXPECT_EQ(plaintext_parameter.compare(encrypted_parameter), 0);
H A Dhmac_session_test.cc93 EXPECT_EQ(0, test_auth.compare(entity_auth));
102 EXPECT_EQ(0, test_auth.compare(entity_auth));
H A Dhmac_authorization_delegate_test.cc58 EXPECT_EQ(0, expected_key.compare(delegate.session_key_));
76 EXPECT_EQ(0, plaintext_parameter.compare(encrypted_parameter));
78 EXPECT_EQ(0, plaintext_parameter.compare(encrypted_parameter));
83 EXPECT_NE(0, plaintext_parameter.compare(encrypted_parameter));
90 EXPECT_EQ(0, plaintext_parameter.compare(encrypted_parameter));
H A Dtrunks_client_test.cc389 if (pcr_data.compare(expected_pcr_data) != 0) {
498 if (plaintext.compare("plaintext") != 0) {
787 if (plaintext.compare("plaintext") != 0) {
873 if (nv_data.compare(new_nvdata) != 0) {
891 if (nv_data.compare(new_nvdata) != 0) {
1009 if (plaintext.compare("plaintext") != 0) {
/system/chre/build/variant/
H A Dgoogle_x86_googletest.mk17 TARGET_CFLAGS += -Wno-sign-compare
/system/extras/verity/fec/tests/
H A Dfec.py51 def compare(a, b): function
76 if compare(temp_img.name, temp_out.name) != 0:
/system/security/keystore/
H A Dtest-keystore60 function compare() { function
268 compare
/system/media/brillo/audio/audioservice/
H A DAndroid.mk87 LOCAL_CFLAGS += -Wno-sign-compare
108 LOCAL_CFLAGS := -Wno-sign-compare -Wall -Werror
/system/sepolicy/tools/
H A Dcheckfc.c341 bool compare = false; local
349 compare = true;
382 if (compare && backend != SELABEL_CTX_FILE) {
388 if (compare) {
/system/core/include/utils/
H A DString16.h109 inline int compare(const String16& other) const;
140 return lhs.compare(rhs);
177 inline int String16::compare(const String16& other) const function in class:android::String16
H A DString8.h114 inline int compare(const String8& other) const;
256 return lhs.compare(rhs);
340 inline int String8::compare(const String8& other) const function in class:android::String8
/system/core/libutils/include/utils/
H A DString16.h109 inline int compare(const String16& other) const;
140 return lhs.compare(rhs);
177 inline int String16::compare(const String16& other) const function in class:android::String16
H A DString8.h114 inline int compare(const String8& other) const;
256 return lhs.compare(rhs);
340 inline int String8::compare(const String8& other) const function in class:android::String8
/system/core/liblog/
H A Dpmsg_reader.c456 int compare = 0; local
464 compare = (nl > nr) ? 1 : -1;
466 if (compare == 0) {
467 compare = strcmp(names->name, r);
469 if (compare <= 0) {
/system/security/keystore/tests/
H A DMakefile36 -Werror=sign-compare -Wmissing-declarations -ftest-coverage -fno-permissive \
/system/core/cpio/
H A Dmkbootfs.c155 static int compare(const void* a, const void* b) { function
206 qsort(names, entries, sizeof(char*), compare);

Completed in 574 milliseconds

12