Home
last modified time | relevance | path

Searched refs:compare (Results 1 – 25 of 69) 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.h35 const CompareFunction& compare) in PriorityQueue() argument
36 : 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/extras/alloc-stress/
DAndroid.bp29 "-Wno-sign-compare"
41 "-Wno-sign-compare"
/system/extras/zram-perf/
DAndroid.bp8 "-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/apex/apexd/
Dapex_database.h49 int compare_val = loop_name.compare(rhs.loop_name);
55 compare_val = full_path.compare(rhs.full_path);
61 compare_val = mount_point.compare(rhs.mount_point);
/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/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/sepolicy/tests/
DFcSort.py83 def compare(a, b): function
117 Fc.sort(cmp=compare)
/system/chre/build/variant/
Dgoogle_x86_googletest.mk21 TARGET_CFLAGS += -Wno-sign-compare
/system/core/libsync/
DAndroid.bp44 "-Wno-sign-compare",
/system/netd/
DAndroid.bp14 "-Wsign-compare",
/system/security/keystore/
Dtest-keystore60 function compare() { function
268 compare
/system/core/adb/fastdeploy/deploylib/src/com/android/fastdeploy/
DPatchUtils.java68 public int compare(StoredEntry lhs, StoredEntry rhs) { in getAPKMetaData()
70 return Long.compare(getOffsetFromEntry(lhs), getOffsetFromEntry(rhs)); in getAPKMetaData()
/system/core/liblog/
Dpmsg_reader.cpp450 int compare = 0; in __android_log_pmsg_file_read() local
458 compare = (nl > nr) ? 1 : -1; in __android_log_pmsg_file_read()
460 if (compare == 0) { in __android_log_pmsg_file_read()
461 compare = strcmp(names->name, r); in __android_log_pmsg_file_read()
463 if (compare <= 0) { in __android_log_pmsg_file_read()
/system/extras/mmap-perf/
DAndroid.bp32 "-Wno-sign-compare",
/system/vold/
DFileDeviceUtils.cpp55 path.compare(0, l, mnt->mnt_dir) == 0) { in BlockDeviceForPath()
/system/core/adb/fastdeploy/deploypatchgenerator/src/com/android/fastdeploy/
DDeployPatchGenerator.java142 public int compare( in getIdenticalContents()
144 return Long.compare(p1.getValue().getDataOffset(), p2.getValue().getDataOffset()); in getIdenticalContents()
/system/sepolicy/prebuilts/api/27.0/public/
Dfsck_untrusted.te24 # Allow stat access to all block devices so that fsck can compare
/system/sepolicy/prebuilts/api/29.0/public/
Dfsck_untrusted.te24 # Allow stat access to all block devices so that fsck can compare
/system/sepolicy/prebuilts/api/26.0/public/
Dfsck_untrusted.te24 # Allow stat access to all block devices so that fsck can compare

123