Searched refs:bufferSize (Results 1 - 25 of 132) sorted by relevance

123456

/macosx-10.10.1/WebKit2-7600.1.25/Platform/IPC/
H A DDataReference.cpp46 uint64_t bufferSize = static_cast<uint64_t>(m_buffer->size()); local
47 encoder.reserve(bufferSize + sizeof(uint64_t));
48 encoder << bufferSize; local
52 while (position < bufferSize) {
H A DArgumentDecoder.cpp34 ArgumentDecoder::ArgumentDecoder(const uint8_t* buffer, size_t bufferSize) argument
36 initialize(buffer, bufferSize);
39 ArgumentDecoder::ArgumentDecoder(const uint8_t* buffer, size_t bufferSize, Vector<Attachment> attachments) argument
41 initialize(buffer, bufferSize);
68 void ArgumentDecoder::initialize(const uint8_t* buffer, size_t bufferSize) argument
70 m_buffer = static_cast<uint8_t*>(malloc(bufferSize));
75 m_bufferEnd = m_buffer + bufferSize;
76 memcpy(m_buffer, buffer, bufferSize);
H A DArgumentDecoder.h40 ArgumentDecoder(const uint8_t* buffer, size_t bufferSize);
95 ArgumentDecoder(const uint8_t* buffer, size_t bufferSize, Vector<Attachment>);
97 void initialize(const uint8_t* buffer, size_t bufferSize);
/macosx-10.10.1/xnu-2782.1.97/libkern/libkern/c++/
H A DOSUnserialize.h80 * @param bufferSize The size of the block of memory. The function
81 * never scans beyond the first bufferSize bytes.
95 size_t bufferSize,
99 OSUnserializeBinary(const char *buffer, size_t bufferSize, OSString **errorString);
/macosx-10.10.1/ICU-531.30/icuSources/tools/toolutil/
H A Dflagparser.c16 static int32_t extractFlag(char* buffer, int32_t bufferSize, char* flag, int32_t flagSize, const char ** flagNames, int32_t numOfFlags, UErrorCode *status);
17 static int32_t getFlagOffset(const char *buffer, int32_t bufferSize);
108 static int32_t extractFlag(char* buffer, int32_t bufferSize, char* flag, int32_t flagSize, const char **flagNames, int32_t numOfFlags, UErrorCode *status) { argument
116 offset = getFlagOffset(buffer, bufferSize);
156 static int32_t getFlagOffset(const char *buffer, int32_t bufferSize) { argument
159 for (offset = 0; offset < bufferSize;offset++) {
166 if (offset == bufferSize || (offset - 1) == bufferSize) {
/macosx-10.10.1/IOKitUser-1050.1.21/
H A DIOCFUnserialize.h52 size_t bufferSize,
60 size_t bufferSize,
/macosx-10.10.1/WebKit2-7600.1.25/DatabaseProcess/IndexedDB/
H A DIDBSerialization.h43 bool deserializeIDBKeyPath(const uint8_t* buffer, size_t bufferSize, WebCore::IDBKeyPath&);
46 bool deserializeIDBKeyData(const uint8_t* buffer, size_t bufferSize, WebCore::IDBKeyData&);
/macosx-10.10.1/expat-12/expat/tests/benchmark/
H A Dbenchmark.c21 "usage: %s [-n] filename bufferSize nr_of_loops\n", prog);
31 int nrOfLoops, bufferSize, fileSize, i, isFinal; local
61 bufferSize = atoi (argv[j + 2]);
63 if (bufferSize <= 0 || nrOfLoops <= 0) {
86 if (parseBufferSize <= bufferSize)
89 parseBufferSize = bufferSize;
100 XMLBufPtr += bufferSize;
112 nrOfLoops, bufferSize, cpuTime / (double) nrOfLoops);
/macosx-10.10.1/PowerManagement-494.1.2/ioupsd/
H A DIOUPSPrivate.c107 IOByteCount bufferSize; local
114 (mach_msg_type_number_t *)&bufferSize);
121 vm_deallocate(mach_task_self(), (vm_address_t)buffer, bufferSize); local
130 IOByteCount bufferSize; local
137 (mach_msg_type_number_t *)&bufferSize);
144 vm_deallocate(mach_task_self(), (vm_address_t)buffer, bufferSize); local
/macosx-10.10.1/xnu-2782.1.97/bsd/hfs/hfscommon/headers/
H A DBTreeScanner.h85 u_int32_t bufferSize; member in struct:BTScanState
106 u_int32_t bufferSize,
/macosx-10.10.1/hfs-285/fsck_hfs/dfalib/
H A DBTreeScanner.h49 u_int32_t bufferSize; member in struct:BTScanState
/macosx-10.10.1/IONetworkingFamily-101/
H A DIONetworkData.h149 @param bufferSize Pointer to the size of the accessor's buffer.
159 UInt32 * bufferSize,
227 @param bufferSize The number of bytes to allocate for the internal data
238 UInt32 bufferSize,
249 @param bufferSize The size of the external data buffer.
260 UInt32 bufferSize,
274 @param bufferSize The size of the phantom data buffer.
283 UInt32 bufferSize,
293 @param bufferSize The size of the data buffer.
305 UInt32 bufferSize,
[all...]
H A DIONetworkData.cpp99 UInt32 bufferSize,
116 (void *) IOMalloc(bufferSize) : extBuffer;
122 bzero(_buffer, bufferSize);
130 _size = bufferSize;
147 UInt32 bufferSize,
157 bufferSize,
177 UInt32 bufferSize,
188 bufferSize,
208 UInt32 bufferSize,
218 bufferSize,
97 init(const char * name, UInt32 bufferType, UInt32 bufferSize, void * extBuffer, UInt32 accessTypes, void * target, Action action, void * param) argument
145 withInternalBuffer( const char * name, UInt32 bufferSize, UInt32 accessTypes, void * target, Action action, void * param) argument
175 withExternalBuffer( const char * name, UInt32 bufferSize, void * buffer, UInt32 accessTypes, void * target, Action action, void * param) argument
207 withNoBuffer(const char * name, UInt32 bufferSize, UInt32 accessTypes, void * target, Action action, void * param) argument
[all...]
/macosx-10.10.1/JavaScriptCore-7600.1.17/API/tests/
H A DCustomGlobalObjectClassTest.c78 size_t bufferSize = sizeof(char) * (propertyNameLength + 1); local
79 char* buffer = (char*)malloc(bufferSize);
80 JSStringGetUTF8CString(propertyNameRef, buffer, bufferSize);
/macosx-10.10.1/JavaScriptCore-7600.1.17/API/
H A DJSStringRef.cpp95 size_t JSStringGetUTF8CString(JSStringRef string, char* buffer, size_t bufferSize) argument
97 if (!bufferSize)
104 result = convertLatin1ToUTF8(&source, source + string->length(), &destination, destination + bufferSize - 1);
107 result = convertUTF16ToUTF8(&source, source + string->length(), &destination, destination + bufferSize - 1, true);
H A DJSStringRef.h116 representation of string. If bufferSize is too small, buffer will contain only
117 partial results. If buffer is not at least bufferSize bytes in size,
119 @param bufferSize The size of the external buffer in bytes.
122 JS_EXPORT size_t JSStringGetUTF8CString(JSStringRef string, char* buffer, size_t bufferSize);
/macosx-10.10.1/Security-57031.1.35/securityd/src/
H A Dentropy.cpp98 static double CalculateEntropy(const void* buffer, size_t bufferSize) argument
100 double sizef = bufferSize;
109 for (i = 0; i < bufferSize; ++i)
127 double entropicBytes = bufferSize * entropy / 8.0;
/macosx-10.10.1/WebKit2-7600.1.25/Shared/
H A DAPIString.h79 size_t getUTF8CString(char* buffer, size_t bufferSize) argument
81 if (!bufferSize)
87 result = WTF::Unicode::convertLatin1ToUTF8(&characters, characters + m_string.length(), &p, p + bufferSize - 1);
90 result = WTF::Unicode::convertUTF16ToUTF8(&characters, characters + m_string.length(), &p, p + bufferSize - 1, /* strict */ true);
/macosx-10.10.1/bless-103/libbless/EFI/
H A DBLValidateXMLBootOption.c270 size_t bufferSize = 0; local
309 bufferSize = (CFStringGetLength(val)+1)*2;
310 buffer = (EFI_UINT8 *)calloc(bufferSize, sizeof(char));
312 if(!CFStringGetCString(val, (char *)buffer, bufferSize, kCFStringEncodingUTF16LE)) {
315 bufferSize = 0;
320 bufferSize = CFDataGetLength(val);
321 buffer = (EFI_UINT8 *)calloc(bufferSize, sizeof(char));
323 memcpy(buffer, CFDataGetBytePtr(val), bufferSize);
329 if(OptionalDataSize || bufferSize) {
330 if((OptionalDataSize != bufferSize)
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/include/security_utilities/
H A Dmachrunloopserver.cpp51 void MachRunLoopServer::run(mach_msg_size_t bufferSize, mach_msg_options_t options) argument
54 mReplyMessage.setBuffer(bufferSize);
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_utilities/lib/
H A Dmachrunloopserver.cpp51 void MachRunLoopServer::run(mach_msg_size_t bufferSize, mach_msg_options_t options) argument
54 mReplyMessage.setBuffer(bufferSize);
/macosx-10.10.1/WebKit2-7600.1.25/Shared/API/c/
H A DWKString.cpp66 size_t WKStringGetUTF8CString(WKStringRef stringRef, char* buffer, size_t bufferSize) argument
68 return toImpl(stringRef)->getUTF8CString(buffer, bufferSize);
/macosx-10.10.1/xnu-2782.1.97/bsd/hfs/hfscommon/BTree/
H A DBTreeScanner.c267 myBlocksInBufferCount = (theScanStatePtr->bufferSize / myBTreeCBPtr->nodeSize );
268 myBufferSize = theScanStatePtr->bufferSize;
306 // bufferSize Size (in bytes) of buffer
335 u_int32_t bufferSize,
351 if ( bufferSize < btcb->nodeSize )
353 bufferSize = (bufferSize / btcb->nodeSize) * btcb->nodeSize;
358 scanState->bufferSize = bufferSize;
331 BTScanInitialize( const FCB * btreeFile, u_int32_t startingNode, u_int32_t startingRecord, u_int32_t recordsFound, u_int32_t bufferSize, BTScanState * scanState ) argument
/macosx-10.10.1/hfs-285/CopyHFSMeta/
H A DScanExtents.c58 size_t bufferSize = MAX(nodeSize, S32(hp->blockSize)); local
61 endPtr = ptr + bufferSize;
114 if (nodeSize < bufferSize) {
196 size_t bufferSize; local
231 bufferSize = vBlockSize;
234 bufferSize = nodeSize;
237 nodePtr = malloc(bufferSize);
/macosx-10.10.1/JavaScriptCore-7600.1.17/interpreter/
H A DCallFrame.cpp179 const size_t bufferSize = 200; local
180 static char buffer[bufferSize + 1];
186 strncpy(buffer, stringStream.toCString().data(), bufferSize);
187 buffer[bufferSize] = '\0';

Completed in 237 milliseconds

123456