Home
last modified time | relevance | path

Searched refs:C (Results 1 – 25 of 41) sorted by relevance

12

/xnu-11215/libkern/kmod/
H A DREADME2 # 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 Dapi-basics.md126 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 Dscanf.c39 # define isspace(C) libkern_isspace(C) argument
/xnu-11215/iokit/DriverKit/
H A DIODispatchQueue.iig110 * @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 DIOReportTypes.h166 #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 DIOReportTypes.h166 #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 DMakeInc.dir3 # Copyright (C) 1999-2016 Apple Inc. All rights reserved.
45 -C $(CURDIR)/$$(patsubst $(1)_recurse_into_%,%,$$@) \
H A DMakeInc.color3 # Copyright (C) 2020 Apple Inc. All rights reserved.
H A DMakeInc.san3 # Copyright (C) 2021 Apple Inc. All rights reserved.
/xnu-11215/san/memory/
H A Dkasan-blacklist-arm6427 # C function that initializes KASAN on SPTM systems.
/xnu-11215/doc/primitives/
H A Dstring-handling.md3 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 Datomics.md11 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 Dsched_cond.md35 assert_wait(...); // (C)
/xnu-11215/tools/lldbmacros/
H A Druff.toml6 fixable = ["A", "B", "C", "D", "E", "F", "G", "I", "N", "Q", "S", "T", "W", "ANN", "ARG", "BLE", "C…
/xnu-11215/libkern/
H A DOSKextLib.cpp44 #pragma mark C-based kext interface (loading/loaded kexts only)
428 #pragma mark Kernel-Internal C Functions
/xnu-11215/security/conf/
H A Dcopyright.nai7 * Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"),
/xnu-11215/tools/cocci/
H A Dos_atomic_normalize.cocci23 expression A, B, C;
/xnu-11215/libkern/libkern/
H A DOSKextLib.h679 #pragma mark Kext Loading C Functions
H A DOSKextLibPrivate.h811 #pragma mark Kext Loading C Functions
H A Dversion.h.template75 extern "C" {
/xnu-11215/libkern/c++/
H A DOSRuntime.cpp161 #pragma mark C++ Runtime Load/Unload
559 #pragma mark C++ Allocators & Deallocators
/xnu-11215/config/
H A Dversion.c.template30 * This file is a C source template for version.c, which is generated
/xnu-11215/tools/
H A Dsyscall_map.lua40 local arg = lpeg.C((1 - lpeg.S(',)'))^1)
/xnu-11215/osfmk/conf/
H A Dcopyright.osf2 # Copyright (C) 1991, 1992, 1993, 1994, 1995
/xnu-11215/libsyscall/mach/
H A Derr_libkern.sub28 * error codes for Libkern/C++

12