/macosx-10.5.8/xnu-1228.15.4/osfmk/ddb/ |
H A D | db_access.c | 86 register db_expr_t value; local 94 value = 0; 101 value = (value << 8) + (data[i] & 0xFF); 104 if(!is_signed) return value; 108 if(value & signx) value |= signx; /* Add 1s to front if sign bit is on */ 110 return (value); 117 register db_expr_t value, 129 data[i] = value 114 db_put_task_value( db_addr_t addr, register int size, register db_expr_t value, task_t task) argument 146 db_put_value( db_addr_t addr, int size, db_expr_t value) argument [all...] |
H A D | db_examine.c | 185 db_expr_t value; local 263 value = db_get_task_value( next_addr, 265 db_find_task_sym_and_offset( value, 268 (unsigned long long)next_addr, (unsigned long long)value, symName ); 283 value = db_get_task_value(next_addr, 286 db_printf("%-*llr", width, (unsigned long long)value); 294 value = db_get_task_value(next_addr, sz, 296 db_printf("%-*llR", width, (unsigned long long)value); 309 value = db_get_task_value(next_addr, 313 db_printf("%0*llX ", 2*size, (unsigned long long)value); 491 db_expr_t value; local 601 db_expr_t value; local 677 db_search( db_addr_t addr, int size, db_expr_t value, db_expr_t mask, unsigned int count, task_t task) argument 705 db_expr_t value; local [all...] |
H A D | db_access.h | 105 register db_expr_t value, 116 db_expr_t value);
|
H A D | db_cond.c | 156 db_expr_t value; local 181 if (!db_expression(&value)) { 185 if (value == 0 || --(bkpt->tb_count) > 0) 223 db_expr_t value; local 265 if (!db_expression(&value)) {
|
H A D | makedis.c | 80 0 or 1, representing that constant value, or a letter, representing 94 The third field describes the value of the function. If a bitmask 96 1s), then the third field is the value of the function only in the 100 arrange to return the value corresponding to the pattern that 117 For string-valued functions, the third field is the string value. 119 generating the value. In both cases there may be several special 122 - A $ followed by a single letter is replaced by the value of the 123 argument or bitfield with that name. The value of a bitfield is 125 position. Thus, a single-bit field always has value 0 or 1. 128 parentheses () is replaced by the value returne 636 bits mask, value; member in struct:entry 709 bits mask, value, entrymask; local 759 parsecontrol(char *name, char *value) argument 916 union value { /* The fields here correspond to the enum values. */ union in struct:string 923 } value; member in struct:string 1146 } value; member in struct:bitsplicebits 1403 bits i, value; local 1862 functionswitch(struct function *fp, bits mask, bits value) argument [all...] |
/macosx-10.5.8/xnu-1228.15.4/libkern/c++/ |
H A D | OSNumber.cpp | 62 value = (inValue & sizeMask); 67 bool OSNumber::init(const char *value, unsigned int numberOfBits) argument 69 return init((unsigned long long)strtoul(value, NULL, 0), numberOfBits); 74 OSNumber *OSNumber::withNumber(unsigned long long value, argument 79 if (me && !me->init(value, numberOfBits)) { 87 OSNumber *OSNumber::withNumber(const char *value, unsigned int numberOfBits) argument 91 if (me && !me->init(value, numberOfBits)) { 106 return (unsigned char) value; 111 return (unsigned short) value; 116 return (unsigned int) value; [all...] |
H A D | OSBoolean.cpp | 62 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/>");
|
/macosx-10.5.8/xnu-1228.15.4/libkern/gen/ |
H A D | OSAtomicOperations.c | 60 SInt32 OSIncrementAtomic(volatile SInt32 * value) argument 62 return OSAddAtomic(1, value); 65 SInt32 OSDecrementAtomic(volatile SInt32 * value) argument 67 return OSAddAtomic(-1, value); 105 static UInt32 OSBitwiseAtomic(UInt32 and_mask, UInt32 or_mask, UInt32 xor_mask, volatile UInt32 * value) argument 111 oldValue = *value; 113 } while (! OSCompareAndSwap(oldValue, newValue, value)); 118 UInt32 OSBitAndAtomic(UInt32 mask, volatile UInt32 * value) argument 120 return OSBitwiseAtomic(mask, 0, 0, value); 123 UInt32 OSBitOrAtomic(UInt32 mask, volatile UInt32 * value) argument 128 OSBitXorAtomic(UInt32 mask, volatile UInt32 * value) argument 186 OSIncrementAtomic8(volatile SInt8 * value) argument 191 OSDecrementAtomic8(volatile SInt8 * value) argument 196 OSAddAtomic8(SInt32 amount, volatile SInt8 * value) argument 209 OSBitwiseAtomic8(UInt32 and_mask, UInt32 or_mask, UInt32 xor_mask, volatile UInt8 * value) argument 222 OSBitAndAtomic8(UInt32 mask, volatile UInt8 * value) argument 227 OSBitOrAtomic8(UInt32 mask, volatile UInt8 * value) argument 232 OSBitXorAtomic8(UInt32 mask, volatile UInt8 * value) argument 256 OSIncrementAtomic16(volatile SInt16 * value) argument 261 OSDecrementAtomic16(volatile SInt16 * value) argument 266 OSAddAtomic16(SInt32 amount, volatile SInt16 * value) argument 279 OSBitwiseAtomic16(UInt32 and_mask, UInt32 or_mask, UInt32 xor_mask, volatile UInt16 * value) argument 292 OSBitAndAtomic16(UInt32 mask, volatile UInt16 * value) argument 297 OSBitOrAtomic16(UInt32 mask, volatile UInt16 * value) argument 302 OSBitXorAtomic16(UInt32 mask, volatile UInt16 * value) argument [all...] |
/macosx-10.5.8/xnu-1228.15.4/libkern/libkern/c++/ |
H A D | OSNumber.h | 45 unsigned long long value; member in class:OSNumber 57 @abstract A static constructor function to create and initialize an instance of OSNumber with a given value. 58 @param value The numeric integer value. 59 @param numberOfBits The number of bit required to represent the value. 62 static OSNumber *withNumber(unsigned long long value, 66 @abstract A static constructor function to create and initialize an instance of OSNumber with a given value represented as a simple c-string. 68 @param value A c-string representing a numeric value. 69 @param numberOfBits The number of bit required to represent the value [all...] |
H A D | OSBoolean.h | 46 bool value; member in class:OSBoolean 60 @param value A boolean value. 63 static OSBoolean *withBoolean(bool value); 91 @abstract Obtains the value of the OSBoolean object as the standard C++ type bool. 92 @result The value of the OSBoolean object.
|
/macosx-10.5.8/xnu-1228.15.4/libsa/libsa/ |
H A D | setjmp.h | 44 int value);
|
/macosx-10.5.8/xnu-1228.15.4/pexpert/ppc/ |
H A D | pe_identify_machine.c | 48 unsigned long *value; local 62 if (DTGetProperty(cpu, "timebase-frequency", (void **)&value, &size) == kSuccess) { 65 if (size == 8) gPEClockFrequencyInfo.timebase_frequency_hz = *(unsigned long long *)value; 66 else gPEClockFrequencyInfo.timebase_frequency_hz = *value; 71 if (DTGetProperty(cpu, "bus-frequency", (void **)&value, &size) == kSuccess) { 72 if (size == 8) gPEClockFrequencyInfo.bus_frequency_hz = *(unsigned long long *)value; 73 else gPEClockFrequencyInfo.bus_frequency_hz = *value; 76 if (DTGetProperty(root, "clock-frequency", (void **)&value, &size) == kSuccess) { 77 if (size == 8) gPEClockFrequencyInfo.bus_frequency_hz = *(unsigned long long *)value; 78 else gPEClockFrequencyInfo.bus_frequency_hz = *value; [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | lock.h | 166 static inline void atomic_setl(volatile long * p, long value); 167 static inline void atomic_sets(volatile short * p, short value); 168 static inline void atomic_setb(volatile char * p, char value); 182 * - returns failure (0) if the location did not contain the old value, 183 * - returns success (1) if the location was set to the new value. 194 : "+a" (res) /* %0: old value to compare, returns success */ 195 : "r" (new), /* %1: new value to set */ 276 static inline void atomic_setl(volatile long * p, long value) argument 278 *p = value; 281 static inline void atomic_sets(volatile short * p, short value) argument 286 atomic_setb(volatile char * p, char value) argument [all...] |
H A D | endian.h | 73 ntohl(register unsigned long value) argument 75 register unsigned long l = value;
|
/macosx-10.5.8/xnu-1228.15.4/security/ |
H A D | mac_data.h | 62 data is made of up key/value pairs where the key is always a 63 string and the value is a string, binary data or array. An array 64 may be a list of values (actually a similar set of key/value pairs, 66 a set of dictionaries, which in turn are made up of a list of key/value 101 char *value; member in struct:mac_module_data_element 139 ele->value -= (unsigned int)oldbase; 140 ele->value += (unsigned int)newbase;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | xattr.h | 38 #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 */ 64 ssize_t getxattr(const char *path, const char *name, void *value, size_t size, u_int32_t position, int options); 66 ssize_t fgetxattr(int fd, const char *name, void *value, size_t size, u_int32_t position, int options); 68 int setxattr(const char *path, const char *name, const void *value, size_t size, u_int32_t position, int options); 70 int fsetxattr(int fd, const char *name, const void *value, size_t size, u_int32_t position, int options);
|
/macosx-10.5.8/xnu-1228.15.4/libsyscall/mach/headers/ |
H A D | port_obj.h | 34 * 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); \
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | hw_perfmon_mmcr.h | 46 uint32_t threshold_value : 6; /* 10-15: threshold value */ 55 uint32_t value; member in union:__anon923 68 uint32_t value; member in union:__anon925 78 uint32_t value; member in union:__anon927 93 uint32_t threshold_value : 6; /* 42-47: threshold value */ 105 uint64_t value; member in union:__anon929 141 uint64_t value; member in union:__anon931 167 uint64_t value; member in union:__anon933 182 uint32_t value; member in union:__anon935
|
H A D | hw_perfmon.c | 170 mmcr0_reg.value = 0; 173 sv->save_mmcr0 = mmcr0_reg.value; 180 mmcr0_reg.value = 0; 183 sv->save_mmcr0 = mmcr0_reg.value; 326 mmcr0_reg.value = sv->save_mmcr0; 333 sv->save_mmcr0 = mmcr0_reg.value; 339 mmcr0_reg.value = sv->save_mmcr0; 345 sv->save_mmcr0 = mmcr0_reg.value; 351 mmcr0_reg.value = sv->save_mmcr0; 357 sv->save_mmcr0 = mmcr0_reg.value; [all...] |
H A D | serial_io.c | 148 #define SERIAL_CLOCK_FREQUENCY (115200*2) /* Power Mac value */ 326 unsigned char c, value; local 344 scc_read_reg_zero(regs, line, value); 346 if (value & SCC_RR0_RX_AVAIL) 361 scc_read_reg(regs, line, SCC_RR1, value); 385 if (value&(SCC_RR1_PARITY_ERR | SCC_RR1_RX_OVERRUN | SCC_RR1_FRAME_ERR)) { 424 unsigned char value; local 438 scc_read_reg(regs, line, SCC_RR0, value); 439 if (value & SCC_RR0_TX_EMPTY) 448 scc_read_reg(regs, line, SCC_RR0, value); 462 powermac_scc_set_datum(scc_regmap_t regs, unsigned int offset, unsigned char value) argument 478 unsigned char value; local 492 unsigned char value; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/ |
H A D | IOLib.h | 196 @param value Data to be writen to the desired location */ 198 void IOMappedWrite8(IOPhysicalAddress address, UInt8 value); 204 @param value Data to be writen to the desired location */ 206 void IOMappedWrite16(IOPhysicalAddress address, UInt16 value); 212 @param value Data to be writen to the desired location */ 214 void IOMappedWrite32(IOPhysicalAddress address, UInt32 value); 220 @param value Data to be writen to the desired location */ 222 void IOMappedWrite64(IOPhysicalAddress address, UInt64 value); 257 @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 D | IONVRAM.h | 107 virtual void updateOWBootArgs(const OSSymbol *key, OSObject *value); 113 OSData **value); 116 OSData * value); 119 virtual OSData *escapeDataToData(OSData * value); 123 OSData **value); 126 OSData *value); 149 OSData **value); 152 OSData *value);
|
/macosx-10.5.8/xnu-1228.15.4/EXTERNAL_HEADERS/architecture/i386/ |
H A D | asm_help.h | 165 #define X_LEAF(name, value) \ 167 .set name,value 198 #define X_NESTED(name, value) \ 200 .set name,value 231 #define ABS(name, value) \ 233 .set name,value 238 #define P_ABS(name, value) \ 239 .set name,value
|
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/ |
H A D | IOPowerConnection.cpp | 165 void IOPowerConnection::setAwaitingAck ( bool value ) 167 awaitingAck = value;
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/console/i386/ |
H A D | kdasm.s | 104 #define value 0x10(%ebp) define 117 movw value, %ax 127 #undef value
|