Searched refs:contentLength (Results 1 – 5 of 5) sorted by relevance
53 long contentLength; field in CacheManager.CacheResult85 return contentLength; in getContentLength()222 public void setContentLength(long contentLength) { in setContentLength() argument223 this.contentLength = contentLength; in setContentLength()
31 String contentDisposition, String mimetype, long contentLength); in onDownloadStart() argument
164 int32_t contentLength; in parse() local165 if (!findInt32("content-length", &contentLength) || contentLength < 0) { in parse()166 contentLength = 0; in parse()169 size_t totalLength = offset + contentLength; in parse()175 mContent.setTo(&data[offset], contentLength); in parse()
106 String contentLength = headers.get(LengthHeader); in calculateLength() local107 if (contentLength == null) { in calculateLength()111 return body + Integer.parseInt(contentLength); in calculateLength()113 throw new IOException("Bad " + LengthHeader + ": " + contentLength); in calculateLength()
717 unsigned long contentLength = 0; in receiveRTSPReponse() local723 if (!ParseSingleUnsignedLong(value.c_str(), &contentLength)) { in receiveRTSPReponse()728 if (contentLength > 0) { in receiveRTSPReponse()729 response->mContent = new ABuffer(contentLength); in receiveRTSPReponse()731 if (receive(response->mContent->data(), contentLength) != OK) { in receiveRTSPReponse()