Searched refs:contentLength (Results 1 – 4 of 4) sorted by relevance
89 int32 contentLength = lineLength * kLineCount; in Window() local90 char* currLine = content.LockBuffer(contentLength); in Window()95 content.UnlockBuffer(contentLength); in Window()
544 ssize_t contentLength = 0; in ContentLength() local549 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()
138 auto contentLength = std::string(); in ParseFields() local141 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()
2109 int32 contentLength = 0; in AddAsContent() local2169 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()