/macosx-10.10.1/IOHIDFamily-606.1.7/IOHIDFamily/ |
H A D | IOHIDEventSystemQueue.cpp | 31 Boolean IOHIDEventSystemQueue::enqueue(void *data, UInt32 dataSize) argument 37 result = super::enqueue(data, dataSize);
|
H A D | IOHIDEventServiceQueue.cpp | 67 IOByteCount dataSize = event->getLength(); local 70 const UInt32 entrySize = dataSize + DATA_QUEUE_ENTRY_HEADER_SIZE; 82 entry->size = dataSize; 83 event->readBytes(&entry->data, dataSize); 97 dataQueue->queue->size = dataSize; 105 ((IODataQueueEntry *)((UInt8 *)dataQueue->queue + tail))->size = dataSize; 108 event->readBytes(&dataQueue->queue->data, dataSize); 128 entry->size = dataSize; 129 event->readBytes(&entry->data, dataSize);
|
H A D | IOHIDEventSystemQueue.h | 41 virtual Boolean enqueue(void *data, UInt32 dataSize);
|
/macosx-10.10.1/IOKitUser-1050.1.21/ |
H A D | IODataQueueClientPrivate.h | 33 typedef uint32_t (*IODataQueueClientEnqueueReadBytesCallback)(void * refcon, void *data, uint32_t dataSize); 36 _IODataQueueEnqueueWithReadCallback(IODataQueueMemory *dataQueue, uint32_t dataSize, IODataQueueClientEnqueueReadBytesCallback callback, void * refcon);
|
H A D | IODataQueueClient.c | 73 IODataQueueDequeue(IODataQueueMemory *dataQueue, void *data, uint32_t *dataSize) argument 108 if (dataSize) { 109 if (entrySize <= *dataSize) { 123 // ensure that dataSize is always updated. 124 if (dataSize) { 125 *dataSize = entrySize; 138 __IODataQueueEnqueue(IODataQueueMemory *dataQueue, uint32_t dataSize, void *data, IODataQueueClientEnqueueReadBytesCallback callback, void * refcon) argument 143 UInt32 entrySize = dataSize + DATA_QUEUE_ENTRY_HEADER_SIZE; 155 memcpy(&(entry->data), data, dataSize); 157 (*callback)(refcon, &(entry->data), dataSize); 247 IODataQueueEnqueue(IODataQueueMemory *dataQueue, void *data, uint32_t dataSize) argument 254 _IODataQueueEnqueueWithReadCallback(IODataQueueMemory *dataQueue, uint32_t dataSize, IODataQueueClientEnqueueReadBytesCallback callback, void * refcon) argument [all...] |
H A D | IODataQueueClient.h | 56 * @discussion This function will dequeue the next available entry on the queue. If a data pointer is provided, it will copy the data into the memory region if there is enough space available as specified in the dataSize parameter. If no data pointer is provided, it will simply move the head value past the current entry. 59 * @param dataSize A pointer to the size of the data parameter. On return, this contains the size of the actual entry data - even if the original size was not large enough. 60 * @result Returns kIOReturnSuccess on success. Other return values possible are: kIOReturnUnderrun - queue is empty, kIOReturnBadArgument - no dataQueue or no dataSize, kIOReturnNoSpace - dataSize is too small for entry. 62 IOReturn IODataQueueDequeue(IODataQueueMemory *dataQueue, void *data, uint32_t *dataSize); 85 * @discussion This method adds a new data entry of dataSize to the queue. It sets the size parameter of the entry pointed to by the tail value and copies the memory pointed to by the data parameter in place in the queue. Once that is done, it moves the tail to the next available location. When attempting to add a new entry towards the end of the queue and there isn't enough space at the end, it wraps back to the beginning.<br> If the queue is empty when a new entry is added, the port specified in IODataQueueSetNotificationPort will be used to send a message to the client process that data is now available. <br> <b>Please note that using this method without mapped memory create from an IOSharedDataQueue will result in undefined behavior. </b> 88 * @param dataSize Size of the data pointed to by data. 91 IOReturn IODataQueueEnqueue(IODataQueueMemory *dataQueue, void *data, uint32_t dataSize) AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
|
/macosx-10.10.1/xnu-2782.1.97/iokit/Kernel/ |
H A D | IODataQueue.cpp | 149 Boolean IODataQueue::enqueue(void * data, UInt32 dataSize) argument 153 const UInt32 entrySize = dataSize + DATA_QUEUE_ENTRY_HEADER_SIZE; 157 if (dataSize > UINT32_MAX - DATA_QUEUE_ENTRY_HEADER_SIZE) { 173 entry->size = dataSize; 174 memcpy(&entry->data, data, dataSize); 187 dataQueue->queue->size = dataSize; 195 ((IODataQueueEntry *)((UInt8 *)dataQueue->queue + tail))->size = dataSize; 198 memcpy(&dataQueue->queue->data, data, dataSize); 215 entry->size = dataSize; 216 memcpy(&entry->data, data, dataSize); [all...] |
H A D | IOSharedDataQueue.cpp | 183 Boolean IOSharedDataQueue::enqueue(void * data, UInt32 dataSize) argument 187 const UInt32 entrySize = dataSize + DATA_QUEUE_ENTRY_HEADER_SIZE; 191 if (dataSize > UINT32_MAX - DATA_QUEUE_ENTRY_HEADER_SIZE) { 207 entry->size = dataSize; 208 memcpy(&entry->data, data, dataSize); 221 dataQueue->queue->size = dataSize; 229 ((IODataQueueEntry *)((UInt8 *)dataQueue->queue + tail))->size = dataSize; 232 memcpy(&dataQueue->queue->data, data, dataSize); 249 entry->size = dataSize; 250 memcpy(&entry->data, data, dataSize); 270 dequeue(void *data, UInt32 *dataSize) argument [all...] |
/macosx-10.10.1/Security-57031.1.35/SecurityTests/cspxutils/macTest/ |
H A D | macTest.c | 24 printf(" d=dataSize (default = %d)\n", DATA_SIZE_DEF); 46 unsigned dataSize = DATA_SIZE_DEF; local 59 dataSize = atoi(&argv[arg][2]); 103 randData.Data = (uint8 *)CSSM_MALLOC(dataSize); 104 randData.Length = dataSize; 105 simpleGenData(&randData, dataSize, dataSize);
|
/macosx-10.10.1/hfs-285/fsck_hfs/dfalib/ |
H A D | BTreeScanner.h | 71 u_int32_t * dataSize );
|
H A D | SBTree.c | 56 OSErr SearchBTreeRecord(SFCB *fcb, const void* key, UInt32 hint, void* foundKey, void* data, UInt16 *dataSize, UInt32 *newHint) argument 92 result = BTSearchRecord( fcb, &searchIterator, kInvalidMRUCacheKey, &btRecord, dataSize, resultIterator ); 104 if ( DEBUG_BUILD && !ValidHFSRecord(data, btcb, *dataSize) ) 131 OSErr GetBTreeRecord(SFCB *fcb, SInt16 selectionIndex, void* key, void* data, UInt16 *dataSize, UInt32 *newHint) argument 184 result = BTIterateRecord( fcb, kBTreeNextRecord, iterator, &btRecord, dataSize ); 195 result = BTIterateRecord( fcb, kBTreePrevRecord, iterator, &btRecord, dataSize ); 201 result = BTIterateRecord( fcb, operation, iterator, &btRecord, dataSize ); 212 if ( DEBUG_BUILD && !ValidHFSRecord(data, btcb, *dataSize) ) 223 OSErr InsertBTreeRecord(SFCB *fcb, const void* key, const void* data, UInt16 dataSize, UInt32 *newHint) argument 234 btRecord.itemSize = dataSize; 285 ReplaceBTreeRecord(SFCB *fcb, const void* key, UInt32 hint, void *newData, UInt16 dataSize, UInt32 *newHint) argument [all...] |
/macosx-10.10.1/IOHIDFamily-606.1.7/tools/ |
H A D | IOHIDUserDeviceTest.c | 732 uint32_t dataSize = 0; local 750 dataSize = sizeof(gKeyboardDesc); 751 data = malloc(dataSize); 756 bcopy(gKeyboardDesc, data, dataSize); 757 dataIndex = dataSize; 764 dataSize = sizeof(gUnicodeDesc); 765 data = malloc(dataSize); 769 bcopy(gUnicodeDesc, data, dataSize); 770 dataIndex = dataSize; 777 dataSize [all...] |
/macosx-10.10.1/zlib-55/zlib/contrib/minizip/ |
H A D | mztools.c | 109 int dataSize = cpsize; local 110 if (dataSize == 0) { 111 dataSize = uncpsize; 113 if (dataSize > 0) { 114 char* data = malloc(dataSize); 116 if ((int)fread(data, 1, dataSize, fpZip) == dataSize) { 117 if ((int)fwrite(data, 1, dataSize, fpOut) == dataSize) { 118 offset += dataSize; [all...] |
/macosx-10.10.1/OpenAL-54/Source/OpenAL/ |
H A D | MacOSX_OALExtensions.h | 151 typedef ALenum (*alcASAGetSourceProcPtr) (ALuint property, ALuint source, ALvoid *data, ALuint* dataSize); 152 typedef ALenum (*alcASASetSourceProcPtr) (ALuint property, ALuint source, ALvoid *data, ALuint dataSize); 153 typedef ALenum (*alcASAGetListenerProcPtr) (ALuint property, ALvoid *data, ALuint* dataSize); 154 typedef ALenum (*alcASASetListenerProcPtr) (ALuint property, ALvoid *data, ALuint dataSize);
|
H A D | oalImp.h | 65 ALC_API ALenum alcASAGetSource(ALuint property, ALuint source, ALvoid *data, ALuint* dataSize); 66 ALC_API ALenum alcASASetSource(ALuint property, ALuint source, ALvoid *data, ALuint dataSize); 67 ALC_API ALenum alcASAGetListener(ALuint property, ALvoid *data, ALuint* dataSize); 68 ALC_API ALenum alcASASetListener(ALuint property, ALvoid *data, ALuint dataSize);
|
/macosx-10.10.1/SmartCardServices-55111/src/PCSC/ |
H A D | winscard_msg.c | 61 unsigned int dataSize) 78 size_t remaining = dataSize; 174 unsigned int dataSize) 191 size_t remaining = dataSize; 60 MSGSendData(int filedes, int blockAmount, const void *data, unsigned int dataSize) argument 173 MSGRecieveData(int filedes, int blockAmount, void *data, unsigned int dataSize) argument
|
/macosx-10.10.1/ICU-531.30/icuSources/io/ |
H A D | ustdio.c | 410 int32_t dataSize; local 420 dataSize = (int32_t)(str->fLimit - str->fPos); 421 if (f->fFileno == 0 && dataSize > 0) { 427 if(dataSize != 0) { 428 uprv_memmove(f->fUCBuffer, str->fPos, dataSize * sizeof(UChar)); /* not accessing beyond memory */ 433 availLength = UFILE_UCHARBUFFER_SIZE - dataSize; 457 myTarget = f->fUCBuffer + dataSize; 486 int32_t dataSize; local 509 dataSize = (int32_t)(str->fLimit - str->fPos); 512 if (dataSize 695 int32_t dataSize; local [all...] |
/macosx-10.10.1/JavaScriptCore-7600.1.17/runtime/ |
H A D | JSDataViewPrototype.cpp | 120 const unsigned dataSize = sizeof(typename Adaptor::Type); local 123 uint8_t rawBytes[dataSize]; 129 for (unsigned i = dataSize; i--;) 132 for (unsigned i = 0; i < dataSize; i++) 153 const unsigned dataSize = sizeof(typename Adaptor::Type); local 156 uint8_t rawBytes[dataSize]; 178 for (unsigned i = dataSize; i--;) 181 for (unsigned i = 0; i < dataSize; i++)
|
H A D | PropertyTable.cpp | 65 , m_index(static_cast<unsigned*>(fastZeroedMalloc(dataSize()))) 76 , m_index(static_cast<unsigned*>(fastMalloc(dataSize()))) 82 memcpy(m_index, other.m_index, dataSize()); 100 , m_index(static_cast<unsigned*>(fastZeroedMalloc(dataSize())))
|
/macosx-10.10.1/xnu-2782.1.97/iokit/IOKit/ |
H A D | IOSharedDataQueue.h | 134 * @discussion This function will dequeue the next available entry on the queue. If a data pointer is provided, it will copy the data into the memory region if there is enough space available as specified in the dataSize parameter. If no data pointer is provided, it will simply move the head value past the current entry. 136 * @param dataSize A pointer to the size of the data parameter. On return, this contains the size of the actual entry data - even if the original size was not large enough. 139 virtual Boolean dequeue(void *data, UInt32 *dataSize); 144 * @discussion This method adds a new data entry of dataSize to the queue. It sets the size parameter of the entry pointed to by the tail value and copies the memory pointed to by the data parameter in place in the queue. Once that is done, it moves the tail to the next available location. When attempting to add a new entry towards the end of the queue and there isn't enough space at the end, it wraps back to the beginning.<br> If the queue is empty when a new entry is added, sendDataAvailableNotification() is called to send a message to the user process that data is now available. 146 * @param dataSize Size of the data pointed to by data. 149 virtual Boolean enqueue(void *data, UInt32 dataSize);
|
H A D | IODataQueue.h | 126 * @discussion This method adds a new data entry of dataSize to the queue. It sets the size parameter of the entry pointed to by the tail value and copies the memory pointed to by the data parameter in place in the queue. Once that is done, it moves the tail to the next available location. When attempting to add a new entry towards the end of the queue and there isn't enough space at the end, it wraps back to the beginning.<br> If the queue is empty when a new entry is added, sendDataAvailableNotification() is called to send a message to the user process that data is now available. 128 * @param dataSize Size of the data pointed to by data. 131 virtual Boolean enqueue(void *data, UInt32 dataSize);
|
/macosx-10.10.1/xnu-2782.1.97/bsd/hfs/hfscommon/headers/ |
H A D | BTreeScanner.h | 113 u_int32_t * dataSize );
|
/macosx-10.10.1/AppleUSBIrDA-145.2.4/IrDA/IO/ |
H A D | CIrDevice.cpp | 324 int dataSize; local 349 dataSize = outputBuffer->GetDataSize(); 350 XTRACE(kLogStartXmitDataSize, (int)dataSize >> 16, dataSize); 352 //require(ctlSize + dataSize <= LapLength, Fail); 356 int len = ctlSize + dataSize; // dump control and data buffers 382 ior = fDriver->StartTransmit(ctlSize, ctlBuffer, dataSize, dataBuffer);
|
/macosx-10.10.1/tcl-105/tcl_ext/tclae/tclae/generic/ |
H A D | tclAEDesc.c | 89 Size dataSize; /* length of data */ 107 dataPtr = TclaeDataFromObj(interp, typeCode, objv[kData], &dataSize); 125 dataPtr, dataSize, 298 Size dataSize = 0; /* length of data */ 316 dataPtr = TclaeDataFromObj(interp, typeCode, objv[kData], &dataSize); 331 err = AECreateDesc(typeCode, dataPtr, dataSize, newAEDescPtr); 1154 Size dataSize; /* length of data */ 1185 dataPtr = TclaeDataFromObj(interp, typeCode, objv[kData], &dataSize); 1195 dataPtr, dataSize); 1322 Size dataSize; /* lengt 88 Size dataSize; /* length of data */ local 294 Size dataSize = 0; /* length of data */ local 1136 Size dataSize; /* length of data */ local 1302 Size dataSize; /* length of data */ local 1456 Size dataSize; /* length of data */ local 1653 int dataSize; local [all...] |
H A D | tclAEHandler.c | 108 static pascal OSErr Tclaealis2TEXTHandler(DescType dataType, const void *dataPtr, Size dataSize, DescType toType, long refCon, AEDesc *resultDesc); 109 static pascal OSErr Tclaefsrf2TEXTHandler(DescType dataType, const void *dataPtr, Size dataSize, DescType toType, long refCon, AEDesc *resultDesc); 110 static pascal OSErr TclaeTEXT2alisHandler(DescType dataType, const void *dataPtr, Size dataSize, DescType toType, long refCon, AEDesc *resultDesc); 112 static pascal OSErr Tclaefss_2TEXTHandler(DescType dataType, const void *dataPtr, Size dataSize, DescType toType, long refCon, AEDesc *resultDesc); 113 static pascal OSErr TclaeTEXT2fss_Handler(DescType dataType, const void *dataPtr, Size dataSize, DescType toType, long refCon, AEDesc *resultDesc); 115 static pascal OSErr TclaeWILD2TEXTHandler(DescType dataType, const void *dataPtr, Size dataSize, DescType toType, long refCon, AEDesc *resultDesc); 118 static pascal OSErr TclaeCoercionHandler(DescType typeCode, const void *dataPtr, Size dataSize, DescType toType, long handlerRefcon, AEDesc *resultDesc); 694 Size dataSize, 733 Tcl_ExternalToUtfDString(tclAE_macRoman_encoding, dataPtr, dataSize, &ds); 739 objv[kData] = Tcl_NewByteArrayObj((unsigned char *) dataPtr, dataSize); 692 TclaeCoercionHandler(DescType typeCode, const void * dataPtr, Size dataSize, DescType toType, long handlerRefcon, AEDesc * resultDesc) argument 1059 Tclaealis2TEXTHandler(DescType typeCode, const void *dataPtr, Size dataSize, DescType toType, long handlerRefcon, AEDesc *resultDesc) argument 1128 Tclaefsrf2TEXTHandler(DescType typeCode, const void * dataPtr, Size dataSize, DescType toType, long handlerRefcon, AEDesc * resultDesc) argument 1168 TclaeTEXT2alisHandler(DescType dataType, const void * dataPtr, Size dataSize, DescType toType, long refCon, AEDesc * resultDesc) argument 1184 CFIndex dataSize = CFDataGetLength(dataRef); local 1277 TclaeTEXT2fsrfHandler(DescType dataType, const void *dataPtr, Size dataSize, DescType toType, long refCon, AEDesc *resultDesc) argument 1315 Tclaefss_2TEXTHandler(DescType typeCode, const void * dataPtr, Size dataSize, DescType toType, long handlerRefcon, AEDesc * resultDesc) argument 1351 TclaeTEXT2fss_Handler(DescType dataType, const void *dataPtr, Size dataSize, DescType toType, long refCon, AEDesc *resultDesc) argument 1393 TclaeWILD2TEXTHandler(DescType typeCode, const void *dataPtr, Size dataSize, DescType toType, long handlerRefcon, AEDesc *resultDesc) argument [all...] |