/haiku-fatelf/src/system/libroot/posix/stdlib/ |
H A D | getsubopt.cpp | 17 char* option = *optionPtr; local 18 if (*option == '\0') 21 char* startOfNextOption = strchr(option, ','); 25 startOfNextOption = option + strlen(option); 28 char* startOfValue = strchr(option, '='); 34 if (strcmp(option, keys[keyIndex]) == 0)
|
/haiku-fatelf/src/tests/kits/net/sock/ |
H A D | sockopts.c | 38 int option; local 48 option = 1; 50 &option, sizeof(option)) < 0) 53 option = 0; 54 optlen = sizeof(option); 56 &option, &optlen) < 0) 58 if (option == 0) 59 err_quit("SO_DEBUG not set (%d)", option); 66 option [all...] |
/haiku-fatelf/headers/posix/ |
H A D | getopt.h | 14 struct option { struct 33 const struct option *longOptions, int *_longIndex); 35 const struct option *longOptions, int *_longIndex);
|
/haiku-fatelf/src/apps/deskcalc/ |
H A D | CalcOptions.cpp | 34 bool option; local 37 if (archive->FindBool("auto num lock", &option) == B_OK) 38 auto_num_lock = option; 40 if (archive->FindBool("audio feedback", &option) == B_OK) 41 audio_feedback = option; 43 if (archive->FindBool("degree mode", &option) == B_OK) 44 degree_mode = option;
|
/haiku-fatelf/src/bin/coreutils/lib/ |
H A D | xstrtol-error.c | 9 (at your option) any later version. 30 /* Report an error for an invalid integer in an option argument. 34 Use OPT_IDX to decide whether to print the short option string "C" 35 or "-C" or a long option string derived from LONG_OPTION. OPT_IDX 36 is -2 if the short option "C" was used, without any leading "-"; it 37 is -1 if the short option "-C" was used; otherwise it is an index 41 ARG is the option-argument containing the integer. 48 int opt_idx, char c, struct option const *long_options, 54 char const *option; local 81 option [all...] |
H A D | getopt_int.h | 9 (at your option) any later version. 26 const struct option *__longopts, int *__longind, 50 /* The next char to be scanned in the option-element 51 in which the last option character we returned was found. 58 /* Describe how to deal with options that follow non-option ARGV-elements. 65 stop option processing when the first non-option is seen. 69 of the list of option characters, or by calling getopt. 76 RETURN_IN_ORDER is an option available to programs that were 79 non-option ARG [all...] |
/haiku-fatelf/src/bin/findutils/gnulib/lib/ |
H A D | xstrtol-error.c | 9 (at your option) any later version. 30 /* Report an error for an invalid integer in an option argument. 34 Use OPT_IDX to decide whether to print the short option string "C" 35 or "-C" or a long option string derived from LONG_OPTION. OPT_IDX 36 is -2 if the short option "C" was used, without any leading "-"; it 37 is -1 if the short option "-C" was used; otherwise it is an index 41 ARG is the option-argument containing the integer. 48 int opt_idx, char c, struct option const *long_options, 54 char const *option; local 81 option [all...] |
H A D | getopt_int.h | 9 (at your option) any later version. 24 const struct option *__longopts, int *__longind, 48 /* The next char to be scanned in the option-element 49 in which the last option character we returned was found. 56 /* Describe how to deal with options that follow non-option ARGV-elements. 63 stop option processing when the first non-option is seen. 67 of the list of option characters, or by calling getopt. 74 RETURN_IN_ORDER is an option available to programs that were 77 non-option ARG [all...] |
/haiku-fatelf/src/bin/bc/h/ |
H A D | getopt.h | 10 License, or (at your option) any later version. 30 When `getopt' finds an option that takes an argument, 33 each non-option ARGV-element is returned here. */ 44 non-option elements that the caller should itself scan. 56 /* Set to an option character which was unrecognized. */ 62 of `struct option' terminated by an element containing a name which is 66 no_argument (or 0) if the option does not take an argument, 67 required_argument (or 1) if the option requires an argument, 68 optional_argument (or 2) if the option takes an optional argument. 71 to the value given in the field `val' when the option i 81 struct option struct [all...] |
/haiku-fatelf/src/bin/gdb/include/ |
H A D | getopt.h | 10 Free Software Foundation; either version 2, or (at your option) any 31 When `getopt' finds an option that takes an argument, 34 each non-option ARGV-element is returned here. */ 45 non-option elements that the caller should itself scan. 57 /* Set to an option character which was unrecognized. */ 63 of `struct option' terminated by an element containing a name which is 67 no_argument (or 0) if the option does not take an argument, 68 required_argument (or 1) if the option requires an argument, 69 optional_argument (or 2) if the option takes an optional argument. 72 to the value given in the field `val' when the option i 82 struct option struct [all...] |
/haiku-fatelf/src/bin/gzip/ |
H A D | getopt.h | 6 Free Software Foundation; either version 2, or (at your option) any 26 When `getopt' finds an option that takes an argument, 29 each non-option ARGV-element is returned here. */ 40 non-option elements that the caller should itself scan. 52 /* Set to an option character which was unrecognized. */ 58 of `struct option' terminated by an element containing a name which is 62 no_argument (or 0) if the option does not take an argument, 63 required_argument (or 1) if the option requires an argument, 64 optional_argument (or 2) if the option takes an optional argument. 67 to the value given in the field `val' when the option i 77 struct option struct [all...] |
/haiku-fatelf/src/bin/network/tcpdump/win32/Include/ |
H A D | getopt.h | 9 License, or (at your option) any later version. 29 When `getopt' finds an option that takes an argument, 32 each non-option ARGV-element is returned here. */ 45 non-option elements that the caller should itself scan. 61 /* Set to an option character which was unrecognized. */ 67 of `struct option' terminated by an element containing a name which is 71 no_argument (or 0) if the option does not take an argument, 72 required_argument (or 1) if the option requires an argument, 73 optional_argument (or 2) if the option takes an optional argument. 76 to the value given in the field `val' when the option i 86 struct option struct [all...] |
/haiku-fatelf/src/bin/sharutils/lib/ |
H A D | getopt.h | 6 Free Software Foundation; either version 2, or (at your option) any 26 When `getopt' finds an option that takes an argument, 29 each non-option ARGV-element is returned here. */ 40 non-option elements that the caller should itself scan. 52 /* Set to an option character which was unrecognized. */ 58 of `struct option' terminated by an element containing a name which is 62 no_argument (or 0) if the option does not take an argument, 63 required_argument (or 1) if the option requires an argument, 64 optional_argument (or 2) if the option takes an optional argument. 67 to the value given in the field `val' when the option i 77 struct option struct [all...] |
/haiku-fatelf/src/tools/stubgen/ |
H A D | getopt.h | 6 Free Software Foundation; either version 2, or (at your option) any 27 When `getopt' finds an option that takes an argument, 30 each non-option ARGV-element is returned here. */ 41 non-option elements that the caller should itself scan. 53 /* Set to an option character which was unrecognized. */ 59 of `struct option' terminated by an element containing a name which is 63 no_argument (or 0) if the option does not take an argument, 64 required_argument (or 1) if the option requires an argument, 65 optional_argument (or 2) if the option takes an optional argument. 68 to the value given in the field `val' when the option i 78 struct option struct [all...] |
/haiku-fatelf/src/apps/icon-o-matic/generic/property/specific_properties/ |
H A D | OptionProperty.cpp | 37 option* o = (option*)(other.fOptions.ItemAtFast(i)); 38 option* clone = new (nothrow) option; 57 if (archive->FindInt32("option", &fCurrentOptionID) < B_OK) 66 delete (option*)fOptions.ItemAtFast(i); 78 status = into->AddInt32("option", fCurrentOptionID); 117 // try to find option by name 120 option* o = (option*)fOption [all...] |
/haiku-fatelf/src/apps/debugger/settings/generic/ |
H A D | Setting.cpp | 75 SettingsOption* option = DefaultOption(); local 76 return option != NULL 77 ? BVariant(option->ID(), B_VARIANT_DONT_COPY_DATA) : BVariant(); 207 for (int32 i = 0; SettingsOption* option = fOptions.ItemAt(i); i++) 208 option->ReleaseReference(); 236 for (int32 i = 0; SettingsOption* option = fOptions.ItemAt(i); i++) { 237 if (strcmp(option->ID(), id) == 0) 238 return option; 246 OptionsSettingImpl::AddOption(SettingsOption* option) argument 248 if (!fOptions.AddItem(option)) 259 Option* option = new(std::nothrow) Option(id, name); local 269 SetDefaultOption(SettingsOption* option) argument [all...] |
/haiku-fatelf/src/libs/print/libgutenprint/src/main/ |
H A D | xmlppd.h | 8 * Software Foundation; either version 2 of the License, or (at your option) 36 extern stp_mxml_node_t *stpi_xmlppd_find_choice_named(stp_mxml_node_t *option, const char *name); 38 extern stp_mxml_node_t *stpi_xmlppd_find_choice_index(stp_mxml_node_t *option, int idx); 40 extern int stpi_xmlppd_find_choice_count(stp_mxml_node_t *option);
|
H A D | xmlppd.c | 11 * (at your option) any later version. 128 return find_element_named(root, name, "option"); 134 return find_element_index(root, idx, "option"); 140 return find_element_count(root, "option"); 144 stpi_xmlppd_find_choice_named(stp_mxml_node_t *option, const char *name) argument 146 return find_element_named(option, name, "choice"); 150 stpi_xmlppd_find_choice_index(stp_mxml_node_t *option, int idx) argument 152 return find_element_index(option, idx, "choice"); 156 stpi_xmlppd_find_choice_count(stp_mxml_node_t *option) argument 158 return find_element_count(option, "choic 197 *option, /* Current option */ local [all...] |
/haiku-fatelf/src/add-ons/kernel/network/protocols/tcp/ |
H A D | tcp.cpp | 85 bump_option(tcp_option *&option, size_t &length) argument 87 if (option->kind <= TCP_OPTION_NOP) { 89 option = (tcp_option *)((uint8 *)option + 1); 91 length += option->length; 92 option = (tcp_option *)((uint8 *)option + option->length); 100 tcp_option *option = (tcp_option *)buffer; local 104 option 520 tcp_control(net_protocol* _protocol, int level, int option, void* value, size_t* _length) argument 536 tcp_getsockopt(net_protocol* _protocol, int level, int option, void* value, int* _length) argument 550 tcp_setsockopt(net_protocol* _protocol, int level, int option, const void* _value, int length) argument [all...] |
/haiku-fatelf/src/bin/network/telnetd/ |
H A D | state.c | 87 #define TS_WILL 5 /* will option negotiation */ 249 * Begin option subnegotiation... 277 * Handle RFC 10xx Telnet linemode option additions 338 suboption(); /* handle sub-option */ 373 * Telnet option processing state machine. 423 * peer probably should be buffering until this option state negotiation 428 send_do(int option, int init) argument 431 if ((do_dont_resp[option] == 0 && his_state_is_will(option)) || 432 his_want_state_is_will(option)) 451 willoption(int option) argument 643 send_dont(int option, int init) argument 658 wontoption(int option) argument 790 send_will(int option, int init) argument 816 dooption(int option) argument 946 send_wont(int option, int init) argument 961 dontoption(int option) argument [all...] |
/haiku-fatelf/src/bin/diffutils/lib/ |
H A D | getopt.h | 7 the Free Software Foundation; either version 2, or (at your option) 41 When `getopt' finds an option that takes an argument, 44 each non-option ARGV-element is returned here. */ 55 non-option elements that the caller should itself scan. 67 /* Set to an option character which was unrecognized. */ 74 of `struct option' terminated by an element containing a name which is 78 no_argument (or 0) if the option does not take an argument, 79 required_argument (or 1) if the option requires an argument, 80 optional_argument (or 2) if the option takes an optional argument. 83 to the value given in the field `val' when the option i 93 struct option struct [all...] |
/haiku-fatelf/src/bin/gawk/ |
H A D | getopt.h | 8 version 2.1 of the License, or (at your option) any later version. 42 When `getopt' finds an option that takes an argument, 45 each non-option ARGV-element is returned here. */ 56 non-option elements that the caller should itself scan. 68 /* Set to an option character which was unrecognized. */ 75 of `struct option' terminated by an element containing a name which is 79 no_argument (or 0) if the option does not take an argument, 80 required_argument (or 1) if the option requires an argument, 81 optional_argument (or 2) if the option takes an optional argument. 84 to the value given in the field `val' when the option i 94 struct option struct [all...] |
/haiku-fatelf/src/bin/network/wget/lib/ |
H A D | getopt_int.h | 9 (at your option) any later version. 24 const struct option *__longopts, int *__longind, 48 /* The next char to be scanned in the option-element 49 in which the last option character we returned was found. 56 /* Describe how to deal with options that follow non-option ARGV-elements. 63 stop option processing when the first non-option is seen. 67 of the list of option characters, or by calling getopt. 74 RETURN_IN_ORDER is an option available to programs that were 77 non-option ARG [all...] |
/haiku-fatelf/src/system/libroot/posix/glibc/extensions/ |
H A D | getopt.h | 8 version 2.1 of the License, or (at your option) any later version. 42 When `getopt' finds an option that takes an argument, 45 each non-option ARGV-element is returned here. */ 56 non-option elements that the caller should itself scan. 68 /* Set to an option character which was unrecognized. */ 75 of `struct option' terminated by an element containing a name which is 79 no_argument (or 0) if the option does not take an argument, 80 required_argument (or 1) if the option requires an argument, 81 optional_argument (or 2) if the option takes an optional argument. 84 to the value given in the field `val' when the option i 94 struct option struct [all...] |
/haiku-fatelf/src/tests/system/libroot/posix/ |
H A D | getsubopt_test.cpp | 19 char* option = strdup("mode=readwrite,unknown,be-lenient"); local 21 int result = getsubopt(&option, keys, &value); 26 result = getsubopt(&option, keys, &value); 31 result = getsubopt(&option, keys, &value);
|