/bionic/libc/bionic/ |
link.cpp | 32 int link(const char* old_path, const char* new_path) { function
|
/external/python/cpython2/Lib/plat-os2emx/ |
_emx_link.py | 5 """_emx_link.py is a simplistic emulation of the Unix link(2) library routine 7 the os module in place of the unimplemented (on OS/2) Posix link() 8 function (os.link()). 10 We do this on OS/2 by implementing a file copy, with link(2) semantics:- 16 - no support for correct link counts (EMX stat(target).st_nlink 27 - returns None, same as os.link() which is implemented in posixmodule.c; 39 __all__ = ['link'] 41 def link(source, target): function 42 """link(source, target) -> None 44 Attempt to hard link the source file to the target file name [all...] |
/external/e2fsprogs/include/mingw/sys/ |
stat.h | 20 #define link(a, b) CreateHardLink((a), (b), NULL) macro
|
/external/libnl/tests/ |
test-create-bond.c | 2 #include <netlink/route/link.h> 3 #include <netlink/route/link/bonding.h> 7 struct rtnl_link *link; local 17 link = rtnl_link_bond_alloc(); 18 rtnl_link_set_name(link, "my_bond"); 20 if ((err = rtnl_link_add(sk, link, NLM_F_CREATE)) < 0) { 21 nl_perror(err, "Unable to add link"); 25 rtnl_link_put(link);
|
test-delete-link.c | 2 #include <netlink/route/link.h> 6 struct rtnl_link *link; local 16 link = rtnl_link_alloc(); 17 rtnl_link_set_name(link, "my_bond"); 19 if ((err = rtnl_link_delete(sk, link)) < 0) { 20 nl_perror(err, "Unable to delete link"); 24 rtnl_link_put(link);
|
test-create-veth.c | 2 #include <netlink/route/link.h> 3 #include <netlink/route/link/veth.h> 7 struct rtnl_link *link; local 21 link = rtnl_link_veth_alloc(); 22 if (!link) { 23 nl_perror(err, "Unable to alloc link"); 27 rtnl_link_set_name(link, "veth8"); 28 peer = rtnl_link_veth_get_peer(link); 31 if ((err = rtnl_link_add(sk, link, NLM_F_CREATE)) < 0) { 32 nl_perror(err, "Unable to add link"); [all...] |
test-create-vxlan.c | 2 #include <netlink/route/link.h> 3 #include <netlink/route/link/vxlan.h> 7 struct rtnl_link *link; local 18 link = rtnl_link_vxlan_alloc(); 20 rtnl_link_set_name(link, "vxlan128"); 22 if ((err = rtnl_link_vxlan_set_id(link, 128)) < 0) { 32 if ((err = rtnl_link_vxlan_set_group(link, addr)) < 0) { 38 if ((err = rtnl_link_add(sk, link, NLM_F_CREATE)) < 0) { 39 nl_perror(err, "Unable to add link"); 43 rtnl_link_put(link); [all...] |
test-create-ip6tnl.c | 1 #include <netlink/route/link/ip6tnl.h> 7 struct rtnl_link *link; local 30 link = rtnl_link_ip6_tnl_alloc(); 31 if(!link) { 32 nl_perror(err, "Unable to allocate link"); 36 rtnl_link_set_name(link, "ip6tnl-tun"); 37 rtnl_link_ip6_tnl_set_link(link, if_index); 40 rtnl_link_ip6_tnl_set_local(link, &addr); 43 rtnl_link_ip6_tnl_set_remote(link, &addr); 45 err = rtnl_link_add(sk, link, NLM_F_CREATE) [all...] |
test-create-ipgre.c | 1 #include <netlink/route/link/ipgre.h> 7 struct rtnl_link *link; local 30 link = rtnl_link_ipgre_alloc(); 31 if(!link) { 32 nl_perror(err, "Unable to allocate link"); 36 rtnl_link_set_name(link, "ipgre-tun"); 37 rtnl_link_ipgre_set_link(link, if_index); 40 rtnl_link_ipgre_set_local(link, addr.s_addr); 43 rtnl_link_ipgre_set_remote(link, addr.s_addr); 45 rtnl_link_ipgre_set_ttl(link, 64) [all...] |
test-create-ipip.c | 1 #include <netlink/route/link/ipip.h> 7 struct rtnl_link *link; local 30 link = rtnl_link_ipip_alloc(); 31 if(!link) { 32 nl_perror(err, "Unable to allocate link"); 36 rtnl_link_set_name(link, "ipip-tun"); 37 rtnl_link_ipip_set_link(link, if_index); 40 rtnl_link_ipip_set_local(link, addr.s_addr); 43 rtnl_link_ipip_set_remote(link, addr.s_addr); 45 rtnl_link_ipip_set_ttl(link, 64) [all...] |
test-create-ipvti.c | 1 #include <netlink/route/link/ipvti.h> 7 struct rtnl_link *link; local 30 link = rtnl_link_ipvti_alloc(); 31 if(!link) { 32 nl_perror(err, "Unable to allocate link"); 36 rtnl_link_set_name(link, "ipvti-tun"); 37 rtnl_link_ipvti_set_link(link, if_index); 40 rtnl_link_ipvti_set_local(link, addr.s_addr); 43 rtnl_link_ipvti_set_remote(link, addr.s_addr); 45 err = rtnl_link_add(sk, link, NLM_F_CREATE) [all...] |
test-create-macvlan.c | 2 #include <netlink/route/link.h> 3 #include <netlink/route/link/macvlan.h> 7 struct rtnl_link *link; local 29 link = rtnl_link_macvlan_alloc(); 31 rtnl_link_set_link(link, master_index); 34 rtnl_link_set_addr(link, addr); 37 rtnl_link_macvlan_set_mode(link, rtnl_link_macvlan_str2mode("bridge")); 39 if ((err = rtnl_link_add(sk, link, NLM_F_CREATE)) < 0) { 40 nl_perror(err, "Unable to add link"); 44 rtnl_link_put(link); [all...] |
test-create-sit.c | 1 #include <netlink/route/link/sit.h> 7 struct rtnl_link *link; local 30 link = rtnl_link_sit_alloc(); 31 if(!link) { 32 nl_perror(err, "Unable to allocate link"); 36 rtnl_link_set_name(link, "sit-tun"); 37 rtnl_link_sit_set_link(link, if_index); 40 rtnl_link_sit_set_local(link, addr.s_addr); 43 rtnl_link_sit_set_remote(link, addr.s_addr); 45 rtnl_link_sit_set_ttl(link, 64) [all...] |
test-create-vlan.c | 2 #include <netlink/route/link.h> 3 #include <netlink/route/link/vlan.h> 7 struct rtnl_link *link; local 28 link = rtnl_link_vlan_alloc(); 30 rtnl_link_set_link(link, master_index); 32 rtnl_link_vlan_set_id(link, 10); 34 if ((err = rtnl_link_add(sk, link, NLM_F_CREATE)) < 0) { 35 nl_perror(err, "Unable to add link"); 39 rtnl_link_put(link);
|
test-create-bridge.c | 2 #include <netlink/route/link.h> 3 #include <netlink/route/link/bridge.h> 9 struct rtnl_link *link; local 12 link = rtnl_link_alloc(); 13 if ((err = rtnl_link_set_type(link, "bridge")) < 0) { 14 rtnl_link_put(link); 17 rtnl_link_set_name(link, name); 19 if ((err = rtnl_link_add(sk, link, NLM_F_CREATE)) < 0) { 22 rtnl_link_put(link); 29 struct rtnl_link *link; local [all...] |
/build/soong/cc/ |
kernel_headers.go | 25 func (stub *kernelHeadersDecorator) link(ctx ModuleContext, flags Flags, deps PathDeps, objs Objects) android.Path { func
|
toolchain_library.go | 72 func (library *toolchainLibraryDecorator) link(ctx ModuleContext, func
|
/external/autotest/frontend/client/src/autotest/common/ui/ |
RealHyperlink.java | 8 private Element link; field in class:RealHyperlink 11 link = DOM.createAnchor(); 12 link.setInnerText(text); 13 setElement(link); 18 link.setAttribute("target", "_blank"); 20 link.removeAttribute("target"); 25 link.setAttribute("href", href);
|
ToggleLink.java | 14 private Anchor link; field in class:ToggleLink 20 link = new Anchor(activateText); 21 link.addClickHandler(this); 22 initWidget(link); 26 return link.getText().equals(deactivateText); 30 link.setText(active ? deactivateText : activateText);
|
/external/brotli/scripts/ |
fix-win-bazel-build.py | 23 (alias, space, link) = entry.partition(' ') 26 link = link.replace('/', '\\') variable 30 print(link + ' -> ' + dst) 34 copyfile(link, dst)
|
/external/clang/test/CodeGen/ |
2002-03-12-StructInitialize.c | 10 Connection link[3] variable
|
2002-03-12-StructInitializer.c | 14 Connection link[3] variable
|
/external/mesa3d/src/compiler/glsl/ |
linker.h | 203 struct exec_node link; member in struct:empty_uniform_block
|
/external/ltp/testcases/kernel/syscalls/getcwd/ |
getcwd03.c | 21 * system call on a symbolic link. 24 * 1) create a directory, and create a symbolic link to it at the 27 * 3) get the working directory of a symbolic link, and its pathname, 29 * 4) compare the working directories and link information. 46 char link[BUFSIZ]; local 65 "working directory of a symbolic link"); 77 SAFE_READLINK(dir_link, link, sizeof(link)); 79 if (strcmp(link, SAFE_BASENAME(res1))) { 81 "link information didn't match the working directory") [all...] |
/external/mesa3d/src/vulkan/util/ |
vk_debug_report.h | 35 /* Link in the 'callbacks' list in anv_instance struct. */ 36 struct list_head link; member in struct:vk_debug_report_callback
|