| /xnu-11215/libkern/kmod/ |
| H A D | README | 2 # Subtle combination of files and libraries make up the C++ runtime system for 20 # which automatically brings in the appropriate C++ _start routine. However 22 # is created and initialized by the CreateKModInfo.perl script. If no C++
|
| /xnu-11215/doc/allocators/ |
| H A D | api-basics.md | 126 or C++ `class`. Fixed-size types must follow certain rules: 280 ## C++ classes and operator new. 283 `operator new/delete` in C++. For C++ classes, the approach required 286 Most, if not all, C++ objects used in conjuction with IOKit APIs 287 should probably use OSObject as a base class. C++ operators 300 Unlike `OSObject` subclasses, regular C++ classes must adopt typed allocators 308 to continue to use C++'s new and delete keywords to allocate/deallocate instances. 383 ### Wrapping C++ type allocation in container OSObjects 385 The blessed way of wrapping and passing a C++ type allocation for use in the
|
| /xnu-11215/tests/ |
| H A D | scanf.c | 39 # define isspace(C) libkern_isspace(C) argument
|
| /xnu-11215/iokit/DriverKit/ |
| H A D | IODispatchQueue.iig | 110 * @return C-string pointer in the queues internal storage. 121 * @return C-string pointer in the queues internal storage. 136 * @brief C-function callback version of DispatchAsync. 153 * @brief C-function callback version of DispatchConcurrent. 167 * @brief C-function callback version of DispatchSync.
|
| H A D | IOReportTypes.h | 166 #define IOREPORT_MAKEID(A, B, C, D, E, F, G, H) \ argument 167 (__IOR_lshiftchr(A, 7) | __IOR_lshiftchr(B, 6) | __IOR_lshiftchr(C, 5) \
|
| /xnu-11215/iokit/IOKit/ |
| H A D | IOReportTypes.h | 166 #define IOREPORT_MAKEID(A, B, C, D, E, F, G, H) \ argument 167 (__IOR_lshiftchr(A, 7) | __IOR_lshiftchr(B, 6) | __IOR_lshiftchr(C, 5) \
|
| /xnu-11215/makedefs/ |
| H A D | MakeInc.dir | 3 # Copyright (C) 1999-2016 Apple Inc. All rights reserved. 45 -C $(CURDIR)/$$(patsubst $(1)_recurse_into_%,%,$$@) \
|
| H A D | MakeInc.color | 3 # Copyright (C) 2020 Apple Inc. All rights reserved.
|
| H A D | MakeInc.san | 3 # Copyright (C) 2021 Apple Inc. All rights reserved.
|
| /xnu-11215/san/memory/ |
| H A D | kasan-blacklist-arm64 | 27 # C function that initializes KASAN on SPTM systems.
|
| /xnu-11215/doc/primitives/ |
| H A D | string-handling.md | 3 xnu implements most POSIX C string functions, including the inherited subset of 4 standard C string functions. Unfortunately, poor design choices have made many 8 failings of POSIX C string functions, xnu's `strbuf` functions, and their 9 intersection with the -fbounds-safety C extension. 169 this plain C code:
|
| H A D | atomics.md | 11 pitfalls in the handling of atomics in C. 40 to modern C, in the purest C tradition, it is a sharp tool. 197 1. `os_atomic_add(p, value, ...)` is essentially equivalent to the C
|
| H A D | sched_cond.md | 35 assert_wait(...); // (C)
|
| /xnu-11215/tools/lldbmacros/ |
| H A D | ruff.toml | 6 fixable = ["A", "B", "C", "D", "E", "F", "G", "I", "N", "Q", "S", "T", "W", "ANN", "ARG", "BLE", "C…
|
| /xnu-11215/libkern/ |
| H A D | OSKextLib.cpp | 44 #pragma mark C-based kext interface (loading/loaded kexts only) 428 #pragma mark Kernel-Internal C Functions
|
| /xnu-11215/security/conf/ |
| H A D | copyright.nai | 7 * Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"),
|
| /xnu-11215/tools/cocci/ |
| H A D | os_atomic_normalize.cocci | 23 expression A, B, C;
|
| /xnu-11215/libkern/libkern/ |
| H A D | OSKextLib.h | 679 #pragma mark Kext Loading C Functions
|
| H A D | OSKextLibPrivate.h | 811 #pragma mark Kext Loading C Functions
|
| H A D | version.h.template | 75 extern "C" {
|
| /xnu-11215/libkern/c++/ |
| H A D | OSRuntime.cpp | 161 #pragma mark C++ Runtime Load/Unload 559 #pragma mark C++ Allocators & Deallocators
|
| /xnu-11215/config/ |
| H A D | version.c.template | 30 * This file is a C source template for version.c, which is generated
|
| /xnu-11215/tools/ |
| H A D | syscall_map.lua | 40 local arg = lpeg.C((1 - lpeg.S(',)'))^1)
|
| /xnu-11215/osfmk/conf/ |
| H A D | copyright.osf | 2 # Copyright (C) 1991, 1992, 1993, 1994, 1995
|
| /xnu-11215/libsyscall/mach/ |
| H A D | err_libkern.sub | 28 * error codes for Libkern/C++
|