/haiku/headers/private/shared/ |
H A D | JsonWriter.h | 26 status_t WriteBoolean(bool value); 31 status_t WriteInteger(int64 value); 32 status_t WriteDouble(double value); 34 status_t WriteString(const char* value); 37 status_t WriteObjectName(const char* value);
|
H A D | SettingsMessage.h | 41 status_t SetValue(const char* name, bool value); 42 status_t SetValue(const char* name, int8 value); 43 status_t SetValue(const char* name, int16 value); 44 status_t SetValue(const char* name, uint16 value); 45 status_t SetValue(const char* name, int32 value); 46 status_t SetValue(const char* name, uint32 value); 47 status_t SetValue(const char* name, int64 value); 48 status_t SetValue(const char* name, uint64 value); 49 status_t SetValue(const char* name, float value); 50 status_t SetValue(const char* name, double value); [all...] |
/haiku/src/system/kernel/arch/generic/ |
H A D | debug_uart.cpp | 11 DebugUART::Out8(int reg, uint8 value) argument 15 *((uint8 *)Base() + reg * sizeof(uint32)) = value; 19 __asm__ volatile ("outb %%al,%%dx" : : "a" (value), "d" (Base() + reg)); 21 *((uint8 *)Base() + reg) = value; 23 *((uint8 *)Base() + reg) = value;
|
/haiku/src/apps/mediaplayer/media_node_framework/audio/ |
H A D | SampleBuffer.h | 69 inline void WriteSample(sample_t value) { argument 70 *((float*)fBuffer) = value; 88 inline void WriteSample(sample_t value) { argument 89 *((int*)fBuffer) = int(value * (sample_t)0x7fffffff); 107 inline void WriteSample(sample_t value) { argument 108 *((short*)fBuffer) = short(value * (sample_t)32767); 126 inline void WriteSample(sample_t value) { argument 127 *((uchar*)fBuffer) = uchar(value * (sample_t)127 + 128); 145 inline void WriteSample(sample_t value) { argument 146 *((uchar*)fBuffer) = uchar(value * (sample_ [all...] |
/haiku/src/system/libroot/posix/glibc/misc/ |
H A D | efgcvt.c | 63 APPEND (FUNC_PREFIX, fcvt) (value, ndigit, decpt, sign) 64 FLOAT_TYPE value; 69 if (APPEND (FUNC_PREFIX, fcvt_r) (value, ndigit, decpt, sign, 78 (void) APPEND (FUNC_PREFIX, fcvt_r) (value, ndigit, decpt, sign, 86 APPEND (FUNC_PREFIX, ecvt) (value, ndigit, decpt, sign) 87 FLOAT_TYPE value; 90 (void) APPEND (FUNC_PREFIX, ecvt_r) (value, ndigit, decpt, sign, 97 APPEND (FUNC_PREFIX, gcvt) (value, ndigit, buf) 98 FLOAT_TYPE value; 102 sprintf (buf, "%.*" FLOAT_FMT_FLAG "g", MIN (ndigit, NDIGIT_MAX), value); [all...] |
/haiku/src/apps/haikudepot/util/ |
H A D | ValidationUtils.cpp | 87 ValidationUtils::IsValidNickname(const BString& value) argument 89 return hd_str_all_matches_fn(value, &hd_is_lower_alnum) 90 && value.CountChars() >= MIN_LENGTH_NICKNAME 91 && value.CountChars() <= MAX_LENGTH_NICKNAME; 101 ValidationUtils::IsValidEmail(const BString& value) argument 103 const char* c = value.String(); 125 ValidationUtils::IsValidPasswordClear(const BString& value) argument 127 return value.Length() >= MIN_LENGTH_PASSWORD_CLEAR 128 && hd_str_count_digit(value) >= MIN_DIGITS_PASSWORD_CLEAR 129 && hd_str_count_upper_case(value) > [all...] |
H A D | RatingUtils.cpp | 20 RatingUtils::Draw(BView* target, BPoint at, float value) argument 24 if (value < RATING_MIN) 34 Draw(target, at, value, star); 39 RatingUtils::Draw(BView* target, BPoint at, float value, argument 61 if (value >= RATING_MIN && value < 5.0f) { 66 rect.left = ceilf(rect.left + (value / 5.0f) * rect.Width());
|
/haiku/src/add-ons/accelerants/s3/ |
H A D | register_io.cpp | 35 gsp.value = 0; 41 return gsp.value; 45 void WritePIO(uint32 addr, uint8 numBytes, uint32 value) argument 51 gsp.value = value; 92 void WriteReg8(uint32 addr, uint8 value) argument 95 WritePIO(addr, 1, value); 97 OUTREG8(addr, value); 101 void WriteReg16(uint32 addr, uint16 value) argument 104 WritePIO(addr, 2, value); 110 WriteReg32(uint32 addr, uint32 value) argument 134 WriteCrtcReg(uint8 index, uint8 value) argument 146 WriteCrtcReg(uint8 index, uint8 value, uint8 mask) argument 176 WriteSeqReg(uint8 index, uint8 value) argument 188 WriteSeqReg(uint8 index, uint8 value, uint8 mask) argument 215 WriteMiscOutReg(uint8 value) argument [all...] |
H A D | savage_edid.cpp | 27 uint8 value = ReadCrtcReg(index); local 29 *_clock = (value & 0x4) != 0; 30 *data = (value & 0x8) != 0; 39 uint8 value = 0x10; local 42 value |= 0x1; 44 value |= 0x2; 46 WriteCrtcReg(index, value);
|
/haiku/src/apps/cortex/Persistence/Wrappers/ |
H A D | MediaFormatIO.cpp | 338 const char* value, 341 if(!strcmp(value, "B_RGB32")) 343 else if(!strcmp(value, "B_RGBA32")) 345 else if(!strcmp(value, "B_RGB24")) 347 else if(!strcmp(value, "B_RGB16")) 349 else if(!strcmp(value, "B_RGB15")) 351 else if(!strcmp(value, "B_RGBA15")) 353 else if(!strcmp(value, "B_CMAP8")) 355 else if(!strcmp(value, "B_GRAY8")) 357 else if(!strcmp(value, "B_GRAY 337 import_color_space( const char* value, color_space& dest) argument 499 import_media_type_content( media_multistream_format::avi_info& f, const char* value, ImportContext& context) argument 982 import_raw_audio_attribute( media_raw_audio_format& f, const char* key, const char* value, ImportContext& context) argument 1012 import_multi_audio_info_attribute( media_multi_audio_info& f, const char* key, const char* value, ImportContext& context) argument 1026 import_raw_video_attribute( media_raw_video_format& f, const char* key, const char* value, ImportContext& context) argument 1052 import_video_display_info_attribute( media_video_display_info& d, const char* key, const char* value, ImportContext& context) argument 1073 import_multistream_attribute( media_multistream_format& f, const char* key, const char* value, ImportContext& context) argument 1105 import_multistream_flags_attribute( uint32& flags, const char* key, const char* value, ImportContext& context) argument 1122 import_multistream_vid_info_attribute( media_multistream_format::vid_info& f, const char* key, const char* value, ImportContext& context) argument 1158 import_multistream_avi_info_attribute( media_multistream_format::avi_info& f, const char* key, const char* value, ImportContext& context) argument 1172 import_encoded_audio_attribute( media_encoded_audio_format& f, const char* key, const char* value, ImportContext& context) argument 1188 import_encoded_video_attribute( media_encoded_video_format& f, const char* key, const char* value, ImportContext& context) argument 1240 xmlImportAttribute( const char* key, const char* value, ImportContext& context) argument 1350 xmlImportChildAttribute( const char* key, const char* value, ImportContext& context) argument [all...] |
/haiku/src/apps/text_search/ |
H A D | Model.cpp | 71 int32 value; 73 if (file.ReadAttr("RecurseDirs", B_INT32_TYPE, 0, &value, 75 fRecurseDirs = (value != 0); 77 if (file.ReadAttr("RecurseLinks", B_INT32_TYPE, 0, &value, 79 fRecurseLinks = (value != 0); 81 if (file.ReadAttr("SkipDotDirs", B_INT32_TYPE, 0, &value, 83 fSkipDotDirs = (value != 0); 85 if (file.ReadAttr("CaseSensitive", B_INT32_TYPE, 0, &value, 87 fCaseSensitive = (value != 0); 89 if (file.ReadAttr("RegularExpression", B_INT32_TYPE, 0, &value, [all...] |
/haiku/headers/private/package/hpkg/ |
H A D | Strings.h | 63 size_t Hash(const CachedString* value) const 65 return HashKey(value->string); 68 bool Compare(const char* key, const CachedString* value) const 70 return strcmp(value->string, key) == 0; 73 CachedString*& GetLink(CachedString* value) const 75 return value->next; 95 CachedString* Get(const char* value);
|
/haiku/src/bin/debug/strace/ |
H A D | Context.cpp | 28 Context::FormatSigned(int64 value, int bytes) const argument 35 snprintf(tmp, sizeof(tmp), "%" B_PRId64, value); 41 snprintf(tmp, sizeof(tmp), "0x%" B_PRIx64, value); 61 Context::FormatUnsigned(uint64 value) const 64 snprintf(tmp, sizeof(tmp), fDecimal ? "%" B_PRIu64 : "0x%" B_PRIx64, value); 69 Context::FormatFlags(uint64 value) const 72 snprintf(tmp, sizeof(tmp), "0x%" B_PRIx64, value);
|
/haiku/src/bin/ |
H A D | listres.cpp | 60 uint8 value[4]; local 62 value[i] = uint8(type >> shift); 63 if (value[i] < ' ' || value[i] > 127) { 64 value[i] = '.'; 70 sprintf(buffer, "'%c%c%c%c'", value[0], value[1], value[2], value[3]);
|
/haiku/src/system/kernel/fs/ |
H A D | EntryCache.h | 24 // We cache the hash value, so we can easily compute it before 66 size_t Hash(const EntryCacheEntry* value) const 68 return (uint32)value->dir_id ^ (uint32)(value->dir_id >> 32) 69 ^ hash_hash_string(value->name); 72 bool Compare(const EntryCacheKey& key, const EntryCacheEntry* value) const 74 return value->dir_id == key.dir_id 75 && strcmp(value->name, key.name) == 0; 78 EntryCacheEntry*& GetLink(EntryCacheEntry* value) const 80 return value [all...] |
/haiku/src/add-ons/kernel/drivers/audio/emuxki/ |
H A D | io.c | 58 emuxki_reg_write_8(device_config *config, int regno, uint8 value) argument 60 pci->write_io_8(config->nabmbar + regno, value); 64 emuxki_reg_write_16(device_config *config, int regno, uint16 value) argument 66 pci->write_io_16(config->nabmbar + regno, value); 70 emuxki_reg_write_32(device_config *config, int regno, uint32 value) argument 72 pci->write_io_32(config->nabmbar + regno, value); 161 uint32 value; local 163 value = emuxki_read_micro(config, *pc << 1); 164 *x = (value & EMU_A_DSP_LOWORD_OPX_MASK) >> 12; 165 *y = value 208 emuxki_codec_write(device_config *config, int regno, uint16 value) argument 217 emuxki_inte_enable(device_config *config, uint32 value) argument 224 emuxki_inte_disable(device_config *config, uint32 value) argument [all...] |
/haiku/src/apps/icon-o-matic/generic/property/specific_properties/ |
H A D | Int64Property.h | 17 int64 value = 0); 27 virtual bool SetValue(const char* value); 35 bool SetValue(int64 value);
|
/haiku/src/system/libroot/add-ons/icu/ |
H A D | ICUThreadLocalStorageValue.cpp | 37 void* value = pthread_getspecific(tlsKey); local 38 if (value == NULL) { 44 tlsValue = static_cast<ICUThreadLocalStorageValue*>(value);
|
/haiku/src/system/libroot/posix/string/ |
H A D | strnlen.cpp | 12 #define LACKS_ZERO_BYTE(value) \ 13 (((value - 0x01010101) & ~value & 0x80808080) == 0)
|
/haiku/src/kits/debugger/model/ |
H A D | StackFrameValues.cpp | 39 BVariant value; member in struct:StackFrameValues::ValueEntry 67 size_t Hash(const ValueEntry* value) const 69 return value->HashValue(); 72 bool Compare(const Key& key, const ValueEntry* value) const 74 return key == *value; 77 ValueEntry*& GetLink(ValueEntry* value) const 79 return value->next; 103 if (SetValue(entry->variable, entry->path, entry->value) != B_OK) 139 _value = entry->value; 154 const BVariant& value) 153 SetValue(ObjectID* variable, TypeComponentPath* path, const BVariant& value) argument [all...] |
/haiku/headers/posix/ |
H A D | setjmp.h | 32 extern void _longjmp(jmp_buf jumpBuffer, int value) 34 extern void longjmp(jmp_buf jumpBuffer, int value) 36 extern void siglongjmp(sigjmp_buf jumpBuffer, int value)
|
/haiku/headers/os/drivers/bus/ |
H A D | ISA.h | 42 void (*write_io_8)(int mapped_io_addr, uint8 value); 44 void (*write_io_16)(int mapped_io_addr, uint16 value); 46 void (*write_io_32)(int mapped_io_addr, uint32 value);
|
/haiku/src/system/libroot/posix/pthread/ |
H A D | pthread_key.cpp | 37 /*! Function to get the thread specific value of a key in a lockless 38 way. The thread specific value is reset to NULL. 39 \a sequence must be the sequence of the key table that this value 47 void* value; local 54 value = keyData.value; 57 keyData.value = NULL; 59 return value; 69 void* value = get_key_value(thread, key, sequence); local 71 if (value ! 139 pthread_setspecific(pthread_key_t key, const void* value) argument [all...] |
/haiku/src/add-ons/kernel/drivers/wmi/ |
H A D | WMIAsus.cpp | 39 status_t _GetDevState(uint32 devId, uint32* value); 41 uint32* value); 79 uint32 value; local 80 if (_EvaluateMethod(ASUS_WMI_METHODID_INIT, 0, 0, &value) == B_OK) { 81 TRACE("_INIT: %x\n", value); 83 if (_EvaluateMethod(ASUS_WMI_METHODID_SPEC, 0, 9, &value) == B_OK) { 84 TRACE("_SPEC: %x\n", value); 86 if (_EvaluateMethod(ASUS_WMI_METHODID_SFUN, 0, 0, &value) == B_OK) { 87 TRACE("_SFUN: %x\n", value); 97 if (_GetDevState(ASUS_WMI_DEVID_FN_LOCK, &value) 159 _GetDevState(uint32 devId, uint32 *value) argument 166 _SetDevState(uint32 devId, uint32 arg, uint32 *value) argument 204 uint32 value; local [all...] |
/haiku/src/apps/haikudepot/model/ |
H A D | PasswordRequirements.h | 32 void SetMinPasswordLength(uint32 value); 33 void SetMinPasswordUppercaseChar(uint32 value); 34 void SetMinPasswordDigitsChar(uint32 value);
|