Searched refs:values (Results 1 - 25 of 119) sorted by last modified time

12345

/haiku/src/system/boot/platform/bios_ia32/
H A Dvideo.cpp312 // parameter found, now get its values
313 int32 width = strtol(parameter.values[0], NULL, 0);
314 int32 height = strtol(parameter.values[1], NULL, 0);
315 int32 depth = strtol(parameter.values[2], NULL, 0);
/haiku/src/add-ons/kernel/drivers/audio/emuxki/
H A Dmulti.c49 emuxki_ac97_get_mix(void *card, const void *cookie, int32 type, float *values) { argument
63 values[0] = info->max_gain - gain;
65 values[0] = gain - info->min_gain;
70 values[1] = info->max_gain - gain;
72 values[1] = gain - info->min_gain;
77 values[0] = info->max_gain - gain;
79 values[0] = gain - info->min_gain;
87 values[0] = ((value >> 15) == 1) ? 1.0 : 0.0;
94 values[0] = ((value >> 6) == 1) ? 1.0 : 0.0;
101 values[
107 emuxki_ac97_set_mix(void *card, const void *cookie, int32 type, float *values) argument
179 emuxki_gpr_get_mix(void *card, const void *cookie, int32 type, float *values) argument
184 emuxki_gpr_set_mix(void *card, const void *cookie, int32 type, float *values) argument
189 emuxki_parameter_get_mix(void *card, const void *cookie, int32 type, float *values) argument
196 emuxki_parameter_set_mix(void *card, const void *cookie, int32 type, float *values) argument
544 float values[2]; local
554 float values[1]; local
560 float values[1]; local
598 float values[2]; local
618 float values[1]; local
625 float values[1]; local
[all...]
H A Demuxki.h425 void emuxki_gpr_set(emuxki_dev *card, emuxki_gpr *gpr, int32 type, float *values);
426 void emuxki_gpr_get(emuxki_dev *card, emuxki_gpr *gpr, int32 type, float *values);
H A Demuxki.c1733 // 87 values from 0.0dB to -xdB (-0.75dB each)
1752 emuxki_gpr_set(emuxki_dev *card, emuxki_gpr *gpr, int32 type, float *values) argument
1762 gpr->mute = (values[0] == 1.0);
1769 values[i] = gpr->current[i];
1773 if (values[i]>gpr->max_gain || values[i]<gpr->min_gain)
1775 index = values[i] / gpr->granularity;
1779 LOG(("emuxki_set_gpr values[i]: %g \n", values[i]));
1791 emuxki_gpr_get(emuxki_dev *card, emuxki_gpr *gpr, int32 type, float *values) argument
1833 float values[2]; local
[all...]
/haiku/src/add-ons/kernel/drivers/audio/echo/
H A Dmulti.cpp68 echo_channel_get_mix(void *card, MIXER_AUDIO_CHANNEL channel, int32 type, float *values) { argument
93 values[0] = (float)function[0].Data.iLevel / 256;
94 values[1] = (float)function[1].Data.iLevel / 256;
96 values[0] = function[0].Data.bMuteOn ? 1.0 : 0.0;
98 values[0] = function[0].Data.iNominal == 4 ? 1.0 : 0.0;
108 echo_channel_set_mix(void *card, MIXER_AUDIO_CHANNEL channel, int32 type, float *values) { argument
117 function[0].Data.iLevel = (int)(values[0] * 256);
119 function[1].Data.iLevel = (int)(values[1] * 256);
122 function[0].Data.bMuteOn = values[0] == 1.0;
124 function[1].Data.bMuteOn = values[
267 float values[2]; local
277 float values[1]; local
283 float values[1]; local
322 float values[2]; local
342 float values[1]; local
349 float values[1]; local
[all...]
/haiku/src/add-ons/kernel/drivers/audio/cmedia/
H A Dcm.c241 static uchar values[] = { local
263 uchar * ptr = values;
265 while (ptr < values+sizeof(values)) {
/haiku/src/add-ons/kernel/drivers/audio/ac97/geode/
H A Dgeode_multi.cpp188 geode_ac97_get_mix(geode_controller *controller, const void *cookie, int32 type, float *values) { argument
201 values[0] = info->max_gain - gain;
203 values[0] = gain - info->min_gain;
208 values[1] = info->max_gain - gain;
210 values[1] = gain - info->min_gain;
215 values[0] = info->max_gain - gain;
217 values[0] = gain - info->min_gain;
225 values[0] = ((value >> 15) == 1) ? 1.0 : 0.0;
232 values[0] = ((value >> 6) == 1) ? 1.0 : 0.0;
239 values[
246 geode_ac97_set_mix(geode_controller *controller, const void *cookie, int32 type, float *values) argument
573 float values[2]; local
583 float values[1]; local
589 float values[1]; local
624 float values[2]; local
644 float values[1]; local
651 float values[1]; local
[all...]
H A Ddriver.h173 void (*get) (geode_controller *card, const void *cookie, int32 type, float *values);
174 void (*set) (geode_controller *card, const void *cookie, int32 type, float *values);
/haiku/src/add-ons/kernel/drivers/audio/ac97/es1370/
H A Dmulti.c31 es1370_ac97_get_mix(void *card, const void *cookie, int32 type, float *values) {
45 values[0] = info->max_gain - gain;
47 values[0] = gain - info->min_gain;
52 values[1] = info->max_gain - gain;
54 values[1] = gain - info->min_gain;
59 values[0] = info->max_gain - gain;
61 values[0] = gain - info->min_gain;
69 values[0] = ((value >> 15) == 1) ? 1.0 : 0.0;
76 values[0] = ((value >> 6) == 1) ? 1.0 : 0.0;
83 values[
204 float values[2]; local
214 float values[1]; local
220 float values[1]; local
257 float values[2]; local
277 float values[1]; local
284 float values[1]; local
[all...]
/haiku/src/add-ons/kernel/drivers/audio/ac97/auvia/
H A Dmulti.c48 auvia_ac97_get_mix(void *card, const void *cookie, int32 type, float *values) { argument
62 values[0] = info->max_gain - gain;
64 values[0] = gain - info->min_gain;
69 values[1] = info->max_gain - gain;
71 values[1] = gain - info->min_gain;
76 values[0] = info->max_gain - gain;
78 values[0] = gain - info->min_gain;
86 values[0] = ((value >> 15) == 1) ? 1.0 : 0.0;
93 values[0] = ((value >> 6) == 1) ? 1.0 : 0.0;
100 values[
106 auvia_ac97_set_mix(void *card, const void *cookie, int32 type, float *values) argument
414 float values[2]; local
424 float values[1]; local
430 float values[1]; local
468 float values[2]; local
488 float values[1]; local
495 float values[1]; local
[all...]
/haiku/src/add-ons/kernel/drivers/audio/ac97/auich/
H A Dmulti.c53 auich_ac97_get_mix(void *card, const void *cookie, int32 type, float *values) { argument
67 values[0] = info->max_gain - gain;
69 values[0] = gain - info->min_gain;
74 values[1] = info->max_gain - gain;
76 values[1] = gain - info->min_gain;
81 values[0] = info->max_gain - gain;
83 values[0] = gain - info->min_gain;
91 values[0] = ((value >> 15) == 1) ? 1.0 : 0.0;
98 values[0] = ((value >> 6) == 1) ? 1.0 : 0.0;
105 values[
112 auich_ac97_set_mix(void *card, const void *cookie, int32 type, float *values) argument
410 float values[2]; local
420 float values[1]; local
426 float values[1]; local
464 float values[2]; local
484 float values[1]; local
491 float values[1]; local
[all...]
/haiku/src/apps/haikudepot/model/
H A DModel.cpp952 Model::AddRatingStabilities(std::vector<RatingStabilityRef>& values) argument
955 for (it = values.begin(); it != values.end(); it++)
1014 Model::AddCategories(std::vector<CategoryRef>& values) argument
1017 for (it = values.begin(); it != values.end(); it++)
H A DModel.h101 std::vector<CategoryRef>& values);
107 std::vector<RatingStabilityRef>& values);
/haiku/src/add-ons/media/media-add-ons/multi_audio/
H A DMultiAudioNode.cpp711 // record the agreed upon values
1379 multi_mix_value values[2]; local
1380 info.values = values;
1390 values[0].id = control_id;
1396 values[1].id = controls[id + 1 - 100].id;
1400 values[0].id = control_id;
1409 ((float*)value)[0] = values[0].gain;
1413 ((float*)value)[1] = values[1].gain;
1424 ((int32*)value)[0] = values[
1565 multi_mix_value values[2]; local
[all...]
/haiku/src/add-ons/kernel/drivers/audio/usb/
H A DDevice.cpp266 multi_mix_value* originalValues = info.values;
268 multi_mix_value* values = (multi_mix_value*)alloca(mixValueSize); local
269 if (user_memcpy(values, info.values, mixValueSize) != B_OK)
271 info.values = values;
281 return user_memcpy(originalValues, values, mixValueSize);
/haiku/src/apps/haikudepot/build/scripts/
H A Dhdsjsonschemacommon.py29 # The possible C++ default values
144 result = list(assembly.values())
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DBPlusTree.cpp39 off_t values[0]; member in struct:BFS::duplicate_array
53 return BFS_ENDIAN_TO_HOST_INT64(values[index]);
58 values[index] = HOST_ENDIAN_TO_BFS_INT64(value);
566 // SetToWritable() below needs the new values in the tree's header
1058 Unaligned<off_t>* values = node->Values(); local
1086 *_next = BFS_ENDIAN_TO_HOST_INT64(values[i]);
1097 *_next = BFS_ENDIAN_TO_HOST_INT64(values[saveIndex]);
1160 Unaligned<off_t>* values = node->Values(); local
1162 off_t value = BFS_ENDIAN_TO_HOST_INT64(values[i]);
1202 Unaligned<off_t>* values local
1832 Unaligned<off_t>* values = node->Values(); local
2043 Unaligned<off_t>* values = node->Values(); local
2360 Unaligned<off_t>* values = parent->Values(); local
[all...]
/haiku/headers/private/libroot/locale/
H A DLocaleBackend.h80 values[6]; member in struct:BPrivate::Libroot::LocaleNumericDataBridge::GlibcNumericLocale
/haiku/src/tests/kits/locale/
H A DDateFormatTest.cpp128 static const Value values[] = { local
141 for (int i = 0; values[i].language != NULL; i++) {
144 BLanguage language(values[i].language);
145 BFormattingConventions formatting(values[i].convention);
146 BTimeZone timeZone(values[i].timeZone);
151 result = dateFormat.Format(output, values[i].time, B_SHORT_DATE_FORMAT,
154 CPPUNIT_ASSERT_EQUAL(BString(values[i].shortDate), output);
156 result = dateFormat.Format(output, values[i].time, B_LONG_DATE_FORMAT,
159 CPPUNIT_ASSERT_EQUAL(BString(values[i].longDate), output);
161 result = timeFormat.Format(output, values[
[all...]
/haiku/src/tests/add-ons/kernel/file_systems/bfs/array/
H A Darray.cpp60 if (!gList.HasItem((void *)array->values[i])) {
61 printf("Could not find entry %lld at %ld in list!\n",array->values[i],i);
/haiku/src/kits/interface/layouter/
H A DComplexLayouter.cpp242 // previous constraint exists -- use stricter values
420 double values[fElementCount]; local
422 values[i] = sums[i + 1].min - sums[i].min;
427 TRACE("%8.4f %8.4f\n", values[i], realSizes[i]);
432 if (!fOptimizer->Solve(realSizes, size, values))
440 // integer values, the integer solution will therefore satisfy all
447 realSum += values[i];
454 TRACE("x[%ld] = %8.4f %4ld\n", i, values[i], sizes[i]);
724 // backup old values, in case we detect a conflict later
/haiku/src/system/libroot/os/
H A Ddriver_settings.cpp67 // Those maximum values are independent from the implementation - they
294 newArray = (char**)realloc(parameter->values,
299 parameter->values = newArray;
300 parameter->values[parameter->value_count++] = value;
388 free(parameter->values);
587 put_string(_buffer, _bufferSize, parameter->values[i]);
882 of boolean values like 1/true/yes/on/enabled/...
885 doesn't have any values.
907 boolean = parameter->values[0];
947 return parameter->values[
[all...]
/haiku/src/system/boot/platform/efi/
H A Dvideo.cpp136 uint32 width = strtoul(parameter.values[0], NULL, 0);
137 uint32 height = strtoul(parameter.values[1], NULL, 0);
138 uint32 depth = strtoul(parameter.values[2], NULL, 0);
/haiku/src/apps/debugger/user_interface/gui/team_window/
H A DVariablesView.cpp1865 // We only want to save previous values if we've continued
1867 // Otherwise, we'll overwrite our previous values simply
1899 // request loading the parameter and variable values
2424 // request the values of all children that don't have any yet
2427 // children's values.
2434 // request the values
2932 StackFrameValues* values = NULL; local
2941 values = viewState->Values();
2942 valuesReference.SetTo(values);
2949 if (values
[all...]
/haiku/src/add-ons/kernel/drivers/disk/virtual/nbd/
H A Dnbd.c853 kinet_aton(p->parameters[j].values[0], &nbd_devices[i].server.sin_addr);
854 nbd_devices[i].server.sin_port = htons(atoi(p->parameters[j].values[1]));

Completed in 151 milliseconds

12345