Home
last modified time | relevance | path

Searched refs:elements (Results 1 – 25 of 26) sorted by relevance

12

/xnu-11215/iokit/Kernel/
H A DIORangeAllocator.cpp86 elements = NULL; in init()
119 if (elements) { in free()
153 || (!elements)) { in allocElement()
162 if (elements) { in allocElement()
163 bcopy( elements, in allocElement()
166 bcopy( elements + index, in allocElement()
173 elements = newElements; in allocElement()
176 bcopy( elements + index, in allocElement()
191 elements + index, in deallocElement()
337 elements[index - 1].end = elements[index].end; in deallocate()
[all …]
/xnu-11215/libkern/c++/
H A DOSUnserializeXML.y84 struct object *elements; member
342 $$->elements = $2;
388 $$->elements = $2;
397 $$->elements = $2;
1228 o = header->elements; in buildDictionary()
1229 header->elements = 0; in buildDictionary()
1236 header->elements = t; in buildDictionary()
1244 o = header->elements; in buildDictionary()
1270 o = header->elements; in buildArray()
1271 header->elements = 0; in buildArray()
[all …]
H A DOSUnserialize.y199 | '(' elements ')' { $$ = $2; }
203 | '[' elements ']' { $$ = $2; }
206 elements: object { $$ = newObject();
211 | elements ',' object { oo = newObject();
/xnu-11215/EXTERNAL_HEADERS/CoreEntitlements/
H A DSerialization.h87 CEError_t CESizeSerialization(CESerializedElement_t elements[__counted_by(elementsCount)], size_t e…
100 CEError_t CESizeXMLSerialization(CESerializedElement_t elements[__counted_by(elementsCount)], size_…
124 …ERuntime_t runtime, CEValidationOptions* options, CESerializedElement_t elements[__counted_by(elem…
145 CEError_t CESerialize(const CERuntime_t runtime, CESerializedElement_t elements[__counted_by(elemen…
166 CEError_t CESerializeXML(const CERuntime_t runtime, CESerializedElement_t elements[__counted_by(ele…
H A DCoreEntitlementsPriv.h74 …QueryContext_t ctx, CESerializedElement_t *__counted_by(elementsLength) elements, size_t elementsL…
/xnu-11215/bsd/netinet/
H A Dip_dummynet.c597 int son = h->elements; in heap_insert()
603 son = h->elements; in heap_insert()
611 h->elements++; in heap_insert()
650 father, h->elements); in heap_extract()
665 h->elements--; in heap_extract()
925 while (p_numbytes >= 0 && (sch->elements > 0 || neh->elements > 0)) { in ready_event_wfq()
962 if (sch->elements == 0 && neh->elements > 0) { in ready_event_wfq()
977 if (sch->elements == 0 && neh->elements == 0 && p_numbytes >= 0 in ready_event_wfq()
2172 h->elements--; in fs_remove_from_heap()
2190 if (h->elements > 0) { in pipe_remove_from_heap()
[all …]
H A Dip_dummynet.h140 int elements; member
426 int elements; member
550 int elements; member
/xnu-11215/iokit/System/
H A DOSUnserializeXMLSharedImplementation.h179 struct object *elements; member
2590 object->elements = NULL; in yylex()
2599 object->elements = NULL; in yylex()
2839 o = header->elements; in buildDictionary()
2840 header->elements = 0; in buildDictionary()
2847 header->elements = t; in buildDictionary()
2855 o = header->elements; in buildDictionary()
2881 o = header->elements; in buildArray()
2882 header->elements = 0; in buildArray()
2889 header->elements = t; in buildArray()
[all …]
H A DIODataQueueDispatchSourceShared.h668 uint32_t elements = space / entrySize; in CanEnqueueData() local
669 if (elements < dataCount) { in CanEnqueueData()
/xnu-11215/libkern/libkern/c++/
H A DOSUnserializeXMLSharedImplementation.h179 struct object *elements; member
2590 object->elements = NULL; in yylex()
2599 object->elements = NULL; in yylex()
2839 o = header->elements; in buildDictionary()
2840 header->elements = 0; in buildDictionary()
2847 header->elements = t; in buildDictionary()
2855 o = header->elements; in buildDictionary()
2881 o = header->elements; in buildArray()
2882 header->elements = 0; in buildArray()
2889 header->elements = t; in buildArray()
[all …]
/xnu-11215/doc/allocators/
H A Dread-only.md56 1. Pointers to read-only elements should either reside in read-only memory
58 2. Where there is a 1:1 mapping between read/write and read-only elements, the
103 Think of this as a special `memcpy` to write into your elements.
106 equal to the size of the elements in the zone.
/xnu-11215/security/
H A Dmac_file.c124 mac_file_check_get(struct ucred *cred, struct fileglob *fg, char *elements, in mac_file_check_get() argument
129 MAC_CHECK(file_check_get, cred, fg, elements, len); in mac_file_check_get()
H A Dmac_process.c182 mac_cred_label_externalize(struct label *label, char *elements, in mac_cred_label_externalize() argument
187 error = MAC_EXTERNALIZE(cred, label, elements, outbuf, outbuflen); in mac_cred_label_externalize()
H A Dmac_vfs.c289 mac_vnode_label_externalize(struct label *label, char *elements, in mac_vnode_label_externalize() argument
294 error = MAC_EXTERNALIZE(vnode, label, elements, outbuf, outbuflen); in mac_vnode_label_externalize()
320 mac_mount_label_externalize(struct label *label, char *elements, in mac_mount_label_externalize() argument
325 error = MAC_EXTERNALIZE(mount, label, elements, outbuf, outbuflen); in mac_mount_label_externalize()
H A Dmac_framework.h196 char *elements, size_t len) __result_use_check;
250 int mac_mount_label_externalize(struct label *label, char *elements,
H A Dmac_policy.h848 char *elements,
1034 char *elements,
/xnu-11215/tests/
H A Dpfz.c195 static elem_t elements[WIDE][SMALL]; variable
237 OSAtomicFifoEnqueue(q1, &(elements[i][idx]), offset); // contended enqueue on q1
/xnu-11215/bsd/kern/
H A Dkern_subr.c615 hashsize(int elements) in hashsize() argument
617 if (__improbable(elements <= 0)) { in hashsize()
620 return 1UL << (fls(elements) - 1); in hashsize()
624 hashinit(int elements, int type __unused, u_long *hashmask) in hashinit() argument
629 hash_size = hashsize(elements); in hashinit()
638 hashinit_generic(int elements, in hashinit_generic() argument
643 struct generic_hash_head *__unsafe_indexable hash = hashinit(elements, 0, &hashmask); in hashinit_generic()
/xnu-11215/iokit/IOKit/
H A DIORangeAllocator.h61 struct IORangeAllocatorElement * elements; variable
/xnu-11215/bsd/sys/
H A Dsystm.h205 void hashinit_generic(int elements,
/xnu-11215/tools/lldbmacros/
H A Dkcdata.py354 self.elements = t_elements
362 for e in self.elements:
377 o = '%s {\n\t' % self.name + "\n\t".join([str(e) for e in self.elements]) + '\n};'
382 retval = KCTypeDescription(t_type_id, other.elements, t_name, other.custom_JsonRepr,
397 return self.custom_JsonRepr([e.GetValue(base_data) for e in self.elements])
399 … o = ", ".join([e.GetJsonRepr(base_data) for e in self.elements if not e.ShouldSkip(base_data)])
401 …oin(['"%s": %s' % (e.GetName(), e.GetJsonRepr(base_data)) for e in self.elements if not e.ShouldSk…
407 return max(st.totalsize + st.offset for st in self.elements)
/xnu-11215/libkdd/
H A DKCDBasicTypeDescription.m126 * Calculate the maximum number of data elements we can parse, Taking into
H A Dkcdata_core.m108 /* need to do work here to get the array of elements setup here */
/xnu-11215/makedefs/
H A DMakeInc.cmd404 # 3 elements at a time
/xnu-11215/osfmk/mach/
H A Dmach_types.defs347 * number of elements in "task_info_t" which currently

12