Searched refs:arg (Results 76 - 100 of 624) sorted by relevance

1234567891011>>

/haiku/src/system/boot/platform/riscv/
H A Dhtif.cpp15 HtifCmd(uint32_t device, uint8_t cmd, uint32_t arg) argument
18 + ((uint64_t)cmd << 48) + arg;
/haiku/src/system/kernel/arch/riscv64/
H A DHtif.cpp11 HtifCmd(uint32 device, uint8 cmd, uint32 arg) argument
17 + ((uint64)cmd << 48) + arg;
/haiku/src/add-ons/kernel/drivers/misc/
H A Dpoke.cpp141 poke_control(void* cookie, uint32 op, void* arg, size_t length) argument
148 if (user_memcpy(&ioctl, arg, sizeof(port_io_args)) != B_OK)
167 if (user_memcpy(arg, &ioctl, sizeof(port_io_args)) != B_OK)
176 if (user_memcpy(&ioctl, arg, sizeof(port_io_args)) != B_OK)
201 if (user_memcpy(&ioctl, arg, sizeof(port_io_args)) != B_OK)
209 if (user_memcpy(arg, &ioctl, sizeof(port_io_args)) != B_OK)
217 if (user_memcpy(&ioctl, arg, sizeof(port_io_args)) != B_OK)
230 if (user_memcpy(&ioctl, arg, sizeof(pci_io_args)) != B_OK)
237 if (user_memcpy(arg, &ioctl, sizeof(pci_io_args)) != B_OK)
245 if (user_memcpy(&ioctl, arg, sizeo
[all...]
/haiku/src/servers/media_addon/
H A DSystemTimeSource.h42 static int32 _ControlThreadStart(void *arg);
H A DSystemTimeSource.cpp74 SystemTimeSource::_ControlThreadStart(void *arg) argument
76 reinterpret_cast<SystemTimeSource *>(arg)->ControlThread();
/haiku/src/tools/restest/
H A DWarnings.cpp53 Warnings::AddWarningV(const char* format, va_list arg) argument
56 vsprintf(buffer, format, arg);
80 Warnings::AddCurrentWarningV(const char* format, va_list arg) argument
83 vsprintf(buffer, format, arg);
/haiku/src/kits/media/
H A DMediaDecoder.cpp223 status_t BMediaDecoder::_Reserved_BMediaDecoder_0(int32 arg, ...) { return B_ERROR; } argument
224 status_t BMediaDecoder::_Reserved_BMediaDecoder_1(int32 arg, ...) { return B_ERROR; } argument
225 status_t BMediaDecoder::_Reserved_BMediaDecoder_2(int32 arg, ...) { return B_ERROR; } argument
226 status_t BMediaDecoder::_Reserved_BMediaDecoder_3(int32 arg, ...) { return B_ERROR; } argument
227 status_t BMediaDecoder::_Reserved_BMediaDecoder_4(int32 arg, ...) { return B_ERROR; } argument
228 status_t BMediaDecoder::_Reserved_BMediaDecoder_5(int32 arg, ...) { return B_ERROR; } argument
229 status_t BMediaDecoder::_Reserved_BMediaDecoder_6(int32 arg, ...) { return B_ERROR; } argument
230 status_t BMediaDecoder::_Reserved_BMediaDecoder_7(int32 arg, ...) { return B_ERROR; } argument
231 status_t BMediaDecoder::_Reserved_BMediaDecoder_8(int32 arg, ...) { return B_ERROR; } argument
232 status_t BMediaDecoder::_Reserved_BMediaDecoder_9(int32 arg, argument
233 _Reserved_BMediaDecoder_10(int32 arg, ...) argument
234 _Reserved_BMediaDecoder_11(int32 arg, ...) argument
235 _Reserved_BMediaDecoder_12(int32 arg, ...) argument
236 _Reserved_BMediaDecoder_13(int32 arg, ...) argument
237 _Reserved_BMediaDecoder_14(int32 arg, ...) argument
238 _Reserved_BMediaDecoder_15(int32 arg, ...) argument
[all...]
H A DMediaEncoder.cpp252 status_t BMediaEncoder::_Reserved_BMediaEncoder_0(int32 arg, ...) { return B_ERROR; } argument
253 status_t BMediaEncoder::_Reserved_BMediaEncoder_1(int32 arg, ...) { return B_ERROR; } argument
254 status_t BMediaEncoder::_Reserved_BMediaEncoder_2(int32 arg, ...) { return B_ERROR; } argument
255 status_t BMediaEncoder::_Reserved_BMediaEncoder_3(int32 arg, ...) { return B_ERROR; } argument
256 status_t BMediaEncoder::_Reserved_BMediaEncoder_4(int32 arg, ...) { return B_ERROR; } argument
257 status_t BMediaEncoder::_Reserved_BMediaEncoder_5(int32 arg, ...) { return B_ERROR; } argument
258 status_t BMediaEncoder::_Reserved_BMediaEncoder_6(int32 arg, ...) { return B_ERROR; } argument
259 status_t BMediaEncoder::_Reserved_BMediaEncoder_7(int32 arg, ...) { return B_ERROR; } argument
260 status_t BMediaEncoder::_Reserved_BMediaEncoder_8(int32 arg, ...) { return B_ERROR; } argument
261 status_t BMediaEncoder::_Reserved_BMediaEncoder_9(int32 arg, argument
262 _Reserved_BMediaEncoder_10(int32 arg, ...) argument
263 _Reserved_BMediaEncoder_11(int32 arg, ...) argument
264 _Reserved_BMediaEncoder_12(int32 arg, ...) argument
265 _Reserved_BMediaEncoder_13(int32 arg, ...) argument
266 _Reserved_BMediaEncoder_14(int32 arg, ...) argument
267 _Reserved_BMediaEncoder_15(int32 arg, ...) argument
[all...]
/haiku/src/libs/compat/freebsd_network/
H A Deventhandler.c17 const char *name, void *func, void *arg, int priority)
16 eventhandler_register(struct eventhandler_list *list, const char *name, void *func, void *arg, int priority) argument
/haiku/headers/private/kernel/arch/riscv64/
H A DHtif.h25 uint64 HtifCmd(uint32 device, uint8 cmd, uint32 arg);
/haiku/src/tests/kits/storage/virtualdrive/
H A Dmkvirtualdrive.cpp225 const char *arg = argv[argIndex]; local
226 if (arg[1] == '-') {
228 arg += 2;
229 if (!strcmp(arg, "install")) {
231 } else if (!strcmp(arg, "size")) {
234 fprintf(stderr, "Parameter expected for `--%s'.\n", arg);
240 "`<number>[K|M|G|T|P|E]'.\n", arg);
244 } else if (!strcmp(arg, "uninstall")) {
246 } else if (!strcmp(arg, "halt")) {
249 } else if (!strcmp(arg, "inf
[all...]
/haiku/src/add-ons/kernel/file_systems/netfs/netfs_server_prefs/
H A DNetFSServerPrefs.cpp418 const char* arg = next_arg(argc, argv, argi); local
419 if (strcmp(arg, "-h") == 0 || strcmp(arg, "--help") == 0)
422 if (strcmp(arg, "launch") == 0) {
426 } else if (strcmp(arg, "terminate") == 0) {
430 } else if (strcmp(arg, "save") == 0) {
434 } else if (strcmp(arg, "l") == 0 || strcmp(arg, "list") == 0) {
438 } else if (strcmp(arg, "add") == 0) {
440 arg
[all...]
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A Dfuse_config.c117 fuse_lib_opt_proc(void *data, const char *arg, int key, argument
121 (void)arg;
189 static int fuse_mount_opt_proc(void *data, const char *arg, int key, argument
202 arg = "ro";
205 set_mount_flag(arg, &mo->flags);
209 return fuse_opt_add_opt(&mo->kernel_opts, arg);
212 return fuse_opt_add_opt(&mo->fusermount_opts, arg);
215 return fuse_opt_add_opt(&mo->subtype_opt, arg);
218 return fuse_opt_add_opt(&mo->mtab_opts, arg);
/haiku/src/bin/
H A Dsettype.cpp110 const char *arg = argv[argi++]; local
111 if (arg[0] == '-') {
112 if (strcmp(arg, "-h") == 0 || strcmp(arg, "--help") == 0) {
115 } else if (strcmp(arg, "-preferredAppSig") == 0) {
118 } else if (strcmp(arg, "-s") == 0) {
121 } else if (strcmp(arg, "-t") == 0) {
125 fprintf(stderr, "Error: Invalid option: \"%s\"\n", arg);
130 files[fileCount++] = arg;
H A Dmountvolume.cpp393 const char* arg = argv[argi]; local
395 if (arg[0] != '\0' && arg[0] != '-') {
396 mountVisitor.toMount.insert(arg);
397 } else if (strcmp(arg, "-s") == 0) {
399 } else if (strcmp(arg, "-h") == 0 || strcmp(arg, "--help") == 0) {
401 } else if (strcmp(arg, "-all") == 0) {
403 } else if (strcmp(arg, "-allbfs") == 0) {
405 } else if (strcmp(arg, "
[all...]
/haiku/src/tests/kits/storage/testapps/
H A Dclipboard.cpp130 const char *arg = argv[argi]; local
131 if (arg[0] == '-') {
132 if (strcmp(arg, "-h") == 0 || strcmp(arg, "--help") == 0) {
134 } else if (strcmp(arg, "-c") == 0) {
140 command = arg;
/haiku/src/kits/game/
H A DFileGameSound.cpp433 BFileGameSound::_Reserved_BFileGameSound_0(int32 arg, ...) argument
440 BFileGameSound::_Reserved_BFileGameSound_1(int32 arg, ...) argument
447 BFileGameSound::_Reserved_BFileGameSound_2(int32 arg, ...) argument
454 BFileGameSound::_Reserved_BFileGameSound_3(int32 arg, ...) argument
461 BFileGameSound::_Reserved_BFileGameSound_4(int32 arg, ...) argument
468 BFileGameSound::_Reserved_BFileGameSound_5(int32 arg, ...) argument
475 BFileGameSound::_Reserved_BFileGameSound_6(int32 arg, ...) argument
482 BFileGameSound::_Reserved_BFileGameSound_7(int32 arg, ...) argument
489 BFileGameSound::_Reserved_BFileGameSound_8(int32 arg, ...) argument
496 BFileGameSound::_Reserved_BFileGameSound_9(int32 arg, argument
503 _Reserved_BFileGameSound_10(int32 arg, ...) argument
510 _Reserved_BFileGameSound_11(int32 arg, ...) argument
517 _Reserved_BFileGameSound_12(int32 arg, ...) argument
524 _Reserved_BFileGameSound_13(int32 arg, ...) argument
531 _Reserved_BFileGameSound_14(int32 arg, ...) argument
538 _Reserved_BFileGameSound_15(int32 arg, ...) argument
545 _Reserved_BFileGameSound_16(int32 arg, ...) argument
552 _Reserved_BFileGameSound_17(int32 arg, ...) argument
559 _Reserved_BFileGameSound_18(int32 arg, ...) argument
566 _Reserved_BFileGameSound_19(int32 arg, ...) argument
573 _Reserved_BFileGameSound_20(int32 arg, ...) argument
580 _Reserved_BFileGameSound_21(int32 arg, ...) argument
587 _Reserved_BFileGameSound_22(int32 arg, ...) argument
594 _Reserved_BFileGameSound_23(int32 arg, ...) argument
[all...]
/haiku/headers/os/midi/
H A DSamples.h8 typedef void (*sample_exit_hook)(int32 arg);
9 typedef bool (*sample_loop_hook)(int32 arg);
/haiku/headers/private/kernel/arch/
H A Dthread.h35 void arch_store_fork_frame(struct arch_fork_arg *arg);
36 void arch_restore_fork_frame(struct arch_fork_arg *arg);
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/
H A Dfs_cache_priv.h45 void (*func)(off_t bnum, size_t num_blocks, void *arg);
47 void *arg; member in struct:cache_ent
/haiku/src/tests/apps/miniterminal/
H A DMiniView.h24 static int32 ConsoleWriter(void *arg);
25 static int32 ExecuteShell(void *arg);
/haiku/src/add-ons/kernel/generic/dpc/
H A Ddpc.c24 void *arg; member in struct:__anon4
43 dpc_thread(void *arg) argument
45 dpc_queue *queue = arg;
63 dpc.function(dpc.arg);
71 dpc.function(dpc.arg);
159 queue_dpc(void *handle, dpc_func function, void *arg) argument
180 queue->slots[queue->tail].arg = arg;
/haiku/src/kits/interface/
H A DCardView.cpp67 BCardView::Perform(perform_code d, void* arg) argument
69 return BView::Perform(d, arg);
/haiku/headers/posix/netinet/
H A Din.h28 # define __net_swap_int32(arg) (uint32_t)__builtin_bswap32(arg)
29 # define __net_swap_int16(arg) (uint16_t)__builtin_bswap16(arg)
33 # define __net_swap_int32(arg) __swap_int32(arg)
34 # define __net_swap_int16(arg) __swap_int16(arg)
/haiku/src/libs/compat/freebsd_iflib/
H A Dkthread.cpp15 kthread_add(void (*func)(void *), void *arg, void* p, argument
25 name, B_NORMAL_PRIORITY, arg);

Completed in 200 milliseconds

1234567891011>>