Home
last modified time | relevance | path

Searched refs:compare (Results 1 – 25 of 75) 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/apex/apexd/
Dapex_database.h56 int compare_val = loop_name.compare(rhs.loop_name);
62 compare_val = full_path.compare(rhs.full_path);
68 compare_val = mount_point.compare(rhs.mount_point);
74 compare_val = device_name.compare(rhs.device_name);
/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/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/
Dfc_sort.py86 def compare(a, b): function
120 Fc.sort(cmp=compare)
/system/core/liblog/
Dpmsg_reader.cpp332 int compare = 0; in __android_log_pmsg_file_read() local
340 compare = (nl > nr) ? 1 : -1; in __android_log_pmsg_file_read()
342 if (compare == 0) { in __android_log_pmsg_file_read()
343 compare = strcmp(names->name, r); in __android_log_pmsg_file_read()
345 if (compare <= 0) { in __android_log_pmsg_file_read()
/system/chre/build/variant/
Dgoogle_x86_googletest.mk28 TARGET_CFLAGS += -Wno-sign-compare
/system/core/libsync/
DAndroid.bp51 "-Wno-sign-compare",
/system/core/libutils/include/utils/
DString8.h99 inline int compare(const String8& other) const;
246 return lhs.compare(rhs); in compare_type()
330 inline int String8::compare(const String8& other) const in compare() function
DString16.h95 inline int compare(const String16& other) const;
235 return lhs.compare(rhs); in compare_type()
272 inline int String16::compare(const String16& other) const in compare() function
/system/security/keystore/
Dtest-keystore60 function compare() { function
268 compare
/system/extras/mmap-perf/
DAndroid.bp32 "-Wno-sign-compare",
/system/netd/
DAndroid.bp26 "-Wsign-compare",
/system/vold/
DFileDeviceUtils.cpp55 path.compare(0, l, mnt->mnt_dir) == 0) { in BlockDeviceForPath()
/system/memory/libmeminfo/tools/
Dlibrank.cpp321 if (arg.compare("json") == 0) { in get_format()
324 if (arg.compare("csv") == 0) { in get_format()
327 if (arg.compare("raw") == 0) { in get_format()
/system/linkerconfig/contents/tests/configuration/include/
Dlinkerconfigparser.h164 if (property_descs[0].compare("isolated") == 0) { in ParseNamespaceCommand()
169 } else if (property_descs[0].compare("visible") == 0) { in ParseNamespaceCommand()
/system/sepolicy/prebuilts/api/26.0/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
/system/sepolicy/public/
Dfsck_untrusted.te24 # Allow stat access to all block devices so that fsck can compare
/system/sepolicy/prebuilts/api/28.0/public/
Dfsck_untrusted.te24 # Allow stat access to all block devices so that fsck can compare

123