/macosx-10.9.5/WebCore-7537.78.1/Modules/webaudio/ |
H A D | ScriptProcessorNode.idl | 34 readonly attribute long bufferSize;
|
H A D | ScriptProcessorNode.cpp | 45 PassRefPtr<ScriptProcessorNode> ScriptProcessorNode::create(AudioContext* context, float sampleRate, size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfOutputChannels) argument 48 switch (bufferSize) { 70 return adoptRef(new ScriptProcessorNode(context, sampleRate, bufferSize, numberOfInputChannels, numberOfOutputChannels)); 73 ScriptProcessorNode::ScriptProcessorNode(AudioContext* context, float sampleRate, size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfOutputChannels) argument 77 , m_bufferSize(bufferSize) 114 RefPtr<AudioBuffer> inputBuffer = m_numberOfInputChannels ? AudioBuffer::create(m_numberOfInputChannels, bufferSize(), sampleRate) : 0; 115 RefPtr<AudioBuffer> outputBuffer = m_numberOfOutputChannels ? AudioBuffer::create(m_numberOfOutputChannels, bufferSize(), sampleRate) : 0; 163 bool buffersAreGood = outputBuffer && bufferSize() == outputBuffer->length() && m_bufferReadWriteIndex + framesToProcess <= bufferSize(); 167 buffersAreGood = buffersAreGood && inputBuffer && bufferSize() [all...] |
H A D | ScriptProcessorNode.h | 52 // bufferSize must be one of the following values: 256, 512, 1024, 2048, 4096, 8192, 16384. 54 // Lower numbers for bufferSize will result in a lower (better) latency. Higher numbers will be necessary to avoid audio breakup and glitches. 56 static PassRefPtr<ScriptProcessorNode> create(AudioContext*, float sampleRate, size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfOutputChannels); 66 size_t bufferSize() const { return m_bufferSize; } function in class:WebCore::ScriptProcessorNode 75 ScriptProcessorNode(AudioContext*, float sampleRate, size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfOutputChannels);
|
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/gtk/ |
H A D | ImageBufferGtk.cpp | 34 static bool encodeImage(cairo_surface_t* surface, const String& mimeType, const double* quality, GOwnPtr<gchar>& buffer, gsize& bufferSize) argument 61 gdk_pixbuf_save_to_buffer(pixbuf.get(), &buffer.outPtr(), &bufferSize, type.utf8().data(), &error, "quality", qualityString.utf8().data(), NULL); 63 gdk_pixbuf_save_to_buffer(pixbuf.get(), &buffer.outPtr(), &bufferSize, type.utf8().data(), &error, NULL); 73 gsize bufferSize; local 74 if (!encodeImage(m_data.m_surface.get(), mimeType, quality, buffer, bufferSize)) 78 base64Encode(buffer.get(), bufferSize, base64Data);
|
/macosx-10.9.5/ICU-511.35/icuSources/tools/toolutil/ |
H A D | flagparser.c | 16 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.9.5/WebCore-7537.78.1/platform/audio/mac/ |
H A D | AudioSessionMac.cpp | 118 UInt32 bufferSize; local 119 UInt32 bufferSizeSize = sizeof(bufferSize); 125 OSStatus result = AudioObjectGetPropertyData(defaultDevice(), &preferredBufferSizeAddress, 0, 0, &bufferSizeSize, &bufferSize); 129 return bufferSize; 132 void AudioSession::setPreferredBufferSize(size_t bufferSize) argument 147 UInt32 bufferSizeOut = std::min(maxBufferSize, std::max(minBufferSize, bufferSize)); 160 LOG(Media, "AudioSession::setPreferredBufferSize(%zu) - failed with error %d", bufferSize, static_cast<int>(result)); 162 LOG(Media, "AudioSession::setPreferredBufferSize(%zu)", bufferSize);
|
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/win/ |
H A D | FontPlatformDataCGWin.cpp | 54 DWORD bufferSize = GetFontData(dc, 'eman', 0, NULL, 0); // "name" backwards 55 if (bufferSize == 0 || bufferSize == GDI_ERROR || bufferSize > cMaxNameTableSize) 58 Vector<BYTE> bufferVector(bufferSize); 60 if (GetFontData(dc, 'eman', 0, buffer, bufferSize) == GDI_ERROR) 63 if (bufferSize < 6) 68 if (bufferSize < stringsOffset) 76 if (bufferSize < offset + 12) 89 if (bufferSize < stringsOffse [all...] |
H A D | FontPlatformDataWin.cpp | 59 UINT bufferSize = GetOutlineTextMetrics(hdc, 0, NULL); local 61 ASSERT_WITH_MESSAGE(bufferSize, "Bitmap fonts not supported with CoreGraphics."); 63 if (bufferSize) { 64 OUTLINETEXTMETRICW* metrics = (OUTLINETEXTMETRICW*)malloc(bufferSize); 66 GetOutlineTextMetricsW(hdc, bufferSize, metrics);
|
/macosx-10.9.5/xnu-2422.115.4/libkern/libkern/c++/ |
H A D | OSUnserialize.h | 80 * @param bufferSize The size of the block of memory. The function 81 * never scans beyond the first bufferSize bytes. 95 size_t bufferSize,
|
/macosx-10.9.5/expat-12/expat/tests/benchmark/ |
H A D | benchmark.c | 21 "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.9.5/PowerManagement-420.90.1/ioupsd/ |
H A D | IOUPSPrivate.c | 107 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.9.5/CF-855.17/ |
H A D | CFStringEncodingDatabase.h | 38 CF_PRIVATE bool __CFStringEncodingGetCanonicalName(CFStringEncoding encoding, char *buffer, CFIndex bufferSize);
|
/macosx-10.9.5/WebKit2-7537.78.2/Platform/CoreIPC/ |
H A D | ArgumentDecoder.cpp | 34 PassOwnPtr<ArgumentDecoder> ArgumentDecoder::create(const uint8_t* buffer, size_t bufferSize) argument 37 return adoptPtr(new ArgumentDecoder(buffer, bufferSize, attachments)); 40 ArgumentDecoder::ArgumentDecoder(const uint8_t* buffer, size_t bufferSize, Vector<Attachment>& attachments) argument 42 initialize(buffer, bufferSize); 69 void ArgumentDecoder::initialize(const uint8_t* buffer, size_t bufferSize) argument 73 m_allocatedBase = static_cast<uint8_t*>(malloc(bufferSize + expectedAlignment)); 78 m_bufferEnd = m_buffer + bufferSize; 79 memcpy(m_buffer, buffer, bufferSize);
|
H A D | ArgumentDecoder.h | 41 static PassOwnPtr<ArgumentDecoder> create(const uint8_t* buffer, size_t bufferSize); 97 ArgumentDecoder(const uint8_t* buffer, size_t bufferSize, Vector<Attachment>&); 99 void initialize(const uint8_t* buffer, size_t bufferSize);
|
/macosx-10.9.5/xnu-2422.115.4/bsd/hfs/hfscommon/headers/ |
H A D | BTreeScanner.h | 85 u_int32_t bufferSize; member in struct:BTScanState 106 u_int32_t bufferSize,
|
/macosx-10.9.5/WebCore-7537.78.1/platform/network/ |
H A D | SocketStreamHandleBase.cpp | 39 const unsigned int bufferSize = 100 * 1024 * 1024; member in namespace:WebCore 58 if (m_buffer.size() + length > bufferSize) { 72 if (m_buffer.size() + length - bytesWritten > bufferSize) { 126 ASSERT(m_buffer.size() - bytesWritten <= bufferSize);
|
/macosx-10.9.5/hfs-226.1.1/fsck_hfs/dfalib/ |
H A D | BTreeScanner.h | 49 u_int32_t bufferSize; member in struct:BTScanState
|
/macosx-10.9.5/WebCore-7537.78.1/platform/ |
H A D | FileStream.cpp | 119 int FileStream::read(char* buffer, int bufferSize) argument 125 int bytesToRead = (remaining < bufferSize) ? static_cast<int>(remaining) : bufferSize;
|
/macosx-10.9.5/IONetworkingFamily-100/ |
H A D | IONetworkData.h | 149 @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...] |
/macosx-10.9.5/WebCore-7537.78.1/platform/audio/ipp/ |
H A D | FFTFrameIPP.cpp | 59 int bufferSize = 0; local 60 ippsDFTGetBufSize_R_32f(m_DFTSpec, &bufferSize); 61 m_buffer = ippsMalloc_8u(bufferSize); 80 int bufferSize = 0; local 81 ippsDFTGetBufSize_R_32f(m_DFTSpec, &bufferSize); 82 m_buffer = ippsMalloc_8u(bufferSize);
|
/macosx-10.9.5/WebKit2-7537.78.2/WebProcess/WebPage/ |
H A D | DecoderAdapter.h | 37 DecoderAdapter(const uint8_t* buffer, size_t bufferSize);
|
/macosx-10.9.5/securityd-55199.3/src/ |
H A D | entropy.cpp | 98 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.9.5/bless-98/libbless/EFI/ |
H A D | BLValidateXMLBootOption.c | 270 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.9.5/Security-55471.14.18/include/security_utilities/ |
H A D | machrunloopserver.cpp | 51 void MachRunLoopServer::run(mach_msg_size_t bufferSize, mach_msg_options_t options) argument 54 mReplyMessage.setBuffer(bufferSize);
|
/macosx-10.9.5/Security-55471.14.18/libsecurity_utilities/lib/ |
H A D | machrunloopserver.cpp | 51 void MachRunLoopServer::run(mach_msg_size_t bufferSize, mach_msg_options_t options) argument 54 mReplyMessage.setBuffer(bufferSize);
|