Searched refs:type (Results 1 - 25 of 296) sorted by relevance

1234567891011>>

/xnu-2422.115.4/bsd/sys/_types/
H A D___offsetof.h29 #define __offsetof(type, field) ((size_t)(&((type *)0)->field))
/xnu-2422.115.4/osfmk/mach/i386/
H A Dmachine_types.defs39 type short = int16_t;
40 type int = int32_t;
41 type unsigned = uint32_t;
43 type float = MACH_MSG_TYPE_REAL_32;
44 type double = MACH_MSG_TYPE_REAL_64;
51 * integer type, e.g. 32 or 64 or.. whatever
55 * type-casting between the two.
62 type uintptr_t = uint64_t;
63 type intptr_t = int64_t;
65 type uintptr_
[all...]
/xnu-2422.115.4/osfmk/mach/
H A Dstd_types.defs59 * Mach kernel standard interface type declarations
68 type int8_t = MACH_MSG_TYPE_INTEGER_8;
69 type uint8_t = MACH_MSG_TYPE_INTEGER_8;
70 type int16_t = MACH_MSG_TYPE_INTEGER_16;
71 type uint16_t = MACH_MSG_TYPE_INTEGER_16;
72 type int32_t = MACH_MSG_TYPE_INTEGER_32;
73 type uint32_t = MACH_MSG_TYPE_INTEGER_32;
74 type int64_t = MACH_MSG_TYPE_INTEGER_64;
75 type uint64_t = MACH_MSG_TYPE_INTEGER_64;
81 type int3
[all...]
H A Dclock_types.defs34 * Clock kernel interface type declarations
42 type clock_serv_t = mach_port_t
50 type clock_ctrl_t = mach_port_t
58 type clock_reply_t = polymorphic|MACH_MSG_TYPE_MAKE_SEND_ONCE;
60 type clock_flavor_t = int;
61 type clock_attr_t = array[*:1] of int;
62 type mach_timespec_t = struct[2] of int;
63 type time_t = int;
64 type sleep_type_t = int;
65 type alarm_type_
[all...]
H A Dmach_types.defs65 * Mach kernel interface type declarations
74 type memory_object_offset_t = uint64_t;
75 type memory_object_size_t = uint64_t;
76 type memory_object_cluster_size_t = uint32_t;
77 type memory_object_fault_info_t = array[16] of integer_t;
82 type upl_size_t = uint32_t;
83 type upl_offset_t = uint32_t;
84 type upl_page_info_t = struct[2] of integer_t;
85 type upl_page_info_array_t = array[*:256] of upl_page_info_t;
87 type upl_
[all...]
/xnu-2422.115.4/osfmk/mach_debug/
H A Dmach_debug_types.defs59 * Mach kernel debugging interface type declarations
67 type zone_name_t = struct[80] of char; /* deprecated */
68 type zone_name_array_t = array[] of zone_name_t; /* deprecated */
70 type zone_info_t = struct[9] of integer_t; /* deprecated */
71 type zone_info_array_t = array[] of zone_info_t; /* deprecated */
73 type mach_zone_name_t = struct[80] of char;
74 type mach_zone_name_array_t = array[] of mach_zone_name_t;
76 type mach_zone_info_t = struct[8] of uint64_t;
77 type mach_zone_info_array_t = array[] of mach_zone_info_t;
79 type task_zone_info_
[all...]
/xnu-2422.115.4/bsd/net/
H A Dbpf_compat.h74 #define malloc(size, type, canwait) _MALLOC(size, type, canwait)
75 #define free(cp, type) m_free(*(struct mbuf **)(cp - 8))
H A Dif_utun_crypto.c70 * - check the type (IPSec or DTLS)
72 * - we have only one context per direction and type.
86 if (crypto_args->type == 0 || crypto_args->type >= UTUN_CRYPTO_TYPE_MAX) {
87 printf("%s: type check failed %d\n", __FUNCTION__, crypto_args->type);
100 if (crypto_args->type == UTUN_CRYPTO_TYPE_IPSEC) {
104 if (crypto_args->type == UTUN_CRYPTO_TYPE_DTLS) {
116 crypto_ctx->type = crypto_args->type;
[all...]
H A Dether_if_module.c115 u_int16_t type; /* Type of protocol stored in data */ member in struct:en_desc
142 * Setting the type to 0 releases the entry. Eventually we should compact-out
160 desc_blk->block_ptr[current - 1].type = 0;
171 desc_blk->block_ptr[desc_blk->n_max_used - 1].type == 0;
188 switch (demux->type) {
212 switch (demux->type) {
215 if (desc_blk->block_ptr[i].type ==
226 if (desc_blk->block_ptr[i].type ==
227 demux->type &&
275 if (desc_blk->block_ptr[i].type
341 u_int16_t type; local
[all...]
/xnu-2422.115.4/osfmk/UserNotification/
H A DUNDTypes.defs38 type UNDMessage = c_string[*:1024];
39 type UNDLabel = c_string[*:128];
41 type UNDKey = c_string[*:128];
42 type UNDPath = c_string[*:1024];
44 type UNDXMLDict = c_string[*:2048];
49 type xmlData = ^ array [] of MACH_MSG_TYPE_BYTE
53 type UNDServerRef = mach_port_t;
55 type UNDReplyRef = mach_port_t
/xnu-2422.115.4/osfmk/default_pager/
H A Ddefault_pager_types.defs38 type default_pager_info_t = struct[3] of natural_t;
39 type default_pager_info_64_t = struct[6] of natural_t;
41 type default_pager_object_t = struct[2] of natural_t;
42 type default_pager_object_array_t = array[] of default_pager_object_t;
44 type default_pager_page_t = struct[1] of natural_t;
45 type default_pager_page_array_t = array[] of default_pager_page_t;
47 type backing_store_flavor_t = integer_t;
48 type backing_store_info_t = array[*:20] of integer_t;
/xnu-2422.115.4/osfmk/device/
H A Ddevice_types.defs75 type recnum_t = uint32_t;
76 type dev_mode_t = uint32_t;
77 type dev_flavor_t = uint32_t;
78 type dev_name_t = c_string[*:128];
79 type dev_status_t = array[*:1024] of int;
80 type io_buf_len_t = integer_t;
81 type io_buf_ptr_t = ^array[] of MACH_MSG_TYPE_INTEGER_8;
82 type io_buf_ptr_inband_t= array[*:128] of char;
83 type filter_t = short;
84 type filter_array_
[all...]
/xnu-2422.115.4/libsyscall/wrappers/legacy/
H A Dsocketpair.c47 socketpair(int domain, int type, int protocol, int socket_vector[2]) argument
49 int ret = __socketpair(domain, type, protocol, socket_vector);
/xnu-2422.115.4/libkern/libkern/
H A Dtree.h86 #define SPLAY_HEAD(name, type) \
88 struct type *sph_root; /* root of the tree */ \
98 #define SPLAY_ENTRY(type) \
100 struct type *spe_left; /* left element */ \
101 struct type *spe_right; /* right element */ \
143 #define SPLAY_PROTOTYPE(name, type, field, cmp) \
144 void name##_SPLAY(struct name *, struct type *); \
146 struct type *name##_SPLAY_INSERT(struct name *, struct type *); \
147 struct type *nam
[all...]
/xnu-2422.115.4/bsd/netinet/
H A Dip_icmp.h85 u_char icmp_type; /* type of message, see below */
86 u_char icmp_code; /* type sub code */
163 * Definition of type and code field values.
223 #define ICMP_INFOTYPE(type) \
224 ((type) == ICMP_ECHOREPLY || (type) == ICMP_ECHO || \
225 (type) == ICMP_ROUTERADVERT || (type) == ICMP_ROUTERSOLICIT || \
226 (type) == ICMP_TSTAMP || (type)
[all...]
/xnu-2422.115.4/EXTERNAL_HEADERS/architecture/i386/
H A Ddesc.h47 unsigned char type :5, member in struct:code_desc
71 unsigned char type :5, member in struct:data_desc
93 unsigned char type :5, member in struct:ldt_desc
114 type :5, member in struct:call_gate
129 type :5, member in struct:trap_gate
145 type :5, member in struct:intr_gate
H A Dreg_help.h58 # define REG_ADDR(type, addr) (addr)
60 # define REG_ADDR(type, addr) (*(volatile type *)(addr))
/xnu-2422.115.4/bsd/sys/
H A Dmalloc.h214 #define M_LAST 118 /* Must be last type + 1 */
235 long ks_inuse; /* # of packets of this type currently
237 long ks_calls; /* total packets of this type ever allocated */
256 #define MALLOC(space, cast, size, type, flags) \
257 (space) = (cast)_MALLOC(size, type, flags)
259 #define FREE(addr, type) \
260 _FREE((void *)addr, type)
262 #define REALLOC(space, cast, addr, size, type, flags) \
263 (space) = (cast)_REALLOC(addr, size, type, flags)
265 #define MALLOC_ZONE(space, cast, size, type, flag
[all...]
/xnu-2422.115.4/bsd/miscfs/mockfs/
H A Dmockfs_fsnode.h61 uint64_t size; /* Bytes of data; 0 unless type is MOCKFS_FILE */
62 uint8_t type; /* Serves as a unique identifier for now */ member in struct:mockfs_fsnode
76 int mockfs_fsnode_create(mount_t mp, uint8_t type, mockfs_fsnode_t * fsnpp);
80 int mockfs_fsnode_child_by_type(mockfs_fsnode_t parent, uint8_t type, mockfs_fsnode_t * child);
/xnu-2422.115.4/osfmk/lockd/
H A Dlockd_mach.defs39 type sock_storage = array [32] of uint32_t;
40 type xcred = array [19] of uint32_t;
41 type nfs_handle = array [64] of uint8_t;
/xnu-2422.115.4/EXTERNAL_HEADERS/
H A Dstdarg.h35 #define va_arg(ap, type) __builtin_va_arg(ap, type)
/xnu-2422.115.4/osfmk/kern/
H A Dqueue.h79 * How to declare a queue of elements of type "foo_t":
80 * In the "*foo_t" type, you must have a field of
81 * type "queue_chain_t" to hold together this queue.
85 * Declare the queue as a "queue_t" type.
87 * Elements of the queue (of type "foo_t", that is)
88 * are referred to by reference, and cast to type
338 * void queue_enter(q, elt, type, field)
340 * <type> elt;
341 * <type> is what's in our queue
342 * <field> is the chain field in (*<type>)
[all...]
/xnu-2422.115.4/libkern/zlib/
H A Dinftrees.h80 extern int inflate_table OF((codetype type, unsigned short FAR *lens,
/xnu-2422.115.4/libsyscall/mach/mach/
H A Dport_obj.h34 * to server-defined "type" and "value" data to be associated
59 #define port_set_obj_value_type(pname, value, type) \
67 port_obj_table[ndx].pos_type = (type); \
78 #define port_set_obj_value_type(pname, value, type) \
88 port_obj_table[ndx].pos_type = (type); \
/xnu-2422.115.4/libsyscall/mach/
H A Dstack_logging_internal.h43 typedef void (malloc_logger_t)(uint32_t type, uintptr_t arg1, uintptr_t arg2, uintptr_t arg3, uintptr_t result, uint32_t num_hot_frames_to_skip);

Completed in 167 milliseconds

1234567891011>>