Home
last modified time | relevance | path

Searched refs:value (Results 1 – 25 of 2023) sorted by relevance

12345678910>>...81

/haiku/headers/private/shared/
H A DVariant.h30 inline BVariant(bool value);
31 inline BVariant(int8 value);
32 inline BVariant(uint8 value);
33 inline BVariant(int16 value);
34 inline BVariant(uint16 value);
35 inline BVariant(int32 value);
36 inline BVariant(uint32 value);
37 inline BVariant(int64 value);
38 inline BVariant(uint64 value);
39 inline BVariant(float value);
[all …]
/haiku/src/system/kernel/arch/arm/
H A Darch_atomic32.cpp28 atomic_set(int32 *value, int32 newValue) in atomic_set() argument
31 *value = newValue; in atomic_set()
35 atomic_get_and_set(int32 *value, int32 newValue) in atomic_get_and_set() argument
38 int32 oldValue = *value; in atomic_get_and_set()
39 atomic_set(value, newValue); in atomic_get_and_set()
44 atomic_test_and_set(int32 *value, int32 newValue, int32 testAgainst) in atomic_test_and_set() argument
48 int32 oldValue = *value; in atomic_test_and_set()
50 *value = newValue; in atomic_test_and_set()
55 atomic_add(int32 *value, int32 addValue) in atomic_add() argument
59 int32 oldValue = *value; in atomic_add()
[all …]
H A Darch_atomic64.cpp34 atomic_set64(int64 *value, int64 newValue) in atomic_set64() argument
38 *value = newValue; in atomic_set64()
43 atomic_get_and_set64(int64 *value, int64 newValue) in atomic_get_and_set64() argument
47 int64 oldValue = *value; in atomic_get_and_set64()
48 *value = newValue; in atomic_get_and_set64()
54 atomic_test_and_set64(int64 *value, int64 newValue, int64 testAgainst) in atomic_test_and_set64() argument
58 int64 oldValue = *value; in atomic_test_and_set64()
60 *value = newValue; in atomic_test_and_set64()
66 atomic_add64(int64 *value, int64 addValue) in atomic_add64() argument
70 int64 oldValue = *value; in atomic_add64()
[all …]
/haiku/src/build/libroot/
H A Datomic.cpp14 atomic_set(int32 *value, int32 newValue) in atomic_set() argument
16 *value = newValue; in atomic_set()
21 atomic_get_and_set(int32 *value, int32 newValue) in atomic_get_and_set() argument
23 int32 oldValue = *value; in atomic_get_and_set()
24 *value = newValue; in atomic_get_and_set()
30 atomic_test_and_set(int32 *value, int32 newValue, int32 testAgainst) in atomic_test_and_set() argument
32 int32 oldValue = *value; in atomic_test_and_set()
34 *value = newValue; in atomic_test_and_set()
40 atomic_add(int32 *value, int32 addValue) in atomic_add() argument
42 int32 oldValue = *value; in atomic_add()
[all …]
/haiku/src/add-ons/kernel/file_systems/bfs/
H A Dbfs_endian.h25 # define BFS_ENDIAN_TO_HOST_INT16(value) (value) argument
26 # define BFS_ENDIAN_TO_HOST_INT32(value) (value) argument
27 # define BFS_ENDIAN_TO_HOST_INT64(value) (value) argument
28 # define HOST_ENDIAN_TO_BFS_INT16(value) (value) argument
29 # define HOST_ENDIAN_TO_BFS_INT32(value) (value) argument
30 # define HOST_ENDIAN_TO_BFS_INT64(value) (value) argument
34 # define BFS_ENDIAN_TO_HOST_INT16(value) __swap_int16(value) argument
35 # define BFS_ENDIAN_TO_HOST_INT32(value) __swap_int32(value) argument
36 # define BFS_ENDIAN_TO_HOST_INT64(value) __swap_int64(value) argument
37 # define HOST_ENDIAN_TO_BFS_INT16(value) __swap_int16(value) argument
[all …]
/haiku/src/system/libroot/os/
H A Datomic.c15 atomic_set(int32 *value, int32 newValue) in atomic_set() argument
17 _kern_atomic_set(value, newValue); in atomic_set()
22 atomic_get_and_set(int32 *value, int32 newValue) in atomic_get_and_set() argument
24 return _kern_atomic_get_and_set(value, newValue); in atomic_get_and_set()
29 atomic_test_and_set(int32 *value, int32 newValue, int32 testAgainst) in atomic_test_and_set() argument
31 return _kern_atomic_test_and_set(value, newValue, testAgainst); in atomic_test_and_set()
36 atomic_add(int32 *value, int32 addValue) in atomic_add() argument
38 return _kern_atomic_add(value, addValue); in atomic_add()
43 atomic_and(int32 *value, int32 andValue) in atomic_and() argument
45 return _kern_atomic_and(value, andValue); in atomic_and()
[all …]
/haiku/src/kits/shared/
H A DSettingsMessage.cpp117 SettingsMessage::SetValue(const char* name, bool value) in SetValue() argument
119 status_t ret = ReplaceBool(name, value); in SetValue()
121 ret = AddBool(name, value); in SetValue()
129 SettingsMessage::SetValue(const char* name, int8 value) in SetValue() argument
131 status_t ret = ReplaceInt8(name, value); in SetValue()
133 ret = AddInt8(name, value); in SetValue()
141 SettingsMessage::SetValue(const char* name, int16 value) in SetValue() argument
143 status_t ret = ReplaceInt16(name, value); in SetValue()
145 ret = AddInt16(name, value); in SetValue()
153 SettingsMessage::SetValue(const char* name, uint16 value) in SetValue() argument
[all …]
/haiku/src/system/kernel/arch/m68k/
H A Darch_atomic.cpp28 atomic_set64(vint64 *value, int64 newValue)
34 oldValue = *value;
35 *value = newValue;
42 atomic_test_and_set64(vint64 *value, int64 newValue, int64 testAgainst)
48 oldValue = *value;
50 *value = newValue;
57 atomic_add64(vint64 *value, int64 addValue)
63 oldValue = *value;
64 *value += addValue;
71 atomic_and64(vint64 *value, int64 andValue)
[all …]
/haiku/src/tools/fs_shell/
H A Datomic.cpp14 fssh_atomic_set(int32_t* value, int32_t newValue) in fssh_atomic_set() argument
16 atomic_set((int32*)value, newValue); in fssh_atomic_set()
21 fssh_atomic_get_and_set(int32_t* value, int32_t newValue) in fssh_atomic_get_and_set() argument
23 return atomic_get_and_set((int32*)value, newValue); in fssh_atomic_get_and_set()
28 fssh_atomic_test_and_set(int32_t *value, int32_t newValue, int32_t testAgainst) in fssh_atomic_test_and_set() argument
30 return atomic_test_and_set((int32*)value, newValue, testAgainst); in fssh_atomic_test_and_set()
35 fssh_atomic_add(int32_t *value, int32_t addValue) in fssh_atomic_add() argument
37 return atomic_add((int32*)value, addValue); in fssh_atomic_add()
42 fssh_atomic_and(int32_t *value, int32_t andValue) in fssh_atomic_and() argument
44 return atomic_and((int32*)value, andValue); in fssh_atomic_and()
[all …]
/haiku/src/apps/showimage/
H A DShowImageSettings.cpp54 bool value; in GetBool() local
55 if (fSettings.FindBool(name, &value) == B_OK) in GetBool()
56 return value; in GetBool()
65 int32 value; in GetInt32() local
66 if (fSettings.FindInt32(name, &value) == B_OK) in GetInt32()
67 return value; in GetInt32()
76 float value; in GetFloat() local
77 if (fSettings.FindFloat(name, &value) == B_OK) in GetFloat()
78 return value; in GetFloat()
87 BRect value; in GetRect() local
[all …]
/haiku/headers/libs/zydis/Zycore/Internal/
H A DAtomicGNU.h48 ZyanUPointer comparand, ZyanUPointer value) in ZyanAtomicCompareExchange() argument
51 &destination->value, (void*)comparand, (void*)value, &destination->value)); in ZyanAtomicCompareExchange()
56 return (ZyanUPointer)(__sync_fetch_and_add(&destination->value, (void*)1, in ZyanAtomicIncrement()
57 &destination->value)) + 1; in ZyanAtomicIncrement()
62 return (ZyanUPointer)(__sync_sub_and_fetch(&destination->value, (void*)1, &destination->value)); in ZyanAtomicDecrement()
70 ZyanU32 comparand, ZyanU32 value) in ZyanAtomicCompareExchange32() argument
72 return (ZyanU32)(__sync_val_compare_and_swap(&destination->value, comparand, value, in ZyanAtomicCompareExchange32()
73 &destination->value)); in ZyanAtomicCompareExchange32()
78 return (ZyanU32)(__sync_fetch_and_add(&destination->value, 1, &destination->value)) + 1; in ZyanAtomicIncrement32()
83 return (ZyanU32)(__sync_sub_and_fetch(&destination->value, 1, &destination->value)); in ZyanAtomicDecrement32()
[all …]
/haiku/src/kits/package/
H A DPackageInfoContentHandler.cpp58 const BPackageInfoAttributeValue& value) in HandlePackageAttribute() argument
60 switch (value.attributeID) { in HandlePackageAttribute()
62 fPackageInfo.SetName(value.string); in HandlePackageAttribute()
66 fPackageInfo.SetSummary(value.string); in HandlePackageAttribute()
70 fPackageInfo.SetDescription(value.string); in HandlePackageAttribute()
74 fPackageInfo.SetVendor(value.string); in HandlePackageAttribute()
78 fPackageInfo.SetPackager(value.string); in HandlePackageAttribute()
82 fPackageInfo.SetFlags(value.unsignedInt); in HandlePackageAttribute()
87 (BPackageArchitecture)value.unsignedInt); in HandlePackageAttribute()
91 fPackageInfo.SetVersion(value.version); in HandlePackageAttribute()
[all …]
H A DPackageInfoStringBuilder.h45 StringBuilder& Write(const char* attribute, Value value) in Write()
47 if (_IsValueEmpty(value)) in Write()
52 _WriteValue(value); in Write()
89 void _WriteValue(const char* value) in _WriteValue()
91 _WriteMaybeQuoted(value); in _WriteValue()
94 void _WriteValue(const BPackageVersion& value) in _WriteValue()
99 if (value.InitCheck() != B_OK) { in _WriteValue()
104 _Write(value.ToString()); in _WriteValue()
107 void _WriteValue(const BStringList& value) in _WriteValue()
109 int32 count = value.CountStrings(); in _WriteValue()
[all …]
/haiku/src/add-ons/kernel/bus_managers/acpi/acpica/include/
H A Dacbuffer.h274 #define ACPI_PLD_SET_REVISION(dword,value) ACPI_SET_BITS (dword, 0, ACPI_7BIT_MASK, value) … argument
277 #define ACPI_PLD_SET_IGNORE_COLOR(dword,value) ACPI_SET_BITS (dword, 7, ACPI_1BIT_MASK, value) … argument
280 #define ACPI_PLD_SET_RED(dword,value) ACPI_SET_BITS (dword, 8, ACPI_8BIT_MASK, value) … argument
283 #define ACPI_PLD_SET_GREEN(dword,value) ACPI_SET_BITS (dword, 16, ACPI_8BIT_MASK, value) … argument
286 #define ACPI_PLD_SET_BLUE(dword,value) ACPI_SET_BITS (dword, 24, ACPI_8BIT_MASK, value) … argument
291 #define ACPI_PLD_SET_WIDTH(dword,value) ACPI_SET_BITS (dword, 0, ACPI_16BIT_MASK, value) … argument
294 #define ACPI_PLD_SET_HEIGHT(dword,value) ACPI_SET_BITS (dword, 16, ACPI_16BIT_MASK, value) … argument
299 #define ACPI_PLD_SET_USER_VISIBLE(dword,value) ACPI_SET_BITS (dword, 0, ACPI_1BIT_MASK, value) … argument
302 #define ACPI_PLD_SET_DOCK(dword,value) ACPI_SET_BITS (dword, 1, ACPI_1BIT_MASK, value) … argument
305 #define ACPI_PLD_SET_LID(dword,value) ACPI_SET_BITS (dword, 2, ACPI_1BIT_MASK, value) … argument
[all …]
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dsd.c79 aa_ace->sid.identifier_authority.value[0] = 0; in init_system_file_sd()
80 aa_ace->sid.identifier_authority.value[1] = 0; in init_system_file_sd()
81 aa_ace->sid.identifier_authority.value[2] = 0; in init_system_file_sd()
82 aa_ace->sid.identifier_authority.value[3] = 0; in init_system_file_sd()
83 aa_ace->sid.identifier_authority.value[4] = 0; in init_system_file_sd()
85 aa_ace->sid.identifier_authority.value[5] = 5; in init_system_file_sd()
118 aa_ace->sid.identifier_authority.value[0] = 0; in init_system_file_sd()
119 aa_ace->sid.identifier_authority.value[1] = 0; in init_system_file_sd()
120 aa_ace->sid.identifier_authority.value[2] = 0; in init_system_file_sd()
121 aa_ace->sid.identifier_authority.value[3] = 0; in init_system_file_sd()
[all …]
/haiku/src/kits/debugger/dwarf/
H A DDebugInfoEntries.cpp88 const AttributeValue& value) in AddAttribute_name() argument
90 fName = value.string; in AddAttribute_name()
97 const AttributeValue& value) in AddAttribute_comp_dir() argument
99 fCompilationDir = value.string; in AddAttribute_comp_dir()
106 const AttributeValue& value) in AddAttribute_low_pc() argument
108 fLowPC = value.address; in AddAttribute_low_pc()
115 const AttributeValue& value) in AddAttribute_high_pc() argument
117 fHighPC = value.address; in AddAttribute_high_pc()
127 const AttributeValue& value) in AddAttribute_producer() argument
136 const AttributeValue& value) in AddAttribute_stmt_list() argument
[all …]
/haiku/headers/os/package/hpkg/v1/
H A DPackageAttributeValue.h40 inline void SetTo(int8 value);
41 inline void SetTo(uint8 value);
42 inline void SetTo(int16 value);
43 inline void SetTo(uint16 value);
44 inline void SetTo(int32 value);
45 inline void SetTo(uint32 value);
46 inline void SetTo(int64 value);
47 inline void SetTo(uint64 value);
48 inline void SetTo(const char* value);
62 BPackageAttributeValue::SetTo(int8 value) in SetTo() argument
[all …]
/haiku/headers/os/package/hpkg/
H A DPackageAttributeValue.h38 inline void SetTo(int8 value);
39 inline void SetTo(uint8 value);
40 inline void SetTo(int16 value);
41 inline void SetTo(uint16 value);
42 inline void SetTo(int32 value);
43 inline void SetTo(uint32 value);
44 inline void SetTo(int64 value);
45 inline void SetTo(uint64 value);
46 inline void SetTo(const char* value);
60 BPackageAttributeValue::SetTo(int8 value) in SetTo() argument
[all …]
/haiku/headers/posix/sys/
H A Dwait.h22 #define WIFEXITED(value) (((value) & ~0xff) == 0) argument
23 #define WEXITSTATUS(value) ((value) & 0xff) argument
24 #define WIFSIGNALED(value) ((((value) >> 8) & 0xff) != 0) argument
25 #define WTERMSIG(value) (((value) >> 8) & 0xff) argument
26 #define WIFSTOPPED(value) ((((value) >> 16) & 0xff) != 0) argument
27 #define WSTOPSIG(value) (((value) >> 16) & 0xff) argument
28 #define WIFCORED(value) ((value) & 0x10000) argument
29 #define WIFCONTINUED(value) ((value) & 0x20000) argument
/haiku/src/add-ons/kernel/drivers/graphics/intel_extreme/
H A Ddevice.cpp77 uint32 value = 0; in getset_register() local
80 value = parse_expression(argv[2]); in getset_register()
91 write32(info, reg, value); in getset_register()
93 value = read32(info, reg); in getset_register()
94 kprintf(" new value: %#" B_PRIx32 " (%" B_PRIu32 ")\n", value, value); in getset_register()
118 uint32 value; in dump_pipe_info() local
122 value = read32(info, INTEL_DISPLAY_A_HTOTAL + pipeOffset); in dump_pipe_info()
124 (value & 0xFFFF) + 1, (value >> 16) + 1); in dump_pipe_info()
125 value = read32(info, INTEL_DISPLAY_A_HBLANK + pipeOffset); in dump_pipe_info()
127 (value & 0xFFFF) + 1, (value >> 16) + 1); in dump_pipe_info()
[all …]
/haiku/headers/posix/
H A Dstdint.h139 #define INT8_C(value) value argument
140 #define INT16_C(value) value argument
141 #define INT32_C(value) value argument
143 #define UINT8_C(value) value argument
144 #define UINT16_C(value) value argument
145 #define UINT32_C(value) value ## U argument
148 #define INT64_C(value) value ## L argument
149 #define UINT64_C(value) value ## UL argument
150 #define INTMAX_C(value) value ## L argument
151 #define UINTMAX_C(value) value ## UL argument
[all …]
/haiku/src/system/libroot/os/locks/
H A Dinit_once.cpp34 int32 value = atomic_test_and_set(control, STATE_INITIALIZING, in __init_once() local
37 if (value == STATE_INITIALIZED) in __init_once()
40 if (value == STATE_UNINITIALIZED) { in __init_once()
44 value = atomic_get_and_set(control, STATE_INITIALIZED); in __init_once()
47 if (value >= 0) in __init_once()
48 delete_sem(value); in __init_once()
53 if (value == STATE_INITIALIZING) { in __init_once()
59 value = atomic_test_and_set(control, semaphore, STATE_INITIALIZING); in __init_once()
60 if (value == STATE_INITIALIZING) in __init_once()
61 value = semaphore; in __init_once()
[all …]
/haiku/src/kits/support/
H A DBase64.cpp75 uint32 concat, value; in decode_base64() local
84 value = in[i + j]; in decode_base64()
86 if (value == '\n' || value == '\r') { in decode_base64()
94 if ((value >= 'A') && (value <= 'Z')) in decode_base64()
95 value -= 'A'; in decode_base64()
96 else if ((value >= 'a') && (value <= 'z')) in decode_base64()
97 value = value - 'a' + 26; in decode_base64()
98 else if ((value >= '0') && (value <= '9')) in decode_base64()
99 value = value - '0' + 52; in decode_base64()
100 else if (value == '+') in decode_base64()
[all …]
/haiku/src/kits/package/hpkg/v1/
H A DPackageInfoContentHandlerV1.cpp59 const BPackageInfoAttributeValue& value) in HandlePackageAttribute() argument
61 switch (value.attributeID) { in HandlePackageAttribute()
63 fPackageInfo.SetName(value.string); in HandlePackageAttribute()
67 fPackageInfo.SetSummary(value.string); in HandlePackageAttribute()
71 fPackageInfo.SetDescription(value.string); in HandlePackageAttribute()
75 fPackageInfo.SetVendor(value.string); in HandlePackageAttribute()
79 fPackageInfo.SetPackager(value.string); in HandlePackageAttribute()
83 fPackageInfo.SetFlags(value.unsignedInt); in HandlePackageAttribute()
88 (BPackageArchitecture)value.unsignedInt); in HandlePackageAttribute()
92 fPackageInfo.SetVersion(value.version); in HandlePackageAttribute()
[all …]
/haiku/src/system/libroot/posix/pthread/
H A Dpthread_once.cpp37 int32 value = atomic_get_and_set((int32*)&onceControl->state, in init_function_canceled() local
41 if (value >= 0) in init_function_canceled()
42 delete_sem(value); in init_function_canceled()
66 int32 value = atomic_test_and_set((int32*)&onceControl->state, in pthread_once() local
69 if (value == STATE_INITIALIZED) in pthread_once()
72 if (value == STATE_UNINITIALIZED) { in pthread_once()
78 value = atomic_get_and_set((int32*)&onceControl->state, in pthread_once()
82 if (value >= 0) in pthread_once()
83 delete_sem(value); in pthread_once()
88 if (value == STATE_INITIALIZING) { in pthread_once()
[all …]

12345678910>>...81