Searched refs:value (Results 401 - 425 of 1664) sorted by relevance

<<11121314151617181920>>

/haiku/src/kits/interface/
H A DDecimalSpinner.cpp20 roundTo(double value, uint32 n) argument
22 return floor(value * pow(10.0, n) + 0.5) / pow(10.0, n);
31 "Returns the maximum value of the spinner.",
39 "Sets the maximum value of the spinner.",
48 "Returns the minimum value of the spinner.",
56 "Sets the minimum value of the spinner.",
99 "Returns the value of the spinner.",
107 "Sets the value of the spinner.",
281 BDecimalSpinner::SetValue(int32 value) argument
283 SetValue((double)value);
288 SetValue(double value) argument
[all...]
/haiku/src/add-ons/kernel/drivers/audio/hda/
H A Ddriver.h103 void Write8(uint32 reg, uint8 value) argument
105 *(regs + reg) = value;
108 void Write16(uint32 reg, uint16 value) argument
110 *(vuint16*)(regs + reg) = value;
113 void Write32(uint32 reg, uint32 value) argument
115 *(vuint32*)(regs + reg) = value;
118 void ReadModifyWrite8(uint32 reg, uint8 mask, uint8 value) argument
122 temp |= value;
126 void ReadModifyWrite16(uint32 reg, uint16 mask, uint16 value) argument
130 temp |= value;
134 ReadModifyWrite32(uint32 reg, uint32 mask, uint32 value) argument
201 Write8(uint32 reg, uint8 value) argument
206 Write16(uint32 reg, uint16 value) argument
211 Write32(uint32 reg, uint32 value) argument
[all...]
/haiku/src/system/kernel/debug/
H A Ddebug_parser.cpp102 uint64 value; member in struct:Token
111 this->value = 0;
118 value = 0;
260 fCurrentToken.value = strtoull(fCurrentToken.string, NULL, 0);
384 fCurrentToken.value = 0;
477 uint64 _ParseSum(bool useValue, uint64 value);
507 uint64 value = _ParseExpression(); local
512 return value;
525 uint64 value = 0; local
536 value
669 uint64 value = _ParseDereference(&address, &size); local
844 uint64 value = _ParseExpression(); local
857 uint64 value = _ParseCommandPipe(returnValue); local
964 _ParseSum(bool useValue, uint64 value) argument
990 uint64 value = _ParseUnary(); local
1072 uint64 value = 0; local
1118 uint64 value = _ParseExpression(); local
1132 uint64 value = _ParseCommandPipe(returnValue); local
[all...]
/haiku/src/tests/system/kernel/file_corruption/fs/
H A DTransaction.h94 size_t Hash(const BlockInfo* value) const
96 return HashKey(value->indexAndCheckSum.blockIndex);
99 bool Compare(uint64 key, const BlockInfo* value) const
101 return value->indexAndCheckSum.blockIndex == key;
104 BlockInfo*& GetLink(BlockInfo* value) const
106 return value->hashNext;
/haiku/src/add-ons/kernel/file_systems/packagefs/package/
H A DCachedDataReader.h98 size_t Hash(const CacheLineLocker* value) const
100 return HashKey(value->Offset());
103 bool Compare(off_t key, const CacheLineLocker* value) const
105 return value->Offset() == key;
108 CacheLineLocker*& GetLink(CacheLineLocker* value) const
110 return value->HashNext();
/haiku/src/apps/mediaplayer/playlist/
H A DFilePlaylistItem.h38 const int32& value);
40 int32& value) const;
43 const int64& value);
45 int64& value) const;
48 const float& value);
50 float& value) const;
/haiku/src/system/kernel/
H A DTeamThreadTables.h155 size_t Hash(Element* value) const
157 return HashKey(value->id);
160 bool Compare(id_type key, Element* value) const
162 return value->id == key;
165 Element*& GetLink(Element* value) const
167 return value->hash_next;
/haiku/src/bin/package_repo/
H A Dcommand_list.cpp43 const BPackageInfoAttributeValue& value)
45 if (value.attributeID == B_PACKAGE_INFO_NAME) {
48 fPrinter.PrintName(value.string);
50 printf("\t%s\n", value.string);
52 if (fVerbose && !fPrinter.PrintAttribute(value)) {
54 "package attribute id %d encountered\n", value.attributeID);
42 HandlePackageAttribute( const BPackageInfoAttributeValue& value) argument
/haiku/src/kits/debugger/dwarf/
H A DAbbreviationTable.h84 size_t Hash(AbbreviationTableEntry* value) const
86 return HashKey(value->code);
89 bool Compare(uint32 key, AbbreviationTableEntry* value) const
91 return value->code == key;
94 AbbreviationTableEntry*& GetLink(AbbreviationTableEntry* value) const
96 return value->next;
/haiku/src/add-ons/kernel/busses/random/virtio/
H A DVirtioRNGDevice.cpp106 uint64 value = 0; local
108 get_memory_map(&value, sizeof(value), &entry, 1);
129 if (value != 0) {
130 gRandom->queue_randomness(value);
131 TRACE("enqueue %" B_PRIx64 "\n", value);
/haiku/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/
H A DSettings.cpp72 contains(const char **array, size_t size, const char *value) argument
75 if (!strcmp(array[i], value))
91 const char *value = _GetParameterValue(container, name, &unknown, &noArg); local
92 if (value == &unknown)
94 if (value == &noArg)
101 value)) {
105 value)) {
121 const char *value = _GetParameterValue(container, name, &unknown, &noArg); local
122 if (value == &unknown)
124 if (value
[all...]
/haiku/src/system/libroot/posix/glibc/math/
H A Dmath_private.h33 value. That is non-ANSI, and, moreover, the gcc instruction
46 double value; member in union:__anon2
60 double value; member in union:__anon4
75 ew_u.value = (d); \
85 gh_u.value = (d); \
94 gl_u.value = (d); \
105 (d) = iw_u.value; \
113 sh_u.value = (d); \
115 (d) = sh_u.value; \
123 sl_u.value
133 float value; member in union:__anon6
[all...]
/haiku/src/add-ons/kernel/drivers/audio/ac97/geode/
H A Ddriver.h83 void Write8(uint32 reg, uint8 value) argument
85 gPci->write_io_8(nabmbar + reg, value);
88 void Write16(uint32 reg, uint16 value) argument
90 gPci->write_io_16(nabmbar + reg, value);
93 void Write32(uint32 reg, uint32 value) argument
95 gPci->write_io_32(nabmbar + reg, value);
150 void Write8(uint32 reg, uint8 value) argument
152 controller->Write8(ACC_BM0_CMD + offset + reg, value);
155 void Write16(uint32 reg, uint16 value) argument
157 controller->Write16(ACC_BM0_CMD + offset + reg, value);
160 Write32(uint32 reg, uint32 value) argument
[all...]
/haiku/src/libs/compat/freebsd_iflib/
H A Dnvlist.c550 const bool *value; local
554 value = nvpair_get_bool_array(nvp, &nitems);
557 dprintf(fd, "%s", value[ii] ? "TRUE" : "FALSE");
566 const char * const *value; local
570 value = nvpair_get_string_array(nvp, &nitems);
573 if (value[ii] == NULL)
576 dprintf(fd, "\"%s\"", value[ii]);
585 const uint64_t *value; local
589 value = nvpair_get_number_array(nvp, &nitems);
593 value[i
602 const int *value; local
618 const nvlist_t * const *value; local
716 const int *value; local
734 const nvlist_t * const *value; local
800 const nvlist_t * const *value; local
936 const nvlist_t * const * value; local
1516 nvlist_add_binary(nvlist_t *nvl, const char *name, const void *value, size_t size) argument
1657 nvlist_move_string(nvlist_t *nvl, const char *name, char *value) argument
1677 nvlist_move_nvlist(nvlist_t *nvl, const char *name, nvlist_t *value) argument
1699 nvlist_move_descriptor(nvlist_t *nvl, const char *name, int value) argument
1720 nvlist_move_binary(nvlist_t *nvl, const char *name, void *value, size_t size) argument
1740 nvlist_move_bool_array(nvlist_t *nvl, const char *name, bool *value, size_t nitems) argument
1761 nvlist_move_string_array(nvlist_t *nvl, const char *name, char **value, size_t nitems) argument
1787 nvlist_move_nvlist_array(nvlist_t *nvl, const char *name, nvlist_t **value, size_t nitems) argument
1815 nvlist_move_number_array(nvlist_t *nvl, const char *name, uint64_t *value, size_t nitems) argument
1837 nvlist_move_descriptor_array(nvlist_t *nvl, const char *name, int *value, size_t nitems) argument
1958 void *value; local
[all...]
/haiku/src/add-ons/accelerants/intel_810/
H A Di810_regs.h119 // Write a value to an 32-bit reg using a mask. The mask selects the
121 #define OUTREGM(addr, value, mask) \
122 (OUTREG(addr, (INREG(addr) & ~mask) | (value & mask)))
134 WriteCrtcReg(uint8 index, uint8 value) argument
137 OUTREG8(CRTC_DATA, value);
150 WriteGraphReg(uint8 index, uint8 value) argument
153 OUTREG8(GRAPH_DATA, value);
166 WriteSeqReg(uint8 index, uint8 value) argument
169 OUTREG8(SEQ_DATA, value);
/haiku/src/add-ons/media/media-add-ons/usb_webcam/sensors/
H A Dtas5130d1b.cpp35 virtual status_t GetParameterValue(int32 id, bigtime_t *last_change, void *value, size_t *size);
36 virtual status_t SetParameterValue(int32 id, bigtime_t when, const void *value, size_t size);
197 TAS5130D1BSensor::GetParameterValue(int32 id, bigtime_t *last_change, void *value, size_t *size) argument
202 *((float *)value) = fGain;
211 TAS5130D1BSensor::SetParameterValue(int32 id, bigtime_t when, const void *value, size_t size) argument
215 if (!value || (size != sizeof(float)))
217 if (*(float *)value == fGain)
219 fGain = *(float *)value;
/haiku/src/add-ons/translators/raw/
H A DReadHelper.h106 T value; local
107 fError = fStream.Read((void *)&value, sizeof(T));
110 byte_swap(value);
111 return value;
138 double value = Next<uint32>(); local
139 return value / Next<uint32>();
147 double value = Next<int32>(); local
148 return value / Next<int32>();
/haiku/src/apps/debuganalyzer/gui/table/
H A DTableColumn.h36 virtual void DrawValue(const BVariant& value, BRect rect,
40 virtual float GetPreferredWidth(const BVariant& value,
/haiku/src/apps/debugger/user_interface/gui/util/
H A DTargetAddressTableColumn.cpp23 TargetAddressTableColumn::PrepareField(const BVariant& value) const
26 snprintf(buffer, sizeof(buffer), "%#" B_PRIx64, value.ToUInt64());
/haiku/src/apps/icon-o-matic/generic/gui/
H A DNummericalTextView.h33 void SetValue(int32 value);
34 void SetValue(float value);
/haiku/src/apps/sudoku/
H A DSudokuSolver.cpp38 bit_count(uint32 value) argument
41 while (value > 0) {
42 if (value & 1)
44 value >>= 1;
83 // If the chosen value is already solved, we set its
84 // value here and go on - this makes sure the first
86 // value
87 uint32 value = 0; local
88 while ((validMask & (1UL << value)) == 0) {
89 value
[all...]
/haiku/src/libs/print/libprint/
H A DJobData.cpp81 const char* value; local
82 return fSettings.FindString(key, &value) == B_OK;
90 const char* value = NULL; local
91 fSettings.FindString(key, &value);
92 return value;
97 DriverSpecificSettings::SetString(const char* key, const char* value) argument
100 fSettings.ReplaceString(key, value);
102 fSettings.AddString(key, value);
109 bool value; local
110 return fSettings.FindBool(key, &value)
118 bool value; local
125 SetBoolean(const char* key, bool value) argument
137 int32 value; local
146 int32 value; local
153 SetInt(const char* key, int32 value) argument
165 double value; local
174 double value; local
181 SetDouble(const char* key, double value) argument
[all...]
/haiku/src/tests/add-ons/print/ppd/model/
H A DStatement.h46 void SetOption(Value* value);
50 void SetValue(Value* value);
/haiku/src/tests/system/kernel/util/
H A DVectorSetTest.cpp207 void Insert(const Value &value, bool replace = true) argument
209 CHK(fMySet.Insert(value, replace) == B_OK);
210 ReferenceIterator it = fReferenceSet.find(value);
213 fReferenceSet.insert(value);
217 void Remove(const Value &value) argument
220 fReferenceSet.erase(value);
222 CHK(fMySet.Remove(value) == oldCount - newCount);
334 Iterator Find(const Value &value) argument
336 MyIterator myIt = fMySet.Find(value);
337 ReferenceIterator refIt = fReferenceSet.find(value);
356 FindClose(const Value &value, bool less) argument
[all...]
/haiku/src/add-ons/accelerants/radeon/
H A Dmonitor_detection.c41 uint32 value; local
43 value = INREG(regs, info->port);
44 *clk = (value >> RADEON_GPIO_Y_SHIFT_1) & 1;
45 *data = (value >> RADEON_GPIO_Y_SHIFT_0) & 1;
57 uint32 value; local
59 value = INREG(regs, info->port);
60 value &= ~(RADEON_GPIO_A_1 | RADEON_GPIO_A_0);
61 value &= ~(RADEON_GPIO_EN_0 | RADEON_GPIO_EN_1);
62 value |= ((1-clk) << RADEON_GPIO_EN_SHIFT_1)
65 OUTREG(regs, info->port, value);
105 uint32 old_crtc_ext_cntl, old_dac_ext_cntl, old_dac_cntl, value; local
155 vuint32 old_vclk_ecp_cntl, value; local
181 uint32 old_crtc2_gen_cntl, old_tv_dac_cntl, old_dac_cntl2, value; local
232 uint32 old_crtc2_gen_cntl, old_tv_dac_cntl, old_dac_cntl2, value; local
335 uint32 value, old_dac_cntl2, old_crtc_ext_cntl, old_crtc2_gen_cntl; local
[all...]

Completed in 129 milliseconds

<<11121314151617181920>>