Searched refs:arg (Results 51 - 75 of 624) sorted by relevance

1234567891011>>

/haiku/src/add-ons/kernel/drivers/dvb/cx23882/
H A Ddvb_interface.h32 status_t interface_ioctl(void *cookie, uint32 op, void *arg, size_t len);
/haiku/src/bin/pcmcia-cs/
H A Ddump_cisreg.c113 ds_ioctl_arg_t arg; local
116 arg.conf_reg.Function = fn;
117 arg.conf_reg.Action = CS_READ;
118 arg.conf_reg.Offset = off;
119 ret = ioctl(fd, DS_ACCESS_CONFIGURATION_REGISTER, &arg);
124 return arg.conf_reg.Value;
237 ds_ioctl_arg_t arg; local
251 arg.tuple.TupleDataMax = sizeof(arg.tuple_parse.data);
252 arg
[all...]
/haiku/headers/libs/agg/dbg_new/
H A Dagg_dbg_new.h43 va_list arg; local
44 va_start(arg, fmt);
45 vsprintf(msg, fmt, arg);
46 va_end(arg);
/haiku/src/bin/
H A Dshutdown.cpp42 parseTime(char *arg, char *argv, int32 *_i) argument
46 if (isdigit(arg[0])) {
47 gTimeToSleep = strtoul(arg, &unit, 10);
99 char *arg = argv[i]; local
100 if (arg[0] == '-') {
101 if (!isalpha(arg[1]))
104 while (arg && isalpha((++arg)[0])) {
105 switch (arg[0]) {
146 if (parseTime(arg
[all...]
H A Dmount.c51 char *arg = *argv; local
53 if (*arg != '-')
56 if (!strcmp(++arg, "ro") && (flags & B_MOUNT_READ_ONLY) == 0)
58 else if (!strcmp(arg, "t") && fs == NULL) {
63 } else if ((!strcmp(arg, "p") || !strcmp(arg, "o")) && parameter == NULL) {
H A Dunmount.c45 char *arg = *argv; local
46 if (*arg != '-')
49 if (!strcmp(++arg, "f"))
/haiku/src/tests/apps/miniterminal/
H A DArguments.cpp69 const char *arg = argv[argi++]; local
71 if (*arg == '-') {
72 if (strcmp(arg, "-h") == 0 || strcmp(arg, "--help") == 0) {
75 } else if (strcmp(arg, "-l") == 0) {
86 } else if (strcmp(arg, "-s") == 0) {
98 } else if (strcmp(arg, "-t") == 0) {
107 fprintf(stderr, "Unrecognized option \"%s\"\n", arg);
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/
H A Dmain.cpp62 const char* arg = argv[argi]; local
63 int32 argLen = strlen(arg);
68 if (arg[0] != '-')
70 if (strcmp(arg, "-h") == 0 || strcmp(arg, "--help") == 0) {
73 } else if (strcmp(arg, "--debug") == 0) {
/haiku/src/kits/game/
H A DPushGameSound.cpp223 BPushGameSound::_Reserved_BPushGameSound_0(int32 arg, ...) argument
230 BPushGameSound::_Reserved_BPushGameSound_1(int32 arg, ...) argument
237 BPushGameSound::_Reserved_BPushGameSound_2(int32 arg, ...) argument
244 BPushGameSound::_Reserved_BPushGameSound_3(int32 arg, ...) argument
251 BPushGameSound::_Reserved_BPushGameSound_4(int32 arg, ...) argument
258 BPushGameSound::_Reserved_BPushGameSound_5(int32 arg, ...) argument
265 BPushGameSound::_Reserved_BPushGameSound_6(int32 arg, ...) argument
272 BPushGameSound::_Reserved_BPushGameSound_7(int32 arg, ...) argument
279 BPushGameSound::_Reserved_BPushGameSound_8(int32 arg, ...) argument
286 BPushGameSound::_Reserved_BPushGameSound_9(int32 arg, argument
293 _Reserved_BPushGameSound_10(int32 arg, ...) argument
300 _Reserved_BPushGameSound_11(int32 arg, ...) argument
307 _Reserved_BPushGameSound_12(int32 arg, ...) argument
314 _Reserved_BPushGameSound_13(int32 arg, ...) argument
321 _Reserved_BPushGameSound_14(int32 arg, ...) argument
328 _Reserved_BPushGameSound_15(int32 arg, ...) argument
335 _Reserved_BPushGameSound_16(int32 arg, ...) argument
342 _Reserved_BPushGameSound_17(int32 arg, ...) argument
349 _Reserved_BPushGameSound_18(int32 arg, ...) argument
356 _Reserved_BPushGameSound_19(int32 arg, ...) argument
363 _Reserved_BPushGameSound_20(int32 arg, ...) argument
370 _Reserved_BPushGameSound_21(int32 arg, ...) argument
377 _Reserved_BPushGameSound_22(int32 arg, ...) argument
384 _Reserved_BPushGameSound_23(int32 arg, ...) argument
[all...]
H A DSimpleGameSound.cpp246 BSimpleGameSound::_Reserved_BSimpleGameSound_0(int32 arg, ...) argument
253 BSimpleGameSound::_Reserved_BSimpleGameSound_1(int32 arg, ...) argument
260 BSimpleGameSound::_Reserved_BSimpleGameSound_2(int32 arg, ...) argument
267 BSimpleGameSound::_Reserved_BSimpleGameSound_3(int32 arg, ...) argument
274 BSimpleGameSound::_Reserved_BSimpleGameSound_4(int32 arg, ...) argument
281 BSimpleGameSound::_Reserved_BSimpleGameSound_5(int32 arg, ...) argument
288 BSimpleGameSound::_Reserved_BSimpleGameSound_6(int32 arg, ...) argument
295 BSimpleGameSound::_Reserved_BSimpleGameSound_7(int32 arg, ...) argument
302 BSimpleGameSound::_Reserved_BSimpleGameSound_8(int32 arg, ...) argument
309 BSimpleGameSound::_Reserved_BSimpleGameSound_9(int32 arg, argument
316 _Reserved_BSimpleGameSound_10(int32 arg, ...) argument
323 _Reserved_BSimpleGameSound_11(int32 arg, ...) argument
330 _Reserved_BSimpleGameSound_12(int32 arg, ...) argument
337 _Reserved_BSimpleGameSound_13(int32 arg, ...) argument
344 _Reserved_BSimpleGameSound_14(int32 arg, ...) argument
351 _Reserved_BSimpleGameSound_15(int32 arg, ...) argument
358 _Reserved_BSimpleGameSound_16(int32 arg, ...) argument
365 _Reserved_BSimpleGameSound_17(int32 arg, ...) argument
372 _Reserved_BSimpleGameSound_18(int32 arg, ...) argument
379 _Reserved_BSimpleGameSound_19(int32 arg, ...) argument
386 _Reserved_BSimpleGameSound_20(int32 arg, ...) argument
393 _Reserved_BSimpleGameSound_21(int32 arg, ...) argument
400 _Reserved_BSimpleGameSound_22(int32 arg, ...) argument
407 _Reserved_BSimpleGameSound_23(int32 arg, ...) argument
[all...]
/haiku/src/tests/kits/interface/pictureprint/
H A DDumpPrintJob.cpp29 const char* arg = argv[i]; local
30 if (strcmp(arg, "--pictures") == 0) {
36 BFile jobFile(arg, B_READ_WRITE);
38 fprintf(stderr, "Error opening file %s!\n", arg);
44 fprintf(stderr, "Error reading spool file %s!", arg);
48 printf("Spool file: %s\n", arg);
/haiku/src/system/kernel/
H A Dkernel_daemon.cpp22 void* arg; member in struct:daemon
36 status_t Register(daemon_hook function, void* arg,
38 status_t Unregister(daemon_hook function, void* arg);
84 KernelDaemon::Register(daemon_hook function, void* arg, int frequency) argument
94 daemon->arg = arg;
109 KernelDaemon::Unregister(daemon_hook function, void* arg) argument
119 if (daemon->function == function && daemon->arg == arg) {
160 kprintf(", arg
268 register_kernel_daemon(daemon_hook function, void* arg, int frequency) argument
275 unregister_kernel_daemon(daemon_hook function, void* arg) argument
282 register_resource_resizer(daemon_hook function, void* arg, int frequency) argument
289 unregister_resource_resizer(daemon_hook function, void* arg) argument
[all...]
/haiku/src/kits/media/
H A DMediaEventLooper.cpp508 BMediaEventLooper::_ControlThreadStart(void *arg) argument
511 ((BMediaEventLooper *)arg)->SetRunState(B_STOPPED);
512 ((BMediaEventLooper *)arg)->ControlLoop();
513 ((BMediaEventLooper *)arg)->SetRunState(B_QUITTING);
562 status_t BMediaEventLooper::_Reserved_BMediaEventLooper_0(int32 arg,...) { return B_ERROR; } argument
563 status_t BMediaEventLooper::_Reserved_BMediaEventLooper_1(int32 arg,...) { return B_ERROR; } argument
564 status_t BMediaEventLooper::_Reserved_BMediaEventLooper_2(int32 arg,...) { return B_ERROR; } argument
565 status_t BMediaEventLooper::_Reserved_BMediaEventLooper_3(int32 arg,...) { return B_ERROR; } argument
566 status_t BMediaEventLooper::_Reserved_BMediaEventLooper_4(int32 arg,...) { return B_ERROR; } argument
567 status_t BMediaEventLooper::_Reserved_BMediaEventLooper_5(int32 arg, argument
568 _Reserved_BMediaEventLooper_6(int32 arg,...) argument
569 _Reserved_BMediaEventLooper_7(int32 arg,...) argument
570 _Reserved_BMediaEventLooper_8(int32 arg,...) argument
571 _Reserved_BMediaEventLooper_9(int32 arg,...) argument
572 _Reserved_BMediaEventLooper_10(int32 arg,...) argument
573 _Reserved_BMediaEventLooper_11(int32 arg,...) argument
574 _Reserved_BMediaEventLooper_12(int32 arg,...) argument
575 _Reserved_BMediaEventLooper_13(int32 arg,...) argument
576 _Reserved_BMediaEventLooper_14(int32 arg,...) argument
577 _Reserved_BMediaEventLooper_15(int32 arg,...) argument
578 _Reserved_BMediaEventLooper_16(int32 arg,...) argument
579 _Reserved_BMediaEventLooper_17(int32 arg,...) argument
580 _Reserved_BMediaEventLooper_18(int32 arg,...) argument
581 _Reserved_BMediaEventLooper_19(int32 arg,...) argument
582 _Reserved_BMediaEventLooper_20(int32 arg,...) argument
583 _Reserved_BMediaEventLooper_21(int32 arg,...) argument
584 _Reserved_BMediaEventLooper_22(int32 arg,...) argument
585 _Reserved_BMediaEventLooper_23(int32 arg,...) argument
[all...]
H A DMediaFile.cpp602 status_t BMediaFile::_Reserved_BMediaFile_0(int32 arg, ...) { return B_ERROR; } argument
603 status_t BMediaFile::_Reserved_BMediaFile_1(int32 arg, ...) { return B_ERROR; } argument
604 status_t BMediaFile::_Reserved_BMediaFile_2(int32 arg, ...) { return B_ERROR; } argument
605 status_t BMediaFile::_Reserved_BMediaFile_3(int32 arg, ...) { return B_ERROR; } argument
606 status_t BMediaFile::_Reserved_BMediaFile_4(int32 arg, ...) { return B_ERROR; } argument
607 status_t BMediaFile::_Reserved_BMediaFile_5(int32 arg, ...) { return B_ERROR; } argument
608 status_t BMediaFile::_Reserved_BMediaFile_6(int32 arg, ...) { return B_ERROR; } argument
609 status_t BMediaFile::_Reserved_BMediaFile_7(int32 arg, ...) { return B_ERROR; } argument
610 status_t BMediaFile::_Reserved_BMediaFile_8(int32 arg, ...) { return B_ERROR; } argument
611 status_t BMediaFile::_Reserved_BMediaFile_9(int32 arg, argument
612 _Reserved_BMediaFile_10(int32 arg, ...) argument
613 _Reserved_BMediaFile_11(int32 arg, ...) argument
614 _Reserved_BMediaFile_12(int32 arg, ...) argument
615 _Reserved_BMediaFile_13(int32 arg, ...) argument
616 _Reserved_BMediaFile_14(int32 arg, ...) argument
617 _Reserved_BMediaFile_15(int32 arg, ...) argument
618 _Reserved_BMediaFile_16(int32 arg, ...) argument
619 _Reserved_BMediaFile_17(int32 arg, ...) argument
620 _Reserved_BMediaFile_18(int32 arg, ...) argument
621 _Reserved_BMediaFile_19(int32 arg, ...) argument
622 _Reserved_BMediaFile_20(int32 arg, ...) argument
623 _Reserved_BMediaFile_21(int32 arg, ...) argument
624 _Reserved_BMediaFile_22(int32 arg, ...) argument
625 _Reserved_BMediaFile_23(int32 arg, ...) argument
626 _Reserved_BMediaFile_24(int32 arg, ...) argument
627 _Reserved_BMediaFile_25(int32 arg, ...) argument
628 _Reserved_BMediaFile_26(int32 arg, ...) argument
629 _Reserved_BMediaFile_27(int32 arg, ...) argument
630 _Reserved_BMediaFile_28(int32 arg, ...) argument
631 _Reserved_BMediaFile_29(int32 arg, ...) argument
632 _Reserved_BMediaFile_30(int32 arg, ...) argument
633 _Reserved_BMediaFile_31(int32 arg, ...) argument
634 _Reserved_BMediaFile_32(int32 arg, ...) argument
635 _Reserved_BMediaFile_33(int32 arg, ...) argument
636 _Reserved_BMediaFile_34(int32 arg, ...) argument
637 _Reserved_BMediaFile_35(int32 arg, ...) argument
638 _Reserved_BMediaFile_36(int32 arg, ...) argument
639 _Reserved_BMediaFile_37(int32 arg, ...) argument
640 _Reserved_BMediaFile_38(int32 arg, ...) argument
641 _Reserved_BMediaFile_39(int32 arg, ...) argument
642 _Reserved_BMediaFile_40(int32 arg, ...) argument
643 _Reserved_BMediaFile_41(int32 arg, ...) argument
644 _Reserved_BMediaFile_42(int32 arg, ...) argument
645 _Reserved_BMediaFile_43(int32 arg, ...) argument
646 _Reserved_BMediaFile_44(int32 arg, ...) argument
647 _Reserved_BMediaFile_45(int32 arg, ...) argument
648 _Reserved_BMediaFile_46(int32 arg, ...) argument
649 _Reserved_BMediaFile_47(int32 arg, ...) argument
[all...]
/haiku/src/tests/system/libroot/posix/
H A Dtst-swscanf.c25 const wchar_t *arg; member in struct:__anon6011
61 if (swscanf(tests[n].arg, tests[n].fmt, buf) != tests[n].retval) {
62 printf("swscanf (\"%S\", \"%S\", ...) failed\n", tests[n].arg,
68 tests[n].arg, tests[n].fmt, buf, tests[n].res);
71 printf("swscanf (\"%S\", \"%S\", ...) OK\n", tests[n].arg,
74 if (swscanf(tests[n].arg, tests[n].wfmt, wbuf) != tests[n].retval) {
75 printf("swscanf (\"%S\", \"%S\", ...) failed\n", tests[n].arg,
81 tests[n].arg, tests[n].wfmt, wbuf, tests[n].wres);
84 printf("swscanf (\"%S\", \"%S\", ...) OK\n", tests[n].arg,
/haiku/src/tests/servers/app/
H A Dapp_server_debug.cpp59 const char* arg = &argv[i][1]; local
60 while (arg[0]) {
61 if (arg[0] == 'a')
63 else if (arg[0] == 'b')
68 arg++;
/haiku/src/add-ons/kernel/drivers/audio/generic/
H A Dmulti.c12 multi_audio_control_generic(cookie_type* cookie, uint32 op, void* arg, size_t len) argument
22 if (user_memcpy(&description, arg, sizeof(multi_description))
36 if (user_memcpy(arg, &description, sizeof(multi_description))
45 multi_channel_enable* data = (multi_channel_enable*)arg;
64 || user_memcpy(arg, &enable, sizeof(multi_channel_enable)) < B_OK) {
76 if (user_memcpy(&info, arg, sizeof(multi_format_info)) != B_OK)
82 return user_memcpy(arg, &info, sizeof(multi_format_info));
87 if (user_memcpy(&info, arg, sizeof(multi_format_info)) != B_OK)
93 return user_memcpy(arg, &info, sizeof(multi_format_info));
96 return list_mix_channels(cookie, (multi_mix_channel_info*)arg);
[all...]
/haiku/src/add-ons/kernel/bus_managers/scsi/
H A Ddpc.cpp47 void (*func)(void *arg), void *arg)
53 dpc->arg = arg;
87 dpc_arg = dpc->arg;
46 scsi_schedule_dpc(scsi_bus_info *bus, scsi_dpc_info *dpc, void (*func)(void *arg), void *arg) argument
/haiku/src/bin/package/
H A Dpackage.cpp130 parse_compression_argument(const char* arg) argument
132 if (arg == NULL) {
141 if (strcmp(arg, "zstd") == 0) {
143 } else if (strcmp(arg, "zlib") == 0) {
146 fprintf(stderr, "error: unknown compression method '%s'\n", arg);
/haiku/src/system/libroot/posix/glibc/libio/
H A Diovdprintf.c32 _IO_vdprintf (d, format, arg)
35 _IO_va_list arg;
60 done = INTUSE(_IO_vfprintf) (&tmpfil.file, format, arg);
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dcallout.h22 int callout_reset(struct callout *c, int _ticks, void (*func)(void *), void *arg);
26 #define callout_reset_on(c, to_ticks, fn, arg, cpu) \
27 callout_reset(c, to_ticks, fn, arg)
/haiku/headers/private/userlandfs/fuse/
H A Dfuse_opt.h162 * The 'arg' parameter will always contain the whole argument or
174 * @param arg is the whole argument or option
177 * @return -1 on error, 0 if arg is to be discarded, 1 if arg should be kept
179 typedef int (*fuse_opt_proc_t)(void *data, const char *arg, int key,
227 * @param arg is the new argument to add
230 int fuse_opt_add_arg(struct fuse_args *args, const char *arg);
242 * @param arg is the new argument to add
245 int fuse_opt_insert_arg(struct fuse_args *args, int pos, const char *arg);
/haiku/headers/os/drivers/
H A Dlocked_pool.h39 typedef status_t (*locked_pool_add_hook)(void *block, void *arg);
40 typedef void (*locked_pool_remove_hook)(void *block, void *arg);
61 // hook_arg - value to be passed to hooks as arg
/haiku/src/tests/system/libroot/os/
H A Dsystem_watching_test.cpp56 const char* arg = argv[1]; local
57 if (strcmp(arg, "-h") == 0 || strcmp(arg, "--help") == 0)
61 watchTeam = atol(arg);
65 arg = argv[2];
67 while (*arg != '\0') {
68 switch (*arg) {
87 arg++;
/haiku/src/tools/restest/
H A DWarnings.h21 void AddWarningV(const char* format, va_list arg);
25 va_list arg);

Completed in 106 milliseconds

1234567891011>>