Searched refs:options (Results 1 - 25 of 127) sorted by relevance

123456

/haiku/headers/private/syslog_daemon/
H A Dsyslog_daemon.h25 int32 options; member in struct:syslog_message
34 #define SYSLOG_PRIORITY(options) ((options) & 0x7)
35 #define SYSLOG_FACILITY(options) ((options) & 0x03f8)
36 #define SYSLOG_FACILITY_INDEX(options) (SYSLOG_FACILITY(options) >> 3)
/haiku/src/system/boot/platform/amiga_m68k/
H A Dkeyboard.cpp43 uint32 options = 0; local
48 options |= BOOT_OPTION_MENU;
51 options |= BOOT_OPTION_DEBUG_OUTPUT;
60 dprintf("options = %ld\n", options);
61 return options;
/haiku/src/system/boot/platform/atari_m68k/
H A Dkeyboard.cpp48 uint32 options = 0; local
53 options |= BOOT_OPTION_MENU;
56 options |= BOOT_OPTION_DEBUG_OUTPUT;
65 dprintf("options = %ld\n", options);
66 return options;
/haiku/src/system/boot/platform/next_m68k/
H A Dkeyboard.cpp46 uint32 options = 0; local
51 options |= BOOT_OPTION_MENU;
54 options |= BOOT_OPTION_DEBUG_OUTPUT;
63 dprintf("options = %ld\n", options);
64 return options;
/haiku/src/libs/bsd/
H A Dwait.c15 extern pid_t _waitpid(pid_t pid, int* _status, int options,
19 pid_t _wait3_base(int *status, int options, struct rusage *rusage);
20 pid_t _wait4_base(pid_t pid, int *status, int options, struct rusage *rusage);
21 pid_t _wait3_current(int *status, int options, struct rusage *rusage);
22 pid_t _wait4_current(pid_t pid, int *status, int options,
27 _wait3_base(int *status, int options, struct rusage *rusage) argument
29 return _wait4_base(-1, status, options, rusage);
34 _wait4_base(pid_t pid, int *status, int options, struct rusage *rusage) argument
37 pid_t waitPid = _waitpid(pid, status, options,
52 _wait3_current(int *status, int options, struc argument
59 _wait4_current(pid_t pid, int *status, int options, struct rusage *rusage) argument
[all...]
/haiku/src/system/boot/platform/bios_ia32/
H A Dkeyboard.cpp59 uint32 options = 0; local
66 options |= BOOT_OPTION_MENU;
71 options |= BOOT_OPTION_MENU;
74 options |= BOOT_OPTION_DEBUG_OUTPUT;
78 dprintf("options = %ld\n", options);
79 return options;
/haiku/headers/compatibility/bsd/sys/
H A Dwait.h23 pid_t wait3(int *status, int options, struct rusage *rusage);
25 pid_t wait4(pid_t pid, int *status, int options, struct rusage *rusage);
/haiku/src/system/libroot/posix/sys/
H A Dwait.cpp27 _waitpid(pid_t pid, int* _status, int options, team_usage_info *usage_info) argument
31 pid_t child = _kern_wait_for_child(pid, options | WEXITED, &info,
39 if (child == B_WOULD_BLOCK && (options & WNOHANG) != 0)
88 waitpid(pid_t pid, int* _status, int options) argument
90 return _waitpid(pid, _status, options, NULL);
95 waitid(idtype_t idType, id_t id, siginfo_t* info, int options) argument
121 pid_t child = _kern_wait_for_child(id, options, info, NULL);
/haiku/src/apps/debugger/
H A DDebugger.cpp53 "Usage: %s [ <options> ]\n"
54 " %s [ <options> ] <command line>\n"
55 " %s [ <options> ] --team <team>\n"
56 " %s [ <options> ] --thread <thread>\n"
57 " %s [ <options> ] --core <file>\n"
116 const Options& options)
118 _debuggerOptions.commandLineArgc = options.commandLineArgc;
119 _debuggerOptions.commandLineArgv = options.commandLineArgv;
120 _debuggerOptions.team = options.team;
121 _debuggerOptions.thread = options
115 set_debugger_options_from_options(TeamDebuggerOptions& _debuggerOptions, const Options& options) argument
135 parse_arguments(int argc, const char* const* argv, bool noOutput, Options& options) argument
428 TeamDebuggerOptions options; local
482 Options options; local
507 Options options; local
535 Options options; local
630 TeamDebuggerOptions options; local
656 _HandleOptions(const Options& options) argument
687 Run(const Options& options) argument
777 Run(const Options& options) argument
831 Options options; local
[all...]
/haiku/src/kits/debugger/target_host_interface/
H A DTargetHostInterface.cpp56 TargetHostInterface::StartTeamDebugger(const TeamDebuggerOptions& options) argument
60 bool stopInMain = options.requestType == TEAM_DEBUGGER_REQUEST_CREATE;
61 team_id team = options.team;
62 thread_id thread = options.thread;
65 if (options.requestType == TEAM_DEBUGGER_REQUEST_CREATE) {
66 status_t error = CreateTeam(options.commandLineArgc,
67 options.commandLineArgv, team);
73 if (options.requestType != TEAM_DEBUGGER_REQUEST_LOAD_CORE) {
91 return _StartTeamDebugger(team, options, stopInMain);
193 TeamDebuggerOptions options; local
247 _StartTeamDebugger(team_id teamID, const TeamDebuggerOptions& options, bool stopInMain) argument
[all...]
/haiku/src/system/libroot/posix/glibc/extensions/
H A Dgetopt1.c72 getopt_long (argc, argv, options, long_options, opt_index)
75 const char *options;
79 return _getopt_internal (argc, argv, options, long_options, opt_index, 0);
88 getopt_long_only (argc, argv, options, long_options, opt_index)
91 const char *options;
95 return _getopt_internal (argc, argv, options, long_options, opt_index, 1);
/haiku/src/tools/restest/
H A Drestest.cpp17 "Usage: %s <options> <filenames>\n"
18 "options:\n"
96 TestOptions& options)
98 // default options
99 options.listing = NO_LISTING;
100 options.write_test = false;
101 options.summary = false;
118 if (options.listing == NO_LISTING)
119 options.listing = SHORT_LISTING;
122 options
95 parse_arguments(int argc, const char* const* argv, BList& files, TestOptions& options) argument
175 test_file(const char* filename, const TestOptions& options, TestResult& testResult) argument
243 test_files(BList& files, TestOptions& options) argument
316 TestOptions options; local
[all...]
/haiku/src/bin/network/telnetd/
H A Ddefs.h179 #define TD_OPTIONS 0x10 /* Report just telnet options */
195 #define my_state_is_do(opt) (options[opt]&MY_STATE_DO)
196 #define my_state_is_will(opt) (options[opt]&MY_STATE_WILL)
197 #define my_want_state_is_do(opt) (options[opt]&MY_WANT_STATE_DO)
198 #define my_want_state_is_will(opt) (options[opt]&MY_WANT_STATE_WILL)
205 #define set_my_state_do(opt) (options[opt] |= MY_STATE_DO)
206 #define set_my_state_will(opt) (options[opt] |= MY_STATE_WILL)
207 #define set_my_want_state_do(opt) (options[opt] |= MY_WANT_STATE_DO)
208 #define set_my_want_state_will(opt) (options[opt] |= MY_WANT_STATE_WILL)
210 #define set_my_state_dont(opt) (options[op
[all...]
/haiku/src/libs/glut/
H A DglutDstr.cpp11 * DESCRIPTION: convert display string into a Be options variable
48 * PARAMETERS: if options is non-NULL, the current display mode is
53 int __glutConvertDisplayModeFromString(unsigned long *options) { argument
62 // options that we support, and add them to newoptions
79 if (options)
80 *options = newoptions;
/haiku/src/system/libroot/posix/
H A Dsyslog.cpp24 int32 options; member in struct:syslog_context
101 if (context->options & LOG_PID)
134 int options = context->options; local
141 if ((options & LOG_PERROR) != 0
142 || ((options & LOG_CONS) != 0 && port < B_OK)) {
160 message.options = options;
179 if (status < B_OK && (options & LOG_CONS) != 0
180 && (options
199 openlog(const char *ident, int options, int facility) argument
235 openlog_team(const char *ident, int options, int facility) argument
280 openlog_thread(const char *ident, int options, int facility) argument
[all...]
/haiku/src/add-ons/print/transports/serial_port/
H A DSerialTransport.cpp64 struct termios options; local
65 tcgetattr(fFile, &options);
67 cfmakeraw(&options);
68 options.c_cc[VTIME] = 10; // wait for data at most for 1 second
69 options.c_cc[VMIN] = 0; // allow to return 0 chars
73 cfsetispeed(&options, baudrate);
74 cfsetospeed(&options, baudrate);
77 tcsetattr(fFile, TCSANOW, &options);
/haiku/src/tests/kits/net/service/
H A Dproxy.py139 options = parse_args(sys.argv)
142 options.bind_addr,
143 0 if options.port is None else options.port)
149 if options.port is None:
152 server.server_port = options.port
154 if options.server_socket_fd:
156 options.server_socket_fd,
194 options, args = parser.parse_args(argv)
197 return options
[all...]
/haiku/src/tests/kits/net/netservices2/
H A Dproxy.py139 options = parse_args(sys.argv)
142 options.bind_addr,
143 0 if options.port is None else options.port)
149 if options.port is None:
152 server.server_port = options.port
154 if options.server_socket_fd:
156 options.server_socket_fd,
194 options, args = parser.parse_args(argv)
197 return options
[all...]
/haiku/src/bin/network/ping/
H A Dping.c124 /* various options */
287 options |= F_DOT;
297 options |= F_MISSED;
300 options |= F_AUDIBLE;
304 options |= F_IP_VLAN_PCP;
322 options |= F_HDRINCL;
326 options |= F_SO_DEBUG;
333 options |= F_FLOOD;
334 options |= F_DOT;
349 options |
[all...]
/haiku/src/system/libnetwork/netresolv/resolv/
H A Dres_data.c115 * to set options. We keep another struct res that is the same
123 if (ores->options != 0)
124 _nres.options = ores->options;
144 * _nres.options is tricky since some apps were known to diddle the bits
154 if (!(_nres.options & RES_INIT))
155 _nres.options = RES_DEFAULT;
183 if ((_nres.options & RES_INIT) == 0U && res_init() == -1)
199 if ((_nres.options & RES_INIT) == 0U && res_init() == -1) {
211 if ((_nres.options
[all...]
H A Dres_query.c126 if (statp->options & RES_DEBUG)
134 (statp->options & (RES_USE_EDNS0|RES_USE_DNSSEC|RES_NSID)) != 0U) {
137 if (n > 0 && (statp->options & RES_NSID) != 0U) {
145 if (statp->options & RES_DEBUG)
156 if ((statp->options & (RES_USE_EDNS0|RES_USE_DNSSEC)) != 0U &&
159 if (statp->options & RES_DEBUG)
165 if (statp->options & RES_DEBUG)
174 if (statp->options & RES_DEBUG)
259 if ((!dots && (statp->options & RES_DEFNAMES) != 0U) ||
260 (dots && !trailing_dot && (statp->options
[all...]
/haiku/src/kits/device/
H A DSerialPort.cpp553 /*! \brief Send the selected options to the serial driver.
561 struct termios options; local
568 err = tcgetattr(ffd, &options);
573 options.c_iflag &= ~(IXON | IXOFF | IXANY | INPCK);
574 options.c_cflag &= ~(CRTSCTS | CSIZE | CSTOPB | PARODD | PARENB);
575 options.c_lflag &= ~(ECHO | ECHONL | ISIG | ICANON);
578 options.c_cflag |= CLOCAL;
582 options.c_cflag |= CRTSCTS;
585 options.c_iflag |= (IXON | IXOFF);
588 options
[all...]
/haiku/headers/posix/sys/
H A Dwait.h13 /* waitpid()/waitid() options */
44 extern pid_t waitpid(pid_t pid, int *_status, int options);
45 extern int waitid(idtype_t idType, id_t id, siginfo_t *info, int options);
/haiku/src/tests/servers/app/event_mask/
H A DEventMask.cpp27 PositionView(BRect rect, uint32 options);
44 PositionView::PositionView(BRect rect, uint32 options) argument
47 fOptions(options),
187 uint32 options = 0; local
190 options = B_SUSPEND_VIEW_FOCUS;
193 options = B_LOCK_WINDOW_FOCUS;
196 options = B_SUSPEND_VIEW_FOCUS | B_LOCK_WINDOW_FOCUS;
200 fViews[i] = new PositionView(rect, options);
/haiku/src/apps/haikudepot/server/
H A DAbstractSingleFileServerProcess.h16 AbstractSingleFileServerProcess(uint32 options);

Completed in 188 milliseconds

123456