Home
last modified time | relevance | path

Searched refs:leaf (Results 1 – 25 of 847) sorted by relevance

12345678910>>...34

/external/cronet/net/cert/
Dmerkle_tree_leaf_unittest.cc73 MerkleTreeLeaf leaf; in TEST_F() local
74 ASSERT_TRUE(GetMerkleTreeLeaf(test_cert_.get(), x509_sct_.get(), &leaf)); in TEST_F()
76 EXPECT_EQ(SignedEntryData::LOG_ENTRY_TYPE_X509, leaf.signed_entry.type); in TEST_F()
77 EXPECT_FALSE(leaf.signed_entry.leaf_certificate.empty()); in TEST_F()
78 EXPECT_TRUE(leaf.signed_entry.tbs_certificate.empty()); in TEST_F()
80 EXPECT_EQ(x509_sct_->timestamp, leaf.timestamp); in TEST_F()
81 EXPECT_EQ(x509_sct_->extensions, leaf.extensions); in TEST_F()
85 MerkleTreeLeaf leaf; in TEST_F() local
87 GetMerkleTreeLeaf(test_precert_.get(), precert_sct_.get(), &leaf)); in TEST_F()
89 EXPECT_EQ(SignedEntryData::LOG_ENTRY_TYPE_PRECERT, leaf.signed_entry.type); in TEST_F()
[all …]
Dct_log_verifier_unittest.cc121 size_t leaf; member
193 size_t leaf, in VerifyAuditProof() argument
198 return log.VerifyAuditProof(ct::MerkleAuditProof(leaf, tree_size, proof), in VerifyAuditProof()
218 size_t leaf, in CheckVerifyAuditProof() argument
224 VerifyAuditProof(log, leaf, tree_size, proof, root_hash, leaf_hash)) in CheckVerifyAuditProof()
225 << "proof for leaf " << leaf << " did not pass verification"; in CheckVerifyAuditProof()
227 VerifyAuditProof(log, leaf - 1, tree_size, proof, root_hash, leaf_hash)) in CheckVerifyAuditProof()
230 VerifyAuditProof(log, leaf + 1, tree_size, proof, root_hash, leaf_hash)) in CheckVerifyAuditProof()
233 VerifyAuditProof(log, leaf ^ 2, tree_size, proof, root_hash, leaf_hash)) in CheckVerifyAuditProof()
236 VerifyAuditProof(log, leaf, tree_size * 2, proof, root_hash, leaf_hash)) in CheckVerifyAuditProof()
[all …]
Dcert_verify_proc_builtin_unittest.cc243 auto [leaf, intermediate, root] = CertBuilder::CreateSimpleChain3(); in TEST_F()
245 scoped_refptr<X509Certificate> chain = leaf->GetX509CertificateChain(); in TEST_F()
264 auto [leaf, root] = CertBuilder::CreateSimpleChain2(); in TEST_F()
270 leaf->SetCrlDistributionPointUrl( in TEST_F()
271 CreateAndServeCrl(&test_server, root.get(), {leaf->GetSerialNumber()})); in TEST_F()
275 scoped_refptr<X509Certificate> chain = leaf->GetX509CertificateChain(); in TEST_F()
318 auto [leaf, intermediate, root] = CertBuilder::CreateSimpleChain3(); in TEST_F()
354 leaf->SetCrlDistributionPointUrls(crl_urls); in TEST_F()
358 scoped_refptr<X509Certificate> chain = leaf->GetX509CertificateChain(); in TEST_F()
393 auto [leaf, intermediate, root] = CertBuilder::CreateSimpleChain3(); in TEST_F()
[all …]
Dcert_verify_proc_unittest.cc472 auto [leaf, intermediate, root] = CertBuilder::CreateSimpleChain3(); in TEST_P()
473 scoped_refptr<X509Certificate> chain = leaf->GetX509CertificateChain(); in TEST_P()
507 auto [leaf, root] = CertBuilder::CreateSimpleChain2(); in TEST_P()
513 leaf->SetCertificatePolicies({kOtherTestCertPolicy, kEVTestCertPolicy}); in TEST_P()
515 scoped_refptr<X509Certificate> cert = leaf->GetX509Certificate(); in TEST_P()
549 auto [leaf, root] = CertBuilder::CreateSimpleChain2(); in TEST_P()
552 leaf->SetCertificatePolicies({kEVTestCertPolicy}); in TEST_P()
556 scoped_refptr<X509Certificate> cert = leaf->GetX509Certificate(); in TEST_P()
579 auto [leaf, root] = CertBuilder::CreateSimpleChain2(); in TEST_P()
582 leaf->SetCertificatePolicies({kEVTestCertPolicy}); in TEST_P()
[all …]
/external/jemalloc_new/src/
Drtree.c53 rtree_leaf_dalloc_impl(tsdn_t *tsdn, rtree_t *rtree, rtree_leaf_elm_t *leaf) { in rtree_leaf_dalloc_impl() argument
78 rtree_leaf_elm_t *leaf = in rtree_delete_subtree() local
81 if (leaf != NULL) { in rtree_delete_subtree()
82 rtree_leaf_dalloc(tsdn, rtree, leaf); in rtree_delete_subtree()
135 rtree_leaf_elm_t *leaf = atomic_load_p(elmp, ATOMIC_RELAXED); in rtree_leaf_init() local
136 if (leaf == NULL) { in rtree_leaf_init()
137 leaf = rtree_leaf_alloc(tsdn, rtree, ZU(1) << in rtree_leaf_init()
139 if (leaf == NULL) { in rtree_leaf_init()
147 atomic_store_p(elmp, leaf, ATOMIC_RELEASE); in rtree_leaf_init()
151 return leaf; in rtree_leaf_init()
[all …]
/external/e2fsprogs/lib/ext2fs/
Dnls_utf8.c487 utf8leaf_t *leaf;
496 leaf = utf8lookup(data, hangul, s);
497 if (!leaf)
500 leaf_age = utf8agetab[LEAF_GEN(leaf)];
517 utf8leaf_t *leaf;
526 leaf = utf8lookup(data, hangul, s);
527 if (!leaf)
529 leaf_age = utf8agetab[LEAF_GEN(leaf)];
545 utf8leaf_t *leaf;
554 leaf = utf8nlookup(data, hangul, s, len);
[all …]
/external/bcc/examples/networking/vlan_learning/
Dvlan_learning.c28 struct ifindex_leaf_t *leaf = ingress.lookup(&src_mac); in handle_phys2virt() local
29 if (leaf) { in handle_phys2virt()
30 lock_xadd(&leaf->tx_pkts, 1); in handle_phys2virt()
31 lock_xadd(&leaf->tx_bytes, skb->len); in handle_phys2virt()
33 int out_ifindex = leaf->out_ifindex; in handle_phys2virt()
44 bpf_clone_redirect(skb, leaf->out_ifindex, 0); in handle_phys2virt()
55 struct ifindex_leaf_t *leaf = egress.lookup(&src_ifindex); in handle_virt2phys() local
56 if (leaf) { in handle_virt2phys()
57 lock_xadd(&leaf->tx_pkts, 1); in handle_virt2phys()
58 lock_xadd(&leaf->tx_bytes, skb->len); in handle_virt2phys()
[all …]
/external/f2fs-tools/lib/
Dnls_utf8.c484 utf8leaf_t *leaf;
493 leaf = utf8lookup(data, hangul, s);
494 if (!leaf)
497 leaf_age = utf8agetab[LEAF_GEN(leaf)];
514 utf8leaf_t *leaf;
523 leaf = utf8lookup(data, hangul, s);
524 if (!leaf)
526 leaf_age = utf8agetab[LEAF_GEN(leaf)];
542 utf8leaf_t *leaf;
551 leaf = utf8nlookup(data, hangul, s, len);
[all …]
/external/bcc/tests/python/
Dtest_call1.c19 u64 *leaf = stats.lookup(&key); in parse_ether() local
20 if (leaf) (*leaf)++; in parse_ether()
35 u64 *leaf = stats.lookup(&key); in parse_arp() local
36 if (leaf) (*leaf)++; in parse_arp()
47 u64 *leaf = stats.lookup(&key); in parse_ip() local
48 if (leaf) (*leaf)++; in parse_ip()
56 u64 *leaf = stats.lookup(&key); in eop() local
57 if (leaf) (*leaf)++; in eop()
/external/grpc-grpc-java/context/src/test/java/io/grpc/
DPersistentHashArrayMappedTrieTest.java38 Leaf<Key, Object> leaf = new Leaf<Key, Object>(key, value1); in leaf_replace() local
39 Node<Key, Object> ret = leaf.put(key, value2, key.hashCode(), 0); in leaf_replace()
43 assertSame(value1, leaf.get(key, key.hashCode(), 0)); in leaf_replace()
45 assertEquals(1, leaf.size()); in leaf_replace()
55 Leaf<Key, Object> leaf = new Leaf<Key, Object>(key1, value1); in leaf_collision() local
56 Node<Key, Object> ret = leaf.put(key2, value2, key2.hashCode(), 0); in leaf_collision()
61 assertSame(value1, leaf.get(key1, key1.hashCode(), 0)); in leaf_collision()
62 assertSame(null, leaf.get(key2, key2.hashCode(), 0)); in leaf_collision()
64 assertEquals(1, leaf.size()); in leaf_collision()
74 Leaf<Key, Object> leaf = new Leaf<Key, Object>(key1, value1); in leaf_insert() local
[all …]
/external/angle/third_party/abseil-cpp/absl/strings/internal/
Dcord_rep_btree_test.cc205 CordRepBtree* leaf = CordRepBtree::Create(MakeHexFlat(0)); in MakeLeaf() local
207 leaf = CordRepBtree::Append(leaf, MakeHexFlat(i)); in MakeLeaf()
209 return leaf; in MakeLeaf()
359 auto* leaf = CordRepBtree::Create(flat); in TEST() local
360 EXPECT_THAT(leaf->size(), Eq(1u)); in TEST()
361 EXPECT_THAT(leaf->height(), Eq(0)); in TEST()
362 EXPECT_THAT(leaf->Edges(), ElementsAre(flat)); in TEST()
363 CordRepBtree::Unref(leaf); in TEST()
367 auto* leaf = CordRepBtree::Create(MakeFlat("a")); in TEST() local
368 CordRepBtree* tree = CordRepBtree::New(leaf); in TEST()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/strings/internal/
Dcord_rep_btree_test.cc205 CordRepBtree* leaf = CordRepBtree::Create(MakeHexFlat(0)); in MakeLeaf() local
207 leaf = CordRepBtree::Append(leaf, MakeHexFlat(i)); in MakeLeaf()
209 return leaf; in MakeLeaf()
359 auto* leaf = CordRepBtree::Create(flat); in TEST() local
360 EXPECT_THAT(leaf->size(), Eq(1u)); in TEST()
361 EXPECT_THAT(leaf->height(), Eq(0)); in TEST()
362 EXPECT_THAT(leaf->Edges(), ElementsAre(flat)); in TEST()
363 CordRepBtree::Unref(leaf); in TEST()
367 auto* leaf = CordRepBtree::Create(MakeFlat("a")); in TEST() local
368 CordRepBtree* tree = CordRepBtree::New(leaf); in TEST()
[all …]
/external/cronet/third_party/abseil-cpp/absl/strings/internal/
Dcord_rep_btree_test.cc205 CordRepBtree* leaf = CordRepBtree::Create(MakeHexFlat(0)); in MakeLeaf() local
207 leaf = CordRepBtree::Append(leaf, MakeHexFlat(i)); in MakeLeaf()
209 return leaf; in MakeLeaf()
359 auto* leaf = CordRepBtree::Create(flat); in TEST() local
360 EXPECT_THAT(leaf->size(), Eq(1u)); in TEST()
361 EXPECT_THAT(leaf->height(), Eq(0)); in TEST()
362 EXPECT_THAT(leaf->Edges(), ElementsAre(flat)); in TEST()
363 CordRepBtree::Unref(leaf); in TEST()
367 auto* leaf = CordRepBtree::Create(MakeFlat("a")); in TEST() local
368 CordRepBtree* tree = CordRepBtree::New(leaf); in TEST()
[all …]
/external/abseil-cpp/absl/strings/internal/
Dcord_rep_btree_test.cc205 CordRepBtree* leaf = CordRepBtree::Create(MakeHexFlat(0)); in MakeLeaf() local
207 leaf = CordRepBtree::Append(leaf, MakeHexFlat(i)); in MakeLeaf()
209 return leaf; in MakeLeaf()
358 auto* leaf = CordRepBtree::Create(flat); in TEST() local
359 EXPECT_THAT(leaf->size(), Eq(1)); in TEST()
360 EXPECT_THAT(leaf->height(), Eq(0)); in TEST()
361 EXPECT_THAT(leaf->Edges(), ElementsAre(flat)); in TEST()
362 CordRepBtree::Unref(leaf); in TEST()
366 auto* leaf = CordRepBtree::Create(MakeFlat("a")); in TEST() local
367 CordRepBtree* tree = CordRepBtree::New(leaf); in TEST()
[all …]
/external/tensorflow/third_party/absl/abseil-cpp/absl/strings/internal/
Dcord_rep_btree_test.cc205 CordRepBtree* leaf = CordRepBtree::Create(MakeHexFlat(0)); in MakeLeaf() local
207 leaf = CordRepBtree::Append(leaf, MakeHexFlat(i)); in MakeLeaf()
209 return leaf; in MakeLeaf()
358 auto* leaf = CordRepBtree::Create(flat); in TEST() local
359 EXPECT_THAT(leaf->size(), Eq(1)); in TEST()
360 EXPECT_THAT(leaf->height(), Eq(0)); in TEST()
361 EXPECT_THAT(leaf->Edges(), ElementsAre(flat)); in TEST()
362 CordRepBtree::Unref(leaf); in TEST()
366 auto* leaf = CordRepBtree::Create(MakeFlat("a")); in TEST() local
367 CordRepBtree* tree = CordRepBtree::New(leaf); in TEST()
[all …]
/external/bcc/tools/
Ddeadlock.c77 struct thread_to_held_mutex_leaf_t *leaf = in trace_mutex_acquire() local
79 if (!leaf) { in trace_mutex_acquire()
92 if (leaf->held_mutexes[i].mutex == mutex) { in trace_mutex_acquire()
104 if (!leaf->held_mutexes[i].mutex) { in trace_mutex_acquire()
106 leaf->held_mutexes[i].mutex = mutex; in trace_mutex_acquire()
107 leaf->held_mutexes[i].stack_id = stack_id; in trace_mutex_acquire()
115 edge_key.mutex1 = leaf->held_mutexes[i].mutex; in trace_mutex_acquire()
119 edge_leaf.mutex1_stack_id = leaf->held_mutexes[i].stack_id; in trace_mutex_acquire()
151 struct thread_to_held_mutex_leaf_t *leaf = in trace_mutex_release() local
153 if (!leaf) { in trace_mutex_release()
[all …]
/external/e2fsprogs/util/
Dmkutf8data.c381 void *leaf = NULL; in lookup() local
384 while (!leaf && node) { in lookup()
392 leaf = node->right; in lookup()
401 leaf = node->left; in lookup()
408 return leaf; in lookup()
531 static int insert(struct tree *tree, char *key, int keylen, void *leaf) in insert() argument
557 *cursor = leaf; in insert()
575 leaf = node->left; in insert()
580 tree->root = leaf; in insert()
583 parent->left = leaf; in insert()
[all …]
/external/cronet/net/cert/internal/
Drevocation_checker_unittest.cc41 auto [leaf, root] = CertBuilder::CreateSimpleChain2(); in TEST()
44 ASSERT_TRUE(AddCertsToList({leaf.get(), root.get()}, &chain)); in TEST()
106 auto [leaf, root] = CertBuilder::CreateSimpleChain2(); in TEST()
109 leaf->SetCrlDistributionPointUrl(kTestCrlUrl); in TEST()
112 ASSERT_TRUE(AddCertsToList({leaf.get(), root.get()}, &chain)); in TEST()
180 auto [leaf, root] = CertBuilder::CreateSimpleChain2(); in TEST()
183 leaf->SetCrlDistributionPointUrl(kTestCrlUrl); in TEST()
186 ASSERT_TRUE(AddCertsToList({leaf.get(), root.get()}, &chain)); in TEST()
195 /*revoked_serials=*/{leaf->GetSerialNumber()}); in TEST()
239 auto [leaf, root] = CertBuilder::CreateSimpleChain2(); in TEST()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Doutfeed_manager.cc49 for (auto& leaf : outfeed_buffers.leaves()) { in TransferLiteralFromOutfeed() local
50 const Shape& shape = ShapeUtil::GetSubshape(literal.shape(), leaf.first); in TransferLiteralFromOutfeed()
52 leaf.second = in TransferLiteralFromOutfeed()
54 leaf.second->set_destination( in TransferLiteralFromOutfeed()
55 std::make_unique<MutableBorrowingLiteral>(literal, leaf.first)); in TransferLiteralFromOutfeed()
65 for (auto& leaf : outfeed_buffers.leaves()) { in TransferLiteralFromOutfeed() local
66 const Shape& shape = ShapeUtil::GetSubshape(literal.shape(), leaf.first); in TransferLiteralFromOutfeed()
68 leaf.second->WaitUntilAvailable(); in TransferLiteralFromOutfeed()
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509/
Dx509_test.cc1111 static int Verify(X509 *leaf, const std::vector<X509 *> &roots, in Verify() argument
1141 ctx.get(), store.get(), leaf, in Verify()
1171 static int Verify(X509 *leaf, const std::vector<X509 *> &roots, in Verify() argument
1176 Verify(leaf, roots, intermediates, crls, flags, false, nullptr); in Verify()
1178 Verify(leaf, roots, intermediates, crls, flags, true, nullptr); in Verify()
1198 bssl::UniquePtr<X509> leaf(CertFromPEM(kLeafPEM)); in TEST() local
1207 ASSERT_TRUE(leaf); in TEST()
1214 Verify(leaf.get(), empty, empty, empty_crls)); in TEST()
1216 Verify(leaf.get(), empty, {intermediate.get()}, empty_crls)); in TEST()
1219 Verify(leaf.get(), {root.get()}, {intermediate.get()}, empty_crls)); in TEST()
[all …]
/external/tensorflow/tensorflow/python/checkpoint/
Dtrackable_view_test.py26 leaf = base.Trackable()
27 root._track_trackable(leaf, name="leaf")
30 self.assertIs(leaf, current_dependency)
35 leaf = base.Trackable()
36 root._track_trackable(leaf, name="leaf")
40 self.assertIs(leaf, descendants[1])
/external/linux-kselftest/tools/testing/selftests/bpf/progs/
Dxdpwall.c118 __u8 *leaf; in filter_ipv6_addr() local
120 leaf = bpf_map_lookup_elem(&v6_addr_map, ipv6addr); in filter_ipv6_addr()
122 return leaf ? *leaf : 0; in filter_ipv6_addr()
127 __u8 *leaf; in filter_ipv4_addr() local
129 leaf = bpf_map_lookup_elem(&v4_addr_map, &ipaddr); in filter_ipv4_addr()
131 return leaf ? *leaf : 0; in filter_ipv4_addr()
221 __u8 *leaf = bpf_map_lookup_elem(&tcp_port_map, &port); in filter_tcp_port() local
223 return leaf ? *leaf : 0; in filter_tcp_port()
228 __u16 *leaf = bpf_map_lookup_elem(&udp_port_map, &port); in filter_udp_port() local
230 return leaf ? *leaf : 0; in filter_udp_port()
/external/ot-br-posix/src/openwrt/controller/
Dthread.lua5 page.leaf = true
8 page.leaf = true
11 page.leaf = true
14 page.leaf = true
17 page.leaf = true
20 page.leaf = true
23 page.leaf = true
26 page.leaf = true
29 page.leaf = true
32 page.leaf = true
[all …]
/external/libabigail/tests/data/test-abidiff-exit/
Dtest-leaf-redundant-report.txt2 Changed leaf types summary: 0 leaf type changed
8 [C] 'function void fn1(sto1)' at test-leaf-redundant-v1.c:12:1 has some sub-type changes:
13 [C] 'function void fn2(sto2)' at test-leaf-redundant-v1.c:15:1 has some sub-type changes:
18 'double y', at offset 64 (in bits) at test-leaf-redundant-v1.c:9:1
20 [C] 'function void fn3(sto1*)' at test-leaf-redundant-v1.c:18:1 has some sub-type changes:
24 [C] 'function void fn4(sto2*)' at test-leaf-redundant-v1.c:21:1 has some sub-type changes:
Dtest-leaf-peeling-report.txt2 Changed leaf types summary: 6 leaf types changed
6 'struct foo at test-leaf-peeling-v0.cc:2:1' changed:
13 'struct ops1 at test-leaf-peeling-v0.cc:6:1' changed:
19 'struct ops2 at test-leaf-peeling-v0.cc:10:1' changed:
24 'struct ops3 at test-leaf-peeling-v0.cc:14:1' changed:
30 'struct ops4 at test-leaf-peeling-v0.cc:18:1' changed:
37 'struct ops5 at test-leaf-peeling-v0.cc:22:1' changed:

12345678910>>...34