Searched refs:function (Results 51 - 75 of 384) sorted by last modified time

1234567891011>>

/haiku/src/system/boot/loader/
H A Dmenu.cpp390 Menu::AddShortcut(char key, shortcut_hook function) argument
397 shortcut->function = function;
413 return shortcut->function;
/haiku/headers/private/kernel/arch/
H A Ddebug.h48 void (*function)(void*), void* parameter);
/haiku/src/bin/filteredquery/
H A DFilteredQuery.h14 filter_pair(filter_function function, void *arguments) argument
16 filter = function;
32 bool AddFilter(filter_function function, void *arg);
33 void RemoveFilter(filter_function function);
H A DFilteredQuery.cpp8 // Helper function to copy a query.
71 TFilteredQuery::RemoveFilter(filter_function function) argument
76 if (pair->filter == function) {
/haiku/headers/posix/
H A Dassert.h35 unsigned int line, const char *function)
39 unsigned int line, const char *function)
/haiku/src/add-ons/kernel/bus_managers/random/
H A Ddriver.cpp110 random_generic_syscall(const char* subsystem, uint32 function, void* buffer, argument
113 switch (function) {
/haiku/src/system/kernel/
H A Dthread.cpp519 ThreadCreationAttributes::ThreadCreationAttributes(thread_func function, argument
537 this->kernelEntry = function;
730 // call the kernel function, if any
750 /*! Prepares the given thread's kernel stack for executing its entry function.
754 function. The entry function is common_thread_entry().
758 to the entry function.
2352 Interrupts must be enabled. When the function returns, interrupts will be
2354 The function may not return. This e.g. happens when the thread has received
2480 thread_map(void (*function)(Threa
[all...]
H A Dsyscalls.cpp81 status_t _user_generic_syscall(const char* userSubsystem, uint32 function,
108 Also handles the special generic syscall function \c B_SYSCALL_INFO.
110 the subsystem does not support the requested function.
114 _user_generic_syscall(const char* userSubsystem, uint32 function, argument
123 //dprintf("generic_syscall(subsystem = \"%s\", function = %lu)\n", subsystem, function);
131 if (function >= B_RESERVED_SYSCALL_BASE) {
132 if (function != B_SYSCALL_INFO) {
161 = syscall->hook(subsystem, function, buffer, bufferSize);
/haiku/src/libs/icon/
H A DIconRenderer.cpp68 GradientFunction function,
212 agg::gradient_x function; local
213 _GenerateGradient(span, x, y, len, function, -64, 64, colors,
218 agg::gradient_radial function; local
219 _GenerateGradient(span, x, y, len, function, 0, 64, colors,
224 agg::gradient_diamond function; local
225 _GenerateGradient(span, x, y, len, function, 0, 64, colors,
230 agg::gradient_conic function; local
231 _GenerateGradient(span, x, y, len, function, 0, 64, colors,
236 agg::gradient_xy function; local
242 agg::gradient_sqrt_xy function; local
295 _GenerateGradient(agg::rgba8* span, int x, int y, unsigned len, GradientFunction function, int32 start, int32 end, const agg::rgba8* gradientColors, StyleTransformer* transformer) argument
[all...]
/haiku/headers/private/system/
H A Dsyscalls.h65 extern status_t _kern_generic_syscall(const char *subsystem, uint32 function,
/haiku/headers/private/kernel/
H A Dthread.h58 thread_func function, const char* name,
92 void thread_map(void (*function)(Thread* thread, void* data), void* data);
236 If a client lock other than the scheduler lock is used, this function must
238 and the function that actually blocks the thread shall be invoked
341 already been called in the meantime), this function does not have any
365 The function checks whether the thread can be interrupted and, if so, calls
367 function is a no-op.
/haiku/src/kits/support/
H A DPointerList.cpp267 // Note: function pointers must not be NULL!!!
270 _PointerList_::EachElement(GenericEachFunction function, void *arg) argument
276 result = function(ItemAtFast(index), arg);
/haiku/src/system/kernel/arch/riscv64/
H A Darch_thread.cpp52 void (*function)(void*), const void* data)
57 thread->arch_info.context.s[1] = (addr_t)function;
336 * This function does not return to the caller, but will enter userland
51 arch_thread_init_kthread_stack(Thread* thread, void* _stack, void* _stackTop, void (*function)(void*), const void* data) argument
/haiku/src/add-ons/kernel/busses/ata/highpoint_ide_pci/
H A Dhighpoint_ide_pci.cpp150 uint8 bus = 0, device = 0, function = 0;
154 TRACE("init_channel():init_channel(): bus %3d, device %2d, function %2d: vendor %04x, device %04x\n",
155 bus, device, function, vendorID, deviceID);
179 "revision %2d, function %2d \n", channel_index, HPT_info->deviceID,
180 HPT_info->configOption, HPT_info->revisionID, HPT_info->function);
211 uint8 function = 0xff; local
231 function = info.function;
235 HPT_info->function = function;
[all...]
/haiku/src/tools/fs_shell/
H A Dfile_cache.cpp121 satisfy_cache_io(file_cache_ref *ref, void *cookie, cache_func function, argument
131 fssh_status_t status = function(ref, cookie, lastOffset, lastPageOffset,
175 cache_func function;
179 function = write_to_file;
181 function = read_from_file;
210 fssh_status_t status = satisfy_cache_io(ref, cookie, function,
220 return function(ref, cookie, lastOffset, lastPageOffset, lastBuffer,
/haiku/src/system/kernel/cache/
H A Dfile_cache.cpp368 pages needed to fulfill that request. This function is called by cache_io().
371 The cache_ref lock must be held when calling this function; during
701 satisfy_cache_io(file_cache_ref* ref, void* cookie, cache_func function, argument
714 status_t status = function(ref, cookie, lastOffset, lastPageOffset,
759 cache_func function = NULL; local
775 function = doWrite ? write_to_file : read_from_file;
777 function = doWrite ? write_to_cache : read_into_cache;
787 status_t status = satisfy_cache_io(ref, cookie, function, offset,
884 status_t status = satisfy_cache_io(ref, cookie, function, offset,
895 return function(re
901 file_cache_control(const char* subsystem, uint32 function, void* buffer, size_t bufferSize) argument
[all...]
/haiku/src/system/boot/platform/bios_ia32/
H A Ddevices.cpp82 uint8 function; member in struct:drive_parameters::__anon23::__anon25
303 disk.bus.pci.function = parameters.interface.pci.function;
/haiku/src/system/boot/platform/atari_m68k/
H A Ddevices.cpp67 uint8 function; member in struct:drive_parameters::__anon13::__anon15
253 disk.bus.pci.function = parameters.interface.pci.function;
/haiku/src/add-ons/kernel/file_cache/
H A Dlog.cpp210 log_control(const char *subsystem, uint32 function, argument
213 switch (function) {
H A Dlaunch_speedup.cpp762 launch_speedup_control(const char *subsystem, uint32 function, argument
765 switch (function) {
/haiku/src/system/libroot/posix/pthread/
H A Dpthread.cpp66 handler->function(handler->argument);
/haiku/src/system/kernel/arch/sparc/
H A Darch_thread.cpp46 void (*function)(void*), const void* data)
156 * This function does not return to the caller, but will enter userland
45 arch_thread_init_kthread_stack(Thread* thread, void* _stack, void* _stackTop, void (*function)(void*), const void* data) argument
/haiku/src/system/kernel/arch/m68k/
H A Darch_thread.cpp41 // Helper function for thread creation, defined in arch_asm.S.
62 * This function must only be called in a context where it's actually
147 void (*function)(void*), const void* data)
272 * This function does not return to the caller, but will enter userland
146 arch_thread_init_kthread_stack(Thread* thread, void* _stack, void* _stackTop, void (*function)(void*), const void* data) argument
/haiku/src/system/kernel/arch/arm64/
H A Darch_thread.cpp69 void (*function)(void*), const void* data)
73 thread->arch_info.regs[11] = (uint64_t)function;
68 arch_thread_init_kthread_stack(Thread* thread, void* _stack, void* _stackTop, void (*function)(void*), const void* data) argument
/haiku/src/system/kernel/arch/arm/
H A Darch_thread.cpp93 void (*function)(void*), const void* data)
97 TRACE("arch_thread_init_kthread_stack(%s): stack top %p, function %p, data: "
98 "%p\n", thread->name, stackTop, function, data);
100 // push the function address -- that's the return address used after the
102 *--stackTop = (addr_t)function;
108 // push the function argument as r0
192 // entry function returns to LR to act as the return address.
293 // prepare the user stack frame for a function call to the signal handler wrapper function
367 * This function doe
92 arch_thread_init_kthread_stack(Thread* thread, void* _stack, void* _stackTop, void (*function)(void*), const void* data) argument
[all...]

Completed in 326 milliseconds

1234567891011>>