Home
last modified time | relevance | path

Searched refs:expectedContentLength (Results 1 – 25 of 39) sorted by relevance

12

/external/webkit/Source/WebCore/platform/network/mac/
DResourceResponseMac.mm60 NSInteger expectedContentLength;
62 expectedContentLength = -1;
64 expectedContentLength = static_cast<NSInteger>(m_expectedContentLength);
65 …LResponse alloc] initWithURL:m_url MIMEType:m_mimeType expectedContentLength:expectedContentLength
86 m_expectedContentLength = [m_nsResponse.get() expectedContentLength];
/external/webkit/Source/WebKit/win/Interfaces/
DIWebURLResponse.idl43 - (long long)expectedContentLength
45 HRESULT expectedContentLength([out, retval] long long *result);
48 …- (id)initWithURL:(NSURL *)URL MIMEType:(NSString *)MIMEType expectedContentLength:(int)length tex…
50 …HRESULT initWithURL([in] BSTR url, [in] BSTR mimeType, [in] int expectedContentLength, [in] BSTR t…
/external/webkit/Source/WebKit2/WebProcess/Plugins/
DPluginView.cpp149 static String buildHTTPHeaders(const ResourceResponse& response, long long& expectedContentLength) in buildHTTPHeaders() argument
177 expectedContentLength = -1; in buildHTTPHeaders()
187 long long expectedContentLength = response.expectedContentLength(); in didReceiveResponse() local
189 String headers = buildHTTPHeaders(response, expectedContentLength); in didReceiveResponse()
192 if (expectedContentLength > 0) in didReceiveResponse()
193 streamLength = expectedContentLength; in didReceiveResponse()
316 long long expectedContentLength = response.expectedContentLength(); in manualLoadDidReceiveResponse() local
318 String headers = buildHTTPHeaders(response, expectedContentLength); in manualLoadDidReceiveResponse()
321 if (expectedContentLength > 0) in manualLoadDidReceiveResponse()
322 streamLength = expectedContentLength; in manualLoadDidReceiveResponse()
/external/webkit/Source/WebKit/mac/Plugins/Hosted/
DHostedNetscapePluginStream.mm94 void HostedNetscapePluginStream::startStream(NSURL *responseURL, long long expectedContentLength, N…
109 expectedContentLength,
136 long long expectedContentLength = [r expectedContentLength];
176 …// <rdar://problem/4470599> tracks a request for -[NSURLResponse expectedContentLength] to incorpo…
179 expectedContentLength = -1;
184 …startStream([r URL], expectedContentLength, WKGetNSURLResponseLastModifiedDate(r), [r MIMEType], t…
DHostedNetscapePluginStream.h82 …void startStream(NSURL *, long long expectedContentLength, NSDate *lastModifiedDate, NSString *mim…
DWebKitPluginHost.defs142 expectedContentLength :int64_t;
/external/webkit/Source/WebKit/win/
DWebURLResponse.h48 virtual HRESULT STDMETHODCALLTYPE expectedContentLength(
54 /* [in] */ int expectedContentLength,
DWebURLResponse.cpp284 HRESULT STDMETHODCALLTYPE WebURLResponse::expectedContentLength( in expectedContentLength() function in WebURLResponse
287 *result = m_response.expectedContentLength(); in expectedContentLength()
294 /* [in] */ int expectedContentLength, in initWithURL() argument
297 …ceResponse(MarshallingHelpers::BSTRToKURL(url), String(mimeType), expectedContentLength, String(te… in initWithURL()
/external/webkit/Source/WebKit/chromium/src/
DWebURLResponse.cpp162 long long WebURLResponse::expectedContentLength() const in expectedContentLength() function in WebKit::WebURLResponse
164 return m_private->m_resourceResponse->expectedContentLength(); in expectedContentLength()
167 void WebURLResponse::setExpectedContentLength(long long expectedContentLength) in setExpectedContentLength() argument
169 m_private->m_resourceResponse->setExpectedContentLength(expectedContentLength); in setExpectedContentLength()
/external/webkit/Source/WebCore/platform/network/
DResourceResponseBase.cpp124 data->m_expectedContentLength = expectedContentLength(); in copyData()
175 long long ResourceResponseBase::expectedContentLength() const in expectedContentLength() function in WebCore::ResourceResponseBase
182 void ResourceResponseBase::setExpectedContentLength(long long expectedContentLength) in setExpectedContentLength() argument
187 m_expectedContentLength = expectedContentLength; in setExpectedContentLength()
574 if (a.expectedContentLength() != b.expectedContentLength()) in compare()
DResourceResponseBase.h65 long long expectedContentLength() const;
66 void setExpectedContentLength(long long expectedContentLength);
DBlobResourceHandle.cpp103 if (response.expectedContentLength() > intMaxForLength) { in didReceiveResponse()
111 m_data.resize(static_cast<size_t>(response.expectedContentLength())); in didReceiveResponse()
/external/webkit/Source/WebCore/plugins/
DPluginStream.cpp139 long long expectedContentLength = m_resourceResponse.expectedContentLength(); in startStream() local
163 expectedContentLength = -1; in startStream()
169 m_stream.end = max(expectedContentLength, 0LL); in startStream()
/external/webkit/Source/WebKit/mac/Plugins/
DWebNetscapePluginStream.mm213 void WebNetscapePluginStream::startStream(NSURL *url, long long expectedContentLength, NSDate *last…
224 m_stream.end = expectedContentLength > 0 ? (uint32_t)expectedContentLength : 0;
302 long long expectedContentLength = [r expectedContentLength];
342 …// <rdar://problem/4470599> tracks a request for -[NSURLResponse expectedContentLength] to incorpo…
345 expectedContentLength = -1;
350 …startStream([r URL], expectedContentLength, WKGetNSURLResponseLastModifiedDate(r), response.mimeTy…
DWebNetscapePluginStream.h93 …void startStream(NSURL *, long long expectedContentLength, NSDate *lastModifiedDate, const WTF::St…
/external/webkit/Tools/DumpRenderTree/mac/
DWebArchiveDumpSupportMac.mm45 …(CFAllocatorRef alloc, CFURLRef URL, CFStringRef mimeType, SInt64 expectedContentLength, CFStringR…
60 …RLRef)[response URL], (CFStringRef)[response MIMEType], [response expectedContentLength], (CFStrin…
/external/webkit/Tools/WebKitLauncher/
DWebKitLauncherURLProtocol.m92 …loc] initWithURL:[[self request] URL] MIMEType:@"text/javascript" expectedContentLength:0 textEnco…
105 …se alloc] initWithURL:[[self request] URL] MIMEType:@"text/plain" expectedContentLength:0 textEnco…
/external/webkit/Tools/DumpRenderTree/cf/
DWebArchiveDumpSupport.cpp130 SInt64 expectedContentLength = CFURLResponseGetExpectedContentLength(response.get()); in convertWebResourceResponseToDictionary() local
131 …hNumber(AdoptCF, CFNumberCreate(kCFAllocatorDefault, kCFNumberSInt64Type, &expectedContentLength)); in convertWebResourceResponseToDictionary()
/external/webkit/Source/WebKit/chromium/public/
DWebURLResponse.h96 WEBKIT_API long long expectedContentLength() const;
/external/webkit/Source/WebCore/loader/
DProgressTracker.cpp165 long long estimatedLength = response.expectedContentLength(); in incrementProgress()
/external/webkit/Source/WebCore/fileapi/
DFileReaderLoader.cpp133 unsigned long long length = response.expectedContentLength(); in didReceiveResponse()
/external/chromium/webkit/glue/media/
Dsimple_data_source.cc174 size_ = response.expectedContentLength(); in didReceiveResponse()
Dbuffered_resource_loader.cc322 content_length_ = response.expectedContentLength(); in didReceiveResponse()
/external/webkit/Source/WebCore/platform/graphics/gstreamer/
DWebKitWebSourceGStreamer.cpp729 long long length = response.expectedContentLength(); in didReceiveResponse()
/external/webkit/Source/WebCore/xml/
DXMLHttpRequest.cpp1077 long long expectedLength = m_response.expectedContentLength(); in didReceiveData()

12