/haiku/src/kits/package/hpkg/v1/ |
H A D | PackageInfoContentHandlerV1.cpp | 59 const BPackageInfoAttributeValue& value) 61 switch (value.attributeID) { 63 fPackageInfo.SetName(value.string); 67 fPackageInfo.SetSummary(value.string); 71 fPackageInfo.SetDescription(value.string); 75 fPackageInfo.SetVendor(value.string); 79 fPackageInfo.SetPackager(value.string); 83 fPackageInfo.SetFlags(value.unsignedInt); 88 (BPackageArchitecture)value.unsignedInt); 92 fPackageInfo.SetVersion(value 58 HandlePackageAttribute( const BPackageInfoAttributeValue& value) argument [all...] |
/haiku/src/kits/support/ |
H A D | Base64.cpp | 75 uint32 concat, value; local 84 value = in[i + j]; 86 if (value == '\n' || value == '\r') { 94 if ((value >= 'A') && (value <= 'Z')) 95 value -= 'A'; 96 else if ((value >= 'a') && (value <= 'z')) 97 value [all...] |
/haiku/headers/private/shared/ |
H A D | binary-utils.h | 21 #define BITMASK(high, low) ((unsigned long long)(BitMask<high, low>::value)) 26 enum { value = (BitMask<h-l-1,0>::value + enumerator in enum:BitMask::__anon1172 34 enum { value = 0ULL }; enumerator in enum:BitMask::__anon1173 41 #define BINARY(binstring) ((unsigned long long)(Binary<0##binstring>::value)) 46 enum { value = (N % 8ULL) + 2ULL * Binary<N / 8ULL>::value }; enumerator in enum:Binary::__anon1174 53 enum { value = 0ULL } ; enumerator in enum:Binary::__anon1175
|
H A D | MessageBuilder.h | 32 status_t AddInt8(const char* name, int8 value); 33 status_t AddUInt8(const char* name, uint8 value); 34 status_t AddInt16(const char* name, int16 value); 35 status_t AddUInt16(const char* name, uint16 value); 36 status_t AddInt32(const char* name, int32 value); 37 status_t AddUInt32(const char* name, uint32 value); 38 status_t AddInt64(const char* name, int64 value); 39 status_t AddUInt64(const char* name, uint64 value); 40 status_t AddBool(const char* name, bool value); 41 status_t AddFloat(const char* name, float value); [all...] |
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | efs.h | 24 int ntfs_get_efs_info(ntfs_inode *ni, char *value, size_t size); 27 const char *value, size_t size, int flags);
|
/haiku/src/apps/debugger/user_interface/gui/value/value_handlers/ |
H A D | AddressValueHandler.h | 14 virtual float SupportsValue(Value* value); 17 virtual integer_format DefaultIntegerFormat(IntegerValue* value);
|
H A D | FloatValueHandler.h | 19 virtual float SupportsValue(Value* value); 20 virtual status_t GetValueFormatter(Value* value, 22 virtual status_t GetTableCellValueRenderer(Value* value, 24 virtual status_t GetTableCellValueEditor(Value* value,
|
H A D | StringValueHandler.h | 19 virtual float SupportsValue(Value* value); 20 virtual status_t GetValueFormatter(Value* value, 22 virtual status_t GetTableCellValueRenderer(Value* value,
|
H A D | BoolValueHandler.cpp | 36 BoolValueHandler::SupportsValue(Value* value) argument 38 return dynamic_cast<BoolValue*>(value) != NULL ? 0.5f : 0; 43 BoolValueHandler::GetValueFormatter(Value* value, argument 46 if (dynamic_cast<BoolValue*>(value) == NULL) 59 BoolValueHandler::GetTableCellValueRenderer(Value* value, argument 62 if (dynamic_cast<BoolValue*>(value) == NULL) 66 if (GetValueFormatter(value, formatter) != B_OK) 85 BoolValue* value = dynamic_cast<BoolValue*>(_value); local 86 if (value == NULL) 90 status_t error = GetValueFormatter(value, formatte [all...] |
H A D | StringValueHandler.cpp | 34 StringValueHandler::SupportsValue(Value* value) argument 36 return dynamic_cast<StringValue*>(value) != NULL ? 0.8f : 0; 41 StringValueHandler::GetValueFormatter(Value* value, argument 44 if (dynamic_cast<StringValue*>(value) == NULL) 57 StringValueHandler::GetTableCellValueRenderer(Value* value, argument 60 if (dynamic_cast<StringValue*>(value) == NULL) 64 status_t error = GetValueFormatter(value, formatter);
|
/haiku/src/apps/haikudepot/util/ |
H A D | StringUtils.h | 15 static void InSituTrimSpaceAndControl(BString& value); 16 static void InSituStripSpaceAndControl(BString& value);
|
/haiku/src/apps/haikudepot/model/ |
H A D | CreateUserDetail.h | 35 void SetNickname(const BString& value); 36 void SetPasswordClear(const BString& value); 37 void SetIsPasswordRepeated(bool value); 38 void SetEmail(const BString& value); 39 void SetCaptchaToken(const BString& value); 40 void SetCaptchaResponse(const BString& value); 41 void SetLanguageId(const BString& value); 43 const BString& value);
|
/haiku/src/tools/restest/ |
H A D | ResourceFile.h | 57 inline int16 _GetInt16(int16 value); 58 inline uint16 _GetUInt16(uint16 value); 59 inline int32 _GetInt32(int32 value); 60 inline uint32 _GetUInt32(uint32 value); 75 ResourceFile::_GetInt16(int16 value) argument 77 return (fHostEndianess ? value : B_SWAP_INT16(value)); 83 ResourceFile::_GetUInt16(uint16 value) argument 85 return (fHostEndianess ? value : B_SWAP_INT16(value)); 91 _GetInt32(int32 value) argument 99 _GetUInt32(uint32 value) argument [all...] |
/haiku/src/system/libroot/posix/string/ |
H A D | strcmp.c | 12 #define LACKS_ZERO_BYTE(value) \ 13 (((value - 0x01010101) & ~value & 0x80808080) == 0)
|
/haiku/src/kits/debugger/value/value_formatters/ |
H A D | BoolValueFormatter.cpp | 26 BoolValue* value = dynamic_cast<BoolValue*>(_value); local 27 if (value == NULL) 30 _output.SetTo(value->GetValue() ? "true" : "false");
|
/haiku/src/kits/debugger/util/ |
H A D | IntegerFormatter.cpp | 94 IntegerFormatter::FormatValue(const BVariant& value, integer_format format, argument 98 if (!value.IsInteger(&isSigned)) 107 format = GetFormatForTypeAndFormat(value.Type(), format, formatString, 110 // format the value 114 value.Type() == B_INT8_TYPE ? value.ToInt8() : 115 value.Type() == B_INT16_TYPE ? value.ToInt16() : 116 value.Type() == B_INT32_TYPE ? value [all...] |
/haiku/src/servers/app/ |
H A D | Angle.cpp | 65 // if the value of the angle is >=360 or <0, make it so that it is 83 \brief Calculates an angle given a float value 84 \param value Number between 0 and 1 inclusive 85 \return The angle obtained or 0 if value passed was invalid 88 Angle::InvSine(float value) argument 90 // Returns the inverse sine of a value in the range 0 <= value <= 1 via 91 // reverse-lookup any value out of range causes the function to return 0 94 value = fabs(value); 128 InvCosine(float value) argument 173 InvTangent(float value) argument 227 float value = fmodf(fAngleValue, 180);; local 244 float value = fmodf(fAngleValue, 90);; local [all...] |
/haiku/src/add-ons/accelerants/s3/ |
H A D | register_io.h | 28 void WritePIO(uint32 addr, uint8 numBytes, uint32 value); 31 inline void WritePIO_8(uint32 addr, uint8 value) { WritePIO(addr, 1, value); } argument 41 void WriteReg8(uint32 addr, uint8 value); 42 void WriteReg16(uint32 addr, uint16 value); 43 void WriteReg32(uint32 addr, uint32 value); 46 void WriteCrtcReg(uint8 index, uint8 value); 47 void WriteCrtcReg(uint8 index, uint8 value, uint8 mask); 50 void WriteSeqReg(uint8 index, uint8 value); 51 void WriteSeqReg(uint8 index, uint8 value, uint [all...] |
/haiku/src/tests/system/kernel/device_manager/ |
H A D | listdev.c | 31 printf("string : \"%s\"", attr->value.string); 34 printf("uint8 : %u (%#x)", attr->value.ui8, attr->value.ui8); 37 printf("uint16 : %u (%#x)", attr->value.ui16, attr->value.ui16); 40 printf("uint32 : %lu (%#lx)", attr->value.ui32, attr->value.ui32); 43 printf("uint64 : %Lu (%#Lx)", attr->value.ui64, attr->value.ui64); 58 attr.value [all...] |
/haiku/src/kits/package/ |
H A D | PackageInfoStringBuilder.h | 45 StringBuilder& Write(const char* attribute, Value value) argument 47 if (_IsValueEmpty(value)) 52 _WriteValue(value); 89 void _WriteValue(const char* value) argument 91 _WriteMaybeQuoted(value); 94 void _WriteValue(const BPackageVersion& value) argument 99 if (value.InitCheck() != B_OK) { 104 _Write(value.ToString()); 107 void _WriteValue(const BStringList& value) argument 109 int32 count = value 127 _WriteValue(const BObjectList<Value>& value) argument 146 _WriteListElement(const Value* value) argument 155 _WriteListElement(const BGlobalWritableFileInfo* value) argument 168 _WriteListElement(const BUserSettingsFileInfo* value) argument 179 _WriteListElement(const BUser* value) argument 210 _IsValueEmpty(const char* value) argument 215 _IsValueEmpty(const BPackageVersion& value) argument 221 _IsValueEmpty(const List& value) argument [all...] |
/haiku/src/apps/icon-o-matic/generic/property/specific_properties/ |
H A D | Int64Property.cpp | 18 Int64Property::Int64Property(uint32 identifier, int64 value) argument 20 fValue(value) 45 Int64Property::SetValue(const char* value) argument 48 return SetValue(atoll(value)); 83 Int64Property::SetValue(int64 value) argument 85 if (value != fValue) { 86 fValue = value;
|
/haiku/src/add-ons/kernel/drivers/graphics/intel_extreme/ |
H A D | device.cpp | 72 kprintf("usage: %s <register> [set-to-value]\n", argv[0]); 77 uint32 value = 0; local 80 value = parse_expression(argv[2]); 91 write32(info, reg, value); 93 value = read32(info, reg); 94 kprintf(" new value: %#" B_PRIx32 " (%" B_PRIu32 ")\n", value, value); 118 uint32 value; local 122 value [all...] |
/haiku/src/kits/shared/ |
H A D | SettingsMessage.cpp | 117 SettingsMessage::SetValue(const char* name, bool value) argument 119 status_t ret = ReplaceBool(name, value); 121 ret = AddBool(name, value); 129 SettingsMessage::SetValue(const char* name, int8 value) argument 131 status_t ret = ReplaceInt8(name, value); 133 ret = AddInt8(name, value); 141 SettingsMessage::SetValue(const char* name, int16 value) argument 143 status_t ret = ReplaceInt16(name, value); 145 ret = AddInt16(name, value); 153 SettingsMessage::SetValue(const char* name, uint16 value) argument 165 SetValue(const char* name, int32 value) argument 177 SetValue(const char* name, uint32 value) argument 194 SetValue(const char* name, int64 value) argument 206 SetValue(const char* name, uint64 value) argument 218 SetValue(const char* name, float value) argument 230 SetValue(const char* name, double value) argument 242 SetValue(const char* name, const char* value) argument 254 SetValue(const char* name, const BString& value) argument 266 SetValue(const char* name, const BPoint& value) argument 278 SetValue(const char* name, const BRect& value) argument 290 SetValue(const char* name, const entry_ref& value) argument 302 SetValue(const char* name, const BMessage& value) argument 314 SetValue(const char* name, const BFlattenable* value) argument 339 SetValue(const char* name, const BFont& value) argument 368 bool value; local 378 int8 value; local 388 int16 value; local 398 uint16 value; local 408 int32 value; local 418 uint32 value; local 432 int64 value; local 442 uint64 value; local 452 float value; local 462 double value; local 472 BString value; local 482 const char* value; local 492 BPoint value; local 502 BRect value; local 512 entry_ref value; local 522 BMessage value; local 545 BFont value; local 559 void* value; local [all...] |
/haiku/src/kits/debugger/arch/x86_64/ |
H A D | CpuStateX8664.cpp | 56 (double)(*(long double*)(extended.fp_fxsave.fp[0].value))); 58 (double)(*(long double*)(extended.fp_fxsave.fp[1].value))); 60 (double)(*(long double*)(extended.fp_fxsave.fp[2].value))); 62 (double)(*(long double*)(extended.fp_fxsave.fp[3].value))); 64 (double)(*(long double*)(extended.fp_fxsave.fp[4].value))); 66 (double)(*(long double*)(extended.fp_fxsave.fp[5].value))); 68 (double)(*(long double*)(extended.fp_fxsave.fp[6].value))); 70 (double)(*(long double*)(extended.fp_fxsave.fp[7].value))); 72 SetMMXRegister(X86_64_REGISTER_MM0, extended.fp_fxsave.mmx[0].value); 73 SetMMXRegister(X86_64_REGISTER_MM1, extended.fp_fxsave.mmx[1].value); 273 SetRegisterValue(const Register* reg, const BVariant& value) argument 325 SetIntRegister(int32 index, uint64 value) argument 348 SetFloatRegister(int32 index, double value) argument 371 SetMMXRegister(int32 index, const uint8* value) argument [all...] |
/haiku/src/apps/icon-o-matic/generic/support/ |
H A D | List.h | 25 inline void AddItem(T value) argument 26 { BList::AddItem((void*)value); } 28 inline void AddItem(T value, int32 index) argument 29 { BList::AddItem((void*)value, index); } 32 inline bool HasItem(T value) const 33 { return BList::HasItem((void*)value); } 35 inline int32 IndexOf(T value) const 36 { return BList::IndexOf((void*)value); } 58 inline bool RemoveItem(T value) argument 59 { return BList::RemoveItem((void*)value); } [all...] |