Home
last modified time | relevance | path

Searched refs:link2 (Results 1 – 25 of 40) sorted by relevance

12

/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dbpf_cookie.c14 struct bpf_link *link1 = NULL, *link2 = NULL; in kprobe_subtest() local
27 link2 = bpf_program__attach_kprobe_opts(skel->progs.handle_kprobe, in kprobe_subtest()
29 if (!ASSERT_OK_PTR(link2, "link2")) in kprobe_subtest()
55 bpf_link__destroy(link2); in kprobe_subtest()
63 struct bpf_link *link1 = NULL, *link2 = NULL; in uprobe_subtest() local
81 link2 = bpf_program__attach_uprobe_opts(skel->progs.handle_uprobe, -1 /* any pid */, in uprobe_subtest()
83 if (!ASSERT_OK_PTR(link2, "link2")) in uprobe_subtest()
109 bpf_link__destroy(link2); in uprobe_subtest()
117 struct bpf_link *link1 = NULL, *link2 = NULL, *link3 = NULL; in tp_subtest() local
128 link2 = bpf_program__attach_tracepoint_opts(skel->progs.handle_tp2, in tp_subtest()
[all …]
Dxdp_bonding.c390 struct bpf_link *link2 = NULL; in test_xdp_bonding_attach() local
423 link2 = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, bond); in test_xdp_bonding_attach()
424 if (!ASSERT_ERR_PTR(link2, "attach program to master when slave has program")) in test_xdp_bonding_attach()
436 link2 = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, veth); in test_xdp_bonding_attach()
437 if (!ASSERT_ERR_PTR(link2, "attach program to slave when master has program")) in test_xdp_bonding_attach()
459 bpf_link__destroy(link2); in test_xdp_bonding_attach()
Dflow_dissector_reattach.c125 int link1, link2; in test_link_create_link_create() local
136 link2 = bpf_link_create(prog2, netns, BPF_FLOW_DISSECTOR, &opts); in test_link_create_link_create()
137 if (CHECK_FAIL(link2 >= 0 || errno != E2BIG)) in test_link_create_link_create()
139 if (link2 >= 0) in test_link_create_link_create()
140 close(link2); in test_link_create_link_create()
/external/libnl/tests/
Dtest-create-vrf.c10 struct rtnl_link *link, *link2; in main() local
43 if (!(link2 = rtnl_link_get_by_name(link_cache, "vrf-red"))) { in main()
48 if ((err = rtnl_link_vrf_get_tableid(link2, &tb_id)) < 0) { in main()
Dnl-test-util.c329 _nl_auto_rtnl_link struct rtnl_link *link2 = NULL; in _nltst_cache_get_link() local
331 link2 = rtnl_link_get_by_name(cache, ifname); in _nltst_cache_get_link()
332 ck_assert_ptr_eq(link2, link); in _nltst_cache_get_link()
367 struct rtnl_link *link2; in _nltst_add_link() local
398 link2 = _nltst_cache_get_link(cache, ifname); in _nltst_add_link()
399 ck_assert_ptr_nonnull(link2); in _nltst_add_link()
401 ifindex = rtnl_link_get_ifindex(link2); in _nltst_add_link()
Dcksuite-all-netns.c133 _nl_auto_rtnl_link struct rtnl_link *link2 = NULL; in START_TEST() local
291 _nltst_get_link(sk, IFNAME, NULL, &link2); in START_TEST()
292 _nltst_assert_retcode(rtnl_link_vrf_get_tableid(link2, &u32)); in START_TEST()
/external/toybox/tests/
Dreadlink.test73 ln -s link1 link2
74 ln -s link2 link1
77 rm link1 link2
Dfind.test88 ln -s ../broken dir/link2
Dmv.test64 unlink link2 &>/dev/null
/external/jdiff/src/jdiff/
DMergeChanges.java103 …String link2 = "<a href=\"" + fqName + HTMLReportGenerator.reportFileExt + "#" + fqName + ".ctor_c… in mergeRemoveAddCtor() local
106 …"</b></a>, " + link2 + "constructor <b>" + classDiff.name_ + "(" + HTMLReportGenerator.simpleName(… in mergeRemoveAddCtor()
163 …String link2 = "<a href=\"" + fqName + HTMLReportGenerator.reportFileExt + "#" + fqName + "." + ad… in mergeSingleMethods() local
166link2 + HTMLReportGenerator.simpleName(methodDiff.newType_) + " <b>" + addedMethod.name_ + "(" + … in mergeSingleMethods()
241 …String link2 = "<a href=\"" + fqName + HTMLReportGenerator.reportFileExt + "#" + fqName + "." + ad… in mergeMultipleMethods() local
244link2 + HTMLReportGenerator.simpleName(methodDiff.newType_) + " <b>" + addedMethod.name_ + "(" + … in mergeMultipleMethods()
321 …String link2 = "<a href=\"" + fqName + HTMLReportGenerator.reportFileExt + "#" + fqName + "." + ad… in mergeRemoveAddField() local
324link2 + HTMLReportGenerator.simpleName(fieldDiff.newType_) + " <b>" + addedField.name_ + "</b></a>… in mergeRemoveAddField()
DAPIComparator.java394 …String link2 = "<a href=\"" + fqName + HTMLReportGenerator.reportFileExt + "#" + fqName + ".ctor_c… in compareAllCtors() local
397 …"</b></a>, " + link2 + "constructor <b>" + classDiff.name_ + "(" + HTMLReportGenerator.simpleName(… in compareAllCtors()
641 …String link2 = "<a href=\"" + fqName + HTMLReportGenerator.reportFileExt + "#" + fqName + "." + ne… in compareMethods() local
644link2 + HTMLReportGenerator.simpleName(methodDiff.newType_) + " <b>" + newMethod.name_ + "(" + HTM… in compareMethods()
755 …String link2 = "<a href=\"" + fqName + HTMLReportGenerator.reportFileExt + "#" + fqName + "." + ne… in compareAllFields() local
758link2 + HTMLReportGenerator.simpleName(memberDiff.newType_) + " <b>" + newField.name_ + "</b></a>"; in compareAllFields()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/transformations/
Dadd_quant_adjustments_test.cc129 Value* link2 = nullptr; in TEST() local
130 ASSERT_TRUE(ConnectTwoNodes(&graph, quant_node, add2_node, &link2).ok()); in TEST()
131 AddQuantParams(&link2->quant_params, /*min=*/-1.0, /*max=*/1.0, in TEST()
133 link2->tensor.shape = BHWC(1, 4, 4, 8); in TEST()
Dmake_fully_connected_test.cc85 Value* link2 = nullptr; in TEST() local
87 ConnectTwoNodes(&graph, conv4x4_node1, conv1x1_node2, &link2).ok()); in TEST()
88 link2->tensor.shape = BHWC(1, 1, 1, 16); in TEST()
/external/AFLplusplus/dictionaries/
Dcreole.dict7 link2="[[a:b]]"
/external/angle/third_party/vulkan-deps/glslang/src/Test/
Dlink1.vk.frag8 int a2[]; // max size from link2
Dlink2.vk.frag6 int a2[]; // max size from link2
/external/deqp-deps/glslang/Test/
Dlink1.vk.frag8 int a2[]; // max size from link2
Dlink2.vk.frag6 int a2[]; // max size from link2
/external/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/
Des-link1.frag.out12 es-link2.frag
D300link2.frag.out1 300link2.frag
/external/deqp-deps/glslang/Test/baseResults/
D300link2.frag.out1 300link2.frag
Des-link1.frag.out12 es-link2.frag
/external/tensorflow/tensorflow/core/grappler/graph_analyzer/
Dsig_node_test.cc151 SigNode::Link link2; in TEST_F() local
152 link2.tag = SigNode::LinkTag(GenNode::Port(true, 1), GenNode::Port(false, 0)); in TEST_F()
153 link2.unique_hash = kSameHash; in TEST_F()
154 link2.peers.emplace_back(&sn2); in TEST_F()
163 link_map[link2.tag] = link2; in TEST_F()
197 EXPECT_TRUE(rhit->second.tag == link2.tag); in TEST_F()
/external/freetype/src/autofit/
Dafcjk.c921 AF_Segment link1, link2; in af_cjk_hints_link_segments() local
938 link2 = seg2->link; in af_cjk_hints_link_segments()
939 if ( !link2 || link2->link != seg2 || link2->pos < link1->pos ) in af_cjk_hints_link_segments()
942 if ( seg1->pos == seg2->pos && link1->pos == link2->pos ) in af_cjk_hints_link_segments()
965 else if ( link == link2 ) in af_cjk_hints_link_segments()
/external/rust/crates/intrusive-collections/src/
Dsingly_linked_list.rs1201 link2: Link,
1210 intrusive_adapter!(ObjAdapter2 = Rc<Obj>: Obj { link2: Link });
1214 link2: Link::default(),
1223 assert!(!a.link2.is_linked());
1231 assert!(!a.link2.is_linked());
1233 assert_eq!(format!("{:?}", a.link2), "unlinked");
1241 assert!(!a.link2.is_linked());

12