Home
last modified time | relevance | path

Searched refs:os (Results 1 – 25 of 53) sorted by relevance

123

/xnu-8020.101.4/libsyscall/mach/
H A Derr_kern.sub40 "(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.101.4/tools/lldbmacros/core/
H A Dxnu_lldb_init.py3 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 Dstandard.py6 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 Dsyntax_checker.py14 import os
30 if not os.path.exists(fname):
/xnu-8020.101.4/libkern/os/
H A Dalloc_util.h36 namespace os {
54 using _T = os::remove_extent_t<os::remove_const_t<os::remove_volatile_t<T> > >; in __compute_result()
55 using _U = os::remove_extent_t<CheckTy>; in __compute_result()
56 return os::is_same<void, _T>::value || os::is_same<_T, _U>::value; in __compute_result()
59 static constexpr os::remove_reference_t<PtrTy> __p = nullptr;
69 os::au_detail::is_compatible_ptr<decltype(ptr), type>::value
H A Dcpp_util.h17 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 Datomic.h71 #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 DMakefile51 INSTALL_MI_DIR = os
62 EXPORT_MI_DIR = os
/xnu-8020.101.4/tools/tests/kernpost_test_report/
H A Dkernpost_test_report.lua37 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.101.4/tools/lldbmacros/plugins/
H A Diosspeedtracer.py15 import subprocess,os
23 …ios_process = subprocess.Popen([os.path.join(os.path.dirname(os.path.abspath(__file__)), "iosspeed…
/xnu-8020.101.4/libkern/c++/
H A DOSArray.cpp76 os::uninitialized_value_construct(array, array + capacity); in initWithCapacity()
174 os::destroy(array, array + capacity); in free()
229 os::uninitialized_move(array, array + capacity, newArray); in ensureCapacity()
230 os::uninitialized_value_construct(newArray + capacity, newArray + finalCapacity); in ensureCapacity()
231 os::destroy(array, array + capacity); in ensureCapacity()
282 array[i] = os::move(array[i - 1]); in setObject()
356 oldObject = os::move(array[index]); in removeObject()
360 array[i] = os::move(array[i + 1]); in removeObject()
545 ret = os::move(newArray); in copyCollection()
H A DOSDictionary.cpp101 os::uninitialized_value_construct(dictionary, dictionary + inCapacity); in initWithCapacity()
337 os::uninitialized_move(dictionary, dictionary + capacity, newDict); in ensureCapacity()
338 os::uninitialized_value_construct(newDict + capacity, newDict + finalCapacity); in ensureCapacity()
339 os::destroy(dictionary, dictionary + capacity); in ensureCapacity()
408 os::move_backward(&dictionary[i], &dictionary[count], &dictionary[count + 1]); in setObject()
827 ret = os::move(newDict); in copyCollection()
H A DOSSymbol.cpp584 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 DOSOrderedSet.cpp226 array[i] = os::move(array[i - 1]); in setObject()
297 array[i - 1] = os::move(array[i]); in removeObject()
511 ret = os::move(newSet); in copyCollection()
/xnu-8020.101.4/libkern/conf/
H A Dfiles59 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.101.4/tools/lldbmacros/
H A Dutils.py12 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 Dsysreg.py15 import os
26 _SYSREG_DOC_PATH = os.path.dirname(os.path.abspath(__file__)) + '/sysregdoc/'
H A D.lldbinit1 settings set target.process.python-os-plugin-path ./core/operating_system.py
H A Dkext.py9 import os
475 if not os.path.exists(exec_full_path):
478 if not os.path.isfile(exec_full_path):
/xnu-8020.101.4/tools/trace/
H A Dktruss.lua10 os.exit(arg[1] == nil)
27 os.exit(1)
H A Dpirate.lua11 os.exit(0)
28 os.exit(1)
/xnu-8020.101.4/libkern/
H A DMakefile10 libkern os firehose
17 libkern os firehose
/xnu-8020.101.4/libsyscall/
H A DLibsyscall.xcconfig21 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.101.4/bsd/net/
H A Dpf_osfp.c242 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.101.4/tools/
H A Dsymbolify.py5 import os
81 KERNEL_FILE = os.environ.get("SYMBOLIFY_KERNEL")

123