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

123456

/xnu-2422.115.4/tools/lldbmacros/core/
H A D__init__.py4 from cvalue import value
H A Dcaching.py109 def SaveStaticCacheData(key, value):
114 value: obj - any object that is to be cached.
124 _static_data[key] = (value, _GetCurrentSessionID())
148 def SaveDynamicCacheData(key, value):
153 value: obj - any object that is to be cached.
163 _dynamic_data[key] = (value, _GetCurrentSessionID())
/xnu-2422.115.4/tools/tests/libMicro/
H A Datomic.c52 static unsigned int value = 0; variable
60 (void) atomic_add_32_nv(&value, 1);
61 (void) atomic_add_32_nv(&value, 1);
62 (void) atomic_add_32_nv(&value, 1);
63 (void) atomic_add_32_nv(&value, 1);
64 (void) atomic_add_32_nv(&value, 1);
65 (void) atomic_add_32_nv(&value, 1);
66 (void) atomic_add_32_nv(&value, 1);
67 (void) atomic_add_32_nv(&value, 1);
68 (void) atomic_add_32_nv(&value,
[all...]
H A Dexp.c60 double value = 1.0 / (i + .01); local
62 t += exp(value);
63 t += exp(value + 1.0);
64 t += exp(value + 2.0);
65 t += exp(value + 3.0);
66 t += exp(value + 4.0);
67 t += exp(value + 5.0);
68 t += exp(value + 6.0);
69 t += exp(value + 7.0);
70 t += exp(value
[all...]
H A Dlog.c60 double value = i + .01; local
62 t += log(value);
63 t += log(value + 1.0);
64 t += log(value + 2.0);
65 t += log(value + 3.0);
66 t += log(value + 4.0);
67 t += log(value + 5.0);
68 t += log(value + 6.0);
69 t += log(value + 7.0);
70 t += log(value
[all...]
H A Dcachetocache.c182 traverse_ptrchain(long **ptr, int count, int value) argument
187 *ptr = *ptr + value;
189 *ptr = *ptr + value;
191 *ptr = *ptr + value;
193 *ptr = *ptr + value;
195 *ptr = *ptr + value;
197 *ptr = *ptr + value;
199 *ptr = *ptr + value;
201 *ptr = *ptr + value;
203 *ptr = *ptr + value;
[all...]
/xnu-2422.115.4/libkern/gen/
H A DOSAtomicOperations.c64 SInt32 OSIncrementAtomic(volatile SInt32 * value) argument
66 return OSAddAtomic(1, value);
70 SInt32 OSDecrementAtomic(volatile SInt32 * value) argument
72 return OSAddAtomic(-1, value);
75 static UInt32 OSBitwiseAtomic(UInt32 and_mask, UInt32 or_mask, UInt32 xor_mask, volatile UInt32 * value) argument
81 oldValue = *value;
83 } while (! OSCompareAndSwap(oldValue, newValue, value));
89 UInt32 OSBitAndAtomic(UInt32 mask, volatile UInt32 * value) argument
91 return OSBitwiseAtomic(mask, 0, 0, value);
95 UInt32 OSBitOrAtomic(UInt32 mask, volatile UInt32 * value) argument
101 OSBitXorAtomic(UInt32 mask, volatile UInt32 * value) argument
161 OSIncrementAtomic8(volatile SInt8 * value) argument
166 OSDecrementAtomic8(volatile SInt8 * value) argument
172 OSAddAtomic8(SInt32 amount, volatile SInt8 * value) argument
186 OSBitwiseAtomic8(UInt32 and_mask, UInt32 or_mask, UInt32 xor_mask, volatile UInt8 * value) argument
199 OSBitAndAtomic8(UInt32 mask, volatile UInt8 * value) argument
204 OSBitOrAtomic8(UInt32 mask, volatile UInt8 * value) argument
209 OSBitXorAtomic8(UInt32 mask, volatile UInt8 * value) argument
235 OSIncrementAtomic16(volatile SInt16 * value) argument
240 OSDecrementAtomic16(volatile SInt16 * value) argument
246 OSAddAtomic16(SInt32 amount, volatile SInt16 * value) argument
260 OSBitwiseAtomic16(UInt32 and_mask, UInt32 or_mask, UInt32 xor_mask, volatile UInt16 * value) argument
273 OSBitAndAtomic16(UInt32 mask, volatile UInt16 * value) argument
278 OSBitOrAtomic16(UInt32 mask, volatile UInt16 * value) argument
283 OSBitXorAtomic16(UInt32 mask, volatile UInt16 * value) argument
[all...]
/xnu-2422.115.4/libkern/c++/
H A DOSNumber.cpp58 value = (inValue & sizeMask);
70 OSNumber *OSNumber::withNumber(unsigned long long value, argument
75 if (me && !me->init(value, newNumberOfBits)) {
83 OSNumber *OSNumber::withNumber(const char *value, unsigned int newNumberOfBits) argument
87 if (me && !me->init(value, newNumberOfBits)) {
102 return (unsigned char) value;
107 return (unsigned short) value;
112 return (unsigned int) value;
117 return value;
122 value
[all...]
H A DOSBoolean.cpp62 gOSBooleanTrue->value = true;
71 gOSBooleanFalse->value = false;
93 bool OSBoolean::isTrue() const { return value; }
94 bool OSBoolean::isFalse() const { return !value; }
95 bool OSBoolean::getValue() const { return value; }
113 return s->addString(value ? "<true/>" : "<false/>");
/xnu-2422.115.4/iokit/bsddev/
H A DIOKitBSDInit.h36 IOServicePublishResource( const char * property, boolean_t value );
/xnu-2422.115.4/SETUP/config/
H A Dopenp.c60 static int flgs,mod,value; variable
67 value = open (fnam,flgs,mod);
68 return (value < 0);
84 return (value);
/xnu-2422.115.4/bsd/sys/
H A Dkas_info.h49 int kas_info(int selector, void *value, size_t *size) __OSX_AVAILABLE_STARTING(__MAC_10_8, __IPHONE_6_0);
H A Dxattr.h38 #define XATTR_CREATE 0x0002 /* set the value, fail if attr already exists */
39 #define XATTR_REPLACE 0x0004 /* set the value, fail if attr does not exist */
88 ssize_t getxattr(const char *path, const char *name, void *value, size_t size, u_int32_t position, int options);
90 ssize_t fgetxattr(int fd, const char *name, void *value, size_t size, u_int32_t position, int options);
92 int setxattr(const char *path, const char *name, const void *value, size_t size, u_int32_t position, int options);
94 int fsetxattr(int fd, const char *name, const void *value, size_t size, u_int32_t position, int options);
/xnu-2422.115.4/osfmk/i386/
H A Dlock.h147 static inline void atomic_setl(volatile long * p, long value);
148 static inline void atomic_sets(volatile short * p, short value);
149 static inline void atomic_setb(volatile char * p, char value);
236 static inline void atomic_setl(volatile long * p, long value) argument
238 *p = value;
241 static inline void atomic_sets(volatile short * p, short value) argument
243 *p = value;
246 static inline void atomic_setb(volatile char * p, char value) argument
248 *p = value;
H A Dendian.h71 ntohl(register unsigned long value) argument
74 return (unsigned long)__builtin_bswap32((unsigned int)value);
76 register unsigned long l = value;
/xnu-2422.115.4/libkern/libkern/c++/
H A DOSNumber.h48 * OSNumber wraps an integer value in a C++ object
76 unsigned long long value; member in class:OSNumber
92 * with an integer value.
94 * @param value The numeric integer value for the OSNumber to store.
102 * <code>value</code> is masked to the provided <code>numberOfBits</code>
105 * You can change the value of an OSNumber later
111 unsigned long long value,
120 * with an unsigned integer value represented as a C string.
122 * @param valueString A C string representing a numeric value
[all...]
H A DOSBoolean.h49 * OSBoolean wraps a boolean value in a C++ object
53 * OSBoolean represents a boolean <code>true</code>/<code>false</code> value
68 bool value; member in class:OSBoolean
93 * @param value A boolean value.
96 * The global instance of OSBoolean with the boolean <code>value</code>.
104 static OSBoolean * withBoolean(bool value);
134 * represents a <code>true</code> <code>bool</code> value.
152 * represents a <code>false</code> <code>bool</code> value.
169 * Returns the C++ <code>bool</code> value fo
[all...]
/xnu-2422.115.4/security/
H A Dmac_data.h66 data is made of up key/value pairs where the key is always a
67 string and the value is a string, binary data or array. An array
68 may be a list of values (actually a similar set of key/value pairs,
70 a set of dictionaries, which in turn are made up of a list of key/value
105 char *value; member in struct:mac_module_data_element
143 ele->value -= (uintptr_t)oldbase;
144 ele->value += (uintptr_t)newbase;
/xnu-2422.115.4/osfmk/kperf/
H A Dkperfbsd.c297 uint32_t value = 0; local
299 /* get the old value and process it */
300 value = kperf_sampling_status();
302 /* copy out the old value, get the new value */
303 error = sysctl_handle_int(oidp, &value, 0, req);
308 if( value )
320 uint32_t value = 0; local
322 /* get the old value and process it */
323 value
338 uint32_t value = 0; local
356 uint32_t value = 0; local
374 int value = 0; local
394 int value = 0; local
415 int value = 0; local
435 int value = 0; local
[all...]
/xnu-2422.115.4/libsyscall/mach/mach/
H A Dport_obj.h34 * to server-defined "type" and "value" data to be associated
59 #define port_set_obj_value_type(pname, value, type) \
66 port_obj_table[ndx].pos_value = (value); \
78 #define port_set_obj_value_type(pname, value, type) \
87 port_obj_table[ndx].pos_value = (value); \
/xnu-2422.115.4/iokit/IOKit/
H A DIOLib.h199 @param value Data to be writen to the desired location */
201 void IOMappedWrite8(IOPhysicalAddress address, UInt8 value);
207 @param value Data to be writen to the desired location */
209 void IOMappedWrite16(IOPhysicalAddress address, UInt16 value);
215 @param value Data to be writen to the desired location */
217 void IOMappedWrite32(IOPhysicalAddress address, UInt32 value);
223 @param value Data to be writen to the desired location */
225 void IOMappedWrite64(IOPhysicalAddress address, UInt64 value);
251 @discussion This function creates a kernel thread, and passes the caller supplied argument to the new thread. Warning: the value returned by this function is not 100% reliable. There is a race condition where it is possible that the new thread has already terminated before this call returns. Under that circumstance the IOThread returned will be invalid. In general there is little that can be done with this value excep
[all...]
H A DIONVRAM.h116 virtual void updateOWBootArgs(const OSSymbol *key, OSObject *value);
122 OSData **value);
125 OSData * value);
128 virtual OSData *escapeDataToData(OSData * value);
132 OSData **value);
135 OSData *value);
161 OSData **value);
164 OSData *value);
/xnu-2422.115.4/libkern/kxld/
H A Dkxld_dict.c62 void *value; member in struct:dict_entry
179 return entry->value;
186 * its hash value and its actual bucket may have been deleted since it was
222 kxld_dict_insert(KXLDDict *dict, const void *key, void *value) argument
230 check(value);
247 /* Insert the new key-value pair into the bucket, but only count it as a
256 entry->value = value;
296 rval = kxld_dict_insert(dict, entry->key, entry->value);
342 kxld_dict_remove(KXLDDict *dict, const void *key, void **value) argument
373 kxld_dict_iterator_get_next(KXLDDictIterator *iter, const void **key, void **value) argument
[all...]
/xnu-2422.115.4/EXTERNAL_HEADERS/architecture/i386/
H A Dasm_help.h170 #define X_LEAF(name, value) \
172 .set name,value
203 #define X_NESTED(name, value) \
205 .set name,value
236 #define ABS(name, value) \
238 .set name,value
243 #define P_ABS(name, value) \
244 .set name,value
/xnu-2422.115.4/iokit/Kernel/
H A DIOPowerConnection.cpp165 void IOPowerConnection::setAwaitingAck ( bool value )
167 awaitingAck = value;

Completed in 162 milliseconds

123456