Searched defs:bufferLength (Results 1 - 25 of 46) sorted by relevance

12

/external/chromium_org/content/shell/tools/plugin/Tests/
H A DPluginScriptableObjectOverridesAllProperties.cpp65 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 DSlowNPPNew.cpp64 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/chromium_org/third_party/WebKit/Source/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...]
H A DAudioDelayDSPKernel.cpp57 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/third_party/WebKit/Source/wtf/
H A DStringExtras.h96 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/WebKit/Source/modules/webaudio/
H A DConvolverNode.cpp133 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 DAudioBufferSourceNode.cpp202 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/aac/libSBRenc/src/
H A Dton_corr.h118 INT bufferLength; /*!< Length of the r and i buffers. */ member in struct:__anon270
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
H A DV8NPUtils.cpp115 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/fonts/
H A DGlyphPageTreeNode.cpp121 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/fonts/mac/
H A DSimpleFontDataCoreText.cpp75 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/ksoap2/ksoap2-base/src/main/java/org/ksoap2/transport/
H A DTransport.java62 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/core/svg/
H A DSVGFontData.cpp236 bool SVGFontData::fillSVGGlyphPage(GlyphPage* pageToFill, unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) const argument
245 if (bufferLength == length)
248 ASSERT(bufferLength == 2 * length);
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/
H A DImageDecoder.cpp35 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/WebKit/Source/platform/text/
H A DLocaleICU.cpp80 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/WebKit/Source/core/html/parser/
H A DTextResourceDecoder.cpp199 size_t bufferLength = m_buffer.size(); local
201 size_t buf1Len = bufferLength;
230 if (lengthOfBOM || bufferLength + len >= 4)
/external/chromium_org/third_party/icu/source/common/
H A Dloclikely.cpp34 * @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/webrtc/modules/utility/source/
H A Dfile_recorder_impl.cc312 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
/external/icu/icu4c/source/common/
H A Dloclikely.cpp34 * @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/smack/src/org/jivesoftware/smack/util/
H A DBase64.java1230 private int bufferLength; // Length of buffer (3 or 4) field in class:Base64.InputStream
1277 this.bufferLength = encode ? 4 : 3;
1278 this.buffer = new byte[ bufferLength ];
1392 if( position >= bufferLength )
1466 private int bufferLength; field in class:Base64.OutputStream
1512 this.bufferLength = encode ? 3 : 4;
1513 this.buffer = new byte[ bufferLength ];
1549 if( position >= bufferLength ) // Enough to encode.
1551 out.write( encode3to4( b4, buffer, bufferLength, options ) );
1571 if( position >= bufferLength ) // Enoug
[all...]
/external/pdfium/core/src/fxcodec/codec/
H A Dfx_codec_jpx_opj.cpp34 OPJ_SIZE_T bufferLength = (OPJ_SIZE_T)(srcData->src_size - srcData->offset); local
35 if(bufferLength <= 0) {
38 if(bufferLength <= p_nb_bytes) {
39 readlength = bufferLength;
51 OPJ_SIZE_T bufferLength = (OPJ_SIZE_T)(srcData->src_size - srcData->offset); local
52 if(bufferLength <= p_nb_bytes) {
53 writeLength = bufferLength;
/external/wpa_supplicant_8/hostapd/src/eap_server/
H A Dtncs.c267 TNC_UInt32 bufferLength,
281 TNC_UInt32 bufferLength,
263 TNC_TNCS_GetAttribute( TNC_IMVID imvID, TNC_ConnectionID connectionID, TNC_AttributeID attribureID, TNC_UInt32 bufferLength, TNC_BufferReference buffer, TNC_UInt32 *pOutValueLength) argument
277 TNC_TNCS_SetAttribute( TNC_IMVID imvID, TNC_ConnectionID connectionID, TNC_AttributeID attribureID, TNC_UInt32 bufferLength, TNC_BufferReference buffer) argument
/external/wpa_supplicant_8/src/eap_server/
H A Dtncs.c267 TNC_UInt32 bufferLength,
281 TNC_UInt32 bufferLength,
263 TNC_TNCS_GetAttribute( TNC_IMVID imvID, TNC_ConnectionID connectionID, TNC_AttributeID attribureID, TNC_UInt32 bufferLength, TNC_BufferReference buffer, TNC_UInt32 *pOutValueLength) argument
277 TNC_TNCS_SetAttribute( TNC_IMVID imvID, TNC_ConnectionID connectionID, TNC_AttributeID attribureID, TNC_UInt32 bufferLength, TNC_BufferReference buffer) argument
/external/wpa_supplicant_8/wpa_supplicant/src/eap_server/
H A Dtncs.c267 TNC_UInt32 bufferLength,
281 TNC_UInt32 bufferLength,
263 TNC_TNCS_GetAttribute( TNC_IMVID imvID, TNC_ConnectionID connectionID, TNC_AttributeID attribureID, TNC_UInt32 bufferLength, TNC_BufferReference buffer, TNC_UInt32 *pOutValueLength) argument
277 TNC_TNCS_SetAttribute( TNC_IMVID imvID, TNC_ConnectionID connectionID, TNC_AttributeID attribureID, TNC_UInt32 bufferLength, TNC_BufferReference buffer) argument

Completed in 920 milliseconds

12