Searched refs:function (Results 1 - 25 of 316) sorted by relevance

1234567891011>>

/haiku/src/libs/posix_error_mapper/
H A Dposix_error_mapper.h14 #define GET_REAL_FUNCTION(returnValue, function, parameters) \
15 static returnValue (*sReal_##function)parameters \
16 = (returnValue (*)parameters)dlsym(RTLD_DEFAULT, #function)
18 #define HIDDEN_FUNCTION(function) asm volatile(".hidden " #function)
20 #define WRAPPER_FUNCTION(returnValue, function, parameters, body) \
21 returnValue function parameters \
23 HIDDEN_FUNCTION(function); \
24 GET_REAL_FUNCTION(returnValue, function, parameters); \
/haiku/headers/private/system/
H A Dsymbol_versioning.h12 # define DEFINE_LIBROOT_KERNEL_SYMBOL_VERSION(function, symbol, version) \
13 B_DEFINE_SYMBOL_VERSION(function, symbol "KERNEL_" version)
15 # define DEFINE_LIBROOT_KERNEL_SYMBOL_VERSION(function, symbol, version) \
16 B_DEFINE_SYMBOL_VERSION(function, symbol "LIBROOT_" version)
/haiku/src/system/glue/arch/sparc/
H A Dcrti.S23 .type _init, #function
28 .type _fini, #function
/haiku/headers/private/kernel/
H A Dkernel_daemon.h16 status_t register_resource_resizer(daemon_hook function, void* arg,
18 status_t unregister_resource_resizer(daemon_hook function, void* arg);
/haiku/src/system/libroot/posix/stdlib/
H A Datfork.c15 /** This is the BeOS compatible atfork() function; since it's not part of POSIX,
21 atfork(void (*function)(void)) argument
23 status_t status = __register_atfork(NULL, NULL, function);
/haiku/src/bin/debug/ltrace/arch/
H A Dltrace_stub.h14 void* function);
/haiku/src/system/boot/platform/openfirmware/arch/sparc/
H A Darch_start_kernel.S6 #define FUNCTION(x) .global x; .type x,@function; x
/haiku/src/kits/debugger/debug_info/
H A DSpecificImageDebugInfo.cpp27 // create the function infos
33 FunctionDebugInfo* function = new(std::nothrow) BasicFunctionDebugInfo( local
36 if (function == NULL || !functions.AddItem(function)) {
37 delete function;
40 function = functions.RemoveItemAt(index);
41 delete function;
/haiku/headers/private/debugger/model/
H A DExpressionValues.h30 bool GetValue(FunctionID* function,
34 inline bool GetValue(FunctionID* function,
38 bool HasValue(FunctionID* function,
41 inline bool HasValue(FunctionID* function,
44 status_t SetValue(FunctionID* function,
67 ExpressionValues::GetValue(FunctionID* function, Thread* thread, argument
70 return GetValue(function, thread, &expression, _value);
75 ExpressionValues::HasValue(FunctionID* function, Thread* thread, argument
78 return HasValue(function, thread, &expression);
/haiku/src/system/libroot/posix/
H A Dassert.cpp25 const char* function)
27 fprintf(stderr, "%s: %s:%d:%s: %s\n", __progname, file, line, function,
43 const char* function)
45 __assert_fail(strerror(error), file, line, function); local
24 __assert_fail(const char* assertion, const char* file, unsigned int line, const char* function) argument
42 __assert_perror_fail(int error, const char* file, unsigned int line, const char* function) argument
/haiku/src/system/libroot/posix/arch/m68k/
H A Dsetjmp_internal.h8 /* M68K function call ABI register use:
24 #define FUNCTION(x) .global x; .type x,@function; x
/haiku/src/add-ons/kernel/bus_managers/pci/
H A Dpci_fixup.cpp16 * the split mode with the SATA controller at function 0 and the PATA
17 * controller at function 1. This way the SATA controller will be picked up by
26 uint8 function, uint16 deviceId)
28 // We only care about function 0.
29 if (function != 0)
42 dprintf("jmicron_fixup_ahci: domain %u, bus %u, device %u, function %u, "
43 "deviceId 0x%04x\n", domain, bus, device, function, deviceId);
46 uint32 val = pci->ReadConfig(domain, bus, device, function, 0x40, 4);
71 pci->WriteConfig(domain, bus, device, function, 0x40, 4, val);
73 // Read IRQ from controller at function
25 jmicron_fixup_ahci(PCI *pci, uint8 domain, uint8 bus, uint8 device, uint8 function, uint16 deviceId) argument
83 intel_fixup_ahci(PCI *pci, uint8 domain, uint8 bus, uint8 device, uint8 function, uint16 deviceId) argument
159 ati_fixup_ixp(PCI *pci, uint8 domain, uint8 bus, uint8 device, uint8 function, uint16 deviceId) argument
191 pci_fixup_device(PCI *pci, uint8 domain, uint8 bus, uint8 device, uint8 function) argument
[all...]
H A Dpci_fixup.h13 uint8 function);
H A Dpci_controller.h15 uint8 bus, uint8 device, uint8 function,
20 uint8 bus, uint8 device, uint8 function,
26 uint8 bus, uint8 device, uint8 function,
30 uint8 bus, uint8 device, uint8 function,
/haiku/src/add-ons/kernel/bus_managers/pci/arch/x86/
H A Dpci_irq.cpp18 uint8 bus, uint8 device, uint8 function,
27 uint8 bus, uint8 device, uint8 function,
17 pci_x86_irq_read(void *cookie, uint8 bus, uint8 device, uint8 function, uint8 pin, uint8 *irq) argument
26 pci_x86_irq_write(void *cookie, uint8 bus, uint8 device, uint8 function, uint8 pin, uint8 irq) argument
H A Dpci_irq.h14 uint8 bus, uint8 device, uint8 function,
18 uint8 bus, uint8 device, uint8 function,
/haiku/src/tests/add-ons/kernel/kernelland_emu/
H A Dlow_resource_manager.cpp28 register_low_resource_handler(low_resource_func function, void *data, argument
36 unregister_low_resource_handler(low_resource_func function, void *data) argument
/haiku/headers/os/drivers/
H A DPCI_x86.h17 uint8 function); /* function # in device */
22 uint8 function, /* function # in device */
28 uint8 function); /* function # in device */
33 uint8 function); /* function # in device */
37 uint8 function); /* function # i
[all...]
/haiku/headers/posix/
H A Dassert.h35 unsigned int line, const char *function)
39 unsigned int line, const char *function)
/haiku/headers/private/system/arch/arm64/
H A Dasm_defs.h10 #define STATIC_FUNCTION(name) .type name, %function; name
11 #define FUNCTION(name) .global name; .type name, %function; name
/haiku/src/system/libroot/posix/unistd/
H A Dlockf.cpp14 lockf(int fileDescriptor, int function, off_t size) argument
21 if (function == F_ULOCK) {
25 } else if (function == F_LOCK) {
29 } else if (function == F_TLOCK) {
33 } else if (function == F_TEST) {
70 // be determined before the fcntl() function blocks. If the file size
/haiku/src/kits/debugger/model/
H A DExpressionValues.cpp18 FunctionID* function; member in struct:ExpressionValues::Key
22 Key(FunctionID* function, ::Thread* thread, const BString& expression) argument
24 function(function),
32 return function->HashValue() ^ thread->ID()
38 return *function == *other.function
49 ValueEntry(FunctionID* function, ::Thread* thread, argument
52 Key(function, thread, expression)
54 function
141 GetValue(FunctionID* function, ::Thread* thread, const BString* expression, BVariant& _value) const argument
154 HasValue(FunctionID* function, ::Thread* thread, const BString* expression) const argument
162 SetValue(FunctionID* function, ::Thread* thread, const BString& expression, const BVariant& value) argument
[all...]
/haiku/headers/private/shared/
H A DFunctionObject.h54 // add more function objects and specialized binders as needed
180 : function(callThis),
185 virtual void operator()() { (function)(p1.Pass()); }
188 void (*function)(Param1); member in class:BPrivate::SingleParamFunctionObject
197 SingleParamFunctionObjectWithResult(Result (*function)(Param1), Param1 p1) argument
198 : function(function),
204 { FunctionObjectWithResult<Result>::result = (function)(p1.Pass()); }
207 Result (*function)(Param1); member in class:BPrivate::SingleParamFunctionObjectWithResult
217 : function(callThi
226 void (*function)(Param1, Param2); member in class:BPrivate::TwoParamFunctionObject
247 void (*function)(Param1, Param2, Param3); member in class:BPrivate::ThreeParamFunctionObject
273 Result (*function)(Param1, Param2, Param3); member in class:BPrivate::ThreeParamFunctionObjectWithResult
297 void (*function)(Param1, Param2, Param3, Param4); member in class:BPrivate::FourParamFunctionObject
326 Result (*function)(Param1, Param2, Param3, Param4); member in class:BPrivate::FourParamFunctionObjectWithResult
347 void (T::*function)(); member in class:BPrivate::PlainMemberFunctionObject
371 void (T::*function)(); member in class:BPrivate::PlainLockingMemberFunctionObject
391 R (T::*function)(); member in class:BPrivate::PlainMemberFunctionObjectWithResult
411 void (T::*function)(Param1); member in class:BPrivate::SingleParamMemberFunctionObject
434 void (T::*function)(Param1, Param2); member in class:BPrivate::TwoParamMemberFunctionObject
458 R (T::*function)(Param1); member in class:BPrivate::SingleParamMemberFunctionObjectWithResult
482 R (T::*function)(Param1, Param2); member in class:BPrivate::TwoParamMemberFunctionObjectWithResult
499 NewFunctionObject(void (*function)(Param1), Param1 p1) argument
507 NewFunctionObject(void (*function)(Param1, Param2), Param1 p1, Param2 p2) argument
515 NewFunctionObject(void (*function)(Param1, Param2, Param3), Param1 p1, Param2 p2, Param3 p3) argument
[all...]
/haiku/src/system/libroot/posix/glibc/math/
H A Dcomplex.h54 so we can easily declare each function as both `name' and `__name',
57 #define __MATHCALL(function, args) \
58 __MATHDECL (_Mdouble_complex_,function, args)
59 #define __MATHDECL(type, function, args) \
60 __MATHDECL_1(type, function, args); \
61 __MATHDECL_1(type, __CONCAT(__,function), args)
62 #define __MATHDECL_1(type, function, args) \
63 extern type __MATH_PRECNAME(function) args __THROW
/haiku/src/tests/misc/exception-test/
H A Dexception-test.cpp21 catchBase(void (*function)()) argument
24 (*function)();
35 catchA(void (*function)()) argument
38 (*function)();
49 catchB(void (*function)()) argument
52 (*function)();
63 catchVirtualBase(void (*function)()) argument
66 (*function)();
77 catchVirtualA(void (*function)()) argument
80 (*function)();
91 catchVirtualB(void (*function)()) argument
105 catchInt(void (*function)()) argument
118 catchAny(void (*function)()) argument
[all...]

Completed in 205 milliseconds

1234567891011>>