| /xnu-11215/libkern/libkern/c++/ |
| H A D | OSLib.h | 54 #define kallocp_type_container(ty, countp, flags) ({ \ argument 57 static KALLOC_TYPE_VAR_DEFINE_3(kt_view_var, ty, KT_SHARED_ACCT); \ 59 kt_size(0, sizeof(ty), *__countp), \ 62 *__countp = (uint32_t)MIN(__kar.size / sizeof(ty), UINT32_MAX); \ 63 (ty *)__kar.addr; \ 66 #define kreallocp_type_container(ty, ptr, old_count, countp, flags) ({ \ argument 69 static KALLOC_TYPE_VAR_DEFINE_3(kt_view_var, ty, KT_SHARED_ACCT); \ 71 kt_size(0, sizeof(ty), old_count), \ 72 kt_size(0, sizeof(ty), *__countp), \ 75 *__countp = (uint32_t)MIN(__kar.size / sizeof(ty), UINT32_MAX); \ [all …]
|
| /xnu-11215/tools/lldbmacros/core/ |
| H A D | lldbwrap.py | 563 ty = self 577 f_offs, ty = ty._findFieldOffsetByName(name) 584 ty = ty.GetArrayElementType() 586 ty = ty.GetPointeeType() 589 return offs, ty, name 692 def Cast(self, ty): argument 693 v = super().Cast(ty) 713 v = nv.AddressOf().Cast(ty) 724 def chkCast(self, ty): argument 725 v = self.Cast(ty) [all …]
|
| /xnu-11215/tools/lldbmacros/ |
| H A D | utils.py | 332 ty = GetType(enum_name) 335 for e in ty.get_enum_members_array(): 336 if ty.GetTypeFlags() & lldb.eTypeIsSigned: 373 ty = GetType(enum_name) 378 for e in ty.get_enum_members_array(): 379 if ty.GetTypeFlags() & lldb.eTypeIsSigned: 388 if ty.GetTypeFlags() & lldb.eTypeIsSigned: 407 ty = GetType(enum_name) 412 for e in ty.get_enum_members_array(): 413 if ty.GetTypeFlags() & lldb.eTypeIsSigned: [all …]
|
| H A D | kasan.py | 806 ty = h.GetType() 814 h = h.target.xCreateValueFromAddress(None, n, ty)
|
| H A D | ipc.py | 46 def GetSpaceObjectsWithBits(is_tableval, num_entries, mask, ty): argument 52 ty,
|
| /xnu-11215/tools/lldbmacros/kmemory/ |
| H A D | zone.py | 514 ty = sbv.GetType().GetPointeeType() 517 sbv.xCreateValueFromAddress(name, addr + (cpu << kmem.page_shift), ty) 781 def iter_all(self, ty = None): argument 804 if ty is None: 808 return (fn('e', addr, ty) for addr in addresses) 810 def iter_free(self, ty = None): argument 837 if ty is None: 841 return (fn('e', addr, ty) for addr in addresses) 843 def iter_allocated(self, ty = None): argument 870 if ty is None: [all …]
|
| H A D | btlog.py | 269 ty = arr.GetType() 270 tysz = ty.GetByteSize() 288 arr.chkCreateValueFromAddress('e', base + idx * tysz, ty),
|
| H A D | kmem.py | 341 ty = sbv.GetType() 345 (cpu, sbv.chkCreateValueFromAddress(name, addr + kmem.PERCPU_BASE(cpu), ty))
|
| /xnu-11215/san/tools/ |
| H A D | generate_dynamic_blacklist.py | 60 kext, func, ty = extract_symbol(line) variable 61 print_entry(kext, func, ty)
|
| /xnu-11215/san/memory/ |
| H A D | ubsan.h | 57 struct san_type_desc *ty; member 72 struct san_type_desc *ty; member
|
| H A D | ubsan.c | 312 struct san_type_desc *ty = v->overflow->ty; in format_overflow() local 316 ubsan_json_type(ub, "lhs", &v->lhs, ty); in format_overflow() 361 ubsan_json_str(ub, "type", v->align->ty->name); in format_type_mismatch() 371 ubsan_json_type(ub, NULL, (uint64_t *)&addr, v->align->ty); in format_type_mismatch()
|
| /xnu-11215/tests/ |
| H A D | stackshot_tests.m | 1854 check_srp_test(const char *name, enum srp_test_type ty) 1863 if (ty == SRP_TEST_THREAD) { 1868 } else if (ty == SRP_TEST_PID) {
|