/haiku/src/libs/compat/openbsd_network/compat/sys/ |
H A D | task.h | 21 task_set(struct task *t, void (*fn)(void *), void *arg) argument 23 TASK_INIT(t, 0, fn, arg);
|
H A D | timeout.h | 18 timeout_set(struct timeout *to, void (*fn)(void *), void *arg) argument 21 callout_reset(&to->c, -1, fn, arg);
|
/haiku/src/bin/filteredquery/ |
H A D | FilteredQuery.h | 8 typedef bool (*filter_function)(const entry_ref *ref, void *arg); 32 bool AddFilter(filter_function function, void *arg);
|
/haiku/src/bin/ |
H A D | copyattr.cpp | 642 const char *arg = argv[argi++]; local 643 if (moreOptions && arg[0] == '-') { 644 if (strcmp(arg, "-d") == 0 || strcmp(arg, "--data") == 0) { 647 } else if (strcmp(arg, "-h") == 0 || strcmp(arg, "--help") == 0) { 650 } else if (strcmp(arg, "-m") == 0 || strcmp(arg, "--move") == 0) { 653 } else if (strcmp(arg, "-n") == 0 || strcmp(arg, " [all...] |
H A D | rmattr.cpp | 101 const char *arg = *argv; local 103 if (*arg != '-') 105 if (!strcmp(arg, "-P")) 107 else if (!strcmp(arg, "-p"))
|
H A D | chop.c | 79 char *arg = NULL; local 105 arg = *++argv; 114 arg = first; 116 if (arg) 117 do_chop(arg);
|
H A D | hd.c | 48 char *arg = NULL; local 75 arg = *++argv; 84 arg = first; 86 if (arg) 87 do_hd(arg);
|
H A D | mimeset.cpp | 142 const char* arg = argv[i]; local 143 if (*arg != '-') 145 if (strcmp(arg, "-all") == 0) 147 else if (strcmp(arg, "-apps") == 0) 235 const char* arg = argv[optind]; local 237 if (strcmp(arg, "@") == 0) { 249 if (process_file(arg) != B_OK)
|
/haiku/src/libs/compat/freebsd_iflib/compat/sys/ |
H A D | kthread.h | 19 int kthread_add(void (*func)(void *), void *arg, void* p,
|
/haiku/src/bin/package/ |
H A D | package.h | 12 int32 parse_compression_argument(const char* arg);
|
/haiku/src/tools/checkstyle/ |
H A D | checkstyle.py | 86 for arg in sys.argv[1:]: 87 if os.path.isfile(arg): 88 files.append(arg) 90 files.extend(findCppFiles(arg))
|
/haiku/headers/private/shared/ |
H A D | CommandPipe.h | 82 BCommandPipe& operator<<(const char* arg); 83 BCommandPipe& operator<<(const BString& arg); 84 BCommandPipe& operator<<(const BCommandPipe& arg);
|
/haiku/src/system/libroot/posix/sys/ |
H A D | xsi_sem.cpp | 34 union semun arg; local 51 arg = va_arg(args, union semun); 54 &arg));
|
/haiku/src/kits/media/ |
H A D | MediaTrack.cpp | 1033 status_t BMediaTrack::_Reserved_BMediaTrack_0(int32 arg, ...) { return B_ERROR; } argument 1034 status_t BMediaTrack::_Reserved_BMediaTrack_1(int32 arg, ...) { return B_ERROR; } argument 1035 status_t BMediaTrack::_Reserved_BMediaTrack_2(int32 arg, ...) { return B_ERROR; } argument 1036 status_t BMediaTrack::_Reserved_BMediaTrack_3(int32 arg, ...) { return B_ERROR; } argument 1037 status_t BMediaTrack::_Reserved_BMediaTrack_4(int32 arg, ...) { return B_ERROR; } argument 1038 status_t BMediaTrack::_Reserved_BMediaTrack_5(int32 arg, ...) { return B_ERROR; } argument 1039 status_t BMediaTrack::_Reserved_BMediaTrack_6(int32 arg, ...) { return B_ERROR; } argument 1040 status_t BMediaTrack::_Reserved_BMediaTrack_7(int32 arg, ...) { return B_ERROR; } argument 1041 status_t BMediaTrack::_Reserved_BMediaTrack_8(int32 arg, ...) { return B_ERROR; } argument 1042 status_t BMediaTrack::_Reserved_BMediaTrack_9(int32 arg, argument 1043 _Reserved_BMediaTrack_10(int32 arg, ...) argument 1044 _Reserved_BMediaTrack_11(int32 arg, ...) argument 1045 _Reserved_BMediaTrack_12(int32 arg, ...) argument 1046 _Reserved_BMediaTrack_13(int32 arg, ...) argument 1047 _Reserved_BMediaTrack_14(int32 arg, ...) argument 1048 _Reserved_BMediaTrack_15(int32 arg, ...) argument 1049 _Reserved_BMediaTrack_16(int32 arg, ...) argument 1050 _Reserved_BMediaTrack_17(int32 arg, ...) argument 1051 _Reserved_BMediaTrack_18(int32 arg, ...) argument 1052 _Reserved_BMediaTrack_19(int32 arg, ...) argument 1053 _Reserved_BMediaTrack_20(int32 arg, ...) argument 1054 _Reserved_BMediaTrack_21(int32 arg, ...) argument 1055 _Reserved_BMediaTrack_22(int32 arg, ...) argument 1056 _Reserved_BMediaTrack_23(int32 arg, ...) argument 1057 _Reserved_BMediaTrack_24(int32 arg, ...) argument 1058 _Reserved_BMediaTrack_25(int32 arg, ...) argument 1059 _Reserved_BMediaTrack_26(int32 arg, ...) argument 1060 _Reserved_BMediaTrack_27(int32 arg, ...) argument 1061 _Reserved_BMediaTrack_28(int32 arg, ...) argument 1062 _Reserved_BMediaTrack_29(int32 arg, ...) argument 1063 _Reserved_BMediaTrack_30(int32 arg, ...) argument 1064 _Reserved_BMediaTrack_31(int32 arg, ...) argument 1065 _Reserved_BMediaTrack_32(int32 arg, ...) argument 1066 _Reserved_BMediaTrack_33(int32 arg, ...) argument 1067 _Reserved_BMediaTrack_34(int32 arg, ...) argument 1068 _Reserved_BMediaTrack_35(int32 arg, ...) argument 1069 _Reserved_BMediaTrack_36(int32 arg, ...) argument 1070 _Reserved_BMediaTrack_37(int32 arg, ...) argument 1071 _Reserved_BMediaTrack_38(int32 arg, ...) argument 1072 _Reserved_BMediaTrack_39(int32 arg, ...) argument 1073 _Reserved_BMediaTrack_40(int32 arg, ...) argument 1074 _Reserved_BMediaTrack_41(int32 arg, ...) argument 1075 _Reserved_BMediaTrack_42(int32 arg, ...) argument 1076 _Reserved_BMediaTrack_43(int32 arg, ...) argument 1077 _Reserved_BMediaTrack_44(int32 arg, ...) argument 1078 _Reserved_BMediaTrack_45(int32 arg, ...) argument 1079 _Reserved_BMediaTrack_46(int32 arg, ...) argument 1080 _Reserved_BMediaTrack_47(int32 arg, ...) argument [all...] |
/haiku/src/libs/compat/freebsd_network/compat/sys/ |
H A D | kernel.h | 48 const void* arg; member in struct:sysinit 56 .arg = ident, \ 65 .arg = ident, \
|
H A D | taskqueue.h | 99 void taskqueue_thread_loop(void *arg); 105 void _task_init(struct task *, int prio, task_fn_t handler, void *arg); 106 #define TASK_INIT(taskp, prio, hand, arg) _task_init(taskp, prio, hand, arg) 129 taskqueue_define_##name(void *arg) \ 153 taskqueue_define_##name(void *arg) \
|
/haiku/src/add-ons/accelerants/radeon_hd/atombios/ |
H A D | atom.cpp | 166 uint32 idx, val = 0xCDCDCDCD, align, arg; local 168 arg = attr & 7; 170 switch(arg) { 301 uint32 align = (attr >> 3) & 7, arg = attr & 7; local 302 switch(arg) { 372 atom_get_dst(atom_exec_context *ctx, int arg, uint8 attr, argument 376 arg|atom_dst_to_src[(attr>>3)&7][(attr>>6)&3]<<3, ptr, saved, print); 381 atom_skip_dst(atom_exec_context *ctx, int arg, uint8 attr, int *ptr) argument 384 arg|atom_dst_to_src[(attr>>3)&7][(attr>>6)&3]<<3, ptr); 389 atom_put_dst(atom_exec_context *ctx, int arg, uint argument 496 atom_op_add(atom_exec_context *ctx, int *ptr, int arg) argument 513 atom_op_and(atom_exec_context *ctx, int *ptr, int arg) argument 530 atom_op_beep(atom_exec_context *ctx, int *ptr, int arg) argument 537 atom_op_calltable(atom_exec_context *ctx, int *ptr, int arg) argument 559 atom_op_clear(atom_exec_context *ctx, int *ptr, int arg) argument 573 atom_op_compare(atom_exec_context *ctx, int *ptr, int arg) argument 587 atom_op_delay(atom_exec_context *ctx, int *ptr, int arg) argument 603 atom_op_div(atom_exec_context *ctx, int *ptr, int arg) argument 625 atom_op_div32(atom_exec_context *ctx, int *ptr, int arg) argument 653 atom_op_eot(atom_exec_context *ctx, int *ptr, int arg) argument 660 atom_op_jump(atom_exec_context *ctx, int *ptr, int arg) argument 712 atom_op_mask(atom_exec_context *ctx, int *ptr, int arg) argument 729 atom_op_move(atom_exec_context *ctx, int *ptr, int arg) argument 748 atom_op_mul(atom_exec_context *ctx, int *ptr, int arg) argument 761 atom_op_mul32(atom_exec_context *ctx, int *ptr, int arg) argument 782 atom_op_nop(atom_exec_context *ctx, int *ptr, int arg) argument 789 atom_op_or(atom_exec_context *ctx, int *ptr, int arg) argument 806 atom_op_postcard(atom_exec_context *ctx, int *ptr, int arg) argument 815 atom_op_repeat(atom_exec_context *ctx, int *ptr, int arg) argument 822 atom_op_restorereg(atom_exec_context *ctx, int *ptr, int arg) argument 829 atom_op_savereg(atom_exec_context *ctx, int *ptr, int arg) argument 836 atom_op_setdatablock(atom_exec_context *ctx, int *ptr, int arg) argument 851 atom_op_setfbbase(atom_exec_context *ctx, int *ptr, int arg) argument 860 atom_op_setport(atom_exec_context *ctx, int *ptr, int arg) argument 890 atom_op_setregblock(atom_exec_context *ctx, int *ptr, int arg) argument 897 atom_op_shift_left(atom_exec_context *ctx, int *ptr, int arg) argument 915 atom_op_shift_right(atom_exec_context *ctx, int *ptr, int arg) argument 933 atom_op_shl(atom_exec_context *ctx, int *ptr, int arg) argument 954 atom_op_shr(atom_exec_context *ctx, int *ptr, int arg) argument 976 atom_op_sub(atom_exec_context *ctx, int *ptr, int arg) argument 993 atom_op_switch(atom_exec_context *ctx, int *ptr, int arg) argument 1019 atom_op_test(atom_exec_context *ctx, int *ptr, int arg) argument 1033 atom_op_xor(atom_exec_context *ctx, int *ptr, int arg) argument 1050 atom_op_debug(atom_exec_context *ctx, int *ptr, int arg) argument 1060 atom_op_processds(atom_exec_context *ctx, int *ptr, int arg) argument 1070 int arg; member in struct:__anon425 [all...] |
/haiku/src/tools/ |
H A D | exec.c | 19 append_char(char c, char** arg, int* argLen, int* argBufferLen) argument 22 *arg = realloc(*arg, *argBufferLen + 32); 23 if (*arg == NULL) { 30 (*arg)[*argLen] = c; 74 printf("usage: %s \"program arg 'arg1' ...\"\n", argv[0]);
|
H A D | rm_attrs.cpp | 191 const char *arg = argv[argi]; local 192 if (arg[0] != '-') 195 if (arg[1] == '\0') { 200 for (int i = 1; arg[i]; i++) { 201 switch (arg[i]) { 209 fprintf(stderr, "Error: Unknown option \"-%c\"\n", arg[i]);
|
/haiku/src/add-ons/kernel/drivers/dvb/cx23882/ |
H A D | dvb_interface.c | 197 interface_ioctl(void *cookie, uint32 op, void *arg, size_t len) argument 207 if (user_memcpy(arg, &info, sizeof(info)) < B_OK) 217 if (user_memcpy(arg, &info, sizeof(info)) < B_OK) 235 if (user_memcpy(¶ms, arg, sizeof(params)) < B_OK) 247 if (user_memcpy(arg, ¶ms, sizeof(params)) < B_OK) 257 if (user_memcpy(arg, &status, sizeof(status)) < B_OK) 267 if (user_memcpy(arg, &value, sizeof(value)) < B_OK) 277 if (user_memcpy(arg, &value, sizeof(value)) < B_OK) 287 if (user_memcpy(arg, &value, sizeof(value)) < B_OK) 297 if (user_memcpy(arg, [all...] |
/haiku/src/kits/shared/ |
H A D | CommandPipe.cpp | 38 BCommandPipe::AddArg(const char* arg) argument 40 if (arg == NULL || arg[0] == '\0') 43 char* argCopy = strdup(arg); 342 BCommandPipe::operator<<(const char* arg) argument 344 AddArg(arg); 350 BCommandPipe::operator<<(const BString& arg) argument 352 AddArg(arg.String()); 358 BCommandPipe::operator<<(const BCommandPipe& arg) argument 361 const char** argv = arg [all...] |
/haiku/headers/private/fs_shell/ |
H A D | fssh_api_wrapper.h | 87 #define B_SWAP_DOUBLE(arg) FSSH_B_SWAP_DOUBLE(arg) 88 #define B_SWAP_FLOAT(arg) FSSH_B_SWAP_FLOAT(arg) 89 #define B_SWAP_INT64(arg) FSSH_B_SWAP_INT64(arg) 90 #define B_SWAP_INT32(arg) FSSH_B_SWAP_INT32(arg) 91 #define B_SWAP_INT16(arg) FSSH_B_SWAP_INT16(arg) [all...] |
/haiku/src/system/kernel/arch/arm/ |
H A D | arch_debug.cpp | 137 uint32* arg = (uint32*)args; local 146 if (debug_memcpy(B_CURRENT_TEAM, &argValue, arg, 4) == B_OK) { 154 arg++; 175 value = read_function_argument_value<int64>(arg, valueKnown); 180 value = read_function_argument_value<int32>(arg, valueKnown); 185 value = read_function_argument_value<int16>(arg, valueKnown); 190 value = read_function_argument_value<int8>(arg, valueKnown); 195 value = read_function_argument_value<uint64>(arg, valueKnown); 203 value = read_function_argument_value<uint32>(arg, valueKnown); 211 value = read_function_argument_value<uint16>(arg, valueKnow [all...] |
/haiku/src/system/kernel/arch/arm64/ |
H A D | arch_debug.cpp | 129 uint32* arg = (uint32*)args; local 138 if (debug_memcpy(B_CURRENT_TEAM, &argValue, arg, 4) == B_OK) { 146 arg++; 167 value = read_function_argument_value<int64>(arg, valueKnown); 172 value = read_function_argument_value<int32>(arg, valueKnown); 177 value = read_function_argument_value<int16>(arg, valueKnown); 182 value = read_function_argument_value<int8>(arg, valueKnown); 187 value = read_function_argument_value<uint64>(arg, valueKnown); 195 value = read_function_argument_value<uint32>(arg, valueKnown); 203 value = read_function_argument_value<uint16>(arg, valueKnow [all...] |
/haiku/src/tests/servers/input/view_input_device/ |
H A D | ViewInputDevice.cpp | 35 static int32 _StartWatchPort(void *arg); 85 int32 ViewInputDevice::_StartWatchPort(void *arg) argument 87 ViewInputDevice *self = (ViewInputDevice*)arg;
|