Searched refs:parameter (Results 1 - 25 of 96) sorted by relevance

1234

/haiku/headers/private/kernel/
H A Dsafemode.h22 status_t get_safemode_option(const char* parameter, char* buffer,
24 bool get_safemode_boolean(const char* parameter, bool defaultValue);
28 const char* parameter, char* buffer, size_t* _bufferSize);
30 const char* parameter, bool defaultValue);
32 status_t _user_get_safemode_option(const char* parameter, char* buffer,
/haiku/headers/private/media/
H A DDefaultMediaTheme.h20 virtual BControl* MakeControlFor(BParameter* parameter);
22 static BControl* MakeViewFor(BParameter* parameter);
31 BView* MakeSelfHostingViewFor(BParameter& parameter);
/haiku/src/add-ons/kernel/network/ppp/shared/libppp/
H A DMessageDriverSettingsUtils.cpp42 AddValues(const BMessage& message, driver_parameter *parameter) argument
47 if (!add_driver_parameter_value(value, parameter))
72 driver_parameter *parameter; local
76 parameter = new_driver_parameter(name);
77 if (!AddValues(current, parameter))
80 AddParameters(current, parameter);
81 add_driver_parameter(parameter, to);
104 AddParameter(const driver_parameter *parameter, BMessage *message) argument
106 if (!parameter || !message)
109 if (parameter
144 BMessage parameter; local
168 WriteParameter(BFile& file, const BMessage& parameter, int32 level) argument
232 BMessage parameter; local
[all...]
/haiku/src/add-ons/network_settings/dialup/
H A DMessageDriverSettingsUtils.cpp44 AddValues(const BMessage& message, driver_parameter *parameter) argument
49 if(!add_driver_parameter_value(value, parameter))
74 driver_parameter *parameter; local
78 parameter = new_driver_parameter(name);
79 if(!AddValues(current, parameter))
82 AddParameters(current, parameter);
83 add_driver_parameter(parameter, to);
106 AddParameter(const driver_parameter *parameter, BMessage *message) argument
108 if(!parameter || !message)
111 if(parameter
146 BMessage parameter; local
170 WriteParameter(BFile& file, const BMessage& parameter, int32 level) argument
234 BMessage parameter; local
[all...]
H A DConnectionOptionsAddon.cpp61 BMessage parameter;
65 if(FindMessageParameter(PPP_DIAL_ON_DEMAND_KEY, *fSettings, &parameter, &index)
66 && parameter.FindString(MDSU_VALUES, &value) == B_OK) {
70 parameter.AddBool(MDSU_VALID, true);
71 fSettings->ReplaceMessage(MDSU_PARAMETERS, index, &parameter);
75 if(FindMessageParameter(PPP_ASK_BEFORE_DIALING_KEY, *fSettings, &parameter, &index)
76 && parameter.FindString(MDSU_VALUES, &value) == B_OK) {
80 parameter.AddBool(MDSU_VALID, true);
81 fSettings->ReplaceMessage(MDSU_PARAMETERS, index, &parameter);
85 if(FindMessageParameter(PPP_AUTO_REDIAL_KEY, *fSettings, &parameter,
[all...]
H A DIPCPAddon.cpp91 // the "Local" side parameter
96 // just fall through and pretend we have an empty "Local" side parameter
100 BMessage parameter; local
102 if(!FindMessageParameter(IPCP_IP_ADDRESS_KEY, local, &parameter, &index)
103 || parameter.FindString(MDSU_VALUES, &fIPAddress) != B_OK)
109 parameter.AddBool(MDSU_VALID, true);
110 local.ReplaceMessage(MDSU_PARAMETERS, index, &parameter);
114 if(!FindMessageParameter(IPCP_PRIMARY_DNS_KEY, local, &parameter, &index)
115 || parameter.FindString(MDSU_VALUES, &fPrimaryDNS) != B_OK)
121 parameter
[all...]
/haiku/src/servers/launch/
H A DSettingsParser.cpp17 const driver_parameter& parameter, const char* name, uint32 type,
20 if (parameter.parameter_count != 0 || strcmp(name, Name()) == 0)
28 status_t AddSubMessage(const driver_parameter& parameter, int32 index, argument
31 const char* condition = parameter.values[index];
33 for (index++; index < parameter.value_count; index++) {
35 parameter.values[index]);
48 status_t ConvertFromDriverSettings(const driver_parameter& parameter, argument
52 if (strcmp(parameter.name, "if") == 0) {
59 bool notOperator = parameter.value_count > 1
60 && strcmp(parameter
16 ConvertEmptyFromDriverSettings( const driver_parameter& parameter, const char* name, uint32 type, BMessage& target) argument
92 ConvertFromDriverSettings(const driver_parameter& parameter, const char* name, int32 index, uint32 type, BMessage& target) argument
117 ConvertFromDriverSettings(const driver_parameter& parameter, const char* name, int32 index, uint32 type, BMessage& target) argument
126 ConvertEmptyFromDriverSettings( const driver_parameter& parameter, const char* name, uint32 type, BMessage& target) argument
[all...]
H A DLog.cpp23 virtual status_t GetParameter(BMessage& parameter) const;
49 virtual status_t GetParameter(BMessage& parameter) const;
66 virtual status_t GetParameter(BMessage& parameter) const;
80 virtual status_t GetParameter(BMessage& parameter) const;
94 virtual status_t GetParameter(BMessage& parameter) const;
108 virtual status_t GetParameter(BMessage& parameter) const;
122 virtual status_t GetParameter(BMessage& parameter) const;
136 virtual status_t GetParameter(BMessage& parameter) const;
359 AbstractJobLogItem::GetParameter(BMessage& parameter) const
361 return parameter
[all...]
/haiku/src/kits/media/
H A DDefaultMediaTheme.cpp63 BDiscreteParameter &parameter);
75 BDiscreteParameter &parameter);
87 int32 maxValue, BContinuousParameter &parameter);
100 BContinuousParameter &parameter);
111 static MessageFilter *FilterFor(BView *view, BParameter &parameter);
120 BContinuousParameter &parameter);
134 DiscreteMessageFilter(BControl *control, BDiscreteParameter &parameter);
150 parameter_should_be_hidden(BParameter &parameter) argument
155 if (parameter.Type() != BParameter::B_NULL_PARAMETER
156 || strcmp(parameter
169 start_watching_for_parameter_changes(BControl* control, BParameter &parameter) argument
185 stop_watching_for_parameter_changes(BControl* control, BParameter &parameter) argument
289 CheckBox(const char* name, const char* label, BDiscreteParameter &parameter) argument
319 OptionPopUp(const char* name, const char* label, BDiscreteParameter &parameter) argument
349 Slider(const char* name, const char* label, int32 minValue, int32 maxValue, BContinuousParameter &parameter) argument
379 ChannelSlider(const char* name, const char* label, orientation orientation, int32 channels, BContinuousParameter &parameter) argument
421 FilterFor(BView *view, BParameter &parameter) argument
446 ContinuousMessageFilter(BControl *control, BContinuousParameter &parameter) argument
552 DiscreteMessageFilter(BControl *control, BDiscreteParameter &parameter) argument
657 MakeControlFor(BParameter *parameter) argument
742 BParameter *parameter = group.ParameterAt(i); local
781 MakeSelfHostingViewFor(BParameter& parameter) argument
818 MakeViewFor(BParameter *parameter) argument
[all...]
/haiku/src/add-ons/kernel/file_systems/userlandfs/shared/
H A DDriverSettings.cpp14 // The parameter values that shall be evaluated to true.
33 virtual bool GetNext(DriverParameter* parameter) = 0;
71 DriverParameterIterator::GetNext(DriverParameter* parameter) argument
81 return fDelegate->GetNext(parameter);
132 virtual bool GetNext(DriverParameter* parameter) argument
135 if (parameter)
136 parameter->SetTo(fParameters);
178 virtual bool GetNext(DriverParameter* parameter) argument
181 if (parameter)
182 parameter
304 DriverParameter parameter; local
315 DriverParameter parameter; local
326 DriverParameter parameter; local
337 DriverParameter parameter; local
415 SetTo(const driver_parameter* parameter) argument
[all...]
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/
H A Dsettings_tools.cpp65 free_driver_parameter(driver_parameter *parameter) argument
67 free_driver_parameter_fields(parameter);
68 free(parameter);
73 free_driver_parameter_fields(driver_parameter *parameter) argument
75 free(parameter->name);
77 for (int32 index = 0; index < parameter->value_count; index++)
78 free(parameter->values[index]);
80 free(parameter->values);
82 for (int32 index = 0; index < parameter->parameter_count; index++)
83 free_driver_parameter_fields(&parameter
102 driver_parameter *parameter = (driver_parameter*) malloc(sizeof(driver_parameter)); local
150 set_driver_parameter_name(const char *name, driver_parameter *parameter) argument
268 skip_interface_parameter(const driver_parameter *parameter) argument
379 const driver_parameter *parameter = get_parameter_with_name(name, settings); local
[all...]
/haiku/src/system/kernel/debug/
H A Dsafemode_settings.cpp27 const char* parameter, size_t parameterLength, char* buffer,
119 && strncmp(parameter, nameStart, parameterLength) == 0) {
145 get_option(kernel_args* args, const char* settingsName, const char* parameter, argument
150 return get_option_from_kernel_args(args, settingsName, parameter,
161 const char* value = get_driver_parameter(handle, parameter, NULL, NULL);
173 get_option(kernel_args* args, const char* parameter, char* buffer, argument
176 size_t parameterLength = strlen(parameter);
177 status_t status = get_option(args, B_SAFEMODE_DRIVER_SETTINGS, parameter,
181 status = get_option(args, "kernel", parameter, parameterLength, buffer,
190 get_boolean(kernel_args* args, const char* parameter, boo argument
26 get_option_from_kernel_args(kernel_args* args, const char* settingsName, const char* parameter, size_t parameterLength, char* buffer, size_t* _bufferSize) argument
208 get_safemode_option(const char* parameter, char* buffer, size_t* _bufferSize) argument
215 get_safemode_boolean(const char* parameter, bool defaultValue) argument
225 get_safemode_option_early(kernel_args* args, const char* parameter, char* buffer, size_t* _bufferSize) argument
233 get_safemode_boolean_early(kernel_args* args, const char* parameter, bool defaultValue) argument
253 char parameter[B_FILE_NAME_LENGTH]; local
[all...]
/haiku/src/kits/network/libnetapi/
H A DDataRequest.cpp64 // Extract next parameter
67 BString parameter = meta; local
69 parameter.Truncate(pos);
74 // Interpret the parameter
75 if (parameter == "base64") {
77 } else if (parameter.FindFirst("charset=") == 0) {
78 charset = parameter;
81 mimeType = parameter;
/haiku/src/kits/shared/
H A DDriverSettingsMessageAdapter.cpp33 const driver_parameter& parameter, const char* name, int32 index,
42 const driver_parameter& parameter, const char* name, uint32 type,
198 DriverSettingsMessageAdapter::_AddParameter(const driver_parameter& parameter, argument
203 name = parameter.name;
205 for (int32 i = 0; i < parameter.value_count; i++) {
209 parameter, name, i, settingsTemplate.type, message);
220 status = message.AddString(name, parameter.values[i]);
223 status = message.AddInt32(name, atoi(parameter.values[i]));
227 bool value=!strcasecmp(parameter.values[i], "true")
228 || !strcasecmp(parameter
32 ConvertFromDriverSettings( const driver_parameter& parameter, const char* name, int32 index, uint32 type, BMessage& target) argument
41 ConvertEmptyFromDriverSettings( const driver_parameter& parameter, const char* name, uint32 type, BMessage& target) argument
264 _ConvertFromDriverParameter( const driver_parameter& parameter, const settings_template* settingsTemplate, BMessage& message) argument
[all...]
/haiku/src/system/boot/loader/file_systems/packagefs/
H A DPackageSettingsItem.cpp62 const driver_parameter& parameter = settings->parameters[i]; local
63 if (strcmp(parameter.name, "Package") != 0
64 || parameter.value_count < 1
65 || strcmp(parameter.values[0], name) != 0) {
71 if (settingsItem == NULL || settingsItem->Init(parameter) != B_OK) {
84 PackageSettingsItem::Init(const driver_parameter& parameter) argument
89 for (int i = 0; i < parameter.parameter_count; i++) {
90 const driver_parameter& subParameter = parameter.parameters[i];
167 PackageSettingsItem::_AddBlackListedEntries(const driver_parameter& parameter) argument
169 for (int i = 0; i < parameter
[all...]
/haiku/src/tools/gensyscalls/
H A Dgensyscalls.cpp155 Parameter* parameter = new Parameter(typeName, parameterName, size,
157 fParameters->push_back(parameter);
158 return parameter;
327 const Parameter* parameter = syscall->ParameterAt(k); local
328 int size = parameter->UsedSize();
353 Parameter* parameter = syscall->ParameterAt(0); local
354 if (parameter->AlignmentTypeName()) {
355 file << "(" << parameter->TypeName() << ")*("
356 << parameter->AlignmentTypeName()
359 file << "*(" << _GetPointerType(parameter
475 const Parameter* parameter = syscall->ParameterAt(k); local
542 const Parameter* parameter = syscall->ParameterAt(k); local
[all...]
/haiku/src/kits/storage/
H A DDriverSettings.cpp24 // The parameter values that shall be evaluated to true.
197 const driver_parameter* parameter = fParameters; local
199 return BDriverParameter(parameter);
287 BDriverParameter parameter; local
288 FindParameter(name, &parameter);
289 return parameter;
323 BDriverParameter parameter; local
324 if (!FindParameter(name, &parameter))
326 return parameter.ValueAt(0, noValue);
334 BDriverParameter parameter; local
345 BDriverParameter parameter; local
356 BDriverParameter parameter; local
463 BDriverParameter(const driver_parameter* parameter) argument
485 SetTo(const driver_parameter* parameter) argument
[all...]
/haiku/src/bin/
H A Dmount.c22 printf("usage: %s [-ro] [-t fstype] [-p parameter] [device] directory\n"
37 const char *parameter = NULL; local
63 } else if ((!strcmp(arg, "p") || !strcmp(arg, "o")) && parameter == NULL) {
66 parameter = *++argv;
95 volume = fs_mount_volume(mountPoint, device, fs, flags, parameter);
H A Dsetvolume.cpp45 fprintf(stderr, "%s: cannot get parameter web for audio mixer: %s\n",
52 BParameter *parameter; local
53 for (int32 index = 0; (parameter = web->ParameterAt(index)) != NULL; index++) {
54 if (!strcmp(parameter->Kind(), B_MASTER_GAIN)) {
55 gain = dynamic_cast<BContinuousParameter *>(parameter);
74 // make sure our parameter is in range
/haiku/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/
H A DSettings.cpp38 const driver_parameter *parameter = NULL; local
40 for (; !parameter && cookie < container->parameter_count; cookie++) {
43 parameter = &param;
46 return parameter;
136 while (const driver_parameter *parameter
138 PRINT((" found file_system parameter\n"));
139 if (parameter->value_count > 0)
140 PRINT((" value: `%s'\n", parameter->values[0]));
141 if (parameter->value_count == 1
142 && !strcmp(parameter
[all...]
/haiku/src/bin/debug/strace/
H A DSyscall.h76 void AddParameter(Parameter *parameter) argument
78 fParameters.push_back(parameter);
101 Parameter *parameter = ParameterAt(i); local
102 if (parameter->Name() == name)
103 return parameter;
/haiku/src/tools/fs_shell/
H A Ddriver_settings.cpp130 Depending on the "assignmentMode" parameter, the '=' sign is either
134 parameter will be set to the beginning of the word.
163 // parameter, this is just no parameter at all
248 parse_parameter(struct fssh_driver_parameter *parameter, char **_pos, int32_t level) argument
253 // initialize parameter first
254 fssh_memset(parameter, 0, sizeof(struct fssh_driver_parameter));
256 status = get_word(&pos, &parameter->name, NO_ASSIGNMENT, true);
260 status = get_word(&pos, &value, parameter->value_count == 0
267 newArray = (char**)realloc(parameter
290 struct fssh_driver_parameter parameter; local
354 free_parameter(struct fssh_driver_parameter *parameter) argument
538 put_parameter(char **_buffer, fssh_ssize_t *_bufferSize, struct fssh_driver_parameter *parameter, int32_t level, bool flat) argument
800 fssh_driver_parameter *parameter; local
840 struct fssh_driver_parameter *parameter; local
[all...]
/haiku/src/add-ons/kernel/file_systems/reiserfs/
H A DSettings.cpp176 while (const driver_parameter *parameter
178 for (int32 i = 0; i < parameter->value_count; i++)
180 fHiddenEntries.AddItem(parameter->values[i]);
181 PRINT((" hidden entry: `%s'\n", parameter->values[i]));
209 while (const driver_parameter *parameter
211 if (parameter->value_count == 1
212 && !strcmp(parameter->values[0], name)) {
213 return parameter;
228 while (const driver_parameter *parameter
230 if (_GetParameterValue(parameter, "offse
[all...]
/haiku/src/add-ons/print/drivers/gutenprint/
H A DGPParameterVisitor.cpp68 const stp_parameter_t* parameter = stp_parameter_list_param(list, i); local
70 stp_describe_parameter(fVariables, parameter->name, &description);
71 VisitParameter(list, parameter, &description);
91 // some printer definitions don't have resolution parameter
124 const stp_parameter_t* parameter, stp_parameter_t* description)
130 stp_parameter_class_t parameterClass = parameter->p_class;
131 if (parameter->read_only ||
132 (parameter->p_level > kMaxLevel
133 && strcmp(parameter->name, kResolution) != 0)
175 GPParameterVisitor::VisitStringList(stp_parameter_t* parameter) argument
123 VisitParameter(stp_parameter_list_t list, const stp_parameter_t* parameter, stp_parameter_t* description) argument
[all...]
/haiku/headers/private/shared/
H A DDriverSettingsMessageAdapter.h23 const driver_parameter& parameter,
27 const driver_parameter& parameter,
72 status_t _AddParameter(const driver_parameter& parameter,
77 const driver_parameter& parameter,

Completed in 213 milliseconds

1234