| /xnu-8020.140.41/libsyscall/mach/ |
| H A D | err_kern.sub | 40 "(os/kern) successful", /* 0 */ 41 "(os/kern) invalid address", 42 "(os/kern) protection failure", 43 "(os/kern) no space available", 44 "(os/kern) invalid argument", 45 "(os/kern) failure", /* 5 */ 46 "(os/kern) resource shortage", 47 "(os/kern) not receiver", 48 "(os/kern) no access", 49 "(os/kern) memory failure", [all …]
|
| /xnu-8020.140.41/tools/lldbmacros/core/ |
| H A D | xnu_lldb_init.py | 3 import os 28 return os.path.dirname(str(s.name)) 48 new_path = os.path.expanduser(new_path) 49 new_path = os.path.normpath(new_path) 60 new_path = new_path + os.path.sep + projpath 100 if "DEBUG_XNU_LLDBMACROS" in os.environ and len(os.environ['DEBUG_XNU_LLDBMACROS']) > 0: 150 …if "XNU_LLDBMACROS_NOBUILTINKEXTS" in os.environ and len(os.environ['XNU_LLDBMACROS_NOBUILTINKEXTS… 152 builtinkexts_path = os.path.join(os.path.dirname(self_path), "lldbmacros", "builtinkexts") 153 if os.access(builtinkexts_path, os.F_OK): 154 kexts = os.listdir(builtinkexts_path) [all …]
|
| H A D | standard.py | 6 import os 139 self.isatty = os.isatty(sys.__stdout__.fileno()) 238 self.fname=os.path.normpath(os.path.expanduser(a.strip())) 242 self.isatty = os.isatty(self.fhandle.fileno())
|
| H A D | syntax_checker.py | 14 import os 30 if not os.path.exists(fname):
|
| /xnu-8020.140.41/tools/tests/kernpost_test_report/ |
| H A D | kernpost_test_report.lua | 37 os.exit(1) 55 local now = os.time() 56 local timezone = os.difftime(now, os.time(os.date("!*t", now))) 66 local time_str = os.date('%Y-%m-%dT%H:%M:%S', walltime_secs) 96 os.exit(1) 120 os.exit(1) 127 os.exit(1) 137 os.exit(1) 144 os.exit(1) 152 os.exit(1)
|
| /xnu-8020.140.41/libkern/os/ |
| H A D | cpp_util.h | 17 namespace os { 86 typedef typename os::remove_reference<_T>::type _U; 95 *d_first = os::move(*first); 101 constexpr T && forward(os::remove_reference_t<T>&t) noexcept { 106 constexpr T && forward(os::remove_reference_t<T>&& t) noexcept { 107 static_assert(!os::is_lvalue_reference<T>::value, 120 *(--d_last) = os::move(*(--last)); 130 ::new (static_cast<void*>(d_first)) T(os::move(*first));
|
| H A D | atomic.h | 71 #define os_cast_to_atomic_pointer(p) os::cast_to_atomic_pointer(p) 73 #define os_cast_to_nonatomic_pointer(p) os::cast_to_nonatomic_pointer(p) 93 namespace os {
|
| H A D | Makefile | 51 INSTALL_MI_DIR = os 62 EXPORT_MI_DIR = os
|
| /xnu-8020.140.41/tools/lldbmacros/plugins/ |
| H A D | iosspeedtracer.py | 15 import subprocess,os 23 …ios_process = subprocess.Popen([os.path.join(os.path.dirname(os.path.abspath(__file__)), "iosspeed…
|
| /xnu-8020.140.41/libkern/conf/ |
| H A D | files | 59 libkern/os/log.c standard 60 libkern/os/log_encode.c standard 61 libkern/os/log_mem.c standard 62 libkern/os/log_queue.c standard 63 libkern/os/object.c standard 64 libkern/os/internal.c standard 65 libkern/os/refcnt.c standard
|
| /xnu-8020.140.41/tools/lldbmacros/ |
| H A D | utils.py | 12 import sys, re, time, os, time 171 …lldb_py = os.path.join(os.path.dirname(os.path.dirname(platdir)), 'Library/PrivateFrameworks/LLDB.… 173 …lldb_py = os.path.join(platdir[0:offset+8], 'SharedFrameworks/LLDB.framework/Versions/A/Resources/… 174 if os.path.isdir(lldb_py): 452 expanded_path = os.path.expanduser(path) 453 norm_path = os.path.normpath(expanded_path)
|
| H A D | sysreg.py | 15 import os 26 _SYSREG_DOC_PATH = os.path.dirname(os.path.abspath(__file__)) + '/sysregdoc/'
|
| H A D | .lldbinit | 1 settings set target.process.python-os-plugin-path ./core/operating_system.py
|
| H A D | kext.py | 9 import os 475 if not os.path.exists(exec_full_path): 478 if not os.path.isfile(exec_full_path):
|
| H A D | xnudefines.py | 12 import os, re
|
| H A D | zonetriage.py | 25 import os.path
|
| /xnu-8020.140.41/tools/trace/ |
| H A D | ktruss.lua | 10 os.exit(arg[1] == nil) 27 os.exit(1)
|
| H A D | pirate.lua | 11 os.exit(0) 28 os.exit(1)
|
| /xnu-8020.140.41/libkern/ |
| H A D | Makefile | 10 libkern os firehose 17 libkern os firehose
|
| /xnu-8020.140.41/libkern/c++/ |
| H A D | OSArray.cpp | 172 os::destroy(array, array + capacity); in free() 276 array[i] = os::move(array[i - 1]); in setObject() 350 oldObject = os::move(array[index]); in removeObject() 354 array[i] = os::move(array[i + 1]); in removeObject() 539 ret = os::move(newArray); in copyCollection()
|
| H A D | OSSymbol.cpp | 584 return os::move(newSymb); in withCString() 599 return os::move(newSymb); // return the newly created & inserted symbol. in withCString() 617 return os::move(newSymb); in withCStringNoCopy() 632 return os::move(newSymb); // return the newly created & inserted symbol. in withCStringNoCopy() 655 return os::move(symbol); in existingSymbolForCString()
|
| H A D | OSOrderedSet.cpp | 224 array[i] = os::move(array[i - 1]); in setObject() 295 array[i - 1] = os::move(array[i]); in removeObject() 509 ret = os::move(newSet); in copyCollection()
|
| /xnu-8020.140.41/libsyscall/ |
| H A D | Libsyscall.xcconfig | 21 OS_PRIVATE_HEADERS_FOLDER_PATH = $(SDK_INSTALL_HEADERS_ROOT)/usr/local/include/os 22 OS_PUBLIC_HEADERS_FOLDER_PATH = $(SDK_INSTALL_HEADERS_ROOT)/usr/include/os 31 HEADER_SEARCH_PATHS = $(PROJECT_DIR)/mach $(PROJECT_DIR)/os $(PROJECT_DIR)/wrappers $(PROJECT_DIR)/…
|
| /xnu-8020.140.41/bsd/net/ |
| H A D | pf_osfp.c | 242 pf_osfp_match(struct pf_osfp_enlist *list, pf_osfp_t os) in pf_osfp_match() argument 248 if (os == PF_OSFP_ANY) { in pf_osfp_match() 252 DPFPRINTF("osfp no match against %x\n", os); in pf_osfp_match() 253 return os == PF_OSFP_UNKNOWN; in pf_osfp_match() 255 PF_OSFP_UNPACK(os, os_class, os_version, os_subtype); in pf_osfp_match() 263 entry->fp_subtype_nm, os, entry->fp_os); in pf_osfp_match() 267 DPFPRINTF("fingerprint 0x%x didn't match\n", os); in pf_osfp_match()
|
| /xnu-8020.140.41/tools/ |
| H A D | symbolify.py | 5 import os 81 KERNEL_FILE = os.environ.get("SYMBOLIFY_KERNEL")
|