/external/chromium_org/third_party/WebKit/Source/platform/audio/ |
H A D | ReverbInputBuffer.cpp | 45 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 D | ReverbAccumulationBuffer.cpp | 50 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...] |
H A D | AudioDelayDSPKernel.cpp | 57 size_t bufferLength = bufferLengthForDelay(maxDelayTime, sampleRate); 58 ASSERT(bufferLength); 59 if (!bufferLength) 62 m_buffer.allocate(bufferLength); 92 size_t bufferLength = m_buffer.size(); local 95 ASSERT(bufferLength); 96 if (!bufferLength) 138 double readPosition = m_writeIndex + bufferLength - desiredDelayFrames; 139 if (readPosition >= bufferLength) 140 readPosition -= bufferLength; [all...] |
/external/chromium_org/content/shell/tools/plugin/Tests/ |
H A D | PluginScriptableObjectOverridesAllProperties.cpp | 65 int bufferLength = strlen(propertyString) + strlen(message) + 1; local 66 char* resultBuffer = static_cast<char*>(pluginTest()->NPN_MemAlloc(bufferLength)); 67 snprintf(resultBuffer, bufferLength, "%s%s", message, propertyString);
|
H A D | SlowNPPNew.cpp | 64 int bufferLength = strlen(propertyString) + strlen(message) + 1; local 65 char* resultBuffer = static_cast<char*>(pluginTest()->NPN_MemAlloc(bufferLength)); 66 snprintf(resultBuffer, bufferLength, "%s%s", message, propertyString);
|
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/transport/ |
H A D | Transport.java | 62 private int bufferLength = ServiceConnection.DEFAULT_BUFFER_SIZE; field in class:Transport 76 public Transport(String url, int timeout, int bufferLength) { argument 79 this.bufferLength = bufferLength; 101 public Transport(Proxy proxy, String url, int timeout, int bufferLength) { argument 105 this.bufferLength = bufferLength; 124 ByteArrayOutputStream bos = new ByteArrayOutputStream(bufferLength);
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/ |
H A D | SimpleFontDataCoreText.cpp | 75 static bool shouldUseCoreText(UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) argument 83 if (bufferLength >= 2 && U_IS_SURROGATE(buffer[0]) && fontData->hasVerticalGlyphs()) { 91 for (unsigned i = 0; i < bufferLength; ++i) { 100 bool SimpleFontData::fillGlyphPage(GlyphPage* pageToFill, unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength) const 104 Vector<CGGlyph, 512> glyphs(bufferLength); 105 if (!shouldUseCoreText(buffer, bufferLength, this)) { 106 CGFontGetGlyphsForUnichars(platformData().cgFont(), buffer, glyphs.data(), bufferLength); local 114 && CTFontGetGlyphsForCharacters(platformData().ctFont(), buffer, glyphs.data(), bufferLength)) { 117 unsigned glyphStep = bufferLength / length; 126 RetainPtr<CFStringRef> string(AdoptCF, CFStringCreateWithCharactersNoCopy(kCFAllocatorDefault, buffer, bufferLength, kCFAllocatorNul [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
H A D | ConvolverNode.cpp | 133 size_t bufferLength = buffer->length(); local 136 bool isBufferGood = numberOfChannels > 0 && numberOfChannels <= 4 && bufferLength; 143 RefPtr<AudioBus> bufferBus = AudioBus::create(numberOfChannels, bufferLength, false); 145 bufferBus->setChannelMemory(i, buffer->getChannelData(i)->data(), bufferLength);
|
H A D | AudioBufferSourceNode.cpp | 202 size_t bufferLength = buffer()->length(); local 207 unsigned endFrame = m_isGrain ? AudioUtilities::timeToSampleFrame(m_grainOffset + m_grainDuration, bufferSampleRate) : bufferLength; 216 if (endFrame > bufferLength) 217 endFrame = bufferLength; 286 if (readIndex2 >= bufferLength) { 296 if (readIndex >= bufferLength || readIndex2 >= bufferLength)
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
H A D | StringExtras.h | 96 inline char* strnstr(const char* buffer, const char* target, size_t bufferLength) argument 101 for (const char* start = buffer; *start && start + targetLength <= buffer + bufferLength; start++) {
|
/external/chromium_org/third_party/icu/source/common/ |
H A D | unames.cpp | 215 #define WRITE_CHAR(buffer, bufferLength, bufferPos, c) { \ 216 if((bufferLength)>0) { \ 218 --(bufferLength); \ 240 char *buffer, uint16_t bufferLength) { 279 WRITE_CHAR(buffer, bufferLength, bufferPos, c); 294 WRITE_CHAR(buffer, bufferLength, bufferPos, c); 311 WRITE_CHAR(buffer, bufferLength, bufferPos, c); 318 if(bufferLength>0) { 448 static uint16_t getExtName(uint32_t code, char *buffer, uint16_t bufferLength) { argument 455 WRITE_CHAR(buffer, bufferLength, lengt 238 expandName(UCharNames *names, const uint8_t *name, uint16_t nameLength, UCharNameChoice nameChoice, char *buffer, uint16_t bufferLength) argument 567 expandGroupName(UCharNames *names, const uint16_t *group, uint16_t lineNumber, UCharNameChoice nameChoice, char *buffer, uint16_t bufferLength) argument 578 getName(UCharNames *names, uint32_t code, UCharNameChoice nameChoice, char *buffer, uint16_t bufferLength) argument 773 writeFactorSuffix(const uint16_t *factors, uint16_t count, const char *s, uint32_t code, uint16_t indexes[8], const char *elementBases[8], const char *elements[8], char *buffer, uint16_t bufferLength) argument 852 getAlgName(AlgorithmicRange *range, uint32_t code, UCharNameChoice nameChoice, char *buffer, uint16_t bufferLength) argument 1446 u_charName(UChar32 code, UCharNameChoice nameChoice, char *buffer, int32_t bufferLength, UErrorCode *pErrorCode) argument [all...] |
H A D | loclikely.cpp | 34 * @param bufferLength The length of the output buffer 40 int32_t bufferLength, 61 else if (resLen >= bufferLength) { 87 * @param bufferLength The length of the output buffer. This is an input/ouput parameter. 94 int32_t* bufferLength) { 96 if (*bufferLength > 0) { 97 buffer[*bufferLength] = '_'; 98 ++(*bufferLength); 102 &buffer[*bufferLength], 106 *bufferLength 38 findLikelySubtags(const char* localeID, char* buffer, int32_t bufferLength, UErrorCode* err) argument 90 appendTag( const char* tag, int32_t tagLength, char* buffer, int32_t* bufferLength) argument [all...] |
/external/icu/icu4c/source/common/ |
H A D | unames.cpp | 215 #define WRITE_CHAR(buffer, bufferLength, bufferPos, c) { \ 216 if((bufferLength)>0) { \ 218 --(bufferLength); \ 240 char *buffer, uint16_t bufferLength) { 279 WRITE_CHAR(buffer, bufferLength, bufferPos, c); 294 WRITE_CHAR(buffer, bufferLength, bufferPos, c); 311 WRITE_CHAR(buffer, bufferLength, bufferPos, c); 318 if(bufferLength>0) { 448 static uint16_t getExtName(uint32_t code, char *buffer, uint16_t bufferLength) { argument 455 WRITE_CHAR(buffer, bufferLength, lengt 238 expandName(UCharNames *names, const uint8_t *name, uint16_t nameLength, UCharNameChoice nameChoice, char *buffer, uint16_t bufferLength) argument 567 expandGroupName(UCharNames *names, const uint16_t *group, uint16_t lineNumber, UCharNameChoice nameChoice, char *buffer, uint16_t bufferLength) argument 578 getName(UCharNames *names, uint32_t code, UCharNameChoice nameChoice, char *buffer, uint16_t bufferLength) argument 773 writeFactorSuffix(const uint16_t *factors, uint16_t count, const char *s, uint32_t code, uint16_t indexes[8], const char *elementBases[8], const char *elements[8], char *buffer, uint16_t bufferLength) argument 852 getAlgName(AlgorithmicRange *range, uint32_t code, UCharNameChoice nameChoice, char *buffer, uint16_t bufferLength) argument 1450 u_charName(UChar32 code, UCharNameChoice nameChoice, char *buffer, int32_t bufferLength, UErrorCode *pErrorCode) argument [all...] |
H A D | loclikely.cpp | 34 * @param bufferLength The length of the output buffer 40 int32_t bufferLength, 61 else if (resLen >= bufferLength) { 87 * @param bufferLength The length of the output buffer. This is an input/ouput parameter. 94 int32_t* bufferLength) { 96 if (*bufferLength > 0) { 97 buffer[*bufferLength] = '_'; 98 ++(*bufferLength); 102 &buffer[*bufferLength], 106 *bufferLength 38 findLikelySubtags(const char* localeID, char* buffer, int32_t bufferLength, UErrorCode* err) argument 90 appendTag( const char* tag, int32_t tagLength, char* buffer, int32_t* bufferLength) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
H A D | V8NPUtils.cpp | 115 int bufferLength = str->Utf8Length() + 1; local 116 if (bufferLength <= kStackBufferSize) { 120 // WriteUtf8 is guaranteed to generate a null-terminated string because bufferLength is constructed to be one greater 123 str->WriteUtf8(stackBuffer, bufferLength);
|
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/ |
H A D | ImageDecoder.cpp | 35 static unsigned copyFromSharedBuffer(char* buffer, unsigned bufferLength, const SharedBuffer& sharedBuffer, unsigned offset) argument 40 unsigned bytesToCopy = std::min(bufferLength - bytesExtracted, moreDataLength); 43 if (bytesExtracted == bufferLength)
|
/external/chromium_org/third_party/webrtc/modules/media_file/interface/ |
H A D | media_file.h | 128 // Write one audio frame, i.e. the bufferLength first bytes of audioBuffer, 131 // Note: bufferLength must be exactly one frame. 134 const uint32_t bufferLength) = 0; 136 // Write one video frame, i.e. the bufferLength first bytes of videoBuffer, 144 const uint32_t bufferLength) = 0;
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
H A D | SVGFontData.h | 47 virtual bool fillSVGGlyphPage(GlyphPage*, unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData*) const OVERRIDE;
|
/external/chromium_org/third_party/webrtc/modules/media_file/source/ |
H A D | media_file_utility.h | 67 // Note: bufferLength must be exactly one frame. 72 // Write one video frame, i.e. the bufferLength first bytes of videoBuffer, 114 const uint32_t bufferLength); 122 // Write one audio frame, i.e. the bufferLength first bytes of audioBuffer, 128 const uint32_t bufferLength); 158 // Write one 10ms audio frame, i.e. the bufferLength first bytes of 164 uint32_t bufferLength); 185 // Write one audio frame, i.e. the bufferLength first bytes of audioBuffer, 189 // Note: bufferLength must be exactly one frame. 192 const uint32_t bufferLength); [all...] |
H A D | media_file_impl.h | 62 const uint32_t bufferLength) OVERRIDE; 64 const uint32_t bufferLength) OVERRIDE; 163 // Write one frame, i.e. the bufferLength first bytes of audioBuffer, 167 const uint32_t bufferLength,
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
H A D | GlyphPageTreeNode.cpp | 121 static bool fill(GlyphPage* pageToFill, unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) argument 125 return fontData->customFontData()->fillSVGGlyphPage(pageToFill, offset, length, buffer, bufferLength, fontData); 127 bool hasGlyphs = fontData->fillGlyphPage(pageToFill, offset, length, buffer, bufferLength); 155 unsigned bufferLength; local 160 bufferLength = GlyphPage::size; 207 bufferLength = GlyphPage::size * 2; 223 haveGlyphs = fill(m_page.get(), 0, GlyphPage::size, buffer, bufferLength, toSimpleFontData(fontData));
|
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
H A D | LocaleICU.cpp | 80 int32_t bufferLength = unum_getSymbol(m_numberFormat, symbol, 0, 0, &status); local 84 StringBuffer<UChar> buffer(bufferLength); 86 unum_getSymbol(m_numberFormat, symbol, buffer.characters(), bufferLength, &status); 95 int32_t bufferLength = unum_getTextAttribute(m_numberFormat, tag, 0, 0, &status); local 99 StringBuffer<UChar> buffer(bufferLength); 101 unum_getTextAttribute(m_numberFormat, tag, buffer.characters(), bufferLength, &status);
|
/external/chromium_org/third_party/webrtc/modules/utility/source/ |
H A D | file_recorder_impl.cc | 312 uint16_t bufferLength, 316 return _moduleFile->IncomingAudioData(audioBuffer, bufferLength); 684 uint16_t bufferLength, 694 if (bufferLength > MAX_AUDIO_BUFFER_IN_BYTES) 712 bufferLength, 717 bufferLength, 310 WriteEncodedAudioData( const int8_t* audioBuffer, uint16_t bufferLength, uint16_t , const TickTime* ) argument 682 WriteEncodedAudioData( const int8_t* audioBuffer, uint16_t bufferLength, uint16_t millisecondsOfData, const TickTime* playoutTS) argument
|
H A D | file_recorder_impl.h | 89 uint16_t bufferLength, 154 uint16_t bufferLength,
|
/external/aac/libSBRenc/src/ |
H A D | ton_corr.h | 118 INT bufferLength; /*!< Length of the r and i buffers. */ member in struct:__anon270
|