buffer 39 LayoutTests/http/tests/media/resources/serve-video.php $buffer = fread($fn, $readSize); buffer 40 LayoutTests/http/tests/media/resources/serve-video.php print($buffer); buffer 46 ManualTests/NPN_Invoke/main.c int32_t NPP_Write(NPP instance, NPStream* stream, int32_t offset, int32_t len, void* buffer); buffer 199 ManualTests/NPN_Invoke/main.c int32_t NPP_Write(NPP instance, NPStream* stream, int32_t offset, int32_t len, void* buffer) buffer 1295 Source/bindings/templates/interface.cpp channelData->buffer()->setDeallocationObserver(V8ArrayBufferDeallocationObserver::instanceTemplate()); buffer 147 Source/bindings/v8/IDBBindingUtilities.cpp return deserializeIDBValueBuffer(impl->buffer(), isolate); buffer 157 Source/bindings/v8/IDBBindingUtilities.cpp v8::Handle<v8::Value> value = deserializeIDBValueBuffer(impl->buffer(), isolate); buffer 352 Source/bindings/v8/IDBBindingUtilities.cpp static v8::Handle<v8::Value> deserializeIDBValueBuffer(SharedBuffer* buffer, v8::Isolate* isolate) buffer 355 Source/bindings/v8/IDBBindingUtilities.cpp if (!buffer) buffer 360 Source/bindings/v8/IDBBindingUtilities.cpp value.append(buffer->data(), buffer->size()); buffer 444 Source/bindings/v8/IDBBindingUtilities.cpp void assertPrimaryKeyValidOrInjectable(DOMRequestState* state, PassRefPtr<SharedBuffer> buffer, PassRefPtr<IDBKey> prpKey, const IDBKeyPath& keyPath) buffer 452 Source/bindings/v8/IDBBindingUtilities.cpp ScriptValue scriptValue(deserializeIDBValueBuffer(buffer.get(), isolate), isolate); buffer 107 Source/bindings/v8/NPV8Object.cpp char buffer[32]; buffer 108 Source/bindings/v8/NPV8Object.cpp snprintf(buffer, sizeof(buffer), "%d", identifier->value.number); buffer 109 Source/bindings/v8/NPV8Object.cpp return v8AtomicString(isolate, buffer); buffer 376 Source/bindings/v8/SerializedScriptValue.cpp char* buffer = reinterpret_cast<char*>(byteAt(m_position)); buffer 377 Source/bindings/v8/SerializedScriptValue.cpp string->WriteUtf8(buffer, utf8Length, 0, v8StringWriteOptions()); buffer 397 Source/bindings/v8/SerializedScriptValue.cpp uint16_t* buffer = reinterpret_cast<uint16_t*>(byteAt(m_position)); buffer 398 Source/bindings/v8/SerializedScriptValue.cpp string->Write(buffer, 0, length, v8StringWriteOptions()); buffer 525 Source/bindings/v8/SerializedScriptValue.cpp const ArrayBuffer& arrayBuffer = *arrayBufferView.buffer(); buffer 1330 Source/bindings/v8/SerializedScriptValue.cpp if (!arrayBufferView->buffer()) buffer 1332 Source/bindings/v8/SerializedScriptValue.cpp v8::Handle<v8::Value> underlyingBuffer = toV8(arrayBufferView->buffer(), v8::Handle<v8::Object>(), m_isolate); buffer 1546 Source/bindings/v8/SerializedScriptValue.cpp Reader(const uint8_t* buffer, int length, v8::Isolate* isolate, const BlobDataHandleMap& blobDataHandles) buffer 1547 Source/bindings/v8/SerializedScriptValue.cpp : m_buffer(buffer) buffer 1554 Source/bindings/v8/SerializedScriptValue.cpp ASSERT(!(reinterpret_cast<size_t>(buffer) & 1)); buffer 2579 Source/bindings/v8/SerializedScriptValue.cpp RefPtr<ArrayBuffer> buffer = ArrayBuffer::create(m_arrayBufferContents->at(index)); buffer 2580 Source/bindings/v8/SerializedScriptValue.cpp buffer->setDeallocationObserver(V8ArrayBufferDeallocationObserver::instanceTemplate()); buffer 2581 Source/bindings/v8/SerializedScriptValue.cpp m_reader.isolate()->AdjustAmountOfExternalAllocatedMemory(buffer->byteLength()); buffer 2582 Source/bindings/v8/SerializedScriptValue.cpp result = toV8Object(buffer.get(), m_reader.getIsolate()); buffer 2702 Source/bindings/v8/SerializedScriptValue.cpp StringBuffer<UChar> buffer(length); buffer 2704 Source/bindings/v8/SerializedScriptValue.cpp UChar* dst = buffer.characters(); buffer 2708 Source/bindings/v8/SerializedScriptValue.cpp return createFromWire(String::adopt(buffer)); buffer 166 Source/bindings/v8/V8PerContextData.cpp char buffer[32]; buffer 169 Source/bindings/v8/V8PerContextData.cpp wanted = snprintf(buffer, sizeof(buffer), "%s", worldName); buffer 171 Source/bindings/v8/V8PerContextData.cpp wanted = snprintf(buffer, sizeof(buffer), "%s,%d", worldName, debugId); buffer 173 Source/bindings/v8/V8PerContextData.cpp if (wanted < sizeof(buffer)) buffer 174 Source/bindings/v8/V8PerContextData.cpp return v8AtomicString(isolate, buffer); buffer 83 Source/bindings/v8/V8StringResource.cpp UChar* buffer; buffer 84 Source/bindings/v8/V8StringResource.cpp String result = String::createUninitialized(length, buffer); buffer 85 Source/bindings/v8/V8StringResource.cpp v8String->Write(reinterpret_cast<uint16_t*>(buffer), 0, length); buffer 99 Source/bindings/v8/V8StringResource.cpp UChar* buffer; buffer 100 Source/bindings/v8/V8StringResource.cpp String result = String::createUninitialized(length, buffer); buffer 101 Source/bindings/v8/V8StringResource.cpp v8String->Write(reinterpret_cast<uint16_t*>(buffer), 0, length); buffer 109 Source/bindings/v8/V8StringResource.cpp LChar* buffer; buffer 110 Source/bindings/v8/V8StringResource.cpp String result = String::createUninitialized(length, buffer); buffer 111 Source/bindings/v8/V8StringResource.cpp v8String->WriteOneByte(buffer, 0, length); buffer 125 Source/bindings/v8/V8StringResource.cpp LChar* buffer; buffer 126 Source/bindings/v8/V8StringResource.cpp String string = String::createUninitialized(length, buffer); buffer 127 Source/bindings/v8/V8StringResource.cpp v8String->WriteOneByte(buffer, 0, length); buffer 88 Source/bindings/v8/custom/V8ArrayBufferCustom.cpp RefPtr<ArrayBuffer> buffer = ArrayBuffer::create(contents); buffer 89 Source/bindings/v8/custom/V8ArrayBufferCustom.cpp V8DOMWrapper::associateObjectWithWrapper<V8ArrayBuffer>(buffer.release(), &wrapperTypeInfo, object, v8::Isolate::GetCurrent(), WrapperConfiguration::Dependent); buffer 47 Source/bindings/v8/custom/V8CryptoCustom.cpp v8::Handle<v8::Value> buffer = info[0]; buffer 48 Source/bindings/v8/custom/V8CryptoCustom.cpp if (!V8ArrayBufferView::hasInstance(buffer, info.GetIsolate())) { buffer 51 Source/bindings/v8/custom/V8CryptoCustom.cpp ArrayBufferView* arrayBufferView = V8ArrayBufferView::toNative(v8::Handle<v8::Object>::Cast(buffer)); buffer 61 Source/bindings/v8/custom/V8CryptoCustom.cpp v8SetReturnValue(info, buffer); buffer 143 Source/bindings/v8/custom/V8TypedArrayCustom.h RefPtr<ArrayBuffer> buffer = impl->buffer(); buffer 144 Source/bindings/v8/custom/V8TypedArrayCustom.h v8::Local<v8::Value> v8Buffer = WebCore::toV8(buffer.get(), creationContext, isolate); buffer 131 Source/core/animation/CompositorAnimationsTestHelper.h virtual void cryptographicallyRandomValues(unsigned char* buffer, size_t length) { ASSERT_NOT_REACHED(); } buffer 45 Source/core/clipboard/DataObject.cpp blink::WebClipboard::Buffer buffer = Pasteboard::generalPasteboard()->buffer(); buffer 46 Source/core/clipboard/DataObject.cpp uint64_t sequenceNumber = blink::Platform::current()->clipboard()->sequenceNumber(buffer); buffer 48 Source/core/clipboard/DataObject.cpp blink::WebVector<blink::WebString> webTypes = blink::Platform::current()->clipboard()->readAvailableTypes(buffer, &ignored); buffer 225 Source/core/clipboard/DataObject.cpp void DataObject::addSharedBuffer(const String& name, PassRefPtr<SharedBuffer> buffer) buffer 227 Source/core/clipboard/DataObject.cpp internalAddFileItem(DataObjectItem::createFromSharedBuffer(name, buffer)); buffer 72 Source/core/clipboard/DataObjectItem.cpp PassRefPtrWillBeRawPtr<DataObjectItem> DataObjectItem::createFromSharedBuffer(const String& name, PassRefPtr<SharedBuffer> buffer) buffer 75 Source/core/clipboard/DataObjectItem.cpp item->m_sharedBuffer = buffer; buffer 150 Source/core/clipboard/DataObjectItem.cpp blink::WebClipboard::Buffer buffer = Pasteboard::generalPasteboard()->buffer(); buffer 154 Source/core/clipboard/DataObjectItem.cpp data = blink::Platform::current()->clipboard()->readPlainText(buffer); buffer 158 Source/core/clipboard/DataObjectItem.cpp data = blink::Platform::current()->clipboard()->readHTML(buffer, &ignoredSourceURL, &ignored, &ignored); buffer 160 Source/core/clipboard/DataObjectItem.cpp data = blink::Platform::current()->clipboard()->readCustomData(buffer, m_type); buffer 163 Source/core/clipboard/DataObjectItem.cpp return blink::Platform::current()->clipboard()->sequenceNumber(buffer) == m_sequenceNumber ? data : String(); buffer 70 Source/core/clipboard/Pasteboard.h blink::WebClipboard::Buffer buffer() const { return m_buffer; } buffer 90 Source/core/css/CSSCanvasValue.cpp if (!elt || !elt->buffer()) buffer 132 Source/core/css/CSSMarkup.cpp StringBuffer<CharacterType> buffer(quotedStringSize); buffer 134 Source/core/css/CSSMarkup.cpp buffer[index++] = '\''; buffer 139 Source/core/css/CSSMarkup.cpp buffer[index++] = '\\'; buffer 140 Source/core/css/CSSMarkup.cpp buffer[index++] = ch; buffer 143 Source/core/css/CSSMarkup.cpp buffer[index++] = '\\'; buffer 144 Source/core/css/CSSMarkup.cpp placeByteAsHexCompressIfPossible(ch, buffer, index, Lowercase); buffer 149 Source/core/css/CSSMarkup.cpp buffer[index++] = ' '; buffer 150 Source/core/css/CSSMarkup.cpp buffer[index++] = ch; buffer 154 Source/core/css/CSSMarkup.cpp buffer[index++] = '\''; buffer 157 Source/core/css/CSSMarkup.cpp return String::adopt(buffer); buffer 936 Source/core/css/CSSPrimitiveValue.cpp StringBuffer<LChar> buffer(decimal.bufferLengthForStringDecimal() + suffixLength); buffer 937 Source/core/css/CSSPrimitiveValue.cpp unsigned length = decimal.toStringDecimal(buffer.characters(), buffer.length()); buffer 938 Source/core/css/CSSPrimitiveValue.cpp ASSERT(length + suffixLength == buffer.length()); buffer 941 Source/core/css/CSSPrimitiveValue.cpp buffer[length + i] = static_cast<LChar>(suffix[i]); buffer 943 Source/core/css/CSSPrimitiveValue.cpp return String::adopt(buffer); buffer 312 Source/core/css/CSSTokenizer-in.cpp OwnPtr<UChar[]> buffer = adoptArrayPtr(new UChar[len]); buffer 314 Source/core/css/CSSTokenizer-in.cpp UChar* bufferPtr = buffer.get(); buffer 316 Source/core/css/CSSTokenizer-in.cpp m_cssStrings16.append(buffer.release()); buffer 605 Source/core/css/FontFace.cpp RefPtr<SharedBuffer> buffer = SharedBuffer::create(data, size); buffer 606 Source/core/css/FontFace.cpp OwnPtr<BinaryDataFontFaceSource> source = adoptPtr(new BinaryDataFontFaceSource(buffer.get())); buffer 8002 Source/core/css/parser/CSSPropertyParser.cpp char buffer[maxCSSPropertyNameLength + 1]; // 1 for null character buffer 8008 Source/core/css/parser/CSSPropertyParser.cpp buffer[i] = toASCIILower(c); buffer 8010 Source/core/css/parser/CSSPropertyParser.cpp buffer[length] = '\0'; buffer 8012 Source/core/css/parser/CSSPropertyParser.cpp const char* name = buffer; buffer 8044 Source/core/css/parser/CSSPropertyParser.cpp char buffer[maxCSSValueKeywordLength + 1]; // 1 for null character buffer 8050 Source/core/css/parser/CSSPropertyParser.cpp buffer[i] = WTF::toASCIILower(c); buffer 8052 Source/core/css/parser/CSSPropertyParser.cpp buffer[length] = '\0'; buffer 8054 Source/core/css/parser/CSSPropertyParser.cpp const Value* hashTableEntry = findValue(buffer, length); buffer 70 Source/core/css/parser/MediaQueryToken.cpp char buffer[std::numeric_limits<float>::digits10]; buffer 83 Source/core/css/parser/MediaQueryToken.cpp sprintf(buffer, "%c", m_delimiter); buffer 84 Source/core/css/parser/MediaQueryToken.cpp return String(buffer, strlen(buffer)); buffer 96 Source/core/css/parser/MediaQueryToken.cpp sprintf(buffer, "%d%s", static_cast<int>(m_numericValue), unitBuffer); buffer 98 Source/core/css/parser/MediaQueryToken.cpp sprintf(buffer, "%f%s", m_numericValue, unitBuffer); buffer 100 Source/core/css/parser/MediaQueryToken.cpp return String(buffer, strlen(buffer)); buffer 1271 Source/core/dom/Document.cpp StringBuffer<CharacterType> buffer(length); buffer 1291 Source/core/dom/Document.cpp buffer[builderIndex++] = ' '; buffer 1294 Source/core/dom/Document.cpp buffer[builderIndex++] = c; buffer 1302 Source/core/dom/Document.cpp if (buffer[builderIndex] != ' ') buffer 1306 Source/core/dom/Document.cpp if (!builderIndex && buffer[builderIndex] == ' ') buffer 1309 Source/core/dom/Document.cpp buffer.shrink(builderIndex + 1); buffer 1311 Source/core/dom/Document.cpp return String::adopt(buffer); buffer 1904 Source/core/dom/Element.cpp void Element::formatForDebugger(char* buffer, unsigned length) const buffer 1927 Source/core/dom/Element.cpp strncpy(buffer, result.toString().utf8().data(), length - 1); buffer 617 Source/core/dom/Element.h virtual void formatForDebugger(char* buffer, unsigned length) const OVERRIDE; buffer 1828 Source/core/dom/Node.cpp void Node::formatForDebugger(char* buffer, unsigned length) const buffer 1839 Source/core/dom/Node.cpp strncpy(buffer, result.utf8().data(), length - 1); buffer 581 Source/core/dom/Node.h virtual void formatForDebugger(char* buffer, unsigned length) const; buffer 1328 Source/core/dom/Position.cpp void Position::formatForDebugger(char* buffer, unsigned length) const buffer 1343 Source/core/dom/Position.cpp strncpy(buffer, result.toString().utf8().data(), length - 1); buffer 201 Source/core/dom/Position.h void formatForDebugger(char* buffer, unsigned length) const; buffer 1579 Source/core/dom/Range.cpp void Range::formatForDebugger(char* buffer, unsigned length) const buffer 1601 Source/core/dom/Range.cpp strncpy(buffer, result.toString().utf8().data(), length - 1); buffer 150 Source/core/dom/Range.h void formatForDebugger(char* buffer, unsigned length) const; buffer 360 Source/core/dom/Text.cpp void Text::formatForDebugger(char *buffer, unsigned length) const buffer 375 Source/core/dom/Text.cpp strncpy(buffer, result.toString().utf8().data(), length - 1); buffer 77 Source/core/dom/Text.h virtual void formatForDebugger(char* buffer, unsigned length) const OVERRIDE; buffer 1858 Source/core/editing/FrameSelection.cpp void FrameSelection::formatForDebugger(char* buffer, unsigned length) const buffer 1860 Source/core/editing/FrameSelection.cpp m_selection.formatForDebugger(buffer, length); buffer 180 Source/core/editing/FrameSelection.h void formatForDebugger(char* buffer, unsigned length) const; buffer 2081 Source/core/editing/TextIterator.cpp SearchBuffer buffer(target, options); buffer 2083 Source/core/editing/TextIterator.cpp if (buffer.needsMoreContext()) { buffer 2090 Source/core/editing/TextIterator.cpp buffer.prependContext(characters.data(), characters.size()); buffer 2091 Source/core/editing/TextIterator.cpp if (!buffer.needsMoreContext()) buffer 2097 Source/core/editing/TextIterator.cpp it.appendTextTo(buffer); buffer 2098 Source/core/editing/TextIterator.cpp it.advance(buffer.numberOfCharactersJustAppended()); buffer 2101 Source/core/editing/TextIterator.cpp if (size_t newMatchLength = buffer.search(matchStartOffset)) { buffer 2113 Source/core/editing/TextIterator.cpp if (it.atBreak() && !buffer.atBreak()) { buffer 2114 Source/core/editing/TextIterator.cpp buffer.reachedBreak(); buffer 711 Source/core/editing/VisiblePosition.cpp void VisiblePosition::formatForDebugger(char* buffer, unsigned length) const buffer 713 Source/core/editing/VisiblePosition.cpp m_deepPosition.formatForDebugger(buffer, length); buffer 104 Source/core/editing/VisiblePosition.h void formatForDebugger(char* buffer, unsigned length) const; buffer 784 Source/core/editing/VisibleSelection.cpp void VisibleSelection::formatForDebugger(char* buffer, unsigned length) const buffer 802 Source/core/editing/VisibleSelection.cpp strncpy(buffer, result.toString().utf8().data(), length - 1); buffer 133 Source/core/editing/VisibleSelection.h void formatForDebugger(char* buffer, unsigned length) const; buffer 234 Source/core/editing/markup.cpp StringBuilder buffer; buffer 235 Source/core/editing/markup.cpp appendCharactersReplacingEntities(buffer, content, 0, content.length(), EntityMaskInPCDATA); buffer 236 Source/core/editing/markup.cpp out.append(convertHTMLTextToInterchangeFormat(buffer.toString(), text)); buffer 104 Source/core/fetch/CachingCorrectnessTest.cpp virtual void cryptographicallyRandomValues(unsigned char* buffer, size_t length) { ASSERT_NOT_REACHED(); } buffer 55 Source/core/fileapi/Stream.cpp RefPtr<RawData> buffer(RawData::create()); buffer 56 Source/core/fileapi/Stream.cpp buffer->mutableData()->resize(len); buffer 57 Source/core/fileapi/Stream.cpp memcpy(buffer->mutableData()->data(), data, len); buffer 58 Source/core/fileapi/Stream.cpp BlobRegistry::addDataToStream(m_internalURL, buffer); buffer 90 Source/core/frame/ImageBitmap.cpp m_bitmap = cropImage(canvas->buffer()->copyImage(CopyBackingStore).get(), cropRect); buffer 554 Source/core/frame/LocalFrame.cpp OwnPtr<ImageBuffer> buffer = ImageBuffer::create(paintingRect.size()); buffer 555 Source/core/frame/LocalFrame.cpp if (!buffer) buffer 557 Source/core/frame/LocalFrame.cpp buffer->context()->scale(FloatSize(deviceScaleFactor, deviceScaleFactor)); buffer 558 Source/core/frame/LocalFrame.cpp buffer->context()->translate(-paintingRect.x(), -paintingRect.y()); buffer 559 Source/core/frame/LocalFrame.cpp buffer->context()->clip(FloatRect(0, 0, paintingRect.maxX(), paintingRect.maxY())); buffer 561 Source/core/frame/LocalFrame.cpp m_view->paintContents(buffer->context(), paintingRect); buffer 563 Source/core/frame/LocalFrame.cpp RefPtr<Image> image = buffer->copyImage(); buffer 583 Source/core/frame/LocalFrame.cpp OwnPtr<ImageBuffer> buffer = ImageBuffer::create(paintingRect.size()); buffer 584 Source/core/frame/LocalFrame.cpp if (!buffer) buffer 586 Source/core/frame/LocalFrame.cpp buffer->context()->scale(FloatSize(deviceScaleFactor, deviceScaleFactor)); buffer 587 Source/core/frame/LocalFrame.cpp buffer->context()->translate(-paintingRect.x(), -paintingRect.y()); buffer 588 Source/core/frame/LocalFrame.cpp buffer->context()->clip(FloatRect(0, 0, paintingRect.maxX(), paintingRect.maxY())); buffer 590 Source/core/frame/LocalFrame.cpp m_view->paintContents(buffer->context(), paintingRect); buffer 592 Source/core/frame/LocalFrame.cpp RefPtr<Image> image = buffer->copyImage(); buffer 321 Source/core/html/HTMLCanvasElement.cpp ImageBuffer* imageBuffer = buffer(); buffer 344 Source/core/html/HTMLCanvasElement.cpp m_presentedImage = buffer()->copyImage(CopyBackingStore, Unscaled); buffer 387 Source/core/html/HTMLCanvasElement.cpp if (m_size.isEmpty() || !buffer()) buffer 401 Source/core/html/HTMLCanvasElement.cpp return buffer()->toDataURL(encodingMimeType, quality); buffer 554 Source/core/html/HTMLCanvasElement.cpp return buffer() ? m_imageBuffer->context() : 0; buffer 586 Source/core/html/HTMLCanvasElement.cpp if (!m_copiedImage && buffer()) { buffer 589 Source/core/html/HTMLCanvasElement.cpp m_copiedImage = buffer()->copyImage(CopyBackingStore, Unscaled); buffer 664 Source/core/html/HTMLCanvasElement.cpp if (!buffer()) { buffer 114 Source/core/html/HTMLCanvasElement.h ImageBuffer* buffer() const; buffer 80 Source/core/html/HTMLMetaElement-in.cpp String buffer = content.lower(); buffer 83 Source/core/html/HTMLMetaElement-in.cpp while (isSeparator(buffer[i])) { buffer 91 Source/core/html/HTMLMetaElement-in.cpp while (!isSeparator(buffer[i])) { buffer 92 Source/core/html/HTMLMetaElement-in.cpp error |= isInvalidSeparator(buffer[i]); buffer 98 Source/core/html/HTMLMetaElement-in.cpp while (buffer[i] != '=') { buffer 99 Source/core/html/HTMLMetaElement-in.cpp error |= isInvalidSeparator(buffer[i]); buffer 100 Source/core/html/HTMLMetaElement-in.cpp if (buffer[i] == ',' || i >= length) buffer 106 Source/core/html/HTMLMetaElement-in.cpp while (isSeparator(buffer[i])) { buffer 107 Source/core/html/HTMLMetaElement-in.cpp if (buffer[i] == ',' || i >= length) buffer 114 Source/core/html/HTMLMetaElement-in.cpp while (!isSeparator(buffer[i])) { buffer 115 Source/core/html/HTMLMetaElement-in.cpp error |= isInvalidSeparator(buffer[i]); buffer 122 Source/core/html/HTMLMetaElement-in.cpp String keyString = buffer.substring(keyBegin, keyEnd - keyBegin); buffer 123 Source/core/html/HTMLMetaElement-in.cpp String valueString = buffer.substring(valueBegin, valueEnd - valueBegin); buffer 152 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (canvas()->buffer()) { buffer 188 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (canvas()->hasImageBuffer() && canvas()->buffer()->restoreSurface()) { buffer 199 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (canvas()->buffer()) buffer 1578 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (sourceImageStatus == ExternalSourceImageStatus && isAccelerated() && canvas()->buffer()) buffer 1579 Source/core/html/canvas/CanvasRenderingContext2D.cpp canvas()->buffer()->flush(); buffer 1896 Source/core/html/canvas/CanvasRenderingContext2D.cpp ImageBuffer* buffer = canvas()->buffer(); buffer 1897 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (!buffer || isContextLost()) buffer 1900 Source/core/html/canvas/CanvasRenderingContext2D.cpp RefPtr<Uint8ClampedArray> byteArray = buffer->getUnmultipliedImageData(imageDataRect); buffer 1937 Source/core/html/canvas/CanvasRenderingContext2D.cpp ImageBuffer* buffer = canvas()->buffer(); buffer 1938 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (!buffer) buffer 1956 Source/core/html/canvas/CanvasRenderingContext2D.cpp destRect.intersect(IntRect(IntPoint(), buffer->size())); buffer 1962 Source/core/html/canvas/CanvasRenderingContext2D.cpp buffer->putByteArray(Unmultiplied, data->data(), IntSize(data->width(), data->height()), sourceRect, IntPoint(destOffset)); buffer 2324 Source/core/html/canvas/CanvasRenderingContext2D.cpp return canvas()->buffer() ? canvas()->buffer()->platformLayer() : 0; buffer 48 Source/core/html/canvas/DataView.cpp RefPtr<ArrayBuffer> buffer = ArrayBuffer::create(length, sizeof(uint8_t)); buffer 49 Source/core/html/canvas/DataView.cpp if (!buffer.get()) buffer 51 Source/core/html/canvas/DataView.cpp return create(buffer, 0, length); buffer 54 Source/core/html/canvas/DataView.cpp PassRefPtr<DataView> DataView::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned byteLength) buffer 56 Source/core/html/canvas/DataView.cpp if (byteOffset > buffer->byteLength()) buffer 61 Source/core/html/canvas/DataView.cpp if (!checkedMax.isValid() || checkedMax.value() > buffer->byteLength()) buffer 63 Source/core/html/canvas/DataView.cpp return adoptRef(new DataView(buffer, byteOffset, byteLength)); buffer 66 Source/core/html/canvas/DataView.cpp DataView::DataView(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned byteLength) buffer 67 Source/core/html/canvas/DataView.cpp : ArrayBufferView(buffer, byteOffset) buffer 116 Source/core/html/canvas/WebGLDrawBuffers.cpp const unsigned char* buffer = 0; // Chromium doesn't allow init data for depth/stencil tetxures. buffer 126 Source/core/html/canvas/WebGLDrawBuffers.cpp context->texImage2D(GL_TEXTURE_2D, 0, GL_DEPTH_STENCIL_OES, 1, 1, 0, GL_DEPTH_STENCIL_OES, GL_UNSIGNED_INT_24_8_OES, buffer); buffer 132 Source/core/html/canvas/WebGLDrawBuffers.cpp context->texImage2D(GL_TEXTURE_2D, 0, GL_DEPTH_COMPONENT, 1, 1, 0, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, buffer); buffer 142 Source/core/html/canvas/WebGLDrawBuffers.cpp context->texImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, buffer); buffer 59 Source/core/html/canvas/WebGLRenderbuffer.h void setEmulatedStencilBuffer(PassRefPtr<WebGLRenderbuffer> buffer) { m_emulatedStencilBuffer = buffer; } buffer 836 Source/core/html/canvas/WebGLRenderingContextBase.cpp m_drawingBuffer->paintCompositedResultsToCanvas(canvas()->buffer()); buffer 852 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!(canvas()->buffer())->copyRenderingResultsFromDrawingBuffer(m_drawingBuffer.get())) { buffer 855 Source/core/html/canvas/WebGLRenderingContextBase.cpp m_drawingBuffer->paintRenderingResultsToCanvas(canvas()->buffer()); buffer 1011 Source/core/html/canvas/WebGLRenderingContextBase.cpp void WebGLRenderingContextBase::bindBuffer(GLenum target, WebGLBuffer* buffer) buffer 1014 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!checkObjectToBeBound("bindBuffer", buffer, deleted)) buffer 1017 Source/core/html/canvas/WebGLRenderingContextBase.cpp buffer = 0; buffer 1018 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (buffer && buffer->getTarget() && buffer->getTarget() != target) { buffer 1023 Source/core/html/canvas/WebGLRenderingContextBase.cpp m_boundArrayBuffer = buffer; buffer 1025 Source/core/html/canvas/WebGLRenderingContextBase.cpp m_boundVertexArrayObject->setElementArrayBuffer(buffer); buffer 1031 Source/core/html/canvas/WebGLRenderingContextBase.cpp m_context->bindBuffer(target, objectOrZero(buffer)); buffer 1032 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (buffer) buffer 1033 Source/core/html/canvas/WebGLRenderingContextBase.cpp buffer->setTarget(target); buffer 1036 Source/core/html/canvas/WebGLRenderingContextBase.cpp void WebGLRenderingContextBase::bindFramebuffer(GLenum target, WebGLFramebuffer* buffer) buffer 1039 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!checkObjectToBeBound("bindFramebuffer", buffer, deleted)) buffer 1042 Source/core/html/canvas/WebGLRenderingContextBase.cpp buffer = 0; buffer 1047 Source/core/html/canvas/WebGLRenderingContextBase.cpp m_framebufferBinding = buffer; buffer 1053 Source/core/html/canvas/WebGLRenderingContextBase.cpp m_context->bindFramebuffer(target, objectOrZero(buffer)); buffer 1054 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (buffer) buffer 1055 Source/core/html/canvas/WebGLRenderingContextBase.cpp buffer->setHasEverBeenBound(); buffer 1166 Source/core/html/canvas/WebGLRenderingContextBase.cpp WebGLBuffer* buffer = validateBufferDataParameters("bufferData", target, usage); buffer 1167 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!buffer) buffer 1185 Source/core/html/canvas/WebGLRenderingContextBase.cpp WebGLBuffer* buffer = validateBufferDataParameters("bufferData", target, usage); buffer 1186 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!buffer) buffer 1199 Source/core/html/canvas/WebGLRenderingContextBase.cpp WebGLBuffer* buffer = validateBufferDataParameters("bufferData", target, usage); buffer 1200 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!buffer) buffer 1214 Source/core/html/canvas/WebGLRenderingContextBase.cpp WebGLBuffer* buffer = validateBufferDataParameters("bufferSubData", target, GL_STATIC_DRAW); buffer 1215 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!buffer) buffer 1231 Source/core/html/canvas/WebGLRenderingContextBase.cpp WebGLBuffer* buffer = validateBufferDataParameters("bufferSubData", target, GL_STATIC_DRAW); buffer 1232 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!buffer) buffer 1582 Source/core/html/canvas/WebGLRenderingContextBase.cpp void WebGLRenderingContextBase::deleteBuffer(WebGLBuffer* buffer) buffer 1584 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!deleteObject(buffer)) buffer 1586 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (m_boundArrayBuffer == buffer) buffer 1589 Source/core/html/canvas/WebGLRenderingContextBase.cpp m_boundVertexArrayObject->unbindBuffer(buffer); buffer 1867 Source/core/html/canvas/WebGLRenderingContextBase.cpp void WebGLRenderingContextBase::framebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, WebGLRenderbuffer* buffer) buffer 1875 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (buffer && !buffer->validate(contextGroup(), this)) { buffer 1886 Source/core/html/canvas/WebGLRenderingContextBase.cpp Platform3DObject bufferObject = objectOrZero(buffer); buffer 1889 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (isDepthStencilSupported() || !buffer) { buffer 1893 Source/core/html/canvas/WebGLRenderingContextBase.cpp WebGLRenderbuffer* emulatedStencilBuffer = ensureEmulatedStencilBuffer(renderbuffertarget, buffer); buffer 1905 Source/core/html/canvas/WebGLRenderingContextBase.cpp m_framebufferBinding->setAttachmentForBoundFramebuffer(attachment, buffer); buffer 2871 Source/core/html/canvas/WebGLRenderingContextBase.cpp GLboolean WebGLRenderingContextBase::isBuffer(WebGLBuffer* buffer) buffer 2873 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!buffer || isContextLost()) buffer 2876 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!buffer->hasEverBeenBound()) buffer 2879 Source/core/html/canvas/WebGLRenderingContextBase.cpp return m_context->isBuffer(buffer->object()); buffer 3444 Source/core/html/canvas/WebGLRenderingContextBase.cpp ImageBuffer* buffer = canvas->buffer(); buffer 3445 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (buffer && buffer->copyToPlatformTexture(m_context.get(), texture->object(), internalformat, type, buffer 5092 Source/core/html/canvas/WebGLRenderingContextBase.cpp WebGLBuffer* buffer = 0; buffer 5095 Source/core/html/canvas/WebGLRenderingContextBase.cpp buffer = m_boundVertexArrayObject->boundElementArrayBuffer().get(); buffer 5098 Source/core/html/canvas/WebGLRenderingContextBase.cpp buffer = m_boundArrayBuffer.get(); buffer 5104 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!buffer) { buffer 5112 Source/core/html/canvas/WebGLRenderingContextBase.cpp return buffer; buffer 5138 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!canvas || !canvas->buffer()) { buffer 82 Source/core/html/canvas/WebGLVertexArrayObjectOES.cpp void WebGLVertexArrayObjectOES::setElementArrayBuffer(PassRefPtr<WebGLBuffer> buffer) buffer 84 Source/core/html/canvas/WebGLVertexArrayObjectOES.cpp if (buffer) buffer 85 Source/core/html/canvas/WebGLVertexArrayObjectOES.cpp buffer->onAttached(); buffer 88 Source/core/html/canvas/WebGLVertexArrayObjectOES.cpp m_boundElementArrayBuffer = buffer; buffer 93 Source/core/html/canvas/WebGLVertexArrayObjectOES.cpp GLuint index, GLsizei bytesPerElement, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset, PassRefPtr<WebGLBuffer> buffer) buffer 99 Source/core/html/canvas/WebGLVertexArrayObjectOES.cpp if (buffer) buffer 100 Source/core/html/canvas/WebGLVertexArrayObjectOES.cpp buffer->onAttached(); buffer 104 Source/core/html/canvas/WebGLVertexArrayObjectOES.cpp state.bufferBinding = buffer; buffer 114 Source/core/html/canvas/WebGLVertexArrayObjectOES.cpp void WebGLVertexArrayObjectOES::unbindBuffer(PassRefPtr<WebGLBuffer> buffer) buffer 116 Source/core/html/canvas/WebGLVertexArrayObjectOES.cpp if (m_boundElementArrayBuffer == buffer) { buffer 123 Source/core/html/canvas/WebGLVertexArrayObjectOES.cpp if (state.bufferBinding == buffer) { buffer 124 Source/core/html/canvas/WebGLVertexArrayObjectOES.cpp buffer->onDetached(context()->webGraphicsContext3D()); buffer 109 Source/core/html/parser/BackgroundHTMLParser.cpp void BackgroundHTMLParser::appendRawBytesFromMainThread(PassOwnPtr<Vector<char> > buffer) buffer 112 Source/core/html/parser/BackgroundHTMLParser.cpp updateDocument(m_decoder->decode(buffer->data(), buffer->size())); buffer 1011 Source/core/html/parser/HTMLDocumentParser.cpp OwnPtr<Vector<char> > buffer = adoptPtr(new Vector<char>(length)); buffer 1012 Source/core/html/parser/HTMLDocumentParser.cpp memcpy(buffer->data(), data, length); buffer 1015 Source/core/html/parser/HTMLDocumentParser.cpp HTMLParserThread::shared()->postTask(bind(&BackgroundHTMLParser::appendRawBytesFromMainThread, m_backgroundParser, buffer.release())); buffer 2221 Source/core/html/parser/HTMLTreeBuilder.cpp CharacterTokenBuffer buffer(token); buffer 2222 Source/core/html/parser/HTMLTreeBuilder.cpp processCharacterBuffer(buffer); buffer 2225 Source/core/html/parser/HTMLTreeBuilder.cpp void HTMLTreeBuilder::processCharacterBuffer(CharacterTokenBuffer& buffer) buffer 2241 Source/core/html/parser/HTMLTreeBuilder.cpp buffer.skipAtMostOneLeadingNewline(); buffer 2242 Source/core/html/parser/HTMLTreeBuilder.cpp if (buffer.isEmpty()) buffer 2249 Source/core/html/parser/HTMLTreeBuilder.cpp buffer.skipLeadingWhitespace(); buffer 2250 Source/core/html/parser/HTMLTreeBuilder.cpp if (buffer.isEmpty()) buffer 2257 Source/core/html/parser/HTMLTreeBuilder.cpp buffer.skipLeadingWhitespace(); buffer 2258 Source/core/html/parser/HTMLTreeBuilder.cpp if (buffer.isEmpty()) buffer 2265 Source/core/html/parser/HTMLTreeBuilder.cpp buffer.skipLeadingWhitespace(); buffer 2266 Source/core/html/parser/HTMLTreeBuilder.cpp if (buffer.isEmpty()) buffer 2273 Source/core/html/parser/HTMLTreeBuilder.cpp String leadingWhitespace = buffer.takeLeadingWhitespace(); buffer 2276 Source/core/html/parser/HTMLTreeBuilder.cpp if (buffer.isEmpty()) buffer 2283 Source/core/html/parser/HTMLTreeBuilder.cpp String leadingWhitespace = buffer.takeLeadingWhitespace(); buffer 2286 Source/core/html/parser/HTMLTreeBuilder.cpp if (buffer.isEmpty()) buffer 2296 Source/core/html/parser/HTMLTreeBuilder.cpp processCharacterBufferForInBody(buffer); buffer 2315 Source/core/html/parser/HTMLTreeBuilder.cpp processCharacterBufferForInBody(buffer); buffer 2321 Source/core/html/parser/HTMLTreeBuilder.cpp buffer.giveRemainingTo(m_pendingTableCharacters); buffer 2326 Source/core/html/parser/HTMLTreeBuilder.cpp String leadingWhitespace = buffer.takeLeadingWhitespace(); buffer 2329 Source/core/html/parser/HTMLTreeBuilder.cpp if (buffer.isEmpty()) buffer 2334 Source/core/html/parser/HTMLTreeBuilder.cpp buffer.skipLeadingNonWhitespace(); buffer 2335 Source/core/html/parser/HTMLTreeBuilder.cpp if (buffer.isEmpty()) buffer 2349 Source/core/html/parser/HTMLTreeBuilder.cpp m_tree.insertTextNode(buffer.takeRemaining()); buffer 2354 Source/core/html/parser/HTMLTreeBuilder.cpp String leadingWhitespace = buffer.takeLeadingWhitespace(); buffer 2357 Source/core/html/parser/HTMLTreeBuilder.cpp if (buffer.isEmpty()) buffer 2365 Source/core/html/parser/HTMLTreeBuilder.cpp String leadingWhitespace = buffer.takeRemainingWhitespace(); buffer 2375 Source/core/html/parser/HTMLTreeBuilder.cpp m_tree.insertTextNode(buffer.takeRemaining()); buffer 2379 Source/core/html/parser/HTMLTreeBuilder.cpp String leadingWhitespace = buffer.takeRemainingWhitespace(); buffer 2391 Source/core/html/parser/HTMLTreeBuilder.cpp void HTMLTreeBuilder::processCharacterBufferForInBody(CharacterTokenBuffer& buffer) buffer 2394 Source/core/html/parser/HTMLTreeBuilder.cpp const String& characters = buffer.takeRemaining(); buffer 85 Source/core/html/parser/TextResourceDecoder.cpp Vector<char, 64> buffer(length + 1); buffer 86 Source/core/html/parser/TextResourceDecoder.cpp memcpy(buffer.data(), encodingName, length); buffer 87 Source/core/html/parser/TextResourceDecoder.cpp buffer[length] = '\0'; buffer 88 Source/core/html/parser/TextResourceDecoder.cpp return buffer.data(); buffer 97 Source/core/html/track/vtt/VTTTokenizer.cpp StringBuilder buffer; buffer 115 Source/core/html/track/vtt/VTTTokenizer.cpp buffer.append(static_cast<LChar>(cc)); buffer 136 Source/core/html/track/vtt/VTTTokenizer.cpp if (equalLiteral(buffer, "&")) { buffer 138 Source/core/html/track/vtt/VTTTokenizer.cpp } else if (equalLiteral(buffer, "<")) { buffer 140 Source/core/html/track/vtt/VTTTokenizer.cpp } else if (equalLiteral(buffer, ">")) { buffer 142 Source/core/html/track/vtt/VTTTokenizer.cpp } else if (equalLiteral(buffer, "&lrm")) { buffer 144 Source/core/html/track/vtt/VTTTokenizer.cpp } else if (equalLiteral(buffer, "&rlm")) { buffer 146 Source/core/html/track/vtt/VTTTokenizer.cpp } else if (equalLiteral(buffer, " ")) { buffer 149 Source/core/html/track/vtt/VTTTokenizer.cpp buffer.append(static_cast<LChar>(cc)); buffer 150 Source/core/html/track/vtt/VTTTokenizer.cpp result.append(buffer); buffer 152 Source/core/html/track/vtt/VTTTokenizer.cpp buffer.clear(); buffer 155 Source/core/html/track/vtt/VTTTokenizer.cpp buffer.append(static_cast<LChar>(cc)); buffer 158 Source/core/html/track/vtt/VTTTokenizer.cpp result.append(buffer); buffer 161 Source/core/html/track/vtt/VTTTokenizer.cpp result.append(buffer); buffer 164 Source/core/html/track/vtt/VTTTokenizer.cpp result.append(buffer); buffer 165 Source/core/html/track/vtt/VTTTokenizer.cpp buffer.clear(); buffer 168 Source/core/html/track/vtt/VTTTokenizer.cpp buffer.append(static_cast<LChar>(cc)); buffer 215 Source/core/html/track/vtt/VTTTokenizer.cpp addNewClass(classes, buffer); buffer 216 Source/core/html/track/vtt/VTTTokenizer.cpp buffer.clear(); buffer 219 Source/core/html/track/vtt/VTTTokenizer.cpp addNewClass(classes, buffer); buffer 220 Source/core/html/track/vtt/VTTTokenizer.cpp buffer.clear(); buffer 223 Source/core/html/track/vtt/VTTTokenizer.cpp addNewClass(classes, buffer); buffer 224 Source/core/html/track/vtt/VTTTokenizer.cpp buffer.clear(); buffer 227 Source/core/html/track/vtt/VTTTokenizer.cpp buffer.append(cc); buffer 235 Source/core/html/track/vtt/VTTTokenizer.cpp return advanceAndEmitToken(m_input, token, VTTToken::StartTag(result.toString(), classes.toAtomicString(), buffer.toAtomicString())); buffer 237 Source/core/html/track/vtt/VTTTokenizer.cpp buffer.append(cc); buffer 359 Source/core/inspector/InspectorCSSAgent.cpp static size_t vendorPrefixLowerCase(const CharType* string, size_t stringLength, char (&buffer)[bufferLength]) buffer 375 Source/core/inspector/InspectorCSSAgent.cpp buffer[i] = c; buffer 377 Source/core/inspector/InspectorCSSAgent.cpp buffer[i] = c + lowerCaseOffset; buffer 122 Source/core/inspector/InspectorPageAgent.cpp static bool decodeBuffer(const char* buffer, unsigned size, const String& textEncodingName, String* result) buffer 124 Source/core/inspector/InspectorPageAgent.cpp if (buffer) { buffer 128 Source/core/inspector/InspectorPageAgent.cpp *result = encoding.decode(buffer, size); buffer 192 Source/core/inspector/InspectorPageAgent.cpp RefPtr<SharedBuffer> buffer = hasZeroSize ? SharedBuffer::create() : cachedResource->resourceBuffer(); buffer 194 Source/core/inspector/InspectorPageAgent.cpp if (!buffer) buffer 197 Source/core/inspector/InspectorPageAgent.cpp *result = base64Encode(buffer->data(), buffer->size()); buffer 217 Source/core/inspector/InspectorPageAgent.cpp SharedBuffer* buffer = cachedResource->resourceBuffer(); buffer 218 Source/core/inspector/InspectorPageAgent.cpp if (!buffer) buffer 221 Source/core/inspector/InspectorPageAgent.cpp String content = decoder->decode(buffer->data(), buffer->size()); buffer 226 Source/core/inspector/InspectorPageAgent.cpp SharedBuffer* buffer = cachedResource->resourceBuffer(); buffer 227 Source/core/inspector/InspectorPageAgent.cpp return decodeBuffer(buffer ? buffer->data() : 0, buffer ? buffer->size() : 0, cachedResource->response().textEncodingName(), result); buffer 234 Source/core/inspector/InspectorPageAgent.cpp bool InspectorPageAgent::sharedBufferContent(PassRefPtr<SharedBuffer> buffer, const String& textEncodingName, bool withBase64Encode, String* result) buffer 236 Source/core/inspector/InspectorPageAgent.cpp return dataContent(buffer ? buffer->data() : 0, buffer ? buffer->size() : 0, textEncodingName, withBase64Encode, result); buffer 652 Source/core/inspector/InspectorResourceAgent.cpp if (resourceData->buffer() && !resourceData->textEncodingName().isNull()) { buffer 654 Source/core/inspector/InspectorResourceAgent.cpp if (InspectorPageAgent::sharedBufferContent(resourceData->buffer(), resourceData->textEncodingName(), *base64Encoded, content)) buffer 332 Source/core/inspector/JSONParser.cpp StringBuilder buffer; buffer 333 Source/core/inspector/JSONParser.cpp buffer.reserveCapacity(end - start); buffer 334 Source/core/inspector/JSONParser.cpp if (!decodeString(start, end, &buffer)) buffer 336 Source/core/inspector/JSONParser.cpp *output = buffer.toString(); buffer 263 Source/core/inspector/NetworkResourcesData.cpp void NetworkResourcesData::addResourceSharedBuffer(const String& requestId, PassRefPtr<SharedBuffer> buffer, const String& textEncodingName) buffer 268 Source/core/inspector/NetworkResourcesData.cpp resourceData->setBuffer(buffer); buffer 117 Source/core/inspector/NetworkResourcesData.h PassRefPtr<SharedBuffer> buffer() const { return m_buffer; } buffer 118 Source/core/inspector/NetworkResourcesData.h void setBuffer(PassRefPtr<SharedBuffer> buffer) { m_buffer = buffer; } buffer 85 Source/core/loader/WorkerLoaderClientBridgeSyncHelper.cpp Vector<char>* buffer = new Vector<char>(dataLength); buffer 86 Source/core/loader/WorkerLoaderClientBridgeSyncHelper.cpp memcpy(buffer->data(), data, dataLength); buffer 87 Source/core/loader/WorkerLoaderClientBridgeSyncHelper.cpp m_receivedData.append(buffer); buffer 88 Source/core/loader/WorkerLoaderClientBridgeSyncHelper.cpp m_clientTasks.append(bind(&ThreadableLoaderClient::didReceiveData, &m_client, static_cast<const char*>(buffer->data()), dataLength)); buffer 100 Source/core/loader/WorkerLoaderClientBridgeSyncHelper.cpp Vector<char>* buffer = new Vector<char>(dataLength); buffer 101 Source/core/loader/WorkerLoaderClientBridgeSyncHelper.cpp memcpy(buffer->data(), data, dataLength); buffer 102 Source/core/loader/WorkerLoaderClientBridgeSyncHelper.cpp m_receivedData.append(buffer); buffer 103 Source/core/loader/WorkerLoaderClientBridgeSyncHelper.cpp m_clientTasks.append(bind(&ThreadableLoaderClient::didReceiveCachedMetadata, &m_client, static_cast<const char*>(buffer->data()), dataLength)); buffer 79 Source/core/page/WindowFeatures.cpp String buffer = features.lower(); buffer 82 Source/core/page/WindowFeatures.cpp while (isWindowFeaturesSeparator(buffer[i])) { buffer 90 Source/core/page/WindowFeatures.cpp while (!isWindowFeaturesSeparator(buffer[i])) buffer 95 Source/core/page/WindowFeatures.cpp while (buffer[i] != '=') { buffer 96 Source/core/page/WindowFeatures.cpp if (buffer[i] == ',' || i >= length) buffer 102 Source/core/page/WindowFeatures.cpp while (isWindowFeaturesSeparator(buffer[i])) { buffer 103 Source/core/page/WindowFeatures.cpp if (buffer[i] == ',' || i >= length) buffer 110 Source/core/page/WindowFeatures.cpp while (!isWindowFeaturesSeparator(buffer[i])) buffer 116 Source/core/page/WindowFeatures.cpp String keyString(buffer.substring(keyBegin, keyEnd - keyBegin)); buffer 117 Source/core/page/WindowFeatures.cpp String valueString(buffer.substring(valueBegin, valueEnd - valueBegin)); buffer 303 Source/core/rendering/RenderLayerStackingNode.cpp OwnPtr<Vector<RenderLayerStackingNode*> >& buffer = (zIndex() >= 0) ? posBuffer : negBuffer; buffer 306 Source/core/rendering/RenderLayerStackingNode.cpp if (!buffer) buffer 307 Source/core/rendering/RenderLayerStackingNode.cpp buffer = adoptPtr(new Vector<RenderLayerStackingNode*>); buffer 310 Source/core/rendering/RenderLayerStackingNode.cpp buffer->append(this); buffer 346 Source/core/rendering/RenderListMarker.cpp AbstractCJKChar buffer[bufferLength] = { noChar }; buffer 353 Source/core/rendering/RenderListMarker.cpp AbstractCJKChar* group = &buffer[(3 - i) * groupLength]; buffer 396 Source/core/rendering/RenderListMarker.cpp AbstractCJKChar a = buffer[i]; buffer 230 Source/core/svg/SVGFontData.cpp bool SVGFontData::fillSVGGlyphPage(GlyphPage* pageToFill, unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) const buffer 242 Source/core/svg/SVGFontData.cpp return fillBMPGlyphs(fontElement, pageToFill, offset, length, buffer, fontData); buffer 245 Source/core/svg/SVGFontData.cpp return fillNonBMPGlyphs(fontElement, pageToFill, offset, length, buffer, fontData); buffer 248 Source/core/svg/SVGFontData.cpp bool SVGFontData::fillBMPGlyphs(SVGFontElement* fontElement, GlyphPage* pageToFill, unsigned offset, unsigned length, UChar* buffer, const SimpleFontData* fontData) const buffer 253 Source/core/svg/SVGFontData.cpp String lookupString(buffer + i, 1); buffer 272 Source/core/svg/SVGFontData.cpp bool SVGFontData::fillNonBMPGlyphs(SVGFontElement* fontElement, GlyphPage* pageToFill, unsigned offset, unsigned length, UChar* buffer, const SimpleFontData* fontData) const buffer 278 Source/core/svg/SVGFontData.cpp String lookupString(buffer + i * 2, 2); buffer 45 Source/core/svg/SVGFontData.h virtual bool fillSVGGlyphPage(GlyphPage*, unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData*) const OVERRIDE; buffer 62 Source/core/svg/SVGFontData.h bool fillBMPGlyphs(SVGFontElement*, GlyphPage* , unsigned offset, unsigned length, UChar* buffer, const SimpleFontData*) const; buffer 63 Source/core/svg/SVGFontData.h bool fillNonBMPGlyphs(SVGFontElement*, GlyphPage* , unsigned offset, unsigned length, UChar* buffer, const SimpleFontData*) const; buffer 79 Source/core/svg/SVGPathByteStreamBuilder.cpp CoalescingBuffer buffer(m_byteStream); buffer 80 Source/core/svg/SVGPathByteStreamBuilder.cpp buffer.writeSegmentType(mode == RelativeCoordinates ? PathSegMoveToRel : PathSegMoveToAbs); buffer 81 Source/core/svg/SVGPathByteStreamBuilder.cpp buffer.writeFloatPoint(targetPoint); buffer 86 Source/core/svg/SVGPathByteStreamBuilder.cpp CoalescingBuffer buffer(m_byteStream); buffer 87 Source/core/svg/SVGPathByteStreamBuilder.cpp buffer.writeSegmentType(mode == RelativeCoordinates ? PathSegLineToRel : PathSegLineToAbs); buffer 88 Source/core/svg/SVGPathByteStreamBuilder.cpp buffer.writeFloatPoint(targetPoint); buffer 93 Source/core/svg/SVGPathByteStreamBuilder.cpp CoalescingBuffer buffer(m_byteStream); buffer 94 Source/core/svg/SVGPathByteStreamBuilder.cpp buffer.writeSegmentType(mode == RelativeCoordinates ? PathSegLineToHorizontalRel : PathSegLineToHorizontalAbs); buffer 95 Source/core/svg/SVGPathByteStreamBuilder.cpp buffer.writeFloat(x); buffer 100 Source/core/svg/SVGPathByteStreamBuilder.cpp CoalescingBuffer buffer(m_byteStream); buffer 101 Source/core/svg/SVGPathByteStreamBuilder.cpp buffer.writeSegmentType(mode == RelativeCoordinates ? PathSegLineToVerticalRel : PathSegLineToVerticalAbs); buffer 102 Source/core/svg/SVGPathByteStreamBuilder.cpp buffer.writeFloat(y); buffer 107 Source/core/svg/SVGPathByteStreamBuilder.cpp CoalescingBuffer buffer(m_byteStream); buffer 108 Source/core/svg/SVGPathByteStreamBuilder.cpp buffer.writeSegmentType(mode == RelativeCoordinates ? PathSegCurveToCubicRel : PathSegCurveToCubicAbs); buffer 109 Source/core/svg/SVGPathByteStreamBuilder.cpp buffer.writeFloatPoint(point1); buffer 110 Source/core/svg/SVGPathByteStreamBuilder.cpp buffer.writeFloatPoint(point2); buffer 111 Source/core/svg/SVGPathByteStreamBuilder.cpp buffer.writeFloatPoint(targetPoint); buffer 116 Source/core/svg/SVGPathByteStreamBuilder.cpp CoalescingBuffer buffer(m_byteStream); buffer 117 Source/core/svg/SVGPathByteStreamBuilder.cpp buffer.writeSegmentType(mode == RelativeCoordinates ? PathSegCurveToCubicSmoothRel : PathSegCurveToCubicSmoothAbs); buffer 118 Source/core/svg/SVGPathByteStreamBuilder.cpp buffer.writeFloatPoint(point2); buffer 119 Source/core/svg/SVGPathByteStreamBuilder.cpp buffer.writeFloatPoint(targetPoint); buffer 124 Source/core/svg/SVGPathByteStreamBuilder.cpp CoalescingBuffer buffer(m_byteStream); buffer 125 Source/core/svg/SVGPathByteStreamBuilder.cpp buffer.writeSegmentType(mode == RelativeCoordinates ? PathSegCurveToQuadraticRel : PathSegCurveToQuadraticAbs); buffer 126 Source/core/svg/SVGPathByteStreamBuilder.cpp buffer.writeFloatPoint(point1); buffer 127 Source/core/svg/SVGPathByteStreamBuilder.cpp buffer.writeFloatPoint(targetPoint); buffer 132 Source/core/svg/SVGPathByteStreamBuilder.cpp CoalescingBuffer buffer(m_byteStream); buffer 133 Source/core/svg/SVGPathByteStreamBuilder.cpp buffer.writeSegmentType(mode == RelativeCoordinates ? PathSegCurveToQuadraticSmoothRel : PathSegCurveToQuadraticSmoothAbs); buffer 134 Source/core/svg/SVGPathByteStreamBuilder.cpp buffer.writeFloatPoint(targetPoint); buffer 139 Source/core/svg/SVGPathByteStreamBuilder.cpp CoalescingBuffer buffer(m_byteStream); buffer 140 Source/core/svg/SVGPathByteStreamBuilder.cpp buffer.writeSegmentType(mode == RelativeCoordinates ? PathSegArcRel : PathSegArcAbs); buffer 141 Source/core/svg/SVGPathByteStreamBuilder.cpp buffer.writeFloat(r1); buffer 142 Source/core/svg/SVGPathByteStreamBuilder.cpp buffer.writeFloat(r2); buffer 143 Source/core/svg/SVGPathByteStreamBuilder.cpp buffer.writeFloat(angle); buffer 144 Source/core/svg/SVGPathByteStreamBuilder.cpp buffer.writeFlag(largeArcFlag); buffer 145 Source/core/svg/SVGPathByteStreamBuilder.cpp buffer.writeFlag(sweepFlag); buffer 146 Source/core/svg/SVGPathByteStreamBuilder.cpp buffer.writeFloatPoint(targetPoint); buffer 151 Source/core/svg/SVGPathByteStreamBuilder.cpp CoalescingBuffer buffer(m_byteStream); buffer 152 Source/core/svg/SVGPathByteStreamBuilder.cpp buffer.writeSegmentType(PathSegClosePath); buffer 204 Source/core/svg/graphics/SVGImage.cpp OwnPtr<ImageBuffer> buffer = ImageBuffer::create(size()); buffer 205 Source/core/svg/graphics/SVGImage.cpp if (!buffer) buffer 208 Source/core/svg/graphics/SVGImage.cpp drawForContainer(buffer->context(), size(), 1, rect(), rect(), CompositeSourceOver, blink::WebBlendModeNormal); buffer 211 Source/core/svg/graphics/SVGImage.cpp return buffer->copyImage(CopyBackingStore)->nativeImageForCurrentFrame(); buffer 232 Source/core/svg/graphics/SVGImage.cpp OwnPtr<ImageBuffer> buffer = ImageBuffer::create(expandedIntSize(imageBufferSize.size())); buffer 233 Source/core/svg/graphics/SVGImage.cpp if (!buffer) // Failed to allocate buffer. buffer 236 Source/core/svg/graphics/SVGImage.cpp drawForContainer(buffer->context(), containerSize, zoom, imageBufferSize, zoomedContainerRect, CompositeSourceOver, blink::WebBlendModeNormal); buffer 237 Source/core/svg/graphics/SVGImage.cpp RefPtr<Image> image = buffer->copyImage(DontCopyBackingStore, Unscaled); buffer 2244 Source/core/testing/Internals.cpp NumberToStringBuffer buffer; buffer 2245 Source/core/testing/Internals.cpp result.append(numberToFixedPrecisionString(cursor.imageScaleFactor(), 8, buffer, true)); buffer 2254 Source/core/testing/Internals.cpp RefPtr<ArrayBuffer> buffer = ArrayBuffer::createUninitialized(stringValue.length(), sizeof(UChar)); buffer 2255 Source/core/testing/Internals.cpp stringValue.copyTo(static_cast<UChar*>(buffer->data()), 0, stringValue.length()); buffer 2256 Source/core/testing/Internals.cpp return buffer.release(); buffer 2259 Source/core/testing/Internals.cpp PassRefPtr<SerializedScriptValue> Internals::deserializeBuffer(PassRefPtr<ArrayBuffer> buffer) const buffer 2261 Source/core/testing/Internals.cpp String value(static_cast<const UChar*>(buffer->data()), buffer->byteLength() / sizeof(UChar)); buffer 144 Source/core/xml/XSLTProcessorLibxslt.cpp static int writeToStringBuilder(void* context, const char* buffer, int len) buffer 155 Source/core/xml/XSLTProcessorLibxslt.cpp const char* stringCurrent = buffer; buffer 156 Source/core/xml/XSLTProcessorLibxslt.cpp WTF::Unicode::ConversionResult result = WTF::Unicode::convertUTF8ToUTF16(&stringCurrent, buffer + len, &bufferUChar, bufferUCharEnd); buffer 164 Source/core/xml/XSLTProcessorLibxslt.cpp return stringCurrent - buffer; buffer 43 Source/core/xml/parser/SharedBufferReader.cpp SharedBufferReader::SharedBufferReader(PassRefPtr<SharedBuffer> buffer) buffer 44 Source/core/xml/parser/SharedBufferReader.cpp : m_buffer(buffer) buffer 46 Source/core/xml/parser/SharedBufferReaderTest.cpp char buffer[32]; buffer 48 Source/core/xml/parser/SharedBufferReaderTest.cpp EXPECT_EQ(0, reader.readData(buffer, sizeof(buffer))); buffer 643 Source/core/xml/parser/XMLDocumentParser.cpp static int readFunc(void* context, char* buffer, int len) buffer 650 Source/core/xml/parser/XMLDocumentParser.cpp return data->readData(buffer, len); buffer 74 Source/modules/crypto/CryptoResultImpl.cpp void CryptoResultImpl::completeWithBuffer(const blink::WebArrayBuffer& buffer) buffer 80 Source/modules/crypto/CryptoResultImpl.cpp m_promiseResolver->resolve(PassRefPtr<ArrayBuffer>(buffer)); buffer 342 Source/modules/crypto/NormalizeAlgorithm.cpp bool getOptionalCryptoOperationData(const Dictionary& raw, const char* propertyName, bool& hasProperty, RefPtr<ArrayBufferView>& buffer, const ErrorContext& context, String& errorDetails) buffer 344 Source/modules/crypto/NormalizeAlgorithm.cpp if (!raw.get(propertyName, buffer)) { buffer 351 Source/modules/crypto/NormalizeAlgorithm.cpp if (!buffer) { buffer 364 Source/modules/crypto/NormalizeAlgorithm.cpp bool getCryptoOperationData(const Dictionary& raw, const char* propertyName, RefPtr<ArrayBufferView>& buffer, const ErrorContext& context, String& errorDetails) buffer 367 Source/modules/crypto/NormalizeAlgorithm.cpp bool ok = getOptionalCryptoOperationData(raw, propertyName, hasProperty, buffer, context, errorDetails); buffer 92 Source/modules/encoding/TextEncoder.cpp const char* buffer = result.data(); buffer 93 Source/modules/encoding/TextEncoder.cpp const unsigned char* unsignedBuffer = reinterpret_cast<const unsigned char*>(buffer); buffer 484 Source/modules/filesystem/InspectorFileSystemAgent.cpp RefPtr<ArrayBuffer> buffer = m_reader->arrayBufferResult(); buffer 487 Source/modules/filesystem/InspectorFileSystemAgent.cpp String result = base64Encode(static_cast<char*>(buffer->data()), buffer->byteLength()); buffer 493 Source/modules/filesystem/InspectorFileSystemAgent.cpp String result = decoder->decode(static_cast<char*>(buffer->data()), buffer->byteLength()); buffer 194 Source/modules/imagebitmap/ImageBitmapFactories.cpp return fulfillImageBitmap(eventTarget.executionContext(), canvas->buffer() ? ImageBitmap::create(canvas, IntRect(sx, sy, sw, sh)) : nullptr); buffer 106 Source/modules/indexeddb/IDBAny.h SharedBuffer* buffer() const; buffer 111 Source/modules/mediasource/MediaSource.cpp RefPtrWillBeRawPtr<SourceBuffer> buffer = SourceBuffer::create(webSourceBuffer.release(), this, asyncEventQueue()); buffer 113 Source/modules/mediasource/MediaSource.cpp m_sourceBuffers->add(buffer); buffer 114 Source/modules/mediasource/MediaSource.cpp m_activeSourceBuffers->add(buffer); buffer 116 Source/modules/mediasource/MediaSource.cpp return buffer.get(); buffer 119 Source/modules/mediasource/MediaSource.cpp void MediaSource::removeSourceBuffer(SourceBuffer* buffer, ExceptionState& exceptionState) buffer 122 Source/modules/mediasource/MediaSource.cpp RefPtr<SourceBuffer> protect(buffer); buffer 127 Source/modules/mediasource/MediaSource.cpp if (!buffer) { buffer 134 Source/modules/mediasource/MediaSource.cpp if (!m_sourceBuffers->length() || !m_sourceBuffers->contains(buffer)) { buffer 140 Source/modules/mediasource/MediaSource.cpp buffer->abortIfUpdating(); buffer 146 Source/modules/mediasource/MediaSource.cpp m_activeSourceBuffers->remove(buffer); buffer 150 Source/modules/mediasource/MediaSource.cpp m_sourceBuffers->remove(buffer); buffer 153 Source/modules/mediasource/MediaSource.cpp buffer->removedFromMediaSource(); buffer 52 Source/modules/mediasource/SourceBufferList.cpp void SourceBufferList::add(PassRefPtrWillBeRawPtr<SourceBuffer> buffer) buffer 54 Source/modules/mediasource/SourceBufferList.cpp m_list.append(buffer); buffer 58 Source/modules/mediasource/SourceBufferList.cpp void SourceBufferList::remove(SourceBuffer* buffer) buffer 60 Source/modules/mediasource/SourceBufferList.cpp size_t index = m_list.find(buffer); buffer 59 Source/modules/mediasource/SourceBufferList.h bool contains(SourceBuffer* buffer) { return m_list.find(buffer) != kNotFound; } buffer 106 Source/modules/mediasource/WebKitMediaSource.cpp RefPtrWillBeRawPtr<WebKitSourceBuffer> buffer = WebKitSourceBuffer::create(webSourceBuffer.release(), this); buffer 108 Source/modules/mediasource/WebKitMediaSource.cpp m_sourceBuffers->add(buffer); buffer 109 Source/modules/mediasource/WebKitMediaSource.cpp m_activeSourceBuffers->add(buffer); buffer 111 Source/modules/mediasource/WebKitMediaSource.cpp return buffer.get(); buffer 114 Source/modules/mediasource/WebKitMediaSource.cpp void WebKitMediaSource::removeSourceBuffer(WebKitSourceBuffer* buffer, ExceptionState& exceptionState) buffer 119 Source/modules/mediasource/WebKitMediaSource.cpp if (!buffer) { buffer 139 Source/modules/mediasource/WebKitMediaSource.cpp if (!m_sourceBuffers->remove(buffer)) { buffer 145 Source/modules/mediasource/WebKitMediaSource.cpp m_activeSourceBuffers->remove(buffer); buffer 59 Source/modules/mediasource/WebKitSourceBufferList.cpp void WebKitSourceBufferList::add(PassRefPtrWillBeRawPtr<WebKitSourceBuffer> buffer) buffer 61 Source/modules/mediasource/WebKitSourceBufferList.cpp m_list.append(buffer); buffer 65 Source/modules/mediasource/WebKitSourceBufferList.cpp bool WebKitSourceBufferList::remove(WebKitSourceBuffer* buffer) buffer 67 Source/modules/mediasource/WebKitSourceBufferList.cpp size_t index = m_list.find(buffer); buffer 71 Source/modules/mediasource/WebKitSourceBufferList.cpp buffer->removedFromMediaSource(); buffer 261 Source/modules/mediastream/RTCDataChannel.cpp RefPtr<ArrayBuffer> buffer = ArrayBuffer::create(data, dataLength); buffer 262 Source/modules/mediastream/RTCDataChannel.cpp scheduleDispatchEvent(MessageEvent::create(buffer.release())); buffer 60 Source/modules/webaudio/AudioBuffer.cpp RefPtr<AudioBuffer> buffer = adoptRef(new AudioBuffer(numberOfChannels, numberOfFrames, sampleRate)); buffer 62 Source/modules/webaudio/AudioBuffer.cpp if (!buffer->createdSuccessfully(numberOfChannels)) buffer 64 Source/modules/webaudio/AudioBuffer.cpp return buffer; buffer 71 Source/modules/webaudio/AudioBuffer.cpp RefPtr<AudioBuffer> buffer = adoptRef(new AudioBuffer(bus.get())); buffer 72 Source/modules/webaudio/AudioBuffer.cpp if (buffer->createdSuccessfully(bus->numberOfChannels())) buffer 73 Source/modules/webaudio/AudioBuffer.cpp return buffer; buffer 135 Source/modules/webaudio/AudioBuffer.cpp return Float32Array::create(channelData->buffer(), channelData->byteOffset(), channelData->length()); buffer 101 Source/modules/webaudio/AudioBufferSourceNode.cpp if (!buffer()) { buffer 109 Source/modules/webaudio/AudioBufferSourceNode.cpp if (numberOfChannels() != buffer()->numberOfChannels()) { buffer 171 Source/modules/webaudio/AudioBufferSourceNode.cpp ASSERT(buffer()); buffer 172 Source/modules/webaudio/AudioBufferSourceNode.cpp if (!bus || !buffer()) buffer 205 Source/modules/webaudio/AudioBufferSourceNode.cpp size_t bufferLength = buffer()->length(); buffer 206 Source/modules/webaudio/AudioBufferSourceNode.cpp double bufferSampleRate = buffer()->sampleRate(); buffer 231 Source/modules/webaudio/AudioBufferSourceNode.cpp double loopStartFrame = m_loopStart * buffer()->sampleRate(); buffer 232 Source/modules/webaudio/AudioBufferSourceNode.cpp double loopEndFrame = m_loopEnd * buffer()->sampleRate(); buffer 334 Source/modules/webaudio/AudioBufferSourceNode.cpp void AudioBufferSourceNode::setBuffer(AudioBuffer* buffer, ExceptionState& exceptionState) buffer 339 Source/modules/webaudio/AudioBufferSourceNode.cpp if (!buffer) { buffer 350 Source/modules/webaudio/AudioBufferSourceNode.cpp if (buffer) { buffer 352 Source/modules/webaudio/AudioBufferSourceNode.cpp unsigned numberOfChannels = buffer->numberOfChannels(); buffer 367 Source/modules/webaudio/AudioBufferSourceNode.cpp m_sourceChannels[i] = buffer->getChannelData(i)->data(); buffer 371 Source/modules/webaudio/AudioBufferSourceNode.cpp m_buffer = buffer; buffer 386 Source/modules/webaudio/AudioBufferSourceNode.cpp start(when, grainOffset, buffer() ? buffer()->duration() : 0, exceptionState); buffer 400 Source/modules/webaudio/AudioBufferSourceNode.cpp if (!buffer()) buffer 404 Source/modules/webaudio/AudioBufferSourceNode.cpp double bufferDuration = buffer()->duration(); buffer 423 Source/modules/webaudio/AudioBufferSourceNode.cpp m_virtualReadIndex = AudioUtilities::timeToSampleFrame(m_grainOffset, buffer()->sampleRate()); buffer 431 Source/modules/webaudio/AudioBufferSourceNode.cpp if (!grainDuration && buffer()) buffer 432 Source/modules/webaudio/AudioBufferSourceNode.cpp grainDuration = buffer()->duration(); buffer 445 Source/modules/webaudio/AudioBufferSourceNode.cpp if (buffer()) buffer 446 Source/modules/webaudio/AudioBufferSourceNode.cpp sampleRateFactor = buffer()->sampleRate() / sampleRate(); buffer 56 Source/modules/webaudio/AudioBufferSourceNode.h AudioBuffer* buffer() { return m_buffer.get(); } buffer 112 Source/modules/webaudio/ConvolverNode.cpp void ConvolverNode::setBuffer(AudioBuffer* buffer, ExceptionState& exceptionState) buffer 116 Source/modules/webaudio/ConvolverNode.cpp if (!buffer) buffer 119 Source/modules/webaudio/ConvolverNode.cpp if (buffer->sampleRate() != context()->sampleRate()) { buffer 122 Source/modules/webaudio/ConvolverNode.cpp "The buffer sample rate of " + String::number(buffer->sampleRate()) buffer 127 Source/modules/webaudio/ConvolverNode.cpp unsigned numberOfChannels = buffer->numberOfChannels(); buffer 128 Source/modules/webaudio/ConvolverNode.cpp size_t bufferLength = buffer->length(); buffer 140 Source/modules/webaudio/ConvolverNode.cpp bufferBus->setChannelMemory(i, buffer->getChannelData(i)->data(), bufferLength); buffer 142 Source/modules/webaudio/ConvolverNode.cpp bufferBus->setSampleRate(buffer->sampleRate()); buffer 152 Source/modules/webaudio/ConvolverNode.cpp m_buffer = buffer; buffer 55 Source/modules/webaudio/ConvolverNode.h AudioBuffer* buffer(); buffer 190 Source/modules/websockets/NewWebSocketChannelImpl.cpp WebSocketChannel::SendResult NewWebSocketChannelImpl::send(const ArrayBuffer& buffer, unsigned byteOffset, unsigned byteLength) buffer 192 Source/modules/websockets/NewWebSocketChannelImpl.cpp WTF_LOG(Network, "NewWebSocketChannelImpl %p sendArrayBuffer(%p, %u, %u)", this, buffer.data(), byteOffset, byteLength); buffer 196 Source/modules/websockets/NewWebSocketChannelImpl.cpp WebSocketFrame frame(WebSocketFrame::OpCodeBinary, static_cast<const char*>(buffer.data()) + byteOffset, byteLength, WebSocketFrame::Final | WebSocketFrame::Masked); buffer 200 Source/modules/websockets/NewWebSocketChannelImpl.cpp m_messages.append(buffer.slice(byteOffset, byteOffset + byteLength)); buffer 477 Source/modules/websockets/NewWebSocketChannelImpl.cpp void NewWebSocketChannelImpl::didFinishLoadingBlob(PassRefPtr<ArrayBuffer> buffer) buffer 484 Source/modules/websockets/NewWebSocketChannelImpl.cpp m_messages.first() = Message(buffer); buffer 441 Source/modules/websockets/WebSocket.cpp RefPtr<ArrayBuffer> arrayBuffer(arrayBufferView->buffer()); buffer 92 Source/modules/websockets/WebSocketExtensionParser.cpp Vector<char> buffer; buffer 101 Source/modules/websockets/WebSocketExtensionParser.cpp buffer.append(*m_current); buffer 104 Source/modules/websockets/WebSocketExtensionParser.cpp if (m_current >= m_end || *m_current != '"' || buffer.isEmpty()) buffer 106 Source/modules/websockets/WebSocketExtensionParser.cpp m_currentToken = String::fromUTF8(buffer.data(), buffer.size()); buffer 165 Source/platform/DragImage.cpp OwnPtr<ImageBuffer> buffer(ImageBuffer::create(scaledImageSize)); buffer 166 Source/platform/DragImage.cpp if (!buffer) buffer 168 Source/platform/DragImage.cpp buffer->context()->scale(FloatSize(deviceScaleFactor, deviceScaleFactor)); buffer 174 Source/platform/DragImage.cpp buffer->context()->fillRoundedRect(rect, radii, radii, radii, radii, backgroundColor); buffer 182 Source/platform/DragImage.cpp buffer->context()->drawText(urlFont, TextRunPaintInfo(textRun), textPos); buffer 196 Source/platform/DragImage.cpp buffer->context()->drawBidiText(urlFont, TextRunPaintInfo(textRun), textPos); buffer 198 Source/platform/DragImage.cpp RefPtr<Image> image = buffer->copyImage(); buffer 217 Source/platform/JSONValues.cpp NumberToLStringBuffer buffer; buffer 231 Source/platform/JSONValues.cpp length = decimal.toStringExponential(buffer, WTF::NumberToStringBufferLength); buffer 233 Source/platform/JSONValues.cpp length = decimal.toStringDecimal(buffer, WTF::NumberToStringBufferLength); buffer 235 Source/platform/JSONValues.cpp output->append(buffer, length); buffer 41 Source/platform/LinkHash.cpp static bool resolveRelative(const KURL& base, const String& relative, url_canon::RawCanonOutput<2048>* buffer) buffer 48 Source/platform/LinkHash.cpp return url_util::ResolveRelative(baseUTF8.data(), baseUTF8.length(), base.parsed(), relativeUTF8.data(), relativeUTF8.length(), 0, buffer, &parsed); buffer 50 Source/platform/LinkHash.cpp return url_util::ResolveRelative(baseUTF8.data(), baseUTF8.length(), base.parsed(), relative.characters16(), relative.length(), 0, buffer, &parsed); buffer 57 Source/platform/LinkHash.cpp url_canon::RawCanonOutput<2048> buffer; buffer 58 Source/platform/LinkHash.cpp if (!resolveRelative(base, relative.string(), &buffer)) buffer 60 Source/platform/LinkHash.cpp return blink::Platform::current()->visitedLinkHash(buffer.data(), buffer.length()); buffer 126 Source/platform/SharedBuffer.cpp static void didCreateSharedBuffer(SharedBuffer* buffer) buffer 129 Source/platform/SharedBuffer.cpp liveBuffers().add(buffer); buffer 134 Source/platform/SharedBuffer.cpp static void willDestroySharedBuffer(SharedBuffer* buffer) buffer 137 Source/platform/SharedBuffer.cpp liveBuffers().remove(buffer); buffer 218 Source/platform/SharedBuffer.cpp RefPtr<SharedBuffer> buffer = create(); buffer 219 Source/platform/SharedBuffer.cpp buffer->m_buffer.adopt(vector); buffer 220 Source/platform/SharedBuffer.cpp buffer->m_size = buffer->m_buffer.size(); buffer 221 Source/platform/SharedBuffer.cpp return buffer.release(); buffer 388 Source/platform/SharedBuffer.cpp char* buffer = static_cast<char*>(sk_malloc_throw(bufferLength)); buffer 392 Source/platform/SharedBuffer.cpp memcpy(buffer + position, segment, segmentSize); buffer 401 Source/platform/SharedBuffer.cpp return adoptRef(SkData::NewFromMalloc(buffer, bufferLength)); buffer 38 Source/platform/SharedBufferChunkReader.cpp SharedBufferChunkReader::SharedBufferChunkReader(SharedBuffer* buffer, const Vector<char>& separator) buffer 39 Source/platform/SharedBufferChunkReader.cpp : m_buffer(buffer) buffer 50 Source/platform/SharedBufferChunkReader.cpp SharedBufferChunkReader::SharedBufferChunkReader(SharedBuffer* buffer, const char* separator) buffer 51 Source/platform/SharedBufferChunkReader.cpp : m_buffer(buffer) buffer 83 Source/platform/TestingPlatformSupport.cpp void TestingPlatformSupport::cryptographicallyRandomValues(unsigned char* buffer, size_t length) buffer 69 Source/platform/TestingPlatformSupport.h virtual void cryptographicallyRandomValues(unsigned char* buffer, size_t length) OVERRIDE; buffer 95 Source/platform/audio/AudioDelayDSPKernel.cpp float* buffer = m_buffer.data(); buffer 150 Source/platform/audio/AudioDelayDSPKernel.cpp buffer[m_writeIndex] = static_cast<float>(input); buffer 153 Source/platform/audio/AudioDelayDSPKernel.cpp double sample1 = buffer[readIndex1]; buffer 154 Source/platform/audio/AudioDelayDSPKernel.cpp double sample2 = buffer[readIndex2]; buffer 66 Source/platform/audio/FFTFrame.cpp AudioFloatArray buffer(fftSize); buffer 67 Source/platform/audio/FFTFrame.cpp newFrame->doInverseFFT(buffer.data()); buffer 68 Source/platform/audio/FFTFrame.cpp buffer.zeroRange(fftSize / 2, fftSize); buffer 71 Source/platform/audio/FFTFrame.cpp newFrame->doFFT(buffer.data()); buffer 130 Source/platform/audio/SincResampler.cpp void SincResampler::consumeSource(float* buffer, unsigned numberOfSourceFrames) buffer 140 Source/platform/audio/SincResampler.cpp bus->setChannelMemory(0, buffer, numberOfSourceFrames); buffer 164 Source/platform/audio/SincResampler.cpp float* buffer = bus->channel(0)->mutableData(); buffer 168 Source/platform/audio/SincResampler.cpp memcpy(buffer, m_source, sizeof(float) * framesToCopy); buffer 172 Source/platform/audio/SincResampler.cpp memset(buffer + framesToCopy, 0, sizeof(float) * (framesToProcess - framesToCopy)); buffer 55 Source/platform/audio/SincResampler.h void consumeSource(float* buffer, unsigned numberOfSourceFrames); buffer 106 Source/platform/blob/BlobData.cpp Vector<char>* buffer = data->mutableData(); buffer 110 Source/platform/blob/BlobData.cpp WebCore::normalizeLineEndingsToNative(utf8Text, *buffer); buffer 112 Source/platform/blob/BlobData.cpp buffer->append(utf8Text.data(), utf8Text.length()); buffer 121 Source/platform/blob/BlobData.cpp Vector<char>* buffer = data->mutableData(); buffer 122 Source/platform/blob/BlobData.cpp buffer->append(static_cast<const char *>(bytes), length); buffer 41 Source/platform/exported/WebArrayBuffer.cpp RefPtr<ArrayBuffer> buffer = ArrayBuffer::create(numElements, elementByteSize); buffer 42 Source/platform/exported/WebArrayBuffer.cpp return WebArrayBuffer(buffer); buffer 66 Source/platform/exported/WebCString.cpp RefPtr<WTF::CStringBuffer> buffer = buffer 67 Source/platform/exported/WebCString.cpp WTF::CString::newUninitialized(length, newData).buffer(); buffer 69 Source/platform/exported/WebCString.cpp assign(buffer.get()); buffer 89 Source/platform/exported/WebCString.cpp assign(s.buffer()); buffer 94 Source/platform/exported/WebCString.cpp assign(s.buffer()); buffer 53 Source/platform/exported/WebCryptoResult.cpp void WebCryptoResult::completeWithBuffer(const WebArrayBuffer& buffer) buffer 55 Source/platform/exported/WebCryptoResult.cpp RELEASE_ASSERT(!buffer.isNull()); buffer 56 Source/platform/exported/WebCryptoResult.cpp m_impl->completeWithBuffer(buffer); buffer 62 Source/platform/exported/WebCryptoResult.cpp WebArrayBuffer buffer = blink::WebArrayBuffer::create(bytesSize, 1); buffer 63 Source/platform/exported/WebCryptoResult.cpp RELEASE_ASSERT(!buffer.isNull()); buffer 64 Source/platform/exported/WebCryptoResult.cpp memcpy(buffer.data(), bytes, bytesSize); buffer 65 Source/platform/exported/WebCryptoResult.cpp completeWithBuffer(buffer); buffer 69 Source/platform/exported/WebData.cpp WebData::WebData(const PassRefPtr<SharedBuffer>& buffer) buffer 70 Source/platform/exported/WebData.cpp : m_private(buffer) buffer 74 Source/platform/exported/WebData.cpp WebData& WebData::operator=(const PassRefPtr<SharedBuffer>& buffer) buffer 76 Source/platform/exported/WebData.cpp m_private = buffer; buffer 53 Source/platform/exported/WebImageSkia.cpp RefPtr<SharedBuffer> buffer = PassRefPtr<SharedBuffer>(data); buffer 54 Source/platform/exported/WebImageSkia.cpp OwnPtr<ImageDecoder> decoder(ImageDecoder::create(*buffer.get(), ImageSource::AlphaPremultiplied, ImageSource::GammaAndColorProfileIgnored)); buffer 58 Source/platform/exported/WebImageSkia.cpp decoder->setData(buffer.get(), true); buffer 101 Source/platform/exported/WebImageSkia.cpp RefPtr<SharedBuffer> buffer = PassRefPtr<SharedBuffer>(data); buffer 102 Source/platform/exported/WebImageSkia.cpp OwnPtr<ImageDecoder> decoder(ImageDecoder::create(*buffer.get(), ImageSource::AlphaPremultiplied, ImageSource::GammaAndColorProfileIgnored)); buffer 106 Source/platform/exported/WebImageSkia.cpp decoder->setData(buffer.get(), true); buffer 19 Source/platform/fonts/FontCacheTest.cpp virtual void cryptographicallyRandomValues(unsigned char* buffer, size_t length) OVERRIDE { } buffer 121 Source/platform/fonts/GlyphPageTreeNode.cpp static bool fill(GlyphPage* pageToFill, unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) buffer 125 Source/platform/fonts/GlyphPageTreeNode.cpp return fontData->customFontData()->fillSVGGlyphPage(pageToFill, offset, length, buffer, bufferLength, fontData); buffer 127 Source/platform/fonts/GlyphPageTreeNode.cpp bool hasGlyphs = pageToFill->fill(offset, length, buffer, bufferLength, fontData); buffer 154 Source/platform/fonts/GlyphPageTreeNode.cpp UChar buffer[GlyphPage::size * 2 + 2]; buffer 162 Source/platform/fonts/GlyphPageTreeNode.cpp buffer[i] = start + i; buffer 167 Source/platform/fonts/GlyphPageTreeNode.cpp buffer[i] = zeroWidthSpace; buffer 169 Source/platform/fonts/GlyphPageTreeNode.cpp buffer[i] = zeroWidthSpace; buffer 170 Source/platform/fonts/GlyphPageTreeNode.cpp buffer[softHyphen] = zeroWidthSpace; buffer 173 Source/platform/fonts/GlyphPageTreeNode.cpp buffer[(int)'\n'] = ' '; buffer 174 Source/platform/fonts/GlyphPageTreeNode.cpp buffer[(int)'\t'] = ' '; buffer 175 Source/platform/fonts/GlyphPageTreeNode.cpp buffer[noBreakSpace] = ' '; buffer 178 Source/platform/fonts/GlyphPageTreeNode.cpp buffer[leftToRightMark - start] = zeroWidthSpace; buffer 179 Source/platform/fonts/GlyphPageTreeNode.cpp buffer[rightToLeftMark - start] = zeroWidthSpace; buffer 180 Source/platform/fonts/GlyphPageTreeNode.cpp buffer[leftToRightEmbed - start] = zeroWidthSpace; buffer 181 Source/platform/fonts/GlyphPageTreeNode.cpp buffer[rightToLeftEmbed - start] = zeroWidthSpace; buffer 182 Source/platform/fonts/GlyphPageTreeNode.cpp buffer[leftToRightOverride - start] = zeroWidthSpace; buffer 183 Source/platform/fonts/GlyphPageTreeNode.cpp buffer[rightToLeftOverride - start] = zeroWidthSpace; buffer 184 Source/platform/fonts/GlyphPageTreeNode.cpp buffer[zeroWidthNonJoiner - start] = zeroWidthSpace; buffer 185 Source/platform/fonts/GlyphPageTreeNode.cpp buffer[zeroWidthJoiner - start] = zeroWidthSpace; buffer 186 Source/platform/fonts/GlyphPageTreeNode.cpp buffer[popDirectionalFormatting - start] = zeroWidthSpace; buffer 189 Source/platform/fonts/GlyphPageTreeNode.cpp buffer[objectReplacementCharacter - start] = zeroWidthSpace; buffer 192 Source/platform/fonts/GlyphPageTreeNode.cpp buffer[zeroWidthNoBreakSpace - start] = zeroWidthSpace; buffer 198 Source/platform/fonts/GlyphPageTreeNode.cpp buffer[i * 2] = U16_LEAD(c); buffer 199 Source/platform/fonts/GlyphPageTreeNode.cpp buffer[i * 2 + 1] = U16_TRAIL(c); buffer 211 Source/platform/fonts/GlyphPageTreeNode.cpp haveGlyphs = fill(m_page.get(), 0, GlyphPage::size, buffer, bufferLength, static_cast<const SimpleFontData*>(fontData)); buffer 249 Source/platform/fonts/GlyphPageTreeNode.cpp haveGlyphs |= fill(pageToFill, from, to - from, buffer + from * (start < 0x10000 ? 1 : 2), (to - from) * (start < 0x10000 ? 1 : 2), range.fontData().get()); buffer 46 Source/platform/fonts/VDMXParser.cpp Buffer(const uint8_t* buffer, size_t length) buffer 47 Source/platform/fonts/VDMXParser.cpp : m_buffer(buffer) buffer 124 Source/platform/fonts/harfbuzz/HarfBuzzFace.cpp void HarfBuzzFace::setScriptForVerticalGlyphSubstitution(hb_buffer_t* buffer) buffer 128 Source/platform/fonts/harfbuzz/HarfBuzzFace.cpp hb_buffer_set_script(buffer, m_scriptForVerticalText); buffer 200 Source/platform/fonts/harfbuzz/HarfBuzzFaceSkia.cpp char* buffer = reinterpret_cast<char*>(fastMalloc(tableSize)); buffer 201 Source/platform/fonts/harfbuzz/HarfBuzzFaceSkia.cpp if (!buffer) buffer 203 Source/platform/fonts/harfbuzz/HarfBuzzFaceSkia.cpp size_t actualSize = typeface->getTableData(tag, 0, tableSize, buffer); buffer 205 Source/platform/fonts/harfbuzz/HarfBuzzFaceSkia.cpp fastFree(buffer); buffer 209 Source/platform/fonts/harfbuzz/HarfBuzzFaceSkia.cpp return hb_blob_create(const_cast<char*>(buffer), tableSize, HB_MEMORY_MODE_WRITABLE, buffer, fastFree); buffer 91 Source/platform/fonts/harfbuzz/HarfBuzzShaper.cpp hb_buffer_t* buffer; buffer 105 Source/platform/fonts/harfbuzz/HarfBuzzShaper.cpp : buffer(harfBuzzBuffer) buffer 113 Source/platform/fonts/harfbuzz/HarfBuzzShaper.cpp hb_buffer_destroy(buffer); buffer 821 Source/platform/fonts/harfbuzz/HarfBuzzShaper.cpp currentRun->applyShapeResult(cachedResults->buffer); buffer 822 Source/platform/fonts/harfbuzz/HarfBuzzShaper.cpp setGlyphPositionsForHarfBuzzRun(currentRun, cachedResults->buffer); buffer 50 Source/platform/fonts/mac/FontCustomPlatformDataMac.cpp PassOwnPtr<FontCustomPlatformData> FontCustomPlatformData::create(SharedBuffer* buffer) buffer 52 Source/platform/fonts/mac/FontCustomPlatformDataMac.cpp ASSERT_ARG(buffer, buffer); buffer 54 Source/platform/fonts/mac/FontCustomPlatformDataMac.cpp OpenTypeSanitizer sanitizer(buffer); buffer 58 Source/platform/fonts/mac/FontCustomPlatformDataMac.cpp buffer = transcodeBuffer.get(); buffer 60 Source/platform/fonts/mac/FontCustomPlatformDataMac.cpp RetainPtr<CFDataRef> bufferData(AdoptCF, CFDataCreate(0, reinterpret_cast<const UInt8*>(buffer->data()), buffer->size())); buffer 70 Source/platform/fonts/mac/FontCustomPlatformDataMac.cpp RefPtr<SkMemoryStream> stream = adoptRef(new SkMemoryStream(buffer->getAsSkData().get())); buffer 45 Source/platform/fonts/mac/GlyphPageTreeNodeMac.cpp static bool shouldUseCoreText(UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) buffer 53 Source/platform/fonts/mac/GlyphPageTreeNodeMac.cpp if (bufferLength >= 2 && U_IS_SURROGATE(buffer[0]) && fontData->hasVerticalGlyphs()) { buffer 54 Source/platform/fonts/mac/GlyphPageTreeNodeMac.cpp ASSERT(U_IS_SURROGATE_LEAD(buffer[0])); buffer 55 Source/platform/fonts/mac/GlyphPageTreeNodeMac.cpp ASSERT(U_IS_TRAIL(buffer[1])); buffer 62 Source/platform/fonts/mac/GlyphPageTreeNodeMac.cpp if (!Character::isCJKIdeograph(buffer[i])) buffer 70 Source/platform/fonts/mac/GlyphPageTreeNodeMac.cpp bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) buffer 75 Source/platform/fonts/mac/GlyphPageTreeNodeMac.cpp if (!shouldUseCoreText(buffer, bufferLength, fontData)) { buffer 76 Source/platform/fonts/mac/GlyphPageTreeNodeMac.cpp CGFontGetGlyphsForUnichars(fontData->platformData().cgFont(), buffer, glyphs.data(), bufferLength); buffer 86 Source/platform/fonts/mac/GlyphPageTreeNodeMac.cpp && CTFontGetGlyphsForCharacters(fontData->platformData().ctFont(), buffer, glyphs.data(), bufferLength)) { buffer 100 Source/platform/fonts/mac/GlyphPageTreeNodeMac.cpp RetainPtr<CFStringRef> string(AdoptCF, CFStringCreateWithCharactersNoCopy(kCFAllocatorDefault, buffer, bufferLength, kCFAllocatorNull)); buffer 42 Source/platform/fonts/opentype/OpenTypeSanitizer.h explicit OpenTypeSanitizer(SharedBuffer* buffer) buffer 43 Source/platform/fonts/opentype/OpenTypeSanitizer.h : m_buffer(buffer) buffer 68 Source/platform/fonts/opentype/OpenTypeTypes.h template <typename T> static const T* validateTable(const RefPtr<SharedBuffer>& buffer, size_t count = 1) buffer 70 Source/platform/fonts/opentype/OpenTypeTypes.h if (!buffer || buffer->size() < sizeof(T) * count) buffer 72 Source/platform/fonts/opentype/OpenTypeTypes.h return reinterpret_cast<const T*>(buffer->data()); buffer 77 Source/platform/fonts/opentype/OpenTypeTypes.h static bool isValidEnd(const SharedBuffer& buffer, const void* position) buffer 79 Source/platform/fonts/opentype/OpenTypeTypes.h if (position < buffer.data()) buffer 81 Source/platform/fonts/opentype/OpenTypeTypes.h size_t offset = reinterpret_cast<const char*>(position) - buffer.data(); buffer 82 Source/platform/fonts/opentype/OpenTypeTypes.h return offset <= buffer.size(); // "<=" because end is included as valid buffer 85 Source/platform/fonts/opentype/OpenTypeTypes.h template <typename T> static const T* validatePtr(const SharedBuffer& buffer, const void* position) buffer 88 Source/platform/fonts/opentype/OpenTypeTypes.h if (!isValidEnd(buffer, &casted[1])) buffer 93 Source/platform/fonts/opentype/OpenTypeTypes.h template <typename T> const T* validateOffset(const SharedBuffer& buffer, uint16_t offset) const buffer 95 Source/platform/fonts/opentype/OpenTypeTypes.h return validatePtr<T>(buffer, reinterpret_cast<const int8_t*>(this) + offset); buffer 137 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const CoverageTable* coverage(const SharedBuffer& buffer) const { return validateOffset<CoverageTable>(buffer, coverageOffset); } buffer 152 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp bool getSubstitutions(HashMap<Glyph, Glyph>* map, const SharedBuffer& buffer) const buffer 155 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp if (!isValidEnd(buffer, &subTableOffsets[countSubTable])) buffer 160 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const SubstitutionSubTable* substitution = validateOffset<SubstitutionSubTable>(buffer, subTableOffsets[i]); buffer 163 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const CoverageTable* coverage = substitution->coverage(buffer); buffer 168 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const SingleSubstitution2SubTable* singleSubstitution2 = validatePtr<SingleSubstitution2SubTable>(buffer, substitution); buffer 172 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp if (!isValidEnd(buffer, &singleSubstitution2->substitute[countTo])) buffer 176 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const Coverage1Table* coverage1 = validatePtr<Coverage1Table>(buffer, coverage); buffer 180 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp if (!isValidEnd(buffer, &coverage1->glyphArray[countFrom]) || countTo != countFrom) buffer 187 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const Coverage2Table* coverage2 = validatePtr<Coverage2Table>(buffer, coverage); buffer 191 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp if (!isValidEnd(buffer, &coverage2->ranges[countRange])) buffer 215 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const LookupTable* lookup(uint16_t index, const SharedBuffer& buffer) const buffer 218 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp if (index >= count || !isValidEnd(buffer, &lookupOffsets[count])) buffer 220 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp return validateOffset<LookupTable>(buffer, lookupOffsets[index]); buffer 229 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp bool getGlyphSubstitutions(const LookupList* lookups, HashMap<Glyph, Glyph>* map, const SharedBuffer& buffer) const buffer 232 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp if (!isValidEnd(buffer, &lookupListIndex[count])) buffer 235 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const LookupTable* lookup = lookups->lookup(lookupListIndex[i], buffer); buffer 236 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp if (!lookup || !lookup->getSubstitutions(map, buffer)) buffer 250 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const FeatureTable* feature(uint16_t index, OpenType::Tag tag, const SharedBuffer& buffer) const buffer 253 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp if (index >= count || !isValidEnd(buffer, &features[count])) buffer 256 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp return validateOffset<FeatureTable>(buffer, features[index].featureOffset); buffer 260 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const FeatureTable* findFeature(OpenType::Tag tag, const SharedBuffer& buffer) const buffer 263 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp if (isValidEnd(buffer, &features[i]) && features[i].featureTag == tag) buffer 264 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp return validateOffset<FeatureTable>(buffer, features[i].featureOffset); buffer 276 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const FeatureTable* feature(OpenType::Tag featureTag, const FeatureList* features, const SharedBuffer& buffer) const buffer 279 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp if (!isValidEnd(buffer, &featureIndex[count])) buffer 282 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const FeatureTable* featureTable = features->feature(featureIndex[i], featureTag, buffer); buffer 298 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const LangSysTable* defaultLangSys(const SharedBuffer& buffer) const buffer 301 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp if (!isValidEnd(buffer, &langSysRecords[count])) buffer 305 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp return validateOffset<LangSysTable>(buffer, offset); buffer 307 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp return validateOffset<LangSysTable>(buffer, langSysRecords[0].langSysOffset); buffer 319 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const ScriptTable* script(OpenType::Tag tag, const SharedBuffer& buffer) const buffer 322 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp if (!isValidEnd(buffer, &scripts[count])) buffer 326 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp return validateOffset<ScriptTable>(buffer, scripts[i].scriptOffset); buffer 331 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const ScriptTable* defaultScript(const SharedBuffer& buffer) const buffer 334 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp if (!count || !isValidEnd(buffer, &scripts[count])) buffer 336 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const ScriptTable* scriptOfDefaultTag = script(OpenType::DefaultScriptTag, buffer); buffer 339 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp return validateOffset<ScriptTable>(buffer, scripts[0].scriptOffset); buffer 342 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const LangSysTable* defaultLangSys(const SharedBuffer& buffer) const buffer 344 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const ScriptTable* scriptTable = defaultScript(buffer); buffer 347 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp return scriptTable->defaultLangSys(buffer); buffer 357 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const ScriptList* scriptList(const SharedBuffer& buffer) const { return validateOffset<ScriptList>(buffer, scriptListOffset); } buffer 358 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const FeatureList* featureList(const SharedBuffer& buffer) const { return validateOffset<FeatureList>(buffer, featureListOffset); } buffer 359 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const LookupList* lookupList(const SharedBuffer& buffer) const { return validateOffset<LookupList>(buffer, lookupListOffset); } buffer 361 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const LangSysTable* defaultLangSys(const SharedBuffer& buffer) const buffer 363 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const ScriptList* scripts = scriptList(buffer); buffer 366 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp return scripts->defaultLangSys(buffer); buffer 369 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const FeatureTable* feature(OpenType::Tag featureTag, const SharedBuffer& buffer) const buffer 371 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const LangSysTable* langSys = defaultLangSys(buffer); buffer 372 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const FeatureList* features = featureList(buffer); buffer 377 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp feature = langSys->feature(featureTag, features, buffer); buffer 381 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp feature = features->findFeature(featureTag, buffer); buffer 386 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp bool getVerticalGlyphSubstitutions(HashMap<Glyph, Glyph>* map, const SharedBuffer& buffer) const buffer 388 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const FeatureTable* verticalFeatureTable = feature(OpenType::VertFeatureTag, buffer); buffer 391 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const LookupList* lookups = lookupList(buffer); buffer 392 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp return lookups && verticalFeatureTable->getGlyphSubstitutions(lookups, map, buffer); buffer 411 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp RefPtr<SharedBuffer> buffer = platformData.openTypeTable(OpenType::HheaTag); buffer 412 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const OpenType::HheaTable* hhea = OpenType::validateTable<OpenType::HheaTable>(buffer); buffer 421 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp buffer = platformData.openTypeTable(OpenType::HmtxTag); buffer 422 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const OpenType::HmtxTable* hmtx = OpenType::validateTable<OpenType::HmtxTable>(buffer, countHmtxEntries); buffer 432 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp buffer = platformData.openTypeTable(OpenType::VheaTag); buffer 433 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const OpenType::VheaTable* vhea = OpenType::validateTable<OpenType::VheaTable>(buffer); buffer 443 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp buffer = platformData.openTypeTable(OpenType::VORGTag); buffer 444 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const OpenType::VORGTable* vorg = OpenType::validateTable<OpenType::VORGTable>(buffer); buffer 445 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp if (vorg && buffer->size() >= vorg->requiredSize()) { buffer 460 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp buffer = platformData.openTypeTable(OpenType::VmtxTag); buffer 461 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const OpenType::VmtxTable* vmtx = OpenType::validateTable<OpenType::VmtxTable>(buffer, countVmtxEntries); buffer 475 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp size_t sizeExtra = buffer->size() - sizeof(OpenType::VmtxTable::Entry) * countVmtxEntries; buffer 494 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp RefPtr<SharedBuffer> buffer = platformData.openTypeTable(OpenType::GSUBTag); buffer 495 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const OpenType::GSUBTable* gsub = OpenType::validateTable<OpenType::GSUBTable>(buffer); buffer 497 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp gsub->getVerticalGlyphSubstitutions(&m_verticalGlyphMap, *buffer.get()); buffer 85 Source/platform/fonts/skia/FontCustomPlatformDataSkia.cpp PassOwnPtr<FontCustomPlatformData> FontCustomPlatformData::create(SharedBuffer* buffer) buffer 87 Source/platform/fonts/skia/FontCustomPlatformDataSkia.cpp ASSERT_ARG(buffer, buffer); buffer 89 Source/platform/fonts/skia/FontCustomPlatformDataSkia.cpp OpenTypeSanitizer sanitizer(buffer); buffer 93 Source/platform/fonts/skia/FontCustomPlatformDataSkia.cpp buffer = transcodeBuffer.get(); buffer 95 Source/platform/fonts/skia/FontCustomPlatformDataSkia.cpp RefPtr<SkMemoryStream> stream = adoptRef(new SkMemoryStream(buffer->getAsSkData().get())); buffer 66 Source/platform/fonts/skia/FontPlatformDataSkia.cpp RefPtr<SharedBuffer> buffer; buffer 73 Source/platform/fonts/skia/FontPlatformDataSkia.cpp buffer = SharedBuffer::adoptVector(tableBuffer); buffer 75 Source/platform/fonts/skia/FontPlatformDataSkia.cpp return buffer.release(); buffer 43 Source/platform/fonts/skia/GlyphPageTreeNodeSkia.cpp bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) buffer 45 Source/platform/fonts/skia/GlyphPageTreeNodeSkia.cpp if (SkUTF16_IsHighSurrogate(buffer[bufferLength-1])) { buffer 54 Source/platform/fonts/skia/GlyphPageTreeNodeSkia.cpp typeface->charsToGlyphs(buffer, SkTypeface::kUTF16_Encoding, glyphs, length); buffer 209 Source/platform/graphics/Color.cpp NumberToStringBuffer buffer; buffer 210 Source/platform/graphics/Color.cpp const char* alphaString = numberToFixedPrecisionString(alpha() / 255.0f, 6, buffer, true); buffer 246 Source/platform/graphics/Color.cpp NumberToLStringBuffer buffer; buffer 247 Source/platform/graphics/Color.cpp unsigned length = DecimalNumber(alpha() / 255.0).toStringDecimal(buffer, WTF::NumberToStringBufferLength); buffer 248 Source/platform/graphics/Color.cpp result.append(buffer, length); buffer 264 Source/platform/graphics/Color.cpp char buffer[64]; // easily big enough for the longest color name buffer 266 Source/platform/graphics/Color.cpp if (length > sizeof(buffer) - 1) buffer 272 Source/platform/graphics/Color.cpp buffer[i] = toASCIILower(static_cast<char>(c)); buffer 274 Source/platform/graphics/Color.cpp buffer[length] = '\0'; buffer 275 Source/platform/graphics/Color.cpp return findColor(buffer, length); buffer 55 Source/platform/graphics/DecodingImageGenerator.cpp RefPtr<SharedBuffer> buffer = nullptr; buffer 57 Source/platform/graphics/DecodingImageGenerator.cpp m_frameGenerator->copyData(&buffer, &allDataReceived); buffer 58 Source/platform/graphics/DecodingImageGenerator.cpp if (buffer && allDataReceived) { buffer 59 Source/platform/graphics/DecodingImageGenerator.cpp return SkData::NewWithCopy(buffer->data(), buffer->size()); buffer 1728 Source/platform/graphics/GraphicsContext.cpp OwnPtr<ImageBuffer> buffer = adoptPtr(new ImageBuffer(surface.release())); buffer 1730 Source/platform/graphics/GraphicsContext.cpp buffer->context()->scale(FloatSize(static_cast<float>(scaledSize.width()) / size.width(), buffer 1733 Source/platform/graphics/GraphicsContext.cpp return buffer.release(); buffer 100 Source/platform/graphics/ImageFrameGenerator.cpp SharedBuffer* buffer = 0; buffer 101 Source/platform/graphics/ImageFrameGenerator.cpp m_data.data(&buffer, allDataReceived); buffer 102 Source/platform/graphics/ImageFrameGenerator.cpp if (buffer) buffer 103 Source/platform/graphics/ImageFrameGenerator.cpp *data = buffer->copy(); buffer 118 Source/platform/graphics/ImageSource.cpp ImageFrame* buffer = m_decoder->frameBufferAtIndex(index); buffer 119 Source/platform/graphics/ImageSource.cpp if (!buffer || buffer->status() == ImageFrame::FrameEmpty) buffer 129 Source/platform/graphics/ImageSource.cpp return buffer->asNewNativeImage(); buffer 53 Source/platform/graphics/LazyDecodingPixelRef.cpp RefPtr<SharedBuffer> buffer = nullptr; buffer 55 Source/platform/graphics/LazyDecodingPixelRef.cpp m_frameGenerator->copyData(&buffer, &allDataReceived); buffer 56 Source/platform/graphics/LazyDecodingPixelRef.cpp if (buffer && allDataReceived) { buffer 57 Source/platform/graphics/LazyDecodingPixelRef.cpp SkData* skdata = SkData::NewWithCopy((void*)buffer->data(), buffer->size()); buffer 45 Source/platform/graphics/ThreadSafeDataTransport.cpp void ThreadSafeDataTransport::setData(SharedBuffer* buffer, bool allDataReceived) buffer 47 Source/platform/graphics/ThreadSafeDataTransport.cpp ASSERT(buffer->size() >= m_readPosition); buffer 51 Source/platform/graphics/ThreadSafeDataTransport.cpp while (size_t length = buffer->getSomeData(segment, m_readPosition)) { buffer 61 Source/platform/graphics/ThreadSafeDataTransport.cpp void ThreadSafeDataTransport::data(SharedBuffer** buffer, bool* allDataReceived) buffer 70 Source/platform/graphics/ThreadSafeDataTransport.cpp ASSERT(buffer); buffer 72 Source/platform/graphics/ThreadSafeDataTransport.cpp *buffer = m_readBuffer.get(); buffer 42 Source/platform/graphics/ThreadSafeDataTransportTest.cpp RefPtr<SharedBuffer> buffer = SharedBuffer::create(testString, sizeof(testString)); buffer 44 Source/platform/graphics/ThreadSafeDataTransportTest.cpp transport.setData(buffer.get(), false); buffer 52 Source/platform/graphics/ThreadSafeDataTransportTest.cpp transport.setData(buffer.get(), false); buffer 72 Source/platform/graphics/test/MockWebGraphicsContext3D.h virtual void bindBuffer(WGC3Denum target, WebGLId buffer) { } buffer 166 Source/platform/graphics/test/MockWebGraphicsContext3D.h virtual WGC3Dboolean isBuffer(WebGLId buffer) { return false; } buffer 1279 Source/platform/heap/Heap.h static void markUsingGCInfo(Visitor* visitor, const void* buffer) buffer 1281 Source/platform/heap/Heap.h visitor->mark(buffer, FinalizedHeapObjectHeader::fromPayload(buffer)->traceCallback()); buffer 34 Source/platform/image-decoders/ImageDecoder.cpp static unsigned copyFromSharedBuffer(char* buffer, unsigned bufferLength, const SharedBuffer& sharedBuffer, unsigned offset) buffer 40 Source/platform/image-decoders/ImageDecoder.cpp memcpy(buffer + bytesExtracted, moreData, bytesToCopy); buffer 80 Source/platform/image-decoders/bmp/BMPImageDecoder.cpp ImageFrame* buffer = &m_frameBufferCache.first(); buffer 81 Source/platform/image-decoders/bmp/BMPImageDecoder.cpp if (buffer->status() != ImageFrame::FrameComplete) { buffer 86 Source/platform/image-decoders/bmp/BMPImageDecoder.cpp return buffer; buffer 73 Source/platform/image-decoders/bmp/BMPImageReader.h void setBuffer(ImageFrame* buffer) { m_buffer = buffer; } buffer 166 Source/platform/image-decoders/gif/GIFImageDecoder.cpp ImageFrame& buffer = m_frameBufferCache[frameIndex]; buffer 167 Source/platform/image-decoders/gif/GIFImageDecoder.cpp if ((buffer.status() == ImageFrame::FrameEmpty) && !initFrameBuffer(frameIndex)) buffer 172 Source/platform/image-decoders/gif/GIFImageDecoder.cpp ImageFrame::PixelData* currentAddress = buffer.getAddr(xBegin, yBegin); buffer 208 Source/platform/image-decoders/gif/GIFImageDecoder.cpp buffer.copyRowNTimes(xBegin, xEnd, yBegin, yEnd); buffer 210 Source/platform/image-decoders/gif/GIFImageDecoder.cpp buffer.setPixelsChanged(true); buffer 223 Source/platform/image-decoders/gif/GIFImageDecoder.cpp ImageFrame& buffer = m_frameBufferCache[frameIndex]; buffer 224 Source/platform/image-decoders/gif/GIFImageDecoder.cpp if ((buffer.status() == ImageFrame::FrameEmpty) && !initFrameBuffer(frameIndex)) buffer 227 Source/platform/image-decoders/gif/GIFImageDecoder.cpp buffer.setStatus(ImageFrame::FrameComplete); buffer 232 Source/platform/image-decoders/gif/GIFImageDecoder.cpp if (buffer.originalFrameRect().contains(IntRect(IntPoint(), size()))) { buffer 233 Source/platform/image-decoders/gif/GIFImageDecoder.cpp buffer.setHasAlpha(false); buffer 234 Source/platform/image-decoders/gif/GIFImageDecoder.cpp buffer.setRequiredPreviousFrameIndex(kNotFound); buffer 235 Source/platform/image-decoders/gif/GIFImageDecoder.cpp } else if (buffer.requiredPreviousFrameIndex() != kNotFound) { buffer 240 Source/platform/image-decoders/gif/GIFImageDecoder.cpp const ImageFrame* prevBuffer = &m_frameBufferCache[buffer.requiredPreviousFrameIndex()]; buffer 251 Source/platform/image-decoders/gif/GIFImageDecoder.cpp if ((prevBuffer->disposalMethod() == ImageFrame::DisposeOverwriteBgcolor) && !prevBuffer->hasAlpha() && buffer.originalFrameRect().contains(prevBuffer->originalFrameRect())) buffer 252 Source/platform/image-decoders/gif/GIFImageDecoder.cpp buffer.setHasAlpha(false); buffer 301 Source/platform/image-decoders/gif/GIFImageDecoder.cpp ImageFrame& buffer = m_frameBufferCache[i]; buffer 303 Source/platform/image-decoders/gif/GIFImageDecoder.cpp buffer.setPremultiplyAlpha(m_premultiplyAlpha); buffer 304 Source/platform/image-decoders/gif/GIFImageDecoder.cpp buffer.setRequiredPreviousFrameIndex(findRequiredPreviousFrame(i, false)); buffer 305 Source/platform/image-decoders/gif/GIFImageDecoder.cpp buffer.setDuration(frameContext->delayTime()); buffer 306 Source/platform/image-decoders/gif/GIFImageDecoder.cpp buffer.setDisposalMethod(frameContext->disposalMethod()); buffer 317 Source/platform/image-decoders/gif/GIFImageDecoder.cpp buffer.setOriginalFrameRect(frameRect); buffer 356 Source/platform/image-decoders/gif/GIFImageDecoder.cpp ImageFrame* const buffer = &m_frameBufferCache[frameIndex]; buffer 358 Source/platform/image-decoders/gif/GIFImageDecoder.cpp size_t requiredPreviousFrameIndex = buffer->requiredPreviousFrameIndex(); buffer 361 Source/platform/image-decoders/gif/GIFImageDecoder.cpp if (!buffer->setSize(size().width(), size().height())) buffer 368 Source/platform/image-decoders/gif/GIFImageDecoder.cpp if (!buffer->copyBitmapData(*prevBuffer)) buffer 376 Source/platform/image-decoders/gif/GIFImageDecoder.cpp buffer->zeroFillFrameRect(prevRect); buffer 381 Source/platform/image-decoders/gif/GIFImageDecoder.cpp buffer->setStatus(ImageFrame::FramePartial); buffer 122 Source/platform/image-decoders/ico/ICOImageDecoder.cpp ImageFrame* buffer = &m_frameBufferCache[index]; buffer 123 Source/platform/image-decoders/ico/ICOImageDecoder.cpp if (buffer->status() != ImageFrame::FrameComplete) { buffer 128 Source/platform/image-decoders/ico/ICOImageDecoder.cpp return buffer; buffer 672 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp template <J_COLOR_SPACE colorSpace> void setPixel(ImageFrame& buffer, ImageFrame::PixelData* pixel, JSAMPARRAY samples, int column) buffer 678 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp buffer.setRGBARaw(pixel, jsample[0], jsample[1], jsample[2], 255); buffer 691 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp buffer.setRGBARaw(pixel, jsample[0] * k / 255, jsample[1] * k / 255, jsample[2] * k / 255, 255); buffer 696 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp template <J_COLOR_SPACE colorSpace> bool outputRows(JPEGImageReader* reader, ImageFrame& buffer) buffer 713 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp ImageFrame::PixelData* pixel = buffer.getAddr(0, y); buffer 715 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp setPixel<colorSpace>(buffer, pixel, samples, x); buffer 718 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp buffer.setPixelsChanged(true); buffer 730 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp ImageFrame& buffer = m_frameBufferCache[0]; buffer 731 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp if (buffer.status() == ImageFrame::FrameEmpty) { buffer 735 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp if (!buffer.setSize(info->output_width, info->output_height)) buffer 737 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp buffer.setStatus(ImageFrame::FramePartial); buffer 740 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp buffer.setHasAlpha(true); buffer 743 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp buffer.setOriginalFrameRect(IntRect(IntPoint(), size())); buffer 749 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp unsigned char* row = reinterpret_cast<unsigned char*>(buffer.getAddr(0, info->output_scanline)); buffer 757 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp buffer.setPixelsChanged(true); buffer 764 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp return outputRows<JCS_RGB>(m_reader.get(), buffer); buffer 766 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp return outputRows<JCS_CMYK>(m_reader.get(), buffer); buffer 781 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp ImageFrame& buffer = m_frameBufferCache[0]; buffer 782 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp buffer.setHasAlpha(false); buffer 783 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp buffer.setStatus(ImageFrame::FrameComplete); buffer 401 Source/platform/image-decoders/png/PNGImageDecoder.cpp ImageFrame& buffer = m_frameBufferCache[0]; buffer 402 Source/platform/image-decoders/png/PNGImageDecoder.cpp if (buffer.status() == ImageFrame::FrameEmpty) { buffer 404 Source/platform/image-decoders/png/PNGImageDecoder.cpp if (!buffer.setSize(size().width(), size().height())) { buffer 427 Source/platform/image-decoders/png/PNGImageDecoder.cpp buffer.setStatus(ImageFrame::FramePartial); buffer 428 Source/platform/image-decoders/png/PNGImageDecoder.cpp buffer.setHasAlpha(false); buffer 431 Source/platform/image-decoders/png/PNGImageDecoder.cpp buffer.setOriginalFrameRect(IntRect(IntPoint(), size())); buffer 491 Source/platform/image-decoders/png/PNGImageDecoder.cpp ImageFrame::PixelData* address = buffer.getAddr(0, y); buffer 498 Source/platform/image-decoders/png/PNGImageDecoder.cpp buffer.setRGBA(address++, pixel[0], pixel[1], pixel[2], alpha); buffer 502 Source/platform/image-decoders/png/PNGImageDecoder.cpp if (nonTrivialAlpha && !buffer.hasAlpha()) buffer 503 Source/platform/image-decoders/png/PNGImageDecoder.cpp buffer.setHasAlpha(nonTrivialAlpha); buffer 505 Source/platform/image-decoders/png/PNGImageDecoder.cpp buffer.setPixelsChanged(true); buffer 265 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp ImageFrame& buffer = m_frameBufferCache[frameIndex]; buffer 266 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp if (buffer.status() != ImageFrame::FrameEmpty) // Already initialized. buffer 269 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp const size_t requiredPreviousFrameIndex = buffer.requiredPreviousFrameIndex(); buffer 272 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp if (!buffer.setSize(size().width(), size().height())) buffer 274 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp m_frameBackgroundHasAlpha = !buffer.originalFrameRect().contains(IntRect(IntPoint(), size())); buffer 280 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp if (!buffer.copyBitmapData(prevBuffer)) buffer 288 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp buffer.zeroFillFrameRect(prevRect); buffer 294 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp buffer.setStatus(ImageFrame::FramePartial); buffer 297 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp buffer.setHasAlpha(true); buffer 377 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp ImageFrame& buffer = m_frameBufferCache[frameIndex]; buffer 385 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp const IntRect& frameRect = buffer.originalFrameRect(); buffer 399 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp uint8_t* row = reinterpret_cast<uint8_t*>(buffer.getAddr(left, canvasY)); buffer 405 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp buffer.setRGBA(canvasX, canvasY, pixel[0], pixel[1], pixel[2], pixel[3]); buffer 417 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp if ((m_formatFlags & ANIMATION_FLAG) && frameIndex && buffer.alphaBlendSource() == ImageFrame::BlendAtopPreviousFrame && buffer.requiredPreviousFrameIndex() != kNotFound) { buffer 426 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp ImageFrame::PixelData& pixel = *buffer.getAddr(canvasX, canvasY); buffer 444 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp ImageFrame::PixelData& pixel = *buffer.getAddr(canvasX, canvasY); buffer 456 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp buffer.setPixelsChanged(true); buffer 484 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp ImageFrame& buffer = m_frameBufferCache[frameIndex]; buffer 485 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp ASSERT(buffer.status() != ImageFrame::FrameComplete); buffer 487 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp if (buffer.status() == ImageFrame::FrameEmpty) { buffer 488 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp if (!buffer.setSize(size().width(), size().height())) buffer 490 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp buffer.setStatus(ImageFrame::FramePartial); buffer 493 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp buffer.setHasAlpha(true); buffer 494 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp buffer.setOriginalFrameRect(IntRect(IntPoint(), size())); buffer 497 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp const IntRect& frameRect = buffer.originalFrameRect(); buffer 516 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp m_decoderBuffer.u.RGBA.rgba = reinterpret_cast<uint8_t*>(buffer.getAddr(frameRect.x(), frameRect.y())); buffer 521 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp buffer.setHasAlpha((m_formatFlags & ALPHA_FLAG) || m_frameBackgroundHasAlpha); buffer 522 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp buffer.setStatus(ImageFrame::FrameComplete); buffer 48 Source/platform/image-encoders/skia/JPEGImageEncoder.cpp Vector<unsigned char> buffer; buffer 55 Source/platform/image-encoders/skia/JPEGImageEncoder.cpp out->buffer.resize(internalBufferSize); buffer 56 Source/platform/image-encoders/skia/JPEGImageEncoder.cpp out->next_output_byte = out->buffer.data(); buffer 57 Source/platform/image-encoders/skia/JPEGImageEncoder.cpp out->free_in_buffer = out->buffer.size(); buffer 63 Source/platform/image-encoders/skia/JPEGImageEncoder.cpp out->output->append(out->buffer.data(), out->buffer.size()); buffer 64 Source/platform/image-encoders/skia/JPEGImageEncoder.cpp out->next_output_byte = out->buffer.data(); buffer 65 Source/platform/image-encoders/skia/JPEGImageEncoder.cpp out->free_in_buffer = out->buffer.size(); buffer 72 Source/platform/image-encoders/skia/JPEGImageEncoder.cpp const size_t size = out->buffer.size() - out->free_in_buffer; buffer 73 Source/platform/image-encoders/skia/JPEGImageEncoder.cpp out->output->append(out->buffer.data(), size); buffer 90 Source/platform/mhtml/MHTMLParser.cpp static KeyValueMap retrieveKeyValuePairs(WebCore::SharedBufferChunkReader* buffer) buffer 96 Source/platform/mhtml/MHTMLParser.cpp while (!(line = buffer->nextChunkAsUTF8StringWithLatin1Fallback()).isNull()) { buffer 126 Source/platform/mhtml/MHTMLParser.cpp PassRefPtr<MIMEHeader> MIMEHeader::parseHeader(SharedBufferChunkReader* buffer) buffer 129 Source/platform/mhtml/MHTMLParser.cpp KeyValueMap keyValuePairs = retrieveKeyValuePairs(buffer); buffer 37 Source/platform/network/FormDataBuilder.cpp static inline void append(Vector<char>& buffer, char string) buffer 39 Source/platform/network/FormDataBuilder.cpp buffer.append(string); buffer 42 Source/platform/network/FormDataBuilder.cpp static inline void append(Vector<char>& buffer, const char* string) buffer 44 Source/platform/network/FormDataBuilder.cpp buffer.append(string, strlen(string)); buffer 47 Source/platform/network/FormDataBuilder.cpp static inline void append(Vector<char>& buffer, const CString& string) buffer 49 Source/platform/network/FormDataBuilder.cpp buffer.append(string.data(), string.length()); buffer 52 Source/platform/network/FormDataBuilder.cpp static void appendQuotedString(Vector<char>& buffer, const CString& string) buffer 63 Source/platform/network/FormDataBuilder.cpp append(buffer, "%0A"); buffer 66 Source/platform/network/FormDataBuilder.cpp append(buffer, "%0D"); buffer 69 Source/platform/network/FormDataBuilder.cpp append(buffer, "%22"); buffer 72 Source/platform/network/FormDataBuilder.cpp append(buffer, c); buffer 144 Source/platform/network/FormDataBuilder.cpp void FormDataBuilder::beginMultiPartHeader(Vector<char>& buffer, const CString& boundary, const CString& name) buffer 146 Source/platform/network/FormDataBuilder.cpp addBoundaryToMultiPartHeader(buffer, boundary); buffer 150 Source/platform/network/FormDataBuilder.cpp append(buffer, "Content-Disposition: form-data; name=\""); buffer 151 Source/platform/network/FormDataBuilder.cpp appendQuotedString(buffer, name); buffer 152 Source/platform/network/FormDataBuilder.cpp append(buffer, '"'); buffer 155 Source/platform/network/FormDataBuilder.cpp void FormDataBuilder::addBoundaryToMultiPartHeader(Vector<char>& buffer, const CString& boundary, bool isLastBoundary) buffer 157 Source/platform/network/FormDataBuilder.cpp append(buffer, "--"); buffer 158 Source/platform/network/FormDataBuilder.cpp append(buffer, boundary); buffer 161 Source/platform/network/FormDataBuilder.cpp append(buffer, "--"); buffer 163 Source/platform/network/FormDataBuilder.cpp append(buffer, "\r\n"); buffer 166 Source/platform/network/FormDataBuilder.cpp void FormDataBuilder::addFilenameToMultiPartHeader(Vector<char>& buffer, const WTF::TextEncoding& encoding, const String& filename) buffer 170 Source/platform/network/FormDataBuilder.cpp append(buffer, "; filename=\""); buffer 171 Source/platform/network/FormDataBuilder.cpp appendQuotedString(buffer, encoding.normalizeAndEncode(filename, WTF::QuestionMarksForUnencodables)); buffer 172 Source/platform/network/FormDataBuilder.cpp append(buffer, '"'); buffer 175 Source/platform/network/FormDataBuilder.cpp void FormDataBuilder::addContentTypeToMultiPartHeader(Vector<char>& buffer, const CString& mimeType) buffer 177 Source/platform/network/FormDataBuilder.cpp append(buffer, "\r\nContent-Type: "); buffer 178 Source/platform/network/FormDataBuilder.cpp append(buffer, mimeType); buffer 181 Source/platform/network/FormDataBuilder.cpp void FormDataBuilder::finishMultiPartHeader(Vector<char>& buffer) buffer 183 Source/platform/network/FormDataBuilder.cpp append(buffer, "\r\n\r\n"); buffer 186 Source/platform/network/FormDataBuilder.cpp void FormDataBuilder::addKeyValuePairAsFormData(Vector<char>& buffer, const CString& key, const CString& value, FormData::EncodingType encodingType) buffer 189 Source/platform/network/FormDataBuilder.cpp if (!buffer.isEmpty()) buffer 190 Source/platform/network/FormDataBuilder.cpp append(buffer, "\r\n"); buffer 191 Source/platform/network/FormDataBuilder.cpp append(buffer, key); buffer 192 Source/platform/network/FormDataBuilder.cpp append(buffer, '='); buffer 193 Source/platform/network/FormDataBuilder.cpp append(buffer, value); buffer 195 Source/platform/network/FormDataBuilder.cpp if (!buffer.isEmpty()) buffer 196 Source/platform/network/FormDataBuilder.cpp append(buffer, '&'); buffer 197 Source/platform/network/FormDataBuilder.cpp encodeStringAsFormData(buffer, key); buffer 198 Source/platform/network/FormDataBuilder.cpp append(buffer, '='); buffer 199 Source/platform/network/FormDataBuilder.cpp encodeStringAsFormData(buffer, value); buffer 203 Source/platform/network/FormDataBuilder.cpp void FormDataBuilder::encodeStringAsFormData(Vector<char>& buffer, const CString& string) buffer 214 Source/platform/network/FormDataBuilder.cpp append(buffer, c); buffer 216 Source/platform/network/FormDataBuilder.cpp append(buffer, '+'); buffer 218 Source/platform/network/FormDataBuilder.cpp append(buffer, "%0D%0A"); buffer 220 Source/platform/network/FormDataBuilder.cpp append(buffer, '%'); buffer 221 Source/platform/network/FormDataBuilder.cpp appendByteAsHex(c, buffer); buffer 248 Source/platform/text/DateTimeFormat.cpp void DateTimeFormat::quoteAndAppendLiteral(const String& literal, StringBuilder& buffer) buffer 254 Source/platform/text/DateTimeFormat.cpp buffer.append(literal); buffer 259 Source/platform/text/DateTimeFormat.cpp buffer.append("'"); buffer 260 Source/platform/text/DateTimeFormat.cpp buffer.append(literal); buffer 261 Source/platform/text/DateTimeFormat.cpp buffer.append("'"); buffer 267 Source/platform/text/DateTimeFormat.cpp buffer.append("''"); buffer 271 Source/platform/text/DateTimeFormat.cpp buffer.append("'"); buffer 272 Source/platform/text/DateTimeFormat.cpp buffer.append(escaped); buffer 273 Source/platform/text/DateTimeFormat.cpp buffer.append("'"); buffer 107 Source/platform/text/DecodeEscapeSequences.h Vector<char, 512> buffer; buffer 108 Source/platform/text/DecodeEscapeSequences.h buffer.resize(runLength); // Unescaping hex sequences only makes the length smaller. buffer 109 Source/platform/text/DecodeEscapeSequences.h char* p = buffer.data(); buffer 120 Source/platform/text/DecodeEscapeSequences.h ASSERT(buffer.size() >= static_cast<size_t>(p - buffer.data())); // Prove buffer not overrun. buffer 121 Source/platform/text/DecodeEscapeSequences.h return (encoding.isValid() ? encoding : UTF8Encoding()).decode(buffer.data(), p - buffer.data()); buffer 49 Source/platform/text/LineEnding.cpp CStringBuffer(CString& buffer) buffer 50 Source/platform/text/LineEnding.cpp : m_buffer(buffer) buffer 75 Source/platform/text/LineEnding.cpp VectorCharAppendBuffer(Vector<char>& buffer) buffer 76 Source/platform/text/LineEnding.cpp : m_buffer(buffer) buffer 97 Source/platform/text/LineEnding.cpp void internalNormalizeLineEndingsToCRLF(const CString& from, OutputBuffer& buffer) buffer 122 Source/platform/text/LineEnding.cpp buffer.copy(from); buffer 127 Source/platform/text/LineEnding.cpp char* q = buffer.allocate(newLen); buffer 212 Source/platform/text/LineEnding.cpp CStringBuffer buffer(result); buffer 213 Source/platform/text/LineEnding.cpp internalNormalizeLineEndingsToCRLF(from, buffer); buffer 214 Source/platform/text/LineEnding.cpp return buffer.buffer(); buffer 230 Source/platform/text/LineEnding.cpp VectorCharAppendBuffer buffer(result); buffer 231 Source/platform/text/LineEnding.cpp internalNormalizeLineEndingsToCRLF(from, buffer); buffer 85 Source/platform/text/LocaleICU.cpp StringBuffer<UChar> buffer(bufferLength); buffer 87 Source/platform/text/LocaleICU.cpp unum_getSymbol(m_numberFormat, symbol, buffer.characters(), bufferLength, &status); buffer 90 Source/platform/text/LocaleICU.cpp return String::adopt(buffer); buffer 100 Source/platform/text/LocaleICU.cpp StringBuffer<UChar> buffer(bufferLength); buffer 102 Source/platform/text/LocaleICU.cpp unum_getTextAttribute(m_numberFormat, tag, buffer.characters(), bufferLength, &status); buffer 106 Source/platform/text/LocaleICU.cpp return String::adopt(buffer); buffer 161 Source/platform/text/LocaleICU.cpp StringBuffer<UChar> buffer(length); buffer 163 Source/platform/text/LocaleICU.cpp udat_toPattern(dateFormat, TRUE, buffer.characters(), length, &status); buffer 166 Source/platform/text/LocaleICU.cpp return String::adopt(buffer); buffer 183 Source/platform/text/LocaleICU.cpp StringBuffer<UChar> buffer(length); buffer 185 Source/platform/text/LocaleICU.cpp udat_getSymbols(dateFormat, type, startIndex + i, buffer.characters(), length, &status); buffer 188 Source/platform/text/LocaleICU.cpp labels->append(String::adopt(buffer)); buffer 325 Source/platform/text/LocaleICU.cpp StringBuffer<UChar> buffer(length); buffer 327 Source/platform/text/LocaleICU.cpp udatpg_getBestPattern(patternGenerator, skeletonCharacters.data(), skeletonCharacters.size(), buffer.characters(), length, &status); buffer 329 Source/platform/text/LocaleICU.cpp format = String::adopt(buffer); buffer 183 Source/platform/text/LocaleWin.cpp StringBuffer<UChar> buffer(bufferSizeWithNUL); buffer 184 Source/platform/text/LocaleWin.cpp ::GetLocaleInfo(m_lcid, type | (m_defaultsForLocale ? LOCALE_NOUSEROVERRIDE : 0), buffer.characters(), bufferSizeWithNUL); buffer 185 Source/platform/text/LocaleWin.cpp buffer.shrink(bufferSizeWithNUL - 1); buffer 186 Source/platform/text/LocaleWin.cpp return String::adopt(buffer); buffer 43 Source/platform/text/StringTruncator.cpp typedef unsigned TruncationFunction(const String&, unsigned length, unsigned keepCount, UChar* buffer); buffer 60 Source/platform/text/StringTruncator.cpp static unsigned centerTruncateToBuffer(const String& string, unsigned length, unsigned keepCount, UChar* buffer) buffer 73 Source/platform/text/StringTruncator.cpp string.copyTo(buffer, 0, omitStart); buffer 74 Source/platform/text/StringTruncator.cpp buffer[omitStart] = horizontalEllipsis; buffer 75 Source/platform/text/StringTruncator.cpp string.copyTo(&buffer[omitStart + 1], omitEnd, length - omitEnd); buffer 80 Source/platform/text/StringTruncator.cpp static unsigned rightTruncateToBuffer(const String& string, unsigned length, unsigned keepCount, UChar* buffer) buffer 89 Source/platform/text/StringTruncator.cpp string.copyTo(buffer, 0, keepLength); buffer 90 Source/platform/text/StringTruncator.cpp buffer[keepLength] = horizontalEllipsis; buffer 117 Source/platform/text/TextBreakIteratorICU.cpp UChar buffer[textBufferCapacity]; buffer 350 Source/platform/text/TextBreakIteratorICU.cpp UText* text = utext_setup(&utWithBuffer->text, sizeof(utWithBuffer->buffer), status); buffer 487 Source/platform/text/TextBreakIteratorICU.cpp textLocal.text.extraSize = sizeof(textLocal.buffer); buffer 488 Source/platform/text/TextBreakIteratorICU.cpp textLocal.text.pExtra = textLocal.buffer; buffer 548 Source/platform/text/TextBreakIteratorICU.cpp textLocal.text.extraSize = sizeof(textLocal.buffer); buffer 549 Source/platform/text/TextBreakIteratorICU.cpp textLocal.text.pExtra = textLocal.buffer; buffer 638 Source/platform/text/TextBreakIteratorICU.cpp NonSharedCharacterBreakIterator::NonSharedCharacterBreakIterator(const UChar* buffer, unsigned length) buffer 645 Source/platform/text/TextBreakIteratorICU.cpp createIteratorForBuffer(buffer, length); buffer 648 Source/platform/text/TextBreakIteratorICU.cpp void NonSharedCharacterBreakIterator::createIteratorForBuffer(const UChar* buffer, unsigned length) buffer 658 Source/platform/text/TextBreakIteratorICU.cpp setText16(m_iterator, buffer, length); buffer 113 Source/platform/text/TextStream.cpp char buffer[printBufferSize]; buffer 114 Source/platform/text/TextStream.cpp snprintf(buffer, sizeof(buffer) - 1, "%p", p); buffer 115 Source/platform/text/TextStream.cpp return *this << buffer; buffer 296 Source/platform/text/UnicodeUtilities.cpp void normalizeCharactersIntoNFCForm(const UChar* characters, unsigned length, Vector<UChar>& buffer) buffer 300 Source/platform/text/UnicodeUtilities.cpp buffer.resize(length); buffer 303 Source/platform/text/UnicodeUtilities.cpp size_t bufferSize = unorm_normalize(characters, length, UNORM_NFC, 0, buffer.data(), length, &status); buffer 307 Source/platform/text/UnicodeUtilities.cpp buffer.resize(bufferSize); buffer 313 Source/platform/text/UnicodeUtilities.cpp unorm_normalize(characters, length, UNORM_NFC, 0, buffer.data(), bufferSize, &status); buffer 39 Source/platform/text/UnicodeUtilities.h PLATFORM_EXPORT void normalizeCharactersIntoNFCForm(const UChar* characters, unsigned length, Vector<UChar>& buffer); buffer 138 Source/platform/text/UnicodeUtilitiesTest.cpp Vector<UChar> buffer; buffer 139 Source/platform/text/UnicodeUtilitiesTest.cpp stringToFold.appendTo(buffer); buffer 146 Source/platform/text/UnicodeUtilitiesTest.cpp foldQuoteMarksAndSoftHyphens(buffer.data(), buffer.size()); buffer 147 Source/platform/text/UnicodeUtilitiesTest.cpp EXPECT_EQ(String(buffer), foldedString); buffer 646 Source/platform/weborigin/KURL.cpp url_canon::RawCanonOutputT<char> buffer; buffer 648 Source/platform/weborigin/KURL.cpp if (buffer.length() < inputLength * 3) buffer 649 Source/platform/weborigin/KURL.cpp buffer.Resize(inputLength * 3); buffer 651 Source/platform/weborigin/KURL.cpp url_util::EncodeURIComponent(utf8.data(), inputLength, &buffer); buffer 652 Source/platform/weborigin/KURL.cpp String escaped(buffer.data(), buffer.length()); buffer 42 Source/web/WebArrayBufferConverter.cpp v8::Handle<v8::Value> WebArrayBufferConverter::toV8Value(WebArrayBuffer* buffer) buffer 44 Source/web/WebArrayBufferConverter.cpp if (!buffer) buffer 46 Source/web/WebArrayBufferConverter.cpp return toV8(*buffer, v8::Handle<v8::Object>(), v8::Isolate::GetCurrent()); buffer 53 Source/web/WebArrayBufferConverter.cpp WTF::ArrayBuffer* buffer = V8ArrayBuffer::toNative(value->ToObject()); buffer 54 Source/web/WebArrayBufferConverter.cpp return new WebArrayBuffer(buffer); buffer 204 Source/web/WebEmbeddedWorkerImpl.cpp RefPtr<SharedBuffer> buffer(SharedBuffer::create(content.data(), length)); buffer 205 Source/web/WebEmbeddedWorkerImpl.cpp webFrame->frame()->loader().load(FrameLoadRequest(0, ResourceRequest(m_workerStartData.scriptURL), SubstituteData(buffer, "text/html", "UTF-8", KURL()))); buffer 87 Source/web/WebKit.cpp static bool generateEntropy(unsigned char* buffer, size_t length) buffer 90 Source/web/WebKit.cpp Platform::current()->cryptographicallyRandomValues(buffer, length); buffer 144 Source/web/WebKit.cpp static void cryptographicallyRandomValues(unsigned char* buffer, size_t length) buffer 146 Source/web/WebKit.cpp Platform::current()->cryptographicallyRandomValues(buffer, length); buffer 204 Source/web/WebSharedWorkerImpl.cpp RefPtr<SharedBuffer> buffer(SharedBuffer::create(content.data(), length)); buffer 205 Source/web/WebSharedWorkerImpl.cpp webFrame->frame()->loader().load(FrameLoadRequest(0, ResourceRequest(url), SubstituteData(buffer, "text/html", "UTF-8", KURL()))); buffer 42 Source/web/tests/OpenTypeVerticalDataTest.cpp template <typename T> const T* validateOffset(const SharedBuffer& buffer, uint16_t offset) const buffer 44 Source/web/tests/OpenTypeVerticalDataTest.cpp return TableBase::validateOffset<T>(buffer, offset); buffer 50 Source/web/tests/OpenTypeVerticalDataTest.cpp RefPtr<SharedBuffer> buffer = SharedBuffer::create(sizeof(TestTable)); buffer 51 Source/web/tests/OpenTypeVerticalDataTest.cpp const TestTable* table = OpenType::validateTable<TestTable>(buffer); buffer 54 Source/web/tests/OpenTypeVerticalDataTest.cpp buffer = SharedBuffer::create(sizeof(TestTable) - 1); buffer 55 Source/web/tests/OpenTypeVerticalDataTest.cpp table = OpenType::validateTable<TestTable>(buffer); buffer 58 Source/web/tests/OpenTypeVerticalDataTest.cpp buffer = SharedBuffer::create(sizeof(TestTable) + 1); buffer 59 Source/web/tests/OpenTypeVerticalDataTest.cpp table = OpenType::validateTable<TestTable>(buffer); buffer 65 Source/web/tests/OpenTypeVerticalDataTest.cpp RefPtr<SharedBuffer> buffer = SharedBuffer::create(sizeof(TestTable)); buffer 66 Source/web/tests/OpenTypeVerticalDataTest.cpp const TestTable* table = OpenType::validateTable<TestTable>(buffer); buffer 70 Source/web/tests/OpenTypeVerticalDataTest.cpp EXPECT_FALSE(table->validateOffset<uint8_t>(*buffer, -1)); buffer 74 Source/web/tests/OpenTypeVerticalDataTest.cpp EXPECT_TRUE(table->validateOffset<uint8_t>(*buffer, offset)); buffer 75 Source/web/tests/OpenTypeVerticalDataTest.cpp EXPECT_FALSE(table->validateOffset<uint8_t>(*buffer, sizeof(TestTable))); buffer 76 Source/web/tests/OpenTypeVerticalDataTest.cpp EXPECT_FALSE(table->validateOffset<uint8_t>(*buffer, sizeof(TestTable) + 1)); buffer 80 Source/web/tests/OpenTypeVerticalDataTest.cpp EXPECT_TRUE(table->validateOffset<uint16_t>(*buffer, offset)); buffer 81 Source/web/tests/OpenTypeVerticalDataTest.cpp EXPECT_FALSE(table->validateOffset<uint16_t>(*buffer, sizeof(TestTable) - 1)); buffer 50 Source/web/tests/SpinLockTest.cpp static void fillBuffer(volatile char* buffer, char fillPattern) buffer 53 Source/web/tests/SpinLockTest.cpp buffer[i] = fillPattern; buffer 56 Source/web/tests/SpinLockTest.cpp static void changeAndCheckBuffer(volatile char* buffer) buffer 58 Source/web/tests/SpinLockTest.cpp fillBuffer(buffer, '\0'); buffer 61 Source/web/tests/SpinLockTest.cpp total += buffer[i]; buffer 67 Source/web/tests/SpinLockTest.cpp fillBuffer(buffer, '!'); buffer 70 Source/web/tests/SpinLockTest.cpp static void threadMain(volatile char* buffer) buffer 74 Source/web/tests/SpinLockTest.cpp changeAndCheckBuffer(buffer); buffer 47 Source/wtf/Alignment.h template<size_t size> struct AlignedBuffer<size, 1> { AlignedBufferChar buffer[size]; }; buffer 48 Source/wtf/Alignment.h template<size_t size> struct AlignedBuffer<size, 2> { WTF_ALIGNED(AlignedBufferChar, buffer[size], 2); }; buffer 49 Source/wtf/Alignment.h template<size_t size> struct AlignedBuffer<size, 4> { WTF_ALIGNED(AlignedBufferChar, buffer[size], 4); }; buffer 50 Source/wtf/Alignment.h template<size_t size> struct AlignedBuffer<size, 8> { WTF_ALIGNED(AlignedBufferChar, buffer[size], 8); }; buffer 51 Source/wtf/Alignment.h template<size_t size> struct AlignedBuffer<size, 16> { WTF_ALIGNED(AlignedBufferChar, buffer[size], 16); }; buffer 52 Source/wtf/Alignment.h template<size_t size> struct AlignedBuffer<size, 32> { WTF_ALIGNED(AlignedBufferChar, buffer[size], 32); }; buffer 53 Source/wtf/Alignment.h template<size_t size> struct AlignedBuffer<size, 64> { WTF_ALIGNED(AlignedBufferChar, buffer[size], 64); }; buffer 59 Source/wtf/Alignment.h std::swap(a.buffer[i], b.buffer[i]); buffer 108 Source/wtf/ArrayBuffer.h RefPtr<ArrayBuffer> buffer = adoptRef(new ArrayBuffer(contents)); buffer 109 Source/wtf/ArrayBuffer.h memcpy(buffer->data(), source, byteLength); buffer 110 Source/wtf/ArrayBuffer.h return buffer.release(); buffer 240 Source/wtf/ArrayBufferBuilderTest.cpp RefPtr<ArrayBuffer> buffer = ArrayBuffer::create(INT_MAX + 1u, 1); buffer 242 Source/wtf/ArrayBufferBuilderTest.cpp EXPECT_EQ(0, buffer.get()); buffer 33 Source/wtf/ArrayBufferView.cpp ArrayBufferView::ArrayBufferView(PassRefPtr<ArrayBuffer> buffer, buffer 37 Source/wtf/ArrayBufferView.cpp , m_buffer(buffer) buffer 57 Source/wtf/ArrayBufferView.h PassRefPtr<ArrayBuffer> buffer() const buffer 94 Source/wtf/ArrayBufferView.h static bool verifySubRange(PassRefPtr<ArrayBuffer> buffer, buffer 98 Source/wtf/ArrayBufferView.h if (!buffer) buffer 102 Source/wtf/ArrayBufferView.h if (byteOffset > buffer->byteLength()) buffer 104 Source/wtf/ArrayBufferView.h unsigned remainingElements = (buffer->byteLength() - byteOffset) / sizeof(T); buffer 113 Source/wtf/ArrayBufferView.h static void clampOffsetAndNumElements(PassRefPtr<ArrayBuffer> buffer, buffer 120 Source/wtf/ArrayBufferView.h *offset = buffer->byteLength(); buffer 125 Source/wtf/ArrayBufferView.h *offset = std::min(buffer->byteLength(), *offset); buffer 126 Source/wtf/ArrayBufferView.h unsigned remainingElements = (buffer->byteLength() - *offset) / sizeof(T); buffer 96 Source/wtf/Assertions.cpp char* buffer = (char*)malloc(length + 1); buffer 98 Source/wtf/Assertions.cpp CFStringGetCString(str, buffer, length, kCFStringEncodingUTF8); buffer 101 Source/wtf/Assertions.cpp asl_log(0, 0, ASL_LEVEL_NOTICE, "%s", buffer); buffer 103 Source/wtf/Assertions.cpp fputs(buffer, stderr); buffer 105 Source/wtf/Assertions.cpp free(buffer); buffer 127 Source/wtf/Assertions.cpp char* buffer = (char*)malloc(size); buffer 129 Source/wtf/Assertions.cpp if (buffer == NULL) buffer 132 Source/wtf/Assertions.cpp if (_vsnprintf(buffer, size, format, args) != -1) { buffer 133 Source/wtf/Assertions.cpp OutputDebugStringA(buffer); buffer 134 Source/wtf/Assertions.cpp free(buffer); buffer 138 Source/wtf/Assertions.cpp free(buffer); buffer 62 Source/wtf/CryptographicallyRandomNumber.cpp void randomValues(void* buffer, size_t length); buffer 152 Source/wtf/CryptographicallyRandomNumber.cpp void ARC4RandomNumberGenerator::randomValues(void* buffer, size_t length) buffer 156 Source/wtf/CryptographicallyRandomNumber.cpp unsigned char* result = reinterpret_cast<unsigned char*>(buffer); buffer 179 Source/wtf/CryptographicallyRandomNumber.cpp void cryptographicallyRandomValues(void* buffer, size_t length) buffer 181 Source/wtf/CryptographicallyRandomNumber.cpp sharedRandomNumberGenerator().randomValues(buffer, length); buffer 42 Source/wtf/CryptographicallyRandomNumber.h WTF_EXPORT void cryptographicallyRandomValues(void* buffer, size_t length); buffer 99 Source/wtf/DecimalNumber.cpp unsigned DecimalNumber::toStringDecimal(LChar* buffer, unsigned bufferLength) const buffer 105 Source/wtf/DecimalNumber.cpp LChar* next = buffer; buffer 121 Source/wtf/DecimalNumber.cpp return next - buffer; buffer 137 Source/wtf/DecimalNumber.cpp return next - buffer; buffer 152 Source/wtf/DecimalNumber.cpp return next - buffer; buffer 155 Source/wtf/DecimalNumber.cpp unsigned DecimalNumber::toStringExponential(LChar* buffer, unsigned bufferLength) const buffer 161 Source/wtf/DecimalNumber.cpp LChar* next = buffer; buffer 193 Source/wtf/DecimalNumber.cpp return next - buffer; buffer 56 Source/wtf/DecimalNumber.h unsigned toStringDecimal(LChar* buffer, unsigned bufferLength) const; buffer 57 Source/wtf/DecimalNumber.h unsigned toStringExponential(LChar* buffer, unsigned bufferLength) const; buffer 76 Source/wtf/Deque.h T& first() { ASSERT(m_start != m_end); return m_buffer.buffer()[m_start]; } buffer 77 Source/wtf/Deque.h const T& first() const { ASSERT(m_start != m_end); return m_buffer.buffer()[m_start]; } buffer 215 Source/wtf/Deque.h const T* otherBuffer = other.m_buffer.buffer(); buffer 217 Source/wtf/Deque.h TypeOperations::uninitializedCopy(otherBuffer + m_start, otherBuffer + m_end, m_buffer.buffer() + m_start); buffer 219 Source/wtf/Deque.h TypeOperations::uninitializedCopy(otherBuffer, otherBuffer + m_end, m_buffer.buffer()); buffer 220 Source/wtf/Deque.h TypeOperations::uninitializedCopy(otherBuffer + m_start, otherBuffer + m_buffer.capacity(), m_buffer.buffer() + m_start); buffer 247 Source/wtf/Deque.h TypeOperations::destruct(m_buffer.buffer() + m_start, m_buffer.buffer() + m_end); buffer 249 Source/wtf/Deque.h TypeOperations::destruct(m_buffer.buffer(), m_buffer.buffer() + m_end); buffer 250 Source/wtf/Deque.h TypeOperations::destruct(m_buffer.buffer() + m_start, m_buffer.buffer() + m_buffer.capacity()); buffer 275 Source/wtf/Deque.h m_buffer.deallocateBuffer(m_buffer.buffer()); buffer 310 Source/wtf/Deque.h T* oldBuffer = m_buffer.buffer(); buffer 313 Source/wtf/Deque.h TypeOperations::move(oldBuffer + m_start, oldBuffer + m_end, m_buffer.buffer() + m_start); buffer 315 Source/wtf/Deque.h TypeOperations::move(oldBuffer, oldBuffer + m_end, m_buffer.buffer()); buffer 317 Source/wtf/Deque.h TypeOperations::move(oldBuffer + m_start, oldBuffer + oldCapacity, m_buffer.buffer() + newStart); buffer 343 Source/wtf/Deque.h new (NotNull, &m_buffer.buffer()[m_end]) T(value); buffer 358 Source/wtf/Deque.h new (NotNull, &m_buffer.buffer()[m_start]) T(value); buffer 365 Source/wtf/Deque.h TypeOperations::destruct(&m_buffer.buffer()[m_start], &m_buffer.buffer()[m_start + 1]); buffer 380 Source/wtf/Deque.h TypeOperations::destruct(&m_buffer.buffer()[m_end], &m_buffer.buffer()[m_end + 1]); buffer 401 Source/wtf/Deque.h T* buffer = m_buffer.buffer(); buffer 402 Source/wtf/Deque.h TypeOperations::destruct(&buffer[position], &buffer[position + 1]); buffer 406 Source/wtf/Deque.h TypeOperations::moveOverlapping(buffer + m_start, buffer + position, buffer + m_start + 1); buffer 409 Source/wtf/Deque.h TypeOperations::moveOverlapping(buffer + position + 1, buffer + m_end, buffer + position); buffer 479 Source/wtf/Deque.h return &m_deque->m_buffer.buffer()[m_index]; buffer 487 Source/wtf/Deque.h return &m_deque->m_buffer.buffer()[m_deque->m_buffer.capacity() - 1]; buffer 488 Source/wtf/Deque.h return &m_deque->m_buffer.buffer()[m_index - 1]; buffer 80 Source/wtf/Float32Array.h PassRefPtr<Float32Array> Float32Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) buffer 82 Source/wtf/Float32Array.h return TypedArrayBase<float>::create<Float32Array>(buffer, byteOffset, length); buffer 90 Source/wtf/Float32Array.h Float32Array::Float32Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) buffer 91 Source/wtf/Float32Array.h : TypedArrayBase<float>(buffer, byteOffset, length) buffer 80 Source/wtf/Float64Array.h PassRefPtr<Float64Array> Float64Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) buffer 82 Source/wtf/Float64Array.h return TypedArrayBase<double>::create<Float64Array>(buffer, byteOffset, length); buffer 90 Source/wtf/Float64Array.h Float64Array::Float64Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) buffer 91 Source/wtf/Float64Array.h : TypedArrayBase<double>(buffer, byteOffset, length) buffer 74 Source/wtf/Int16Array.h PassRefPtr<Int16Array> Int16Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) buffer 76 Source/wtf/Int16Array.h return TypedArrayBase<short>::create<Int16Array>(buffer, byteOffset, length); buffer 84 Source/wtf/Int16Array.h Int16Array::Int16Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) buffer 85 Source/wtf/Int16Array.h : IntegralTypedArrayBase<short>(buffer, byteOffset, length) buffer 73 Source/wtf/Int32Array.h PassRefPtr<Int32Array> Int32Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) buffer 75 Source/wtf/Int32Array.h return TypedArrayBase<int>::create<Int32Array>(buffer, byteOffset, length); buffer 83 Source/wtf/Int32Array.h Int32Array::Int32Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) buffer 84 Source/wtf/Int32Array.h : IntegralTypedArrayBase<int>(buffer, byteOffset, length) buffer 75 Source/wtf/Int8Array.h PassRefPtr<Int8Array> Int8Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) buffer 77 Source/wtf/Int8Array.h return TypedArrayBase<signed char>::create<Int8Array>(buffer, byteOffset, length); buffer 85 Source/wtf/Int8Array.h Int8Array::Int8Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) buffer 86 Source/wtf/Int8Array.h : IntegralTypedArrayBase<signed char>(buffer, byteOffset, length) buffer 54 Source/wtf/IntegralTypedArrayBase.h IntegralTypedArrayBase(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) buffer 55 Source/wtf/IntegralTypedArrayBase.h : TypedArrayBase<T>(buffer, byteOffset, length) buffer 52 Source/wtf/SHA1Test.cpp char* buffer = &m_buffer[0]; buffer 54 Source/wtf/SHA1Test.cpp snprintf(buffer, 3, "%02X", digest.at(i)); buffer 55 Source/wtf/SHA1Test.cpp buffer += 2; buffer 50 Source/wtf/StringExtras.h inline int snprintf(char* buffer, size_t count, const char* format, ...) buffer 55 Source/wtf/StringExtras.h result = _vsnprintf(buffer, count, format, args); buffer 61 Source/wtf/StringExtras.h buffer[count - 1] = '\0'; buffer 66 Source/wtf/StringExtras.h inline double wtf_vsnprintf(char* buffer, size_t count, const char* format, va_list args) buffer 68 Source/wtf/StringExtras.h int result = _vsnprintf(buffer, count, format, args); buffer 73 Source/wtf/StringExtras.h buffer[count - 1] = '\0'; buffer 80 Source/wtf/StringExtras.h #define vsnprintf(buffer, count, format, args) wtf_vsnprintf(buffer, count, format, args) buffer 96 Source/wtf/StringExtras.h inline char* strnstr(const char* buffer, const char* target, size_t bufferLength) buffer 100 Source/wtf/StringExtras.h return const_cast<char*>(buffer); buffer 101 Source/wtf/StringExtras.h for (const char* start = buffer; *start && start + targetLength <= buffer + bufferLength; start++) { buffer 76 Source/wtf/StringExtrasTest.cpp Vector<char, bufferSize> buffer; buffer 77 Source/wtf/StringExtrasTest.cpp buffer.resize(bufferSize); buffer 81 Source/wtf/StringExtrasTest.cpp snprintf(buffer.data(), bufferSize, PrintfFormatTrait<IntegerType>::format, min); buffer 82 Source/wtf/StringExtrasTest.cpp ASSERT_STREQ(buffer.data(), minStringData.data()); buffer 86 Source/wtf/StringExtrasTest.cpp snprintf(buffer.data(), bufferSize, PrintfFormatTrait<IntegerType>::format, max); buffer 87 Source/wtf/StringExtrasTest.cpp ASSERT_STREQ(buffer.data(), maxStringData.data()); buffer 94 Source/wtf/StringExtrasTest.cpp Vector<char, bufferSize> buffer; buffer 95 Source/wtf/StringExtrasTest.cpp buffer.resize(bufferSize); buffer 100 Source/wtf/StringExtrasTest.cpp snprintf(buffer.data(), bufferSize, PrintfFormatTrait<IntegerType>::format, number); buffer 101 Source/wtf/StringExtrasTest.cpp ASSERT_STREQ(buffer.data(), numberStringData.data()); buffer 85 Source/wtf/TypedArrayBase.h TypedArrayBase(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) buffer 86 Source/wtf/TypedArrayBase.h : ArrayBufferView(buffer, byteOffset) buffer 94 Source/wtf/TypedArrayBase.h RefPtr<ArrayBuffer> buffer = ArrayBuffer::create(length, sizeof(T)); buffer 95 Source/wtf/TypedArrayBase.h if (!buffer.get()) buffer 97 Source/wtf/TypedArrayBase.h return create<Subclass>(buffer, 0, length); buffer 111 Source/wtf/TypedArrayBase.h static PassRefPtr<Subclass> create(PassRefPtr<ArrayBuffer> buffer, buffer 115 Source/wtf/TypedArrayBase.h RefPtr<ArrayBuffer> buf(buffer); buffer 125 Source/wtf/TypedArrayBase.h RefPtr<ArrayBuffer> buffer = ArrayBuffer::createUninitialized(length, sizeof(T)); buffer 126 Source/wtf/TypedArrayBase.h if (!buffer.get()) buffer 128 Source/wtf/TypedArrayBase.h return create<Subclass>(buffer, 0, length); buffer 136 Source/wtf/TypedArrayBase.h clampOffsetAndNumElements<T>(buffer(), m_byteOffset, &offset, &length); buffer 137 Source/wtf/TypedArrayBase.h return create<Subclass>(buffer(), offset, length); buffer 75 Source/wtf/Uint16Array.h PassRefPtr<Uint16Array> Uint16Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) buffer 77 Source/wtf/Uint16Array.h return TypedArrayBase<unsigned short>::create<Uint16Array>(buffer, byteOffset, length); buffer 85 Source/wtf/Uint16Array.h Uint16Array::Uint16Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) buffer 86 Source/wtf/Uint16Array.h : IntegralTypedArrayBase<unsigned short>(buffer, byteOffset, length) buffer 75 Source/wtf/Uint32Array.h PassRefPtr<Uint32Array> Uint32Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) buffer 77 Source/wtf/Uint32Array.h return TypedArrayBase<unsigned>::create<Uint32Array>(buffer, byteOffset, length); buffer 85 Source/wtf/Uint32Array.h Uint32Array::Uint32Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) buffer 86 Source/wtf/Uint32Array.h : IntegralTypedArrayBase<unsigned>(buffer, byteOffset, length) buffer 75 Source/wtf/Uint8Array.h PassRefPtr<Uint8Array> Uint8Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) buffer 77 Source/wtf/Uint8Array.h return TypedArrayBase<unsigned char>::create<Uint8Array>(buffer, byteOffset, length); buffer 85 Source/wtf/Uint8Array.h Uint8Array::Uint8Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) buffer 86 Source/wtf/Uint8Array.h : IntegralTypedArrayBase<unsigned char>(buffer, byteOffset, length) buffer 80 Source/wtf/Uint8ClampedArray.h PassRefPtr<Uint8ClampedArray> Uint8ClampedArray::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) buffer 82 Source/wtf/Uint8ClampedArray.h return TypedArrayBase<unsigned char>::create<Uint8ClampedArray>(buffer, byteOffset, length); buffer 106 Source/wtf/Uint8ClampedArray.h Uint8ClampedArray::Uint8ClampedArray(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) buffer 107 Source/wtf/Uint8ClampedArray.h : Uint8Array(buffer, byteOffset, length) buffer 308 Source/wtf/Vector.h T* buffer() { return m_buffer; } buffer 309 Source/wtf/Vector.h const T* buffer() const { return m_buffer; } buffer 319 Source/wtf/Vector.h VectorBufferBase(T* buffer, size_t capacity) buffer 320 Source/wtf/Vector.h : m_buffer(buffer) buffer 376 Source/wtf/Vector.h using Base::buffer; buffer 385 Source/wtf/Vector.h return buffer(); buffer 454 Source/wtf/Vector.h if (buffer() == inlineBuffer() && other.buffer() == other.inlineBuffer()) { buffer 463 Source/wtf/Vector.h } else if (buffer() == inlineBuffer()) { buffer 468 Source/wtf/Vector.h } else if (other.buffer() == other.inlineBuffer()) { buffer 479 Source/wtf/Vector.h using Base::buffer; buffer 487 Source/wtf/Vector.h return buffer() && buffer() != inlineBuffer(); buffer 495 Source/wtf/Vector.h T* inlineBuffer() { return reinterpret_cast_ptr<T*>(m_inlineBuffer.buffer); } buffer 496 Source/wtf/Vector.h const T* inlineBuffer() const { return reinterpret_cast_ptr<const T*>(m_inlineBuffer.buffer); } buffer 598 Source/wtf/Vector.h if (LIKELY(!Base::buffer())) buffer 639 Source/wtf/Vector.h return Base::buffer()[i]; buffer 644 Source/wtf/Vector.h return Base::buffer()[i]; buffer 650 Source/wtf/Vector.h T* data() { return Base::buffer(); } buffer 651 Source/wtf/Vector.h const T* data() const { return Base::buffer(); } buffer 733 Source/wtf/Vector.h using Base::buffer; buffer 1196 Source/wtf/Vector.h const T* bufferBegin = buffer(); buffer 1197 Source/wtf/Vector.h const T* bufferEnd = buffer() + size(); buffer 1203 Source/wtf/Vector.h Allocator::markNoTracing(visitor, buffer()); buffer 1232 Source/wtf/dtoa.cpp const char* numberToString(double d, NumberToStringBuffer buffer) buffer 1234 Source/wtf/dtoa.cpp double_conversion::StringBuilder builder(buffer, NumberToStringBufferLength); buffer 1240 Source/wtf/dtoa.cpp static inline const char* formatStringTruncatingTrailingZerosIfNeeded(NumberToStringBuffer buffer, double_conversion::StringBuilder& builder) buffer 1245 Source/wtf/dtoa.cpp if (buffer[decimalPointPosition] == '.') buffer 1255 Source/wtf/dtoa.cpp if (buffer[truncatedLength] != '0') buffer 1274 Source/wtf/dtoa.cpp const char* numberToFixedPrecisionString(double d, unsigned significantFigures, NumberToStringBuffer buffer, bool truncateTrailingZeros) buffer 1281 Source/wtf/dtoa.cpp double_conversion::StringBuilder builder(buffer, NumberToStringBufferLength); buffer 1286 Source/wtf/dtoa.cpp return formatStringTruncatingTrailingZerosIfNeeded(buffer, builder); buffer 1289 Source/wtf/dtoa.cpp const char* numberToFixedWidthString(double d, unsigned decimalPlaces, NumberToStringBuffer buffer) buffer 1298 Source/wtf/dtoa.cpp double_conversion::StringBuilder builder(buffer, NumberToStringBufferLength); buffer 77 Source/wtf/dtoa/bignum-dtoa.cc Vector<char> buffer, int* length); buffer 81 Source/wtf/dtoa/bignum-dtoa.cc Vector<char>(buffer), int* length); buffer 88 Source/wtf/dtoa/bignum-dtoa.cc Vector<char>(buffer), int* length); buffer 92 Source/wtf/dtoa/bignum-dtoa.cc Vector<char> buffer, int* length, int* decimal_point) { buffer 107 Source/wtf/dtoa/bignum-dtoa.cc buffer[0] = '\0'; buffer 139 Source/wtf/dtoa/bignum-dtoa.cc is_even, buffer, length); buffer 144 Source/wtf/dtoa/bignum-dtoa.cc buffer, length); buffer 149 Source/wtf/dtoa/bignum-dtoa.cc buffer, length); buffer 154 Source/wtf/dtoa/bignum-dtoa.cc buffer[*length] = '\0'; buffer 174 Source/wtf/dtoa/bignum-dtoa.cc Vector<char> buffer, int* length) { buffer 187 Source/wtf/dtoa/bignum-dtoa.cc buffer[(*length)++] = digit + '0'; buffer 230 Source/wtf/dtoa/bignum-dtoa.cc ASSERT(buffer[(*length) - 1] != '9'); buffer 231 Source/wtf/dtoa/bignum-dtoa.cc buffer[(*length) - 1]++; buffer 238 Source/wtf/dtoa/bignum-dtoa.cc if ((buffer[(*length) - 1] - '0') % 2 == 0) { buffer 241 Source/wtf/dtoa/bignum-dtoa.cc ASSERT(buffer[(*length) - 1] != '9'); buffer 242 Source/wtf/dtoa/bignum-dtoa.cc buffer[(*length) - 1]++; buffer 255 Source/wtf/dtoa/bignum-dtoa.cc ASSERT(buffer[(*length) -1] != '9'); buffer 256 Source/wtf/dtoa/bignum-dtoa.cc buffer[(*length) - 1]++; buffer 271 Source/wtf/dtoa/bignum-dtoa.cc Vector<char>(buffer), int* length) { buffer 279 Source/wtf/dtoa/bignum-dtoa.cc buffer[i] = digit + '0'; buffer 289 Source/wtf/dtoa/bignum-dtoa.cc buffer[count - 1] = digit + '0'; buffer 293 Source/wtf/dtoa/bignum-dtoa.cc if (buffer[i] != '0' + 10) break; buffer 294 Source/wtf/dtoa/bignum-dtoa.cc buffer[i] = '0'; buffer 295 Source/wtf/dtoa/bignum-dtoa.cc buffer[i - 1]++; buffer 297 Source/wtf/dtoa/bignum-dtoa.cc if (buffer[0] == '0' + 10) { buffer 299 Source/wtf/dtoa/bignum-dtoa.cc buffer[0] = '1'; buffer 313 Source/wtf/dtoa/bignum-dtoa.cc Vector<char>(buffer), int* length) { buffer 336 Source/wtf/dtoa/bignum-dtoa.cc buffer[0] = '1'; buffer 350 Source/wtf/dtoa/bignum-dtoa.cc buffer, length); buffer 80 Source/wtf/dtoa/bignum-dtoa.h Vector<char> buffer, int* length, int* point); buffer 92 Source/wtf/dtoa/bignum.cc static uint64_t ReadUInt64(Vector<const char> buffer, buffer 97 Source/wtf/dtoa/bignum.cc int digit = buffer[i] - '0'; buffer 572 Source/wtf/dtoa/bignum.cc bool Bignum::ToHexString(char* buffer, int buffer_size) const { buffer 580 Source/wtf/dtoa/bignum.cc buffer[0] = '0'; buffer 581 Source/wtf/dtoa/bignum.cc buffer[1] = '\0'; buffer 589 Source/wtf/dtoa/bignum.cc buffer[string_index--] = '\0'; buffer 592 Source/wtf/dtoa/bignum.cc buffer[string_index--] = '0'; buffer 598 Source/wtf/dtoa/bignum.cc buffer[string_index--] = HexCharOfValue(current_bigit & 0xF); buffer 605 Source/wtf/dtoa/bignum.cc buffer[string_index--] = HexCharOfValue(most_significant_bigit & 0xF); buffer 72 Source/wtf/dtoa/bignum.h bool ToHexString(char* buffer, int buffer_size) const; buffer 105 Source/wtf/dtoa/double-conversion.cc char buffer[kMaxExponentLength + 1]; buffer 107 Source/wtf/dtoa/double-conversion.cc buffer[first_char_pos] = '\0'; buffer 109 Source/wtf/dtoa/double-conversion.cc buffer[--first_char_pos] = '0' + (exponent % 10); buffer 112 Source/wtf/dtoa/double-conversion.cc result_builder->AddSubstring(&buffer[first_char_pos], buffer 358 Source/wtf/dtoa/double-conversion.cc char* buffer, buffer 363 Source/wtf/dtoa/double-conversion.cc Vector<char> vector(buffer, buffer_length); buffer 448 Source/wtf/dtoa/double-conversion.cc char buffer[kBufferSize]; // NOLINT: size is known at compile time. buffer 489 Source/wtf/dtoa/double-conversion.cc buffer[buffer_pos++] = static_cast<char>(*current); buffer 526 Source/wtf/dtoa/double-conversion.cc buffer[buffer_pos++] = static_cast<char>(*current); buffer 592 Source/wtf/dtoa/double-conversion.cc buffer[buffer_pos++] = '1'; buffer 597 Source/wtf/dtoa/double-conversion.cc buffer[buffer_pos] = '\0'; buffer 599 Source/wtf/dtoa/double-conversion.cc double converted = Strtod(Vector<const char>(buffer, buffer_pos), exponent); buffer 324 Source/wtf/dtoa/double-conversion.h char* buffer, buffer 367 Source/wtf/dtoa/double-conversion.h static double StringToDouble(const char* buffer, size_t length, size_t* processed_characters_count); buffer 65 Source/wtf/dtoa/fast-dtoa.cc static bool RoundWeed(Vector<char> buffer, buffer 150 Source/wtf/dtoa/fast-dtoa.cc buffer[length - 1]--; buffer 185 Source/wtf/dtoa/fast-dtoa.cc static bool RoundWeedCounted(Vector<char> buffer, buffer 210 Source/wtf/dtoa/fast-dtoa.cc buffer[length - 1]++; buffer 212 Source/wtf/dtoa/fast-dtoa.cc if (buffer[i] != '0' + 10) break; buffer 213 Source/wtf/dtoa/fast-dtoa.cc buffer[i] = '0'; buffer 214 Source/wtf/dtoa/fast-dtoa.cc buffer[i - 1]++; buffer 220 Source/wtf/dtoa/fast-dtoa.cc if (buffer[0] == '0' + 10) { buffer 221 Source/wtf/dtoa/fast-dtoa.cc buffer[0] = '1'; buffer 389 Source/wtf/dtoa/fast-dtoa.cc Vector<char> buffer, buffer 436 Source/wtf/dtoa/fast-dtoa.cc buffer[*length] = '0' + digit; buffer 449 Source/wtf/dtoa/fast-dtoa.cc return RoundWeed(buffer, *length, DiyFp::Minus(too_high, w).f(), buffer 471 Source/wtf/dtoa/fast-dtoa.cc buffer[*length] = '0' + digit; buffer 476 Source/wtf/dtoa/fast-dtoa.cc return RoundWeed(buffer, *length, DiyFp::Minus(too_high, w).f() * unit, buffer 514 Source/wtf/dtoa/fast-dtoa.cc Vector<char> buffer, buffer 545 Source/wtf/dtoa/fast-dtoa.cc buffer[*length] = '0' + digit; buffer 559 Source/wtf/dtoa/fast-dtoa.cc return RoundWeedCounted(buffer, *length, rest, buffer 578 Source/wtf/dtoa/fast-dtoa.cc buffer[*length] = '0' + digit; buffer 585 Source/wtf/dtoa/fast-dtoa.cc return RoundWeedCounted(buffer, *length, fractionals, one.f(), w_error, buffer 602 Source/wtf/dtoa/fast-dtoa.cc Vector<char> buffer, buffer 655 Source/wtf/dtoa/fast-dtoa.cc buffer, length, &kappa); buffer 668 Source/wtf/dtoa/fast-dtoa.cc Vector<char> buffer, buffer 704 Source/wtf/dtoa/fast-dtoa.cc buffer, length, &kappa); buffer 713 Source/wtf/dtoa/fast-dtoa.cc Vector<char> buffer, buffer 723 Source/wtf/dtoa/fast-dtoa.cc result = Grisu3(v, buffer, length, &decimal_exponent); buffer 727 Source/wtf/dtoa/fast-dtoa.cc buffer, length, &decimal_exponent); buffer 734 Source/wtf/dtoa/fast-dtoa.cc buffer[*length] = '\0'; buffer 80 Source/wtf/dtoa/fast-dtoa.h Vector<char> buffer, buffer 125 Source/wtf/dtoa/fixed-dtoa.cc Vector<char> buffer, int* length) { buffer 127 Source/wtf/dtoa/fixed-dtoa.cc buffer[(*length) + i] = '0' + number % 10; buffer 134 Source/wtf/dtoa/fixed-dtoa.cc static void FillDigits32(uint32_t number, Vector<char> buffer, int* length) { buffer 140 Source/wtf/dtoa/fixed-dtoa.cc buffer[(*length) + number_length] = '0' + digit; buffer 147 Source/wtf/dtoa/fixed-dtoa.cc char tmp = buffer[i]; buffer 148 Source/wtf/dtoa/fixed-dtoa.cc buffer[i] = buffer[j]; buffer 149 Source/wtf/dtoa/fixed-dtoa.cc buffer[j] = tmp; buffer 158 Source/wtf/dtoa/fixed-dtoa.cc Vector<char> buffer, int* length) { buffer 166 Source/wtf/dtoa/fixed-dtoa.cc FillDigits32FixedLength(part0, 3, buffer, length); buffer 167 Source/wtf/dtoa/fixed-dtoa.cc FillDigits32FixedLength(part1, 7, buffer, length); buffer 168 Source/wtf/dtoa/fixed-dtoa.cc FillDigits32FixedLength(part2, 7, buffer, length); buffer 172 Source/wtf/dtoa/fixed-dtoa.cc static void FillDigits64(uint64_t number, Vector<char> buffer, int* length) { buffer 181 Source/wtf/dtoa/fixed-dtoa.cc FillDigits32(part0, buffer, length); buffer 182 Source/wtf/dtoa/fixed-dtoa.cc FillDigits32FixedLength(part1, 7, buffer, length); buffer 183 Source/wtf/dtoa/fixed-dtoa.cc FillDigits32FixedLength(part2, 7, buffer, length); buffer 185 Source/wtf/dtoa/fixed-dtoa.cc FillDigits32(part1, buffer, length); buffer 186 Source/wtf/dtoa/fixed-dtoa.cc FillDigits32FixedLength(part2, 7, buffer, length); buffer 188 Source/wtf/dtoa/fixed-dtoa.cc FillDigits32(part2, buffer, length); buffer 193 Source/wtf/dtoa/fixed-dtoa.cc static void RoundUp(Vector<char> buffer, int* length, int* decimal_point) { buffer 196 Source/wtf/dtoa/fixed-dtoa.cc buffer[0] = '1'; buffer 203 Source/wtf/dtoa/fixed-dtoa.cc buffer[(*length) - 1]++; buffer 205 Source/wtf/dtoa/fixed-dtoa.cc if (buffer[i] != '0' + 10) { buffer 208 Source/wtf/dtoa/fixed-dtoa.cc buffer[i] = '0'; buffer 209 Source/wtf/dtoa/fixed-dtoa.cc buffer[i - 1]++; buffer 216 Source/wtf/dtoa/fixed-dtoa.cc if (buffer[0] == '0' + 10) { buffer 217 Source/wtf/dtoa/fixed-dtoa.cc buffer[0] = '1'; buffer 235 Source/wtf/dtoa/fixed-dtoa.cc int fractional_count, Vector<char> buffer, buffer 260 Source/wtf/dtoa/fixed-dtoa.cc buffer[*length] = '0' + digit; buffer 266 Source/wtf/dtoa/fixed-dtoa.cc RoundUp(buffer, length, decimal_point); buffer 281 Source/wtf/dtoa/fixed-dtoa.cc buffer[*length] = '0' + digit; buffer 285 Source/wtf/dtoa/fixed-dtoa.cc RoundUp(buffer, length, decimal_point); buffer 293 Source/wtf/dtoa/fixed-dtoa.cc static void TrimZeros(Vector<char> buffer, int* length, int* decimal_point) { buffer 294 Source/wtf/dtoa/fixed-dtoa.cc while (*length > 0 && buffer[(*length) - 1] == '0') { buffer 298 Source/wtf/dtoa/fixed-dtoa.cc while (first_non_zero < *length && buffer[first_non_zero] == '0') { buffer 303 Source/wtf/dtoa/fixed-dtoa.cc buffer[i - first_non_zero] = buffer[i]; buffer 313 Source/wtf/dtoa/fixed-dtoa.cc Vector<char> buffer, buffer 364 Source/wtf/dtoa/fixed-dtoa.cc FillDigits32(quotient, buffer, length); buffer 365 Source/wtf/dtoa/fixed-dtoa.cc FillDigits64FixedLength(remainder, divisor_power, buffer, length); buffer 370 Source/wtf/dtoa/fixed-dtoa.cc FillDigits64(significand, buffer, length); buffer 377 Source/wtf/dtoa/fixed-dtoa.cc FillDigits64(integrals, buffer, length); buffer 379 Source/wtf/dtoa/fixed-dtoa.cc FillDigits32(static_cast<uint32_t>(integrals), buffer, length); buffer 383 Source/wtf/dtoa/fixed-dtoa.cc buffer, length, decimal_point); buffer 388 Source/wtf/dtoa/fixed-dtoa.cc buffer[0] = '\0'; buffer 394 Source/wtf/dtoa/fixed-dtoa.cc buffer, length, decimal_point); buffer 396 Source/wtf/dtoa/fixed-dtoa.cc TrimZeros(buffer, length, decimal_point); buffer 397 Source/wtf/dtoa/fixed-dtoa.cc buffer[*length] = '\0'; buffer 54 Source/wtf/dtoa/fixed-dtoa.h Vector<char> buffer, int* length, int* decimal_point); buffer 95 Source/wtf/dtoa/strtod.cc static Vector<const char> TrimLeadingZeros(Vector<const char> buffer) { buffer 96 Source/wtf/dtoa/strtod.cc for (int i = 0; i < buffer.length(); i++) { buffer 97 Source/wtf/dtoa/strtod.cc if (buffer[i] != '0') { buffer 98 Source/wtf/dtoa/strtod.cc return buffer.SubVector(i, buffer.length()); buffer 101 Source/wtf/dtoa/strtod.cc return Vector<const char>(buffer.start(), 0); buffer 105 Source/wtf/dtoa/strtod.cc static Vector<const char> TrimTrailingZeros(Vector<const char> buffer) { buffer 106 Source/wtf/dtoa/strtod.cc for (int i = buffer.length() - 1; i >= 0; --i) { buffer 107 Source/wtf/dtoa/strtod.cc if (buffer[i] != '0') { buffer 108 Source/wtf/dtoa/strtod.cc return buffer.SubVector(0, i + 1); buffer 111 Source/wtf/dtoa/strtod.cc return Vector<const char>(buffer.start(), 0); buffer 115 Source/wtf/dtoa/strtod.cc static void TrimToMaxSignificantDigits(Vector<const char> buffer, buffer 120 Source/wtf/dtoa/strtod.cc significant_buffer[i] = buffer[i]; buffer 124 Source/wtf/dtoa/strtod.cc ASSERT(buffer[buffer.length() - 1] != '0'); buffer 129 Source/wtf/dtoa/strtod.cc exponent + (buffer.length() - kMaxSignificantDecimalDigits); buffer 137 Source/wtf/dtoa/strtod.cc static uint64_t ReadUint64(Vector<const char> buffer, buffer 141 Source/wtf/dtoa/strtod.cc while (i < buffer.length() && result <= (kMaxUint64 / 10 - 1)) { buffer 142 Source/wtf/dtoa/strtod.cc int digit = buffer[i++] - '0'; buffer 155 Source/wtf/dtoa/strtod.cc static void ReadDiyFp(Vector<const char> buffer, buffer 159 Source/wtf/dtoa/strtod.cc uint64_t significand = ReadUint64(buffer, &read_digits); buffer 160 Source/wtf/dtoa/strtod.cc if (buffer.length() == read_digits) { buffer 165 Source/wtf/dtoa/strtod.cc if (buffer[read_digits] >= '5') { buffer 171 Source/wtf/dtoa/strtod.cc *remaining_decimals = buffer.length() - read_digits; buffer 254 Source/wtf/dtoa/strtod.cc static bool DiyFpStrtod(Vector<const char> buffer, buffer 259 Source/wtf/dtoa/strtod.cc ReadDiyFp(buffer, &input, &remaining_decimals); buffer 290 Source/wtf/dtoa/strtod.cc if (kMaxUint64DecimalDigits - buffer.length() >= adjustment_exponent) { buffer 371 Source/wtf/dtoa/strtod.cc static double BignumStrtod(Vector<const char> buffer, buffer 380 Source/wtf/dtoa/strtod.cc ASSERT(buffer.length() + exponent <= kMaxDecimalPower + 1); buffer 381 Source/wtf/dtoa/strtod.cc ASSERT(buffer.length() + exponent > kMinDecimalPower); buffer 382 Source/wtf/dtoa/strtod.cc ASSERT(buffer.length() <= kMaxSignificantDecimalDigits); buffer 390 Source/wtf/dtoa/strtod.cc input.AssignDecimalString(buffer); buffer 416 Source/wtf/dtoa/strtod.cc double Strtod(Vector<const char> buffer, int exponent) { buffer 417 Source/wtf/dtoa/strtod.cc Vector<const char> left_trimmed = TrimLeadingZeros(buffer); buffer 39 Source/wtf/dtoa/strtod.h double Strtod(Vector<const char> buffer, int exponent); buffer 185 Source/wtf/dtoa/utils.h StringBuilder(char* buffer, int size) buffer 186 Source/wtf/dtoa/utils.h : buffer_(buffer, size), position_(0) { } buffer 187 Source/wtf/text/AtomicString.cpp static unsigned hash(const HashAndCharacters<CharacterType>& buffer) buffer 189 Source/wtf/text/AtomicString.cpp ASSERT(buffer.hash == StringHasher::computeHashAndMaskTop8Bits(buffer.characters, buffer.length)); buffer 190 Source/wtf/text/AtomicString.cpp return buffer.hash; buffer 193 Source/wtf/text/AtomicString.cpp static bool equal(StringImpl* const& string, const HashAndCharacters<CharacterType>& buffer) buffer 195 Source/wtf/text/AtomicString.cpp return WTF::equal(string, buffer.characters, buffer.length); buffer 198 Source/wtf/text/AtomicString.cpp static void translate(StringImpl*& location, const HashAndCharacters<CharacterType>& buffer, unsigned hash) buffer 200 Source/wtf/text/AtomicString.cpp location = StringImpl::create(buffer.characters, buffer.length).leakRef(); buffer 214 Source/wtf/text/AtomicString.cpp static unsigned hash(const HashAndUTF8Characters& buffer) buffer 216 Source/wtf/text/AtomicString.cpp return buffer.hash; buffer 219 Source/wtf/text/AtomicString.cpp static bool equal(StringImpl* const& string, const HashAndUTF8Characters& buffer) buffer 221 Source/wtf/text/AtomicString.cpp if (buffer.utf16Length != string->length()) buffer 225 Source/wtf/text/AtomicString.cpp if (buffer.utf16Length != buffer.length) { buffer 228 Source/wtf/text/AtomicString.cpp return equalLatin1WithUTF8(characters8, characters8 + string->length(), buffer.characters, buffer.characters + buffer.length); buffer 231 Source/wtf/text/AtomicString.cpp return equalUTF16WithUTF8(characters16, characters16 + string->length(), buffer.characters, buffer.characters + buffer.length); buffer 237 Source/wtf/text/AtomicString.cpp for (unsigned i = 0; i < buffer.length; ++i) { buffer 238 Source/wtf/text/AtomicString.cpp ASSERT(isASCII(buffer.characters[i])); buffer 239 Source/wtf/text/AtomicString.cpp if (stringCharacters[i] != buffer.characters[i]) buffer 248 Source/wtf/text/AtomicString.cpp for (unsigned i = 0; i < buffer.length; ++i) { buffer 249 Source/wtf/text/AtomicString.cpp ASSERT(isASCII(buffer.characters[i])); buffer 250 Source/wtf/text/AtomicString.cpp if (stringCharacters[i] != buffer.characters[i]) buffer 257 Source/wtf/text/AtomicString.cpp static void translate(StringImpl*& location, const HashAndUTF8Characters& buffer, unsigned hash) buffer 260 Source/wtf/text/AtomicString.cpp RefPtr<StringImpl> newString = StringImpl::createUninitialized(buffer.utf16Length, target); buffer 263 Source/wtf/text/AtomicString.cpp const char* source = buffer.characters; buffer 264 Source/wtf/text/AtomicString.cpp if (convertUTF8ToUTF16(&source, source + buffer.length, &target, target + buffer.utf16Length, &isAllASCII) != conversionOK) buffer 268 Source/wtf/text/AtomicString.cpp newString = StringImpl::create(buffer.characters, buffer.length); buffer 284 Source/wtf/text/AtomicString.cpp UCharBuffer buffer = { s, length }; buffer 285 Source/wtf/text/AtomicString.cpp return addToStringTable<UCharBuffer, UCharBufferTranslator>(buffer); buffer 296 Source/wtf/text/AtomicString.cpp HashAndCharacters<UChar> buffer = { existingHash, s, length }; buffer 297 Source/wtf/text/AtomicString.cpp return addToStringTable<HashAndCharacters<UChar>, HashAndCharactersTranslator<UChar> >(buffer); buffer 312 Source/wtf/text/AtomicString.cpp UCharBuffer buffer = { s, length }; buffer 313 Source/wtf/text/AtomicString.cpp return addToStringTable<UCharBuffer, UCharBufferTranslator>(buffer); buffer 323 Source/wtf/text/AtomicString.cpp static unsigned hash(const SubstringLocation& buffer) buffer 325 Source/wtf/text/AtomicString.cpp if (buffer.baseString->is8Bit()) buffer 326 Source/wtf/text/AtomicString.cpp return StringHasher::computeHashAndMaskTop8Bits(buffer.baseString->characters8() + buffer.start, buffer.length); buffer 327 Source/wtf/text/AtomicString.cpp return StringHasher::computeHashAndMaskTop8Bits(buffer.baseString->characters16() + buffer.start, buffer.length); buffer 330 Source/wtf/text/AtomicString.cpp static bool equal(StringImpl* const& string, const SubstringLocation& buffer) buffer 332 Source/wtf/text/AtomicString.cpp if (buffer.baseString->is8Bit()) buffer 333 Source/wtf/text/AtomicString.cpp return WTF::equal(string, buffer.baseString->characters8() + buffer.start, buffer.length); buffer 334 Source/wtf/text/AtomicString.cpp return WTF::equal(string, buffer.baseString->characters16() + buffer.start, buffer.length); buffer 337 Source/wtf/text/AtomicString.cpp static void translate(StringImpl*& location, const SubstringLocation& buffer, unsigned hash) buffer 339 Source/wtf/text/AtomicString.cpp location = buffer.baseString->substring(buffer.start, buffer.length).leakRef(); buffer 360 Source/wtf/text/AtomicString.cpp SubstringLocation buffer = { baseString, start, length }; buffer 361 Source/wtf/text/AtomicString.cpp return addToStringTable<SubstringLocation, SubstringTranslator>(buffer); buffer 412 Source/wtf/text/AtomicString.cpp LCharBuffer buffer = { s, length }; buffer 413 Source/wtf/text/AtomicString.cpp return addToStringTable<LCharBuffer, LCharBufferTranslator>(buffer); buffer 421 Source/wtf/text/AtomicString.cpp CharBuffer buffer = { characters, length }; buffer 422 Source/wtf/text/AtomicString.cpp return addToStringTable<CharBuffer, CharBufferFromLiteralDataTranslator>(buffer); buffer 433 Source/wtf/text/AtomicString.cpp HashAndCharacters<CharacterType> buffer = { stringImpl->existingHash(), stringImpl->getCharacters<CharacterType>(), stringImpl->length() }; buffer 434 Source/wtf/text/AtomicString.cpp return atomicStrings().find<HashAndCharactersTranslator<CharacterType> >(buffer); buffer 480 Source/wtf/text/AtomicString.cpp HashAndUTF8Characters buffer; buffer 481 Source/wtf/text/AtomicString.cpp buffer.characters = charactersStart; buffer 482 Source/wtf/text/AtomicString.cpp buffer.hash = calculateStringHashAndLengthFromUTF8MaskingTop8Bits(charactersStart, charactersEnd, buffer.length, buffer.utf16Length); buffer 484 Source/wtf/text/AtomicString.cpp if (!buffer.hash) buffer 488 Source/wtf/text/AtomicString.cpp atomicString.m_string = addToStringTable<HashAndUTF8Characters, HashAndUTF8CharactersTranslator>(buffer); buffer 524 Source/wtf/text/AtomicString.cpp NumberToStringBuffer buffer; buffer 525 Source/wtf/text/AtomicString.cpp return AtomicString(numberToFixedPrecisionString(number, precision, buffer, trailingZerosTruncatingPolicy == TruncateTrailingZeros)); buffer 103 Source/wtf/text/CString.cpp RefPtr<CStringBuffer> buffer = m_buffer.release(); buffer 104 Source/wtf/text/CString.cpp size_t length = buffer->length(); buffer 106 Source/wtf/text/CString.cpp memcpy(m_buffer->mutableData(), buffer->data(), length + 1); buffer 64 Source/wtf/text/CString.h CString(CStringBuffer* buffer) : m_buffer(buffer) { } buffer 80 Source/wtf/text/CString.h CStringBuffer* buffer() const { return m_buffer.get(); } buffer 82 Source/wtf/text/CStringTest.cpp char* buffer; buffer 83 Source/wtf/text/CStringTest.cpp CString emptyString = CString::newUninitialized(0, buffer); buffer 85 Source/wtf/text/CStringTest.cpp ASSERT_EQ(buffer, emptyString.data()); buffer 86 Source/wtf/text/CStringTest.cpp ASSERT_EQ(buffer[0], 0); buffer 89 Source/wtf/text/CStringTest.cpp CString uninitializedString = CString::newUninitialized(length, buffer); buffer 91 Source/wtf/text/CStringTest.cpp ASSERT_EQ(buffer, uninitializedString.data()); buffer 121 Source/wtf/text/StringBuilder.cpp RefPtr<StringImpl> buffer = StringImpl::createUninitialized(requiredLength, m_bufferCharacters8); buffer 125 Source/wtf/text/StringBuilder.cpp m_buffer = buffer.release(); buffer 135 Source/wtf/text/StringBuilder.cpp RefPtr<StringImpl> buffer = StringImpl::createUninitialized(requiredLength, m_bufferCharacters16); buffer 139 Source/wtf/text/StringBuilder.cpp m_buffer = buffer.release(); buffer 149 Source/wtf/text/StringBuilder.cpp RefPtr<StringImpl> buffer = StringImpl::createUninitialized(requiredLength, m_bufferCharacters16); buffer 156 Source/wtf/text/StringBuilder.cpp m_buffer = buffer.release(); buffer 350 Source/wtf/text/StringBuilder.cpp static void expandLCharToUCharInplace(UChar* buffer, size_t length) buffer 352 Source/wtf/text/StringBuilder.cpp const LChar* sourceEnd = reinterpret_cast<LChar*>(buffer) + length; buffer 353 Source/wtf/text/StringBuilder.cpp UChar* current = buffer + length; buffer 354 Source/wtf/text/StringBuilder.cpp while (current != buffer) buffer 323 Source/wtf/text/StringBuilder.h bool equal(const StringBuilder& s, const CharType* buffer, unsigned length) buffer 329 Source/wtf/text/StringBuilder.h return equal(s.characters8(), buffer, length); buffer 331 Source/wtf/text/StringBuilder.h return equal(s.characters16(), buffer, length); buffer 335 Source/wtf/text/StringBuilder.h bool equalIgnoringCase(const StringBuilder& s, const CharType* buffer, unsigned length) buffer 341 Source/wtf/text/StringBuilder.h return equalIgnoringCase(s.characters8(), buffer, length); buffer 343 Source/wtf/text/StringBuilder.h return equalIgnoringCase(s.characters16(), buffer, length); buffer 49 Source/wtf/text/StringCF.cpp Vector<UChar, 1024> buffer(size); buffer 50 Source/wtf/text/StringCF.cpp CFStringGetCharacters(str, CFRangeMake(0, size), (UniChar*)buffer.data()); buffer 51 Source/wtf/text/StringCF.cpp m_impl = StringImpl::create(buffer.data(), size); buffer 50 Source/wtf/text/StringConcatenate.h StringTypeAdapter<char>(char buffer) buffer 51 Source/wtf/text/StringConcatenate.h : m_buffer(buffer) buffer 73 Source/wtf/text/StringConcatenate.h StringTypeAdapter<LChar>(LChar buffer) buffer 74 Source/wtf/text/StringConcatenate.h : m_buffer(buffer) buffer 96 Source/wtf/text/StringConcatenate.h StringTypeAdapter<UChar>(UChar buffer) buffer 97 Source/wtf/text/StringConcatenate.h : m_buffer(buffer) buffer 120 Source/wtf/text/StringConcatenate.h StringTypeAdapter<char*>(char* buffer) buffer 121 Source/wtf/text/StringConcatenate.h : m_buffer(buffer) buffer 122 Source/wtf/text/StringConcatenate.h , m_length(strlen(buffer)) buffer 152 Source/wtf/text/StringConcatenate.h StringTypeAdapter<LChar*>(LChar* buffer) buffer 153 Source/wtf/text/StringConcatenate.h : m_buffer(buffer) buffer 154 Source/wtf/text/StringConcatenate.h , m_length(strlen(reinterpret_cast<char*>(buffer))) buffer 180 Source/wtf/text/StringConcatenate.h StringTypeAdapter<const UChar*>(const UChar* buffer) buffer 181 Source/wtf/text/StringConcatenate.h : m_buffer(buffer) buffer 214 Source/wtf/text/StringConcatenate.h StringTypeAdapter<const char*>(const char* buffer) buffer 215 Source/wtf/text/StringConcatenate.h : m_buffer(buffer) buffer 216 Source/wtf/text/StringConcatenate.h , m_length(strlen(buffer)) buffer 245 Source/wtf/text/StringConcatenate.h StringTypeAdapter<const LChar*>(const LChar* buffer) buffer 246 Source/wtf/text/StringConcatenate.h : m_buffer(buffer) buffer 247 Source/wtf/text/StringConcatenate.h , m_length(strlen(reinterpret_cast<const char*>(buffer))) buffer 273 Source/wtf/text/StringConcatenate.h StringTypeAdapter<Vector<char> >(const Vector<char>& buffer) buffer 274 Source/wtf/text/StringConcatenate.h : m_buffer(buffer) buffer 301 Source/wtf/text/StringConcatenate.h StringTypeAdapter<Vector<LChar> >(const Vector<LChar>& buffer) buffer 302 Source/wtf/text/StringConcatenate.h : m_buffer(buffer) buffer 411 Source/wtf/text/StringConcatenate.h LChar* buffer; buffer 412 Source/wtf/text/StringConcatenate.h RefPtr<StringImpl> resultImpl = StringImpl::createUninitialized(length, buffer); buffer 416 Source/wtf/text/StringConcatenate.h LChar* result = buffer; buffer 424 Source/wtf/text/StringConcatenate.h UChar* buffer; buffer 425 Source/wtf/text/StringConcatenate.h RefPtr<StringImpl> resultImpl = StringImpl::createUninitialized(length, buffer); buffer 429 Source/wtf/text/StringConcatenate.h UChar* result = buffer; buffer 85 Source/wtf/text/StringOperators.h StringTypeAdapter<StringAppend<StringType1, StringType2> >(StringAppend<StringType1, StringType2>& buffer) buffer 86 Source/wtf/text/StringOperators.h : m_buffer(buffer) buffer 349 Source/wtf/text/TextCodecICU.cpp UChar buffer[ConversionBufferSize]; buffer 350 Source/wtf/text/TextCodecICU.cpp UChar* bufferLimit = buffer + ConversionBufferSize; buffer 357 Source/wtf/text/TextCodecICU.cpp int ucharsDecoded = decodeToBuffer(buffer, bufferLimit, source, sourceLimit, offsets, flush != DoNotFlush, err); buffer 358 Source/wtf/text/TextCodecICU.cpp result.append(buffer, ucharsDecoded); buffer 364 Source/wtf/text/TextCodecICU.cpp decodeToBuffer(buffer, bufferLimit, source, sourceLimit, offsets, true, err); buffer 507 Source/wtf/text/TextCodecICU.cpp char buffer[ConversionBufferSize]; buffer 508 Source/wtf/text/TextCodecICU.cpp char* target = buffer; buffer 512 Source/wtf/text/TextCodecICU.cpp size_t count = target - buffer; buffer 514 Source/wtf/text/TextCodecICU.cpp memcpy(result.data() + size, buffer, count); buffer 64 Source/wtf/text/TextCodecICU.h int decodeToBuffer(UChar* buffer, UChar* bufferLimit, const char*& source, buffer 89 Source/wtf/text/TextCodecUTF16.cpp StringBuffer<UChar> buffer(numCharsOut); buffer 90 Source/wtf/text/TextCodecUTF16.cpp UChar* q = buffer.characters(); buffer 130 Source/wtf/text/TextCodecUTF16.cpp buffer.shrink(q - buffer.characters()); buffer 132 Source/wtf/text/TextCodecUTF16.cpp return String::adopt(buffer); buffer 273 Source/wtf/text/TextCodecUTF8.cpp StringBuffer<LChar> buffer(m_partialSequenceSize + length); buffer 278 Source/wtf/text/TextCodecUTF8.cpp LChar* destination = buffer.characters(); buffer 347 Source/wtf/text/TextCodecUTF8.cpp buffer.shrink(destination - buffer.characters()); buffer 349 Source/wtf/text/TextCodecUTF8.cpp return String::adopt(buffer); buffer 357 Source/wtf/text/TextCodecUTF8.cpp for (LChar* converted8 = buffer.characters(); converted8 < destination;) buffer 318 Source/wtf/text/TextEncodingRegistry.cpp char buffer[maxEncodingNameLength + 1]; buffer 324 Source/wtf/text/TextEncodingRegistry.cpp buffer[j++] = c; buffer 326 Source/wtf/text/TextEncodingRegistry.cpp buffer[j] = 0; buffer 327 Source/wtf/text/TextEncodingRegistry.cpp return atomicCanonicalTextEncodingName(buffer); buffer 450 Source/wtf/text/WTFString.cpp unsigned String::copyTo(UChar* buffer, unsigned pos, unsigned maxLength) const buffer 458 Source/wtf/text/WTFString.cpp StringImpl::copyChars(buffer, characters8() + pos, numCharacters); buffer 460 Source/wtf/text/WTFString.cpp StringImpl::copyChars(buffer, characters16() + pos, numCharacters); buffer 469 Source/wtf/text/WTFString.cpp Vector<char, 256> buffer; buffer 492 Source/wtf/text/WTFString.cpp buffer.grow(len + 1); buffer 495 Source/wtf/text/WTFString.cpp vsnprintf(buffer.data(), buffer.size(), format, args); buffer 499 Source/wtf/text/WTFString.cpp return StringImpl::create(reinterpret_cast<const LChar*>(buffer.data()), len); buffer 534 Source/wtf/text/WTFString.cpp NumberToStringBuffer buffer; buffer 535 Source/wtf/text/WTFString.cpp return String(numberToFixedPrecisionString(number, precision, buffer, trailingZerosTruncatingPolicy == TruncateTrailingZeros)); buffer 540 Source/wtf/text/WTFString.cpp NumberToStringBuffer buffer; buffer 541 Source/wtf/text/WTFString.cpp return String(numberToString(number, buffer)); buffer 546 Source/wtf/text/WTFString.cpp NumberToStringBuffer buffer; buffer 547 Source/wtf/text/WTFString.cpp return String(numberToFixedWidthString(number, decimalPlaces, buffer)); buffer 787 Source/wtf/text/WTFString.cpp static inline void putUTF8Triple(char*& buffer, UChar ch) buffer 790 Source/wtf/text/WTFString.cpp *buffer++ = static_cast<char>(((ch >> 12) & 0x0F) | 0xE0); buffer 791 Source/wtf/text/WTFString.cpp *buffer++ = static_cast<char>(((ch >> 6) & 0x3F) | 0x80); buffer 792 Source/wtf/text/WTFString.cpp *buffer++ = static_cast<char>((ch & 0x3F) | 0x80); buffer 816 Source/wtf/text/WTFString.cpp char* buffer = bufferVector.data(); buffer 821 Source/wtf/text/WTFString.cpp ConversionResult result = convertLatin1ToUTF8(&characters, characters + length, &buffer, buffer + bufferVector.size()); buffer 828 Source/wtf/text/WTFString.cpp char* bufferEnd = buffer + bufferVector.size(); buffer 831 Source/wtf/text/WTFString.cpp ConversionResult result = convertUTF16ToUTF8(&characters, charactersEnd, &buffer, bufferEnd, true); buffer 838 Source/wtf/text/WTFString.cpp ASSERT((buffer + 3) <= bufferEnd); buffer 839 Source/wtf/text/WTFString.cpp putUTF8Triple(buffer, replacementCharacter); buffer 845 Source/wtf/text/WTFString.cpp ConversionResult result = convertUTF16ToUTF8(&characters, characters + length, &buffer, buffer + bufferVector.size(), strict); buffer 865 Source/wtf/text/WTFString.cpp ASSERT((buffer + 3) <= (buffer + bufferVector.size())); buffer 866 Source/wtf/text/WTFString.cpp putUTF8Triple(buffer, *characters); buffer 871 Source/wtf/text/WTFString.cpp return CString(bufferVector.data(), buffer - bufferVector.data()); buffer 913 Source/wtf/text/WTFString.cpp Vector<UChar, 1024> buffer(length); buffer 914 Source/wtf/text/WTFString.cpp UChar* bufferStart = buffer.data(); buffer 918 Source/wtf/text/WTFString.cpp if (convertUTF8ToUTF16(&stringCurrent, reinterpret_cast<const char *>(stringStart + length), &bufferCurrent, bufferCurrent + buffer.size()) != conversionOK) buffer 1253 Source/wtf/text/WTFString.cpp Vector<char> buffer; buffer 1258 Source/wtf/text/WTFString.cpp buffer.append(ch); buffer 1259 Source/wtf/text/WTFString.cpp buffer.append(ch); buffer 1261 Source/wtf/text/WTFString.cpp buffer.append('\\'); buffer 1262 Source/wtf/text/WTFString.cpp buffer.append('u'); buffer 1263 Source/wtf/text/WTFString.cpp appendUnsignedAsHexFixedSize(ch, buffer, 4); buffer 1266 Source/wtf/text/WTFString.cpp buffer.append('\0'); buffer 1267 Source/wtf/text/WTFString.cpp return buffer; buffer 141 Source/wtf/text/WTFString.h static String adopt(StringBuffer<CharType>& buffer) buffer 143 Source/wtf/text/WTFString.h if (!buffer.length()) buffer 145 Source/wtf/text/WTFString.h return String(buffer.release()); buffer 254 Source/wtf/text/WTFString.h unsigned copyTo(UChar* buffer, unsigned pos, unsigned maxLength) const; buffer 400 Source/wtf/text/WTFString.h static String make8BitFrom16BitSource(const Vector<UChar, inlineCapacity>& buffer) buffer 402 Source/wtf/text/WTFString.h return make8BitFrom16BitSource(buffer.data(), buffer.size()); buffer 423 public/platform/Platform.h virtual void cryptographicallyRandomValues(unsigned char* buffer, size_t length) = 0; buffer 78 public/platform/WebClipboard.h Buffer buffer, WebURL* pageURL, unsigned* fragmentStart, buffer 215 public/platform/WebGraphicsContext3D.h virtual void bindBuffer(WGC3Denum target, WebGLId buffer) = 0; buffer 288 public/platform/WebGraphicsContext3D.h virtual WGC3Dboolean isBuffer(WebGLId buffer) = 0;