Home
last modified time | relevance | path

Searched refs:ctypes (Results 1 – 14 of 14) sorted by relevance

/freebsd-13.1/tools/bus_space/examples/
H A Dam79c900_diag.py48 import ctypes
62 _fields_ = [('mode', ctypes.c_uint32),
74 ('flags', ctypes.c_uint32),
76 ('_pad_', ctypes.c_uint32)]
80 class packet(ctypes.BigEndianStructure):
85 ('ip_vl', ctypes.c_uint8),
86 ('ip_de', ctypes.c_uint8),
281 ctypes.memset(addr_txbufs, 0, ctypes.sizeof(pkt))
291 pkt.udp_len = ctypes.sizeof(pkt) - 34
298 pkt.ip_len = ctypes.sizeof(pkt) - 14
[all …]
/freebsd-13.1/usr.bin/localedef/
H A Dctype.c89 static RB_HEAD(ctypes, ctype_node) ctypes;
90 RB_GENERATE_STATIC(ctypes, ctype_node, entry, ctype_compare);
104 RB_INIT(&ctypes); in init_ctype()
184 if ((ctn = RB_FIND(ctypes, &ctypes, &srch)) == NULL) { in get_ctype()
191 RB_INSERT(ctypes, &ctypes, ctn); in get_ctype()
333 RB_FOREACH(ctn, ctypes, &ctypes) { in dump_ctype()
/freebsd-13.1/contrib/file/python/
H A Dmagic.py7 import ctypes
12 from ctypes import *
13 from ctypes.util import find_library
21 return ctypes.cdll.LoadLibrary(find_library('magic'))
H A DREADME.md3 This library is a Python ctypes interface to `libmagic`.
/freebsd-13.1/sys/contrib/openzfs/tests/test-runner/bin/
H A Dtest-runner.py.in29 import ctypes
56 class timespec(ctypes.Structure):
58 ('tv_sec', ctypes.c_long),
59 ('tv_nsec', ctypes.c_long)
63 librt = ctypes.CDLL('librt.so.1', use_errno=True)
65 clock_gettime.argtypes = [ctypes.c_int, ctypes.POINTER(timespec)]
70 if clock_gettime(CLOCK_MONOTONIC_RAW, ctypes.pointer(t)) != 0:
71 errno_ = ctypes.get_errno()
/freebsd-13.1/contrib/subversion/
H A DMakefile.in169 CTYPES_PYTHON_SRC_DIR = $(abs_srcdir)/subversion/bindings/ctypes-python
860 clean-bindings: clean-swig clean-ctypes-python clean-javahl
865 clean-ctypes-python clean-javahl \
1002 ctypes-python: local-all
1005 install-ctypes-python: ctypes-python
1009 check-ctypes-python: ctypes-python
1015 clean-ctypes-python:
H A DINSTALL475 * Use the ctypes Python bindings.
484 * Build the ctypes Python bindings.
574 Ctypesgen is Python wrapper generator for ctypes. It is used to generate
581 For more information on CSVN, see subversion/bindings/ctypes-python/README.
H A DCHANGES2260 * ctypes-python: build with compiler selected via configure (r1536537)
4103 * fixed: warning with Python 2.6 and ctypes bindings (r36559)
4205 * new: ctypes python bindings
/freebsd-13.1/sys/contrib/openzfs/contrib/pyzfs/docs/source/
H A Dindex.rst41 .. automodule:: libzfs_core.ctypes
/freebsd-13.1/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/
H A D_nvlist.py56 from .ctypes import _type_to_suffix
H A D_libzfs_core.py49 from .ctypes import (
/freebsd-13.1/crypto/openssl/ssl/
H A Dt1_lib.c2355 const uint8_t *ctypes = s->s3->tmp.ctype; in tls1_check_chain() local
2358 for (j = 0; j < s->s3->tmp.ctype_len; j++, ctypes++) { in tls1_check_chain()
2359 if (*ctypes == check_type) { in tls1_check_chain()
/freebsd-13.1/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/test/
H A Dtest_nvlist.py29 from ..ctypes import (
/freebsd-13.1/crypto/openssl/ssl/statem/
H A Dstatem_clnt.c2504 PACKET ctypes; in tls_process_certificate_request() local
2507 if (!PACKET_get_length_prefixed_1(pkt, &ctypes)) { in tls_process_certificate_request()
2514 if (!PACKET_memdup(&ctypes, &s->s3->tmp.ctype, &s->s3->tmp.ctype_len)) { in tls_process_certificate_request()