Searched refs:bufferLength (Results 1 - 25 of 73) sorted by relevance

123

/macosx-10.10/WebCore-7600.1.25/platform/audio/
H A DReverbInputBuffer.cpp45 size_t bufferLength = m_buffer.size(); local
46 bool isCopySafe = m_writeIndex + numberOfFrames <= bufferLength;
54 ASSERT(m_writeIndex <= bufferLength);
56 if (m_writeIndex >= bufferLength)
62 size_t bufferLength = m_buffer.size(); local
63 bool isPointerGood = readIndex && *readIndex >= 0 && *readIndex + numberOfFrames <= bufferLength;
76 *readIndex = (*readIndex + numberOfFrames) % bufferLength;
H A DReverbAccumulationBuffer.cpp50 size_t bufferLength = m_buffer.size(); local
51 bool isCopySafe = m_readIndex <= bufferLength && numberOfFrames <= bufferLength;
57 size_t framesAvailable = bufferLength - m_readIndex;
71 m_readIndex = (m_readIndex + numberOfFrames) % bufferLength;
83 size_t bufferLength = m_buffer.size(); local
85 size_t writeIndex = (*readIndex + delayFrames) % bufferLength;
88 *readIndex = (*readIndex + numberOfFrames) % bufferLength;
90 size_t framesAvailable = bufferLength - writeIndex;
96 bool isSafe = writeIndex <= bufferLength
[all...]
/macosx-10.10/WebCore-7600.1.25/Modules/webaudio/
H A DDelayDSPKernel.cpp69 size_t bufferLength = bufferLengthForDelay(maxDelayTime, sampleRate);
70 ASSERT(bufferLength);
71 if (!bufferLength)
74 m_buffer.allocate(bufferLength);
89 size_t bufferLength = m_buffer.size(); local
92 ASSERT(bufferLength);
93 if (!bufferLength)
135 double readPosition = m_writeIndex + bufferLength - desiredDelayFrames;
136 if (readPosition >= bufferLength)
137 readPosition -= bufferLength;
[all...]
H A DConvolverNode.cpp126 size_t bufferLength = buffer->length(); local
129 bool isBufferGood = numberOfChannels > 0 && numberOfChannels <= 4 && bufferLength;
136 RefPtr<AudioBus> bufferBus = AudioBus::create(numberOfChannels, bufferLength, false);
138 bufferBus->setChannelMemory(i, buffer->getChannelData(i)->data(), bufferLength);
/macosx-10.10/WebCore-7600.1.25/platform/graphics/win/
H A DGlyphPageTreeNodeCGWin.cpp37 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) argument
39 // bufferLength will be greater than the requested number of glyphs if the buffer contains surrogate pairs.
41 if (bufferLength > length)
46 wkGetGlyphs(fontData->platformData().cgFont(), buffer, localGlyphBuffer, bufferLength);
H A DGlyphPageTreeNodeCairoWin.cpp37 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) argument
39 // bufferLength will be greater than the requested number of glyphs if the buffer contains surrogate pairs.
41 if (bufferLength > length)
51 DWORD result = GetGlyphIndices(dc, buffer, bufferLength, localGlyphBuffer, 0);
52 bool success = result != GDI_ERROR && static_cast<unsigned>(result) == bufferLength;
H A DDIBPixelData.h59 unsigned bufferLength() const { return m_bitmapBufferLength; } function in class:WebCore::DIBPixelData
/macosx-10.10/IOCDStorageFamily-51/
H A DIOCDMediaBSDClient.cpp40 uint32_t bufferLength; member in struct:__anon1385
53 uint32_t bufferLength; member in struct:__anon1386
72 uint16_t bufferLength; member in struct:__anon1387
91 uint16_t bufferLength; member in struct:__anon1389
99 uint16_t bufferLength; member in struct:__anon1391
107 uint16_t bufferLength; member in struct:__anon1392
120 uint16_t bufferLength; member in struct:__anon1393
133 uint16_t bufferLength; member in struct:__anon1394
238 /* length */ request->bufferLength,
255 request->bufferLength
[all...]
H A DIOCDMediaBSDClient.h64 uint32_t bufferLength; /* actual length on return */ member in struct:__anon1395
102 uint16_t bufferLength; /* actual length on return */ member in struct:__anon1398
114 uint16_t bufferLength; /* actual length on return */ member in struct:__anon1400
131 uint16_t bufferLength; /* actual length on return */ member in struct:__anon1401
/macosx-10.10/WebCore-7600.1.25/platform/graphics/freetype/
H A DUTF16UChar32Iterator.h34 UTF16UChar32Iterator(const UChar* buffer, unsigned bufferLength) argument
36 , m_bufferLength(bufferLength)
H A DGlyphPageTreeNodeFreeType.cpp42 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) argument
52 UTF16UChar32Iterator iterator(buffer, bufferLength);
/macosx-10.10/IOKitUser-1050.1.21/kext.subproj/
H A Dmisc_util.c30 CFIndex bufferLength = 0; local
36 bufferLength = sizeof('\0') +
40 result = (char *)malloc(bufferLength * sizeof(char));
44 if (!CFStringGetCString(aString, result, bufferLength,
H A DOSKextVersion.c394 uint32_t bufferLength)
407 if (!buffer || bufferLength < kOSKextVersionMaxLength) {
411 bzero(buffer, bufferLength * sizeof(char));
414 strlcpy(buffer, "(invalid)", bufferLength);
418 strlcpy(buffer, "(missing)", bufferLength);
424 strlcpy(buffer, "(invalid)", bufferLength);
444 strlcpy(buffer, "(invalid)", bufferLength);
448 cpos = snprintf(buffer, bufferLength, "%u", (uint32_t)vers_major);
454 cpos += snprintf(buffer+cpos, bufferLength - cpos, "%u", (uint32_t)vers_minor);
461 cpos += snprintf(buffer+cpos, bufferLength
391 OSKextVersionGetString( OSKextVersion aVersion, char * buffer, uint32_t bufferLength) argument
[all...]
/macosx-10.10/WebCore-7600.1.25/platform/graphics/wince/
H A DGlyphPageTreeNodeWinCE.cpp36 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) argument
38 if (length != bufferLength)
46 for (unsigned i = 0; i < bufferLength; ++i) {
55 for (unsigned i = 0; i < bufferLength; ++i) {
/macosx-10.10/IOBDStorageFamily-14/
H A DIOBDMediaBSDClient.h63 uint16_t bufferLength; member in struct:__anon1379
79 uint16_t bufferLength; member in struct:__anon1380
94 uint16_t bufferLength; member in struct:__anon1381
102 uint16_t bufferLength; /* actual length on return */ member in struct:__anon1382
115 uint16_t bufferLength; /* actual length on return */ member in struct:__anon1383
H A DIOBDMediaBSDClient.cpp43 uint16_t bufferLength; member in struct:__anon1369
59 uint16_t bufferLength; member in struct:__anon1370
75 uint16_t bufferLength; member in struct:__anon1371
91 uint16_t bufferLength; member in struct:__anon1372
106 uint16_t bufferLength; member in struct:__anon1373
121 uint16_t bufferLength; member in struct:__anon1374
129 uint16_t bufferLength; member in struct:__anon1375
137 uint16_t bufferLength; member in struct:__anon1376
150 uint16_t bufferLength; member in struct:__anon1377
163 uint16_t bufferLength; member in struct:__anon1378
[all...]
/macosx-10.10/IODVDStorageFamily-35/
H A DIODVDMediaBSDClient.h64 uint16_t bufferLength; member in struct:__anon1424
84 uint16_t bufferLength; member in struct:__anon1425
103 uint16_t bufferLength; member in struct:__anon1426
115 uint16_t bufferLength; /* actual length on return */ member in struct:__anon1427
132 uint16_t bufferLength; /* actual length on return */ member in struct:__anon1428
H A DIODVDMediaBSDClient.cpp41 uint16_t bufferLength; member in struct:__anon1414
57 uint16_t bufferLength; member in struct:__anon1415
73 uint16_t bufferLength; member in struct:__anon1416
89 uint16_t bufferLength; member in struct:__anon1417
104 uint16_t bufferLength; member in struct:__anon1418
119 uint16_t bufferLength; member in struct:__anon1419
127 uint16_t bufferLength; member in struct:__anon1420
135 uint16_t bufferLength; member in struct:__anon1421
148 uint16_t bufferLength; member in struct:__anon1422
161 uint16_t bufferLength; member in struct:__anon1423
[all...]
/macosx-10.10/WTF-7600.1.24/wtf/
H A DDecimalNumber.cpp102 unsigned DecimalNumber::toStringDecimal(LChar* buffer, unsigned bufferLength) const
104 ASSERT_UNUSED(bufferLength, bufferLength >= bufferLengthForStringDecimal());
158 unsigned DecimalNumber::toStringExponential(LChar* buffer, unsigned bufferLength) const
160 ASSERT_UNUSED(bufferLength, bufferLength >= bufferLengthForStringExponential());
/macosx-10.10/WebCore-7600.1.25/platform/graphics/mac/
H A DGlyphPageTreeNodeMac.cpp45 static bool shouldUseCoreText(const UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) argument
51 for (unsigned i = 0; i < bufferLength; ++i) {
60 bool GlyphPage::mayUseMixedFontDataWhenFilling(const UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) argument
63 return shouldUseCoreText(buffer, bufferLength, fontData);
66 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) argument
70 Vector<CGGlyph, 512> glyphs(bufferLength);
71 if (!shouldUseCoreText(buffer, bufferLength, fontData)) {
73 wkGetGlyphsForCharacters(fontData->platformData().cgFont(), buffer, glyphs.data(), bufferLength);
80 CGFontGetGlyphsForUnichars(fontData->platformData().cgFont(), buffer, glyphs.data(), bufferLength);
90 } else if (!fontData->platformData().isCompositeFontReference() && ((fontData->platformData().widthVariant() == RegularWidth) ? wkGetVerticalGlyphsForCharacters(fontData->platformData().ctFont(), buffer, glyphs.data(), bufferLength)
[all...]
/macosx-10.10/xnu-2782.1.97/libkern/
H A DOSKextVersion.c396 uint32_t bufferLength)
409 if (!buffer || bufferLength < kOSKextVersionMaxLength) {
413 bzero(buffer, bufferLength * sizeof(char));
416 strlcpy(buffer, "(invalid)", bufferLength);
420 strlcpy(buffer, "(missing)", bufferLength);
426 strlcpy(buffer, "(invalid)", bufferLength);
446 strlcpy(buffer, "(invalid)", bufferLength);
450 cpos = snprintf(buffer, bufferLength, "%u", (uint32_t)vers_major);
456 cpos += snprintf(buffer+cpos, bufferLength - cpos, "%u", (uint32_t)vers_minor);
463 cpos += snprintf(buffer+cpos, bufferLength
393 OSKextVersionGetString( OSKextVersion aVersion, char * buffer, uint32_t bufferLength) argument
[all...]
/macosx-10.10/Security-57031.1.35/Security/include/security_utilities/
H A Dbufferfifo.h50 BufferFifo(size_t es = 4096) : bufferLength(es) { }
68 const size_t bufferLength; member in class:Security::BufferFifo
/macosx-10.10/Security-57031.1.35/Security/libsecurity_utilities/lib/
H A Dbufferfifo.h50 BufferFifo(size_t es = 4096) : bufferLength(es) { }
68 const size_t bufferLength; member in class:Security::BufferFifo
/macosx-10.10/cddafs-253/
H A DAppleCDDAFileSystemUtilities.cpp158 vm_size_t bufferLength = 0; local
173 bufferLength = theData->getLength ( );
174 buffer = ( QTOCDataFormat10Ptr ) IOMalloc ( bufferLength );
180 bcopy ( theData->getBytesNoCopy ( ), buffer, bufferLength );
/macosx-10.10/IOKitUser-1050.1.21/network.subproj/
H A DIOUserEthernetController.h83 CFIndex bufferLength);
89 CFIndex bufferLength);

Completed in 187 milliseconds

123