Searched defs:cmp (Results 1 - 8 of 8) sorted by relevance
/system/core/logd/ |
H A D | LogWhiteBlackList.h | 33 int cmp(uid_t uid, pid_t pid) const; 44 int cmp(LogBufferElement *e) const { return cmp(e->getUid(), e->getPid()); } function in class:Prune
|
H A D | LogWhiteBlackList.cpp | 28 int Prune::cmp(uid_t uid, pid_t pid) const { function in class:Prune 219 // ToDo: Lists are in sorted order, Prune->cmp() returns + or - 226 if (!(*it)->cmp(element)) { 236 if (!(*it)->cmp(element)) {
|
/system/vold/ |
H A D | vdc.c | 87 char *cmp; local 90 asprintf(&cmp, "%s%s", argv[i], (i == (argc -1)) ? "" : " "); 92 asprintf(&cmp, "\"%s\"%s", argv[i], (i == (argc -1)) ? "" : " "); 94 ret = strlcat(final_cmd, cmp, sizeof(final_cmd)); 97 free(cmp);
|
/system/core/liblog/ |
H A D | event_tag_map.c | 134 int cmp; local 137 cmp = map->tagArray[mid].tagIndex - tag; 138 if (cmp < 0) { 141 } else if (cmp > 0) {
|
/system/core/libutils/ |
H A D | VectorImpl.cpp | 166 status_t VectorImpl::sort(VectorImpl::compar_t cmp) argument 168 return sort(sortProxy, (void*)cmp); 171 status_t VectorImpl::sort(VectorImpl::compar_r_t cmp, void* state) argument 184 if (cmp(curr, item, state) > 0) { 208 } while (j>=0 && (cmp(curr, temp, state) > 0));
|
/system/core/include/utils/ |
H A D | Vector.h | 174 inline status_t sort(compar_t cmp); 175 inline status_t sort(compar_r_t cmp, void* state); 377 status_t Vector<TYPE>::sort(Vector<TYPE>::compar_t cmp) { argument 378 return VectorImpl::sort((VectorImpl::compar_t)cmp); 382 status_t Vector<TYPE>::sort(Vector<TYPE>::compar_r_t cmp, void* state) { argument 383 return VectorImpl::sort((VectorImpl::compar_r_t)cmp, state);
|
/system/extras/ext4_utils/ |
H A D | contents.c | 322 int cmp = next->e_name_index - entry->e_name_index; local 323 if (cmp == 0) 324 cmp = next->e_name_len - entry->e_name_len; 325 if (cmp == 0) 326 cmp = memcmp(next->e_name, entry->e_name, next->e_name_len); 327 if (cmp < 0) { 331 if (cmp == 0) {
|
/system/extras/ksmutils/ |
H A D | ksminfo.c | 412 int cmp = pg_b->vaddr_count - pg_a->vaddr_count; local 414 return cmp ? cmp : pg_b->count - pg_a->count;
|
Completed in 97 milliseconds