Searched refs:value (Results 1 - 25 of 1590) sorted by relevance

1234567891011>>

/haiku/src/system/libroot/posix/string/
H A Dffs.cpp10 ffs(int value) argument
12 if (!value)
17 for (int i = 1; i <= (int)sizeof(value) * 8; i++, value >>= 1) {
18 if (value & 1)
/haiku/src/tools/fs_shell/
H A Dbyte_order.cpp14 __fssh_swap_int16(uint16_t value) argument
16 return __swap_int16(value);
20 __fssh_swap_int32(uint32_t value) argument
22 return __swap_int32(value);
26 __fssh_swap_int64(uint64_t value) argument
28 return __swap_int64(value);
H A Datomic.cpp14 fssh_atomic_set(int32_t* value, int32_t newValue) argument
16 atomic_set((int32*)value, newValue);
21 fssh_atomic_get_and_set(int32_t* value, int32_t newValue) argument
23 return atomic_get_and_set((int32*)value, newValue);
28 fssh_atomic_test_and_set(int32_t *value, int32_t newValue, int32_t testAgainst) argument
30 return atomic_test_and_set((int32*)value, newValue, testAgainst);
35 fssh_atomic_add(int32_t *value, int32_t addValue) argument
37 return atomic_add((int32*)value, addValue);
42 fssh_atomic_and(int32_t *value, int32_t andValue) argument
44 return atomic_and((int32*)value, andValu
49 fssh_atomic_or(int32_t *value, int32_t orValue) argument
56 fssh_atomic_get(int32_t *value) argument
63 fssh_atomic_set64(int64_t *value, int64_t newValue) argument
70 fssh_atomic_get_and_set64(int64_t* value, int64_t newValue) argument
77 fssh_atomic_test_and_set64(int64_t *value, int64_t newValue, int64_t testAgainst) argument
84 fssh_atomic_add64(int64_t *value, int64_t addValue) argument
91 fssh_atomic_and64(int64_t *value, int64_t andValue) argument
98 fssh_atomic_or64(int64_t *value, int64_t orValue) argument
105 fssh_atomic_get64(int64_t *value) argument
[all...]
/haiku/src/add-ons/kernel/file_systems/bfs/
H A Dbfs_endian.h25 # define BFS_ENDIAN_TO_HOST_INT16(value) value
26 # define BFS_ENDIAN_TO_HOST_INT32(value) value
27 # define BFS_ENDIAN_TO_HOST_INT64(value) value
28 # define HOST_ENDIAN_TO_BFS_INT16(value) value
29 # define HOST_ENDIAN_TO_BFS_INT32(value) value
[all...]
/haiku/src/system/kernel/lib/arch/generic/
H A Dkernel_longjmp_return.c11 int __longjmp_return(jmp_buf buffer, int value);
14 __longjmp_return(jmp_buf buffer, int value) argument
16 return (value == 0 ? 1 : value);
/haiku/src/add-ons/kernel/bus_managers/pci/arch/ppc/
H A Dpci_io.h12 ppc_out8(vuint8 *address, uint8 value) argument
14 *address = value;
20 ppc_out16(vuint16 *address, uint16 value) argument
22 *address = value;
28 ppc_out16_reverse(vuint16 *address, uint16 value) argument
30 asm volatile("sthbrx %1, 0, %0" : : "r"(address), "r"(value));
36 ppc_out32(vuint32 *address, uint32 value) argument
38 *address = value;
44 ppc_out32_reverse(vuint32 *address, uint32 value) argument
46 asm volatile("stwbrx %1, 0, %0" : : "r"(address), "r"(value));
54 uint8 value = *address; local
63 uint16 value = *address; local
72 uint16 value; local
82 uint32 value = *address; local
91 uint32 value; local
[all...]
/haiku/src/add-ons/kernel/bus_managers/pci/arch/sparc/
H A Dpci_io.h12 sparc_out8(vuint8 *address, uint8 value) argument
14 *address = value;
20 sparc_out16(vuint16 *address, uint16 value) argument
22 *address = value;
28 sparc_out16_reverse(vuint16 *address, uint16 value) argument
30 asm volatile("stha %1, [%0] 0x88" : : "r"(address), "r"(value));
36 sparc_out32(vuint32 *address, uint32 value) argument
38 *address = value;
44 sparc_out32_reverse(vuint32 *address, uint32 value) argument
46 asm volatile("stwa %1, [%0] 0x88" : : "r"(address), "r"(value));
54 uint8 value = *address; local
63 uint16 value = *address; local
72 uint16 value; local
82 uint32 value = *address; local
91 uint32 value; local
[all...]
/haiku/src/system/libroot/posix/glibc/arch/generic/
H A Ds_ldexp.c22 double __ldexp(double value, int exp) argument
24 double __ldexp(value, exp)
25 double value; int exp;
28 if(!__finite(value)||value==0.0) return value;
29 value = __scalbn(value,exp);
30 if(!__finite(value)||value
[all...]
H A Ds_ldexpf.c25 float __ldexpf(float value, int exp) argument
27 float __ldexpf(value, exp)
28 float value; int exp;
31 if(!__finitef(value)||value==(float)0.0) return value;
32 value = __scalbnf(value,exp);
33 if(!__finitef(value)||value
[all...]
H A Ds_ldexpl.c26 long double __ldexpl(long double value, int exp) argument
28 long double __ldexpl(value, exp)
29 long double value; int exp;
32 if(!__finitel(value)||value==0.0) return value;
33 value = __scalbnl(value,exp);
34 if(!__finitel(value)||value
[all...]
/haiku/src/build/libroot/
H A Dbyteorder.cpp12 __swap_int16(uint16 value) argument
14 return (value >> 8) | (value << 8);
18 __swap_int32(uint32 value) argument
20 return (value >> 24) | ((value & 0xff0000) >> 8) | ((value & 0xff00) << 8)
21 | (value << 24);
25 __swap_int64(uint64 value) argument
27 return uint64(__swap_int32(uint32(value >> 3
[all...]
H A Datomic.cpp14 atomic_set(int32 *value, int32 newValue) argument
16 *value = newValue;
21 atomic_get_and_set(int32 *value, int32 newValue) argument
23 int32 oldValue = *value;
24 *value = newValue;
30 atomic_test_and_set(int32 *value, int32 newValue, int32 testAgainst) argument
32 int32 oldValue = *value;
34 *value = newValue;
40 atomic_add(int32 *value, int32 addValue) argument
42 int32 oldValue = *value;
49 atomic_and(int32 *value, int32 andValue) argument
58 atomic_or(int32 *value, int32 orValue) argument
67 atomic_get(int32 *value) argument
74 atomic_set64(int64 *value, int64 newValue) argument
81 atomic_get_and_set64(int64 *value, int64 newValue) argument
89 atomic_test_and_set64(int64 *value, int64 newValue, int64 testAgainst) argument
98 atomic_add64(int64 *value, int64 addValue) argument
106 atomic_and64(int64 *value, int64 andValue) argument
114 atomic_or64(int64 *value, int64 orValue) argument
122 atomic_get64(int64 *value) argument
[all...]
/haiku/headers/private/system/
H A Dcomputed_asm_macros.h9 #define DEFINE_COMPUTED_ASM_MACRO(macro, value) \
10 asm volatile("#define " #macro " %0" : : "i" (value))
/haiku/src/apps/debugger/user_interface/gui/value/value_handlers/
H A DAddressValueHandler.cpp13 AddressValueHandler::SupportsValue(Value* value) argument
15 return dynamic_cast<AddressValue*>(value) ? 0.8f : 0;
20 AddressValueHandler::DefaultIntegerFormat(IntegerValue* value) argument
/haiku/src/apps/webpositive/support/
H A DHashKeys.h20 HashKey32(const Value& value) : value(value) {}
24 return (uint32)value;
29 value = other.value;
35 return (value == other.value);
40 return (value != other.value);
82 HashKeyString(const BString& value) argument
117 BString value; member in struct:BPrivate::HashKeyString
[all...]
/haiku/headers/posix/sys/
H A Dwait.h22 #define WIFEXITED(value) (((value) & ~0xff) == 0)
23 #define WEXITSTATUS(value) ((value) & 0xff)
24 #define WIFSIGNALED(value) ((((value) >> 8) & 0xff) != 0)
25 #define WTERMSIG(value) (((value) >> 8) & 0xff)
26 #define WIFSTOPPED(value) ((((value) >> 1
[all...]
/haiku/src/system/libroot/os/locks/
H A Dinit_once.cpp34 int32 value = atomic_test_and_set(control, STATE_INITIALIZING, local
37 if (value == STATE_INITIALIZED)
40 if (value == STATE_UNINITIALIZED) {
44 value = atomic_get_and_set(control, STATE_INITIALIZED);
47 if (value >= 0)
48 delete_sem(value);
53 if (value == STATE_INITIALIZING) {
59 value = atomic_test_and_set(control, semaphore, STATE_INITIALIZING);
60 if (value == STATE_INITIALIZING)
61 value
[all...]
/haiku/src/tests/system/libroot/posix/
H A Dsigsetjmp_test.c12 jump_to_top_level(jmp_buf *state, int value) argument
14 siglongjmp(*state, value);
22 int value; local
24 if ((value = sigsetjmp(state, 1)) != 0) {
25 printf("failed with: %d!\n", value);
27 printf("here I am: %d\n", value);
/haiku/src/system/libroot/os/
H A Datomic.c15 atomic_set(int32 *value, int32 newValue) argument
17 _kern_atomic_set(value, newValue);
22 atomic_get_and_set(int32 *value, int32 newValue) argument
24 return _kern_atomic_get_and_set(value, newValue);
29 atomic_test_and_set(int32 *value, int32 newValue, int32 testAgainst) argument
31 return _kern_atomic_test_and_set(value, newValue, testAgainst);
36 atomic_add(int32 *value, int32 addValue) argument
38 return _kern_atomic_add(value, addValue);
43 atomic_and(int32 *value, int32 andValue) argument
45 return _kern_atomic_and(value, andValu
50 atomic_or(int32 *value, int32 orValue) argument
57 atomic_get(int32 *value) argument
68 atomic_set64(int64 *value, int64 newValue) argument
75 atomic_test_and_set64(int64 *value, int64 newValue, int64 testAgainst) argument
82 atomic_add64(int64 *value, int64 addValue) argument
89 atomic_and64(int64 *value, int64 andValue) argument
96 atomic_or64(int64 *value, int64 orValue) argument
103 atomic_get64(int64 *value) argument
119 __sync_fetch_and_add_4(int32_t *value, int32_t addValue) argument
[all...]
/haiku/src/add-ons/kernel/bus_managers/pci/arch/m68k/
H A Dpci_io.h15 m68k_out8(vuint8 *address, uint8 value) argument
17 *address = value;
23 m68k_out16(vuint16 *address, uint16 value) argument
25 *address = value;
31 m68k_out16_reverse(vuint16 *address, uint16 value) argument
33 asm volatile("sthbrx %1, 0, %0" : : "r"(address), "r"(value));
40 m68k_out32(vuint32 *address, uint32 value) argument
42 *address = value;
49 m68k_out32_reverse(vuint32 *address, uint32 value) argument
51 asm volatile("stwbrx %1, 0, %0" : : "r"(address), "r"(value));
59 uint8 value = *address; local
68 uint16 value = *address; local
78 uint16 value; local
89 uint32 value = *address; local
99 uint32 value; local
[all...]
/haiku/src/system/kernel/arch/arm/
H A Darch_atomic32.cpp28 atomic_set(int32 *value, int32 newValue) argument
31 *value = newValue;
35 atomic_get_and_set(int32 *value, int32 newValue) argument
38 int32 oldValue = *value;
39 atomic_set(value, newValue);
44 atomic_test_and_set(int32 *value, int32 newValue, int32 testAgainst) argument
48 int32 oldValue = *value;
50 *value = newValue;
55 atomic_add(int32 *value, int32 addValue) argument
59 int32 oldValue = *value;
65 atomic_and(int32 *value, int32 andValue) argument
75 atomic_or(int32 *value, int32 orValue) argument
85 atomic_get(int32 *value) argument
94 _user_atomic_set(int32 *value, int32 newValue) argument
109 _user_atomic_get_and_set(int32 *value, int32 newValue) argument
124 _user_atomic_test_and_set(int32 *value, int32 newValue, int32 testAgainst) argument
139 _user_atomic_add(int32 *value, int32 addValue) argument
154 _user_atomic_and(int32 *value, int32 andValue) argument
169 _user_atomic_or(int32 *value, int32 orValue) argument
184 _user_atomic_get(int32 *value) argument
[all...]
H A Darch_atomic64.cpp34 atomic_set64(int64 *value, int64 newValue) argument
38 *value = newValue;
43 atomic_get_and_set64(int64 *value, int64 newValue) argument
47 int64 oldValue = *value;
48 *value = newValue;
54 atomic_test_and_set64(int64 *value, int64 newValue, int64 testAgainst) argument
58 int64 oldValue = *value;
60 *value = newValue;
66 atomic_add64(int64 *value, int64 addValue) argument
70 int64 oldValue = *value;
77 atomic_and64(int64 *value, int64 andValue) argument
88 atomic_or64(int64 *value, int64 orValue) argument
99 atomic_get64(int64 *value) argument
107 _user_atomic_get_and_set64(int64 *value, int64 newValue) argument
123 _user_atomic_set64(int64 *value, int64 newValue) argument
139 _user_atomic_test_and_set64(int64 *value, int64 newValue, int64 testAgainst) argument
155 _user_atomic_add64(int64 *value, int64 addValue) argument
171 _user_atomic_and64(int64 *value, int64 andValue) argument
187 _user_atomic_or64(int64 *value, int64 orValue) argument
203 _user_atomic_get64(int64 *value) argument
[all...]
/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);
181 BVariant(bool value) argument
187 BVariant(int8 value) argument
193 BVariant(uint8 value) argument
199 BVariant(int16 value) argument
205 BVariant(uint16 value) argument
211 BVariant(int32 value) argument
217 BVariant(uint32 value) argument
223 BVariant(int64 value) argument
229 BVariant(uint64 value) argument
235 BVariant(float value) argument
241 BVariant(double value) argument
247 BVariant(const BRect& value) argument
259 BVariant(const void* value) argument
265 BVariant(const char* value, uint32 flags) argument
271 BVariant(BReferenceable* value, type_code type) argument
308 SetTo(bool value) argument
316 SetTo(int8 value) argument
324 SetTo(uint8 value) argument
332 SetTo(int16 value) argument
340 SetTo(uint16 value) argument
348 SetTo(int32 value) argument
356 SetTo(uint32 value) argument
364 SetTo(int64 value) argument
372 SetTo(uint64 value) argument
380 SetTo(float value) argument
388 SetTo(double value) argument
396 SetTo(const BRect& value) argument
412 SetTo(const void* value) argument
420 SetTo(const char* value, uint32 flags) argument
428 SetTo(BReferenceable* value, type_code type) argument
[all...]
/haiku/src/apps/mediaplayer/support/
H A DSettingsMessage.cpp74 SettingsMessage::SetValue(const char* name, bool value) argument
76 if (ReplaceBool(name, value) == B_OK)
78 return AddBool(name, value);
83 SettingsMessage::SetValue(const char* name, int8 value) argument
85 if (ReplaceInt8(name, value) == B_OK)
87 return AddInt8(name, value);
92 SettingsMessage::SetValue(const char* name, int16 value) argument
94 if (ReplaceInt16(name, value) == B_OK)
96 return AddInt16(name, value);
101 SettingsMessage::SetValue(const char* name, int32 value) argument
110 SetValue(const char* name, uint32 value) argument
119 SetValue(const char* name, int64 value) argument
128 SetValue(const char* name, float value) argument
137 SetValue(const char* name, double value) argument
146 SetValue(const char* name, const char* value) argument
155 SetValue(const char* name, const BString& value) argument
162 SetValue(const char* name, const BPoint& value) argument
171 SetValue(const char* name, const BRect& value) argument
180 SetValue(const char* name, const entry_ref& value) argument
189 SetValue(const char* name, const BMessage* value) argument
198 SetValue(const char* name, const BFlattenable* value) argument
211 bool value; local
221 int8 value; local
231 int16 value; local
241 int32 value; local
251 int32 value; local
261 int64 value; local
271 float value; local
281 double value; local
291 BString value; local
301 BPoint value; local
311 BRect value; local
321 entry_ref value; local
331 BMessage value; local
[all...]
/haiku/src/add-ons/kernel/bus_managers/pci/arch/sparc/openfirmware/
H A Dpci_openfirmware_priv.h27 : value(NULL)
33 free(value);
36 char *value; member in struct:PropertyValue
43 bool ContainsElement(const char *value) const;
47 PropertyValue &value);

Completed in 185 milliseconds

1234567891011>>