Home
last modified time | relevance | path

Searched refs:element (Results 1 – 25 of 32) sorted by relevance

12

/xnu-11215/tests/safe_allocation_src/
H A Dusage.for_loop.cpp18 for (T& element : array) { in tests()
19 element = T{3}; in tests()
22 for (T const& element : array) { in tests()
23 CHECK(element.i == 3); in tests()
H A Doperator.subscript.cpp30 QualT& element = array[n]; in tests() local
31 CHECK(&element == memory + n); in tests()
44 QualT const& element = array[n]; in tests() local
45 CHECK(&element == memory + n); in tests()
/xnu-11215/tests/bounded_array_src/
H A Dfor_loop.cpp18 for (T& element : array) { in tests()
19 element = T{3}; in tests()
22 for (T const& element : array) { in tests()
23 CHECK(element.i == 3); in tests()
/xnu-11215/tests/bounded_array_ref_src/
H A Dfor_loop.cpp19 for (T& element : view) { in tests()
20 element = T{3}; in tests()
23 for (T const& element : view) { in tests()
24 CHECK(element.i == 3); in tests()
/xnu-11215/EXTERNAL_HEADERS/CoreEntitlements/
H A DSerialization.h67 …inline void *CE_HEADER_INDEXABLE CESerializedElementGetData(const CESerializedElement_t *element) { in CESerializedElementGetData() argument
68 return __unsafe_forge_bidi_indexable(void *, element->data.value, element->length); in CESerializedElementGetData()
71 static inline void CESerializedElementSetData(CESerializedElement_t *element, void *__sized_by(leng… in CESerializedElementSetData() argument
72 element->data.value = (intptr_t)bytes; in CESerializedElementSetData()
73 element->length = length; in CESerializedElementSetData()
/xnu-11215/bsd/sys/
H A Dqueue.h960 element->qh_link->qh_rlink != element)) { in chkquenext()
970 element->qh_rlink->qh_link != element)) { in chkqueprev()
986 element->qh_link = head->qh_link; in insque()
987 element->qh_rlink = head; in insque()
988 head->qh_link = element; in insque()
989 element->qh_link->qh_rlink = element; in insque()
996 chkquenext(element); in remque()
997 chkqueprev(element); in remque()
999 element->qh_link->qh_rlink = element->qh_rlink; in remque()
1000 element->qh_rlink->qh_link = element->qh_link; in remque()
[all …]
/xnu-11215/tools/lldbmacros/
H A Dzonetriage.py66 element = values.group('element')
70 print("(lldb) zstack_findelem " + btlog + " " + element)
71 findelem_output = lldb_run_command("zstack_findelem " + btlog + " " + element)
H A Dktrace.py83 element = unsigned(cur_typefilter[i * elements_per_class + j])
84 if element != 0:
87 subclasses[j] = element
92 for element in subclasses:
94 bytes = [unsigned((element >> i) & 0xff) for i in (0, 8, 16, 24, 32, 40, 48, 56)]
H A Dntstat.py59 element = Cast(iter_val, element_type)
60 iter_val = element.__getattr__(field_name).__getattr__('tqe_prev')
H A Dscheduler.py41 element = kern.GetValueFromAddress(base_address + (y * struct_size), 'uintptr_t *')[1]
42 if element:
43 cpu_data_entry = Cast(element, 'cpu_data_t *')
109 element = kern.GetValueFromAddress(base_address + (y * struct_size), 'uintptr_t *')[1]
110 if element:
111 cpu_data_entry = Cast(element, 'cpu_data_t *')
/xnu-11215/doc/allocators/
H A Dread-only.md59 read-only element should include a pointer back to the read/write side (a
97 - `zalloc_ro`: Allocate an element from a read-only zone.
98 - `zfree_ro`: Free an element back to a read-only zone. Note that this is a
100 - `zone_require_ro`: Verify that an element belongs to a given read-only zone
102 - `zalloc_ro_mut`: Modify part of an element allocated from a read-only zone.
105 over the entirety of an element: simply passes an offset of zero and size
109 perform a `zone_require_ro` on the element themselves; there's no need to do
H A Dapi-basics.md149 then the array element type **must not** be only data.
357 (the element sizes and array element count).
/xnu-11215/bsd/netinet/
H A Ddhcp_options.c152 ptrlist_add(ptrlist_t * list, const void * element) in ptrlist_add() argument
158 list->array[list->count++] = element; in ptrlist_add()
184 dhcpol_add(dhcpol_t * list, const void * element) in dhcpol_add() argument
186 return ptrlist_add((ptrlist_t *)list, element); in dhcpol_add()
H A Ddhcp_options.h188 boolean_t dhcpol_add(dhcpol_t * list, const void * element);
/xnu-11215/osfmk/kern/
H A Dbtlog.h252 void *element,
267 void *element);
H A Dqueue.h581 #define qe_queue_next(head, element, type, field) ({ \ argument
582 queue_entry_t _tmp_entry = queue_next(&(element)->field); \
590 #define qe_queue_prev(head, element, type, field) ({ \ argument
591 queue_entry_t _tmp_entry = queue_prev(&(element)->field); \
H A Dbtlog.c1873 vm_offset_t element = instances[i]; in btlog_copy_backtraces_for_elements() local
1874 void *addr = __btlog_elem_normalize((void *)element); in btlog_copy_backtraces_for_elements()
1878 if (kInstanceFlagReferenced & element) { in btlog_copy_backtraces_for_elements()
1882 element = INSTANCE_PUT(element) & ~kInstanceFlags; in btlog_copy_backtraces_for_elements()
1897 element = (ref | kInstanceFlagReferenced); in btlog_copy_backtraces_for_elements()
1899 instances[num_sites++] = INSTANCE_PUT(element); in btlog_copy_backtraces_for_elements()
/xnu-11215/security/
H A Dmac_base.c911 const char *element, struct sbuf *sb) in mac_label_externalize() argument
923 if (element[0] == '?') { in mac_label_externalize()
924 element++; in mac_label_externalize()
926 } else if (element[0] == '*' && element[1] == '\0') { in mac_label_externalize()
942 if (strcmp(name, element) != 0) { in mac_label_externalize()
1012 char *element; in mac_externalize() local
1048 while ((element = strsep(&scratch, ",")) != NULL) { in mac_externalize()
1050 element, &sb); in mac_externalize()
/xnu-11215/iokit/DriverKit/
H A Dqueue_implementation.h581 #define qe_queue_next(head, element, type, field) ({ \ argument
582 queue_entry_t _tmp_entry = queue_next(&(element)->field); \
590 #define qe_queue_prev(head, element, type, field) ({ \ argument
591 queue_entry_t _tmp_entry = queue_prev(&(element)->field); \
/xnu-11215/iokit/Kernel/
H A DIOService.cpp1675 element, in lockForArbitration()
1806 element, in lockForArbitration()
1855 element, in lockForArbitration()
1905 element, in lockForArbitration()
1910 element, in lockForArbitration()
1935 element, in unlockForArbitration()
1954 element, in unlockForArbitration()
1960 element, in unlockForArbitration()
1973 element, in unlockForArbitration()
1985 element, in unlockForArbitration()
[all …]
H A DIOHibernateIO.cpp2780 addr64_t element; in IOHibernateSystemRestart() local
2792 noteProp = OSData::withCapacity(3 * sizeof(element)); in IOHibernateSystemRestart()
2796 element = len; in IOHibernateSystemRestart()
2797 noteProp->appendValue(element); in IOHibernateSystemRestart()
2798 element = crc32(0, smcBytes, len); in IOHibernateSystemRestart()
2799 noteProp->appendValue(element); in IOHibernateSystemRestart()
2802 element = (addr64_t) &noteStore[0]; in IOHibernateSystemRestart()
2803 element = (element & page_mask) | ptoa_64(pmap_find_phys(kernel_pmap, element)); in IOHibernateSystemRestart()
2804 noteProp->appendValue(element); in IOHibernateSystemRestart()
/xnu-11215/bsd/vfs/
H A Dvfs_exclave_fs.c1577 char *element; in vfs_exclave_is_enospc_exclave() local
1599 while ((element = strsep(&scratch, ",")) != NULL) { in vfs_exclave_is_enospc_exclave()
1600 if (strcmp(element, exclave_id) == 0) { in vfs_exclave_is_enospc_exclave()
/xnu-11215/libkdd/
H A Dkcdata_core.m210 …*error = GEN_ERRORF(KERN_INVALID_OBJECT, "failed to parse array element. type=0x%x", (int)typeID);
/xnu-11215/doc/building/
H A Dxnu_build_consolidation.md116 element per core or cluster. Whilst this information is not known precisely at compile time anymore…
/xnu-11215/makedefs/
H A DMakeInc.top177 # of the form "n71m:arm64;s8000;s8003". The 4th element is the true SoC platform, which will get an…
178 # kernel's recursive build system will build the 3rd element as the KernelPlatform

12