/bionic/tests/ |
search_test.cpp | 57 static int node_cmp(const void* lhs, const void* rhs) { function 86 ASSERT_EQ(nullptr, tfind(&n1, &root, node_cmp)); 87 ASSERT_EQ(nullptr, tfind(&n2, &root, node_cmp)); 88 ASSERT_EQ(nullptr, tfind(&n3, &root, node_cmp)); 91 void* i1 = tsearch(&n1, &root, node_cmp); 95 ASSERT_EQ(i1, tfind(&n1, &root, node_cmp)); 96 ASSERT_EQ(nullptr, tfind(&n2, &root, node_cmp)); 97 ASSERT_EQ(nullptr, tfind(&n3, &root, node_cmp)); 100 ASSERT_NE(nullptr, tsearch(&n2, &root, node_cmp)); 101 ASSERT_NE(nullptr, tsearch(&n3, &root, node_cmp)); [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
rblist.h | 25 int (*node_cmp)(struct rb_node *rbn, const void *entry); member in struct:rblist
|
rblist.c | 24 rc = rblist->node_cmp(parent, new_entry); 61 rc = rblist->node_cmp(parent, entry);
|
intlist.c | 101 ilist->rblist.node_cmp = intlist__node_cmp;
|
strlist.c | 141 slist->rblist.node_cmp = strlist__node_cmp;
|
/external/chromium_org/third_party/boringssl/src/crypto/x509v3/ |
pcy_node.c | 66 static int node_cmp(const X509_POLICY_NODE **a, function 74 return sk_X509_POLICY_NODE_new(node_cmp);
|
/external/openssl/crypto/x509v3/ |
pcy_node.c | 65 static int node_cmp(const X509_POLICY_NODE * const *a, function 73 return sk_X509_POLICY_NODE_new(node_cmp);
|
/external/fio/t/ |
genzipf.c | 163 static int node_cmp(const void *p1, const void *p2) function 227 qsort(nodes, j, sizeof(struct node), node_cmp);
|
/external/jemalloc/test/unit/ |
rb.c | 24 node_cmp(node_t *a, node_t *b) { function 43 rb_gen(static, tree_, tree_t, node_t, link, node_cmp);
|