Home
last modified time | relevance | path

Searched refs:contentLength (Results 1 – 4 of 4) sorted by relevance

/haiku/src/tests/kits/interface/
H A DTextViewTestManual.cpp89 int32 contentLength = lineLength * kLineCount; in Window() local
90 char* currLine = content.LockBuffer(contentLength); in Window()
95 content.UnlockBuffer(contentLength); in Window()
/haiku/src/kits/network/libnetservices/
H A DHttpForm.cpp544 ssize_t contentLength = 0; in ContentLength() local
549 contentLength += _GetMultipartHeader(c).Length(); in ContentLength()
556 contentLength += c->String().Length(); in ContentLength()
563 contentLength += upFile.Position(); in ContentLength()
568 contentLength += c->BufferSize(); in ContentLength()
572 contentLength += 2; in ContentLength()
575 contentLength += fMultipartBoundary.Length() + 6; in ContentLength()
577 return contentLength; in ContentLength()
/haiku/src/kits/network/libnetservices2/
H A DHttpParser.cpp138 auto contentLength = std::string(); in ParseFields() local
141 if (contentLength.size() == 0) in ParseFields()
142 contentLength = field.Value(); in ParseFields()
143 else if (contentLength != field.Value()) { in ParseFields()
150 bodyBytesTotal = std::stol(contentLength); in ParseFields()
/haiku/src/apps/mail/
H A DContent.cpp2109 int32 contentLength = 0; in AddAsContent() local
2169 memcpy(content + contentLength, text + startOffset, lineLength); in AddAsContent()
2170 contentLength += lineLength; in AddAsContent()
2175 content[contentLength++] = '\n'; in AddAsContent()
2179 CopyQuotes(text + startOffset, lineLength, content + contentLength, quoteLength); in AddAsContent()
2180 contentLength += quoteLength; in AddAsContent()
2183 content[contentLength] = '\0'; in AddAsContent()