/external/libnl/python/netlink/ |
D | core.py | 34 from . import capi 98 self._msg = capi.nl_geterror(error) 119 self._msg = capi.nlmsg_alloc() 121 self._msg = capi.nlmsg_alloc_size(size) 127 capi.nlmsg_free(self._msg) 130 return capi.nlmsg_len(nlmsg_hdr(self._msg)) 134 return capi.nlmsg_get_proto(self._msg) 138 capi.nlmsg_set_proto(self._msg, value) 142 return capi.nlmsg_get_max_size(self._msg) 146 return capi.nlmsg_hdr(self._msg) [all …]
|
D | util.py | 14 from . import capi as capi unknown 156 return capi.nl_rate2str(self._rate, self._mode, 32)[1] 169 return capi.nl_size2str(self._size, 32)[0]
|
/external/libnl/python/netlink/route/ |
D | address.py | 18 from . import capi as capi unknown 41 addr = capi.rtnl_addr_get(self._nl_cache, ifindex, 65 return cls(capi.addr2obj(obj)) 69 return capi.obj2addr(obj) 81 diff = capi.nl_addr_cmp(self.local, other.local) 93 return capi.rtnl_addr_get_ifindex(self._rtnl_addr) 106 link = capi.rtnl_addr_get_link(self._rtnl_addr) 120 capi.rtnl_addr_set_link(self._rtnl_addr, value._rtnl_link) 124 if capi.rtnl_addr_get_ifindex(self._orig) == 0: 125 capi.rtnl_addr_set_ifindex(self._orig, value.ifindex) [all …]
|
D | link.py | 48 from .. import capi as core_capi 49 from . import capi as capi unknown 126 link = capi.rtnl_link_get(self._nl_cache, key) 128 link = capi.rtnl_link_get_by_name(self._nl_cache, key) 166 return cls(capi.link2obj(obj)) 170 return capi.obj2link(obj) 186 return capi.rtnl_link_get_ifindex(self._rtnl_link) 190 capi.rtnl_link_set_ifindex(self._rtnl_link, int(value)) 194 if capi.rtnl_link_get_ifindex(self._orig) == 0: 195 capi.rtnl_link_set_ifindex(self._orig, int(value)) [all …]
|
D | tc.py | 16 from . import capi as capi unknown 58 val = capi.tc_str2handle(val) 79 return capi.rtnl_tc_handle2str(self._val, 64)[0] 109 return capi.rtnl_tc_get_ifindex(self._rtnl_tc) 113 capi.rtnl_tc_set_ifindex(self._rtnl_tc, int(value)) 117 link = capi.rtnl_tc_get_link(self._rtnl_tc) 125 capi.rtnl_tc_set_link(self._rtnl_tc, value._link) 129 return capi.rtnl_tc_get_mtu(self._rtnl_tc) 133 capi.rtnl_tc_set_mtu(self._rtnl_tc, int(value)) 137 return capi.rtnl_tc_get_mpu(self._rtnl_tc) [all …]
|
/external/libnl/python/netlink/route/links/ |
D | bridge.py | 12 from .. import capi as capi unknown 17 self._has_ext_info = capi.rtnl_link_bridge_has_ext_info(self._link) 43 return capi.rtnl_link_bridge_get_state(self._link) 47 capi.rtnl_link_bridge_set_state(self._link, int(state)) 55 return capi.rtnl_link_bridge_get_prio(self._link) 62 capi.rtnl_link_bridge_set_prio(self._link, int(prio)) 70 return capi.rtnl_link_bridge_get_cost(self._link) 77 capi.rtnl_link_bridge_set_cost(self._link, int(cost)) 91 flags = capi.rtnl_link_bridge_get_flags(self._link) 92 return capi.rtnl_link_bridge_flags2str(flags, 256)[0].split(',') [all …]
|
D | vlan.py | 13 from .. import capi as capi unknown 22 return capi.rtnl_link_vlan_get_id(self._link) 26 capi.rtnl_link_vlan_set_id(self._link, int(value)) 39 flags = capi.rtnl_link_vlan_get_flags(self._link) 40 return capi.rtnl_link_vlan_flags2str(flags, 256)[0].split(',') 44 i = capi.rtnl_link_vlan_str2flags(flag[1:]) 45 capi.rtnl_link_vlan_unset_flags(self._link, i) 47 i = capi.rtnl_link_vlan_str2flags(flag[1:]) 48 capi.rtnl_link_vlan_set_flags(self._link, i) 50 i = capi.rtnl_link_vlan_str2flags(flag) [all …]
|
D | inet.py | 16 from .. import capi as capi unknown 47 id = capi.rtnl_link_inet_str2devconf(id)[0] 62 txt = util.kw(capi.rtnl_link_inet_devconf2str(i, 32)[0]) 70 return capi.inet_get_conf(self._link._rtnl_link, _resolve(id)) 73 return capi.rtnl_link_inet_set_conf(self._link._rtnl_link,
|
/external/libnl/python/netlink/route/qdisc/ |
D | htb.py | 13 from .. import capi as capi unknown 23 return tc.Handle(capi.rtnl_htb_get_defcls(self._qdisc._rtnl_qdisc)) 27 capi.rtnl_htb_set_defcls(self._qdisc._rtnl_qdisc, int(value)) 32 return capi.rtnl_htb_get_rate2quantum(self._qdisc._rtnl_qdisc) 36 capi.rtnl_htb_get_rate2quantum(self._qdisc._rtnl_qdisc, 56 rate = capi.rtnl_htb_get_rate(self._class._rtnl_class) 61 capi.rtnl_htb_set_rate(self._class._rtnl_class, int(value)) 66 ceil = capi.rtnl_htb_get_ceil(self._class._rtnl_class) 71 capi.rtnl_htb_set_ceil(self._class._rtnl_class, int(value)) 76 burst = capi.rtnl_htb_get_rbuffer(self._class._rtnl_class) [all …]
|
/external/llvm-project/mlir/test/CAPI/ |
D | CMakeLists.txt | 9 add_llvm_executable(mlir-capi-ir-test 12 llvm_update_compile_flags(mlir-capi-ir-test) 15 target_link_libraries(mlir-capi-ir-test 21 add_llvm_executable(mlir-capi-pass-test 24 llvm_update_compile_flags(mlir-capi-pass-test) 27 target_link_libraries(mlir-capi-pass-test
|
/external/llvm-project/mlir/include/mlir/Transforms/ |
D | CMakeLists.txt | 4 mlir_tablegen(Transforms.capi.h.inc -gen-pass-capi-header --prefix Transforms) 5 mlir_tablegen(Transforms.capi.cpp.inc -gen-pass-capi-impl --prefix Transforms)
|
/external/libnl/python/tests/ |
D | test-create-bridge.py | 2 import netlink.route.capi as capi namespace 27 print capi.rtnl_link_is_bridge(lbr._rtnl_link) 28 print capi.rtnl_link_get_master(testtap1._rtnl_link)
|
/external/python/cpython3/Modules/ |
D | pyexpat.c | 1646 static struct PyExpat_CAPI capi; in MODULE_INITFUNC() local 1853 capi.size = sizeof(capi); in MODULE_INITFUNC() 1854 capi.magic = PyExpat_CAPI_MAGIC; in MODULE_INITFUNC() 1855 capi.MAJOR_VERSION = XML_MAJOR_VERSION; in MODULE_INITFUNC() 1856 capi.MINOR_VERSION = XML_MINOR_VERSION; in MODULE_INITFUNC() 1857 capi.MICRO_VERSION = XML_MICRO_VERSION; in MODULE_INITFUNC() 1858 capi.ErrorString = XML_ErrorString; in MODULE_INITFUNC() 1859 capi.GetErrorCode = XML_GetErrorCode; in MODULE_INITFUNC() 1860 capi.GetErrorColumnNumber = XML_GetErrorColumnNumber; in MODULE_INITFUNC() 1861 capi.GetErrorLineNumber = XML_GetErrorLineNumber; in MODULE_INITFUNC() [all …]
|
/external/python/cpython2/Modules/ |
D | pyexpat.c | 1843 static struct PyExpat_CAPI capi; in MODULE_INITFUNC() local 2025 capi.size = sizeof(capi); in MODULE_INITFUNC() 2026 capi.magic = PyExpat_CAPI_MAGIC; in MODULE_INITFUNC() 2027 capi.MAJOR_VERSION = XML_MAJOR_VERSION; in MODULE_INITFUNC() 2028 capi.MINOR_VERSION = XML_MINOR_VERSION; in MODULE_INITFUNC() 2029 capi.MICRO_VERSION = XML_MICRO_VERSION; in MODULE_INITFUNC() 2030 capi.ErrorString = XML_ErrorString; in MODULE_INITFUNC() 2031 capi.GetErrorCode = XML_GetErrorCode; in MODULE_INITFUNC() 2032 capi.GetErrorColumnNumber = XML_GetErrorColumnNumber; in MODULE_INITFUNC() 2033 capi.GetErrorLineNumber = XML_GetErrorLineNumber; in MODULE_INITFUNC() [all …]
|
/external/icu/icu4c/source/samples/numfmt/ |
D | main.cpp | 23 extern "C" void capi(); 36 capi(); in main()
|
D | Makefile | 18 OBJECTS=main.o util.o capi.o
|
D | capi.c | 22 void capi() { in capi() function
|
D | readme.txt | 13 capi.c C version
|
/external/libnl/python/ |
D | .gitignore | 3 capi.py
|
/external/llvm-project/mlir/test/ |
D | CMakeLists.txt | 46 mlir-capi-ir-test 47 mlir-capi-pass-test
|
/external/libnl/python/examples/ |
D | iface.py | 1 import netlink.capi as nl 2 import netlink.genl.capi as genl
|
D | wiphy.py | 1 import netlink.capi as nl 2 import netlink.genl.capi as genl
|
/external/google-breakpad/ |
D | configure.ac | 222 AS_HELP_STRING([--with-rust-demangle=/path/to/rust-demangle-capi], 229 … AC_MSG_ERROR(You must pass the path to the rust-demangle-capi crate for --with-rust-demangle) 236 … AC_MSG_ERROR(You must pass the path to the rust-demangle-capi crate for --with-rust-demangle)
|
/external/libnl/python/netlink/genl/ |
D | capi.i | 1 %module capi
|
/external/python/cpython3/Tools/c-analyzer/ |
D | check-c-globals.py | 167 capi = (name in capi_vars or ()) 170 return cls(name, kind, scope, capi, filename or '~???~')
|