/third_party/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]
|
/third_party/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 …]
|
/third_party/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,
|
/third_party/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 …]
|
/third_party/cef/ |
D | cef_paths.gypi | 116 'include/capi/cef_accessibility_handler_capi.h', 117 'include/capi/cef_app_capi.h', 118 'include/capi/cef_audio_handler_capi.h', 119 'include/capi/cef_auth_callback_capi.h', 120 'include/capi/cef_browser_capi.h', 121 'include/capi/cef_browser_process_handler_capi.h', 122 'include/capi/cef_callback_capi.h', 123 'include/capi/cef_client_capi.h', 124 'include/capi/cef_command_line_capi.h', 125 'include/capi/cef_context_menu_handler_capi.h', [all …]
|
/third_party/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)
|
/third_party/openssl/engines/ |
D | build.info | 22 ENGINES=capi 23 SOURCE[capi]=e_capi.c 24 DEPEND[capi]=../libcrypto 25 INCLUDE[capi]=../include
|
/third_party/python/Modules/ |
D | pyexpat.c | 1936 struct PyExpat_CAPI *capi = PyMem_Calloc(1, sizeof(struct PyExpat_CAPI)); in pyexpat_exec() local 1937 if (capi == NULL) { in pyexpat_exec() 1942 capi->size = sizeof(*capi); in pyexpat_exec() 1943 capi->magic = PyExpat_CAPI_MAGIC; in pyexpat_exec() 1944 capi->MAJOR_VERSION = XML_MAJOR_VERSION; in pyexpat_exec() 1945 capi->MINOR_VERSION = XML_MINOR_VERSION; in pyexpat_exec() 1946 capi->MICRO_VERSION = XML_MICRO_VERSION; in pyexpat_exec() 1947 capi->ErrorString = XML_ErrorString; in pyexpat_exec() 1948 capi->GetErrorCode = XML_GetErrorCode; in pyexpat_exec() 1949 capi->GetErrorColumnNumber = XML_GetErrorColumnNumber; in pyexpat_exec() [all …]
|
D | unicodedata.c | 1315 void *capi = PyCapsule_GetPointer(capsule, PyUnicodeData_CAPSULE_NAME); in unicodedata_destroy_capi() local 1316 PyMem_Free(capi); in unicodedata_destroy_capi() 1322 _PyUnicode_Name_CAPI *capi = PyMem_Malloc(sizeof(_PyUnicode_Name_CAPI)); in unicodedata_create_capi() local 1323 if (capi == NULL) { in unicodedata_create_capi() 1327 capi->getname = capi_getucname; in unicodedata_create_capi() 1328 capi->getcode = capi_getcode; in unicodedata_create_capi() 1330 PyObject *capsule = PyCapsule_New(capi, in unicodedata_create_capi() 1334 PyMem_Free(capi); in unicodedata_create_capi()
|
/third_party/flutter/skia/third_party/externals/icu/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
|
/third_party/skia/third_party/externals/icu/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
|
/third_party/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
|
/third_party/libnl/python/ |
D | .gitignore | 3 capi.py
|
/third_party/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
|