Lines Matching refs:totalLen

477 static int lsapi_writev( int fd, struct iovec ** pVec, int count, int totalLen )  in lsapi_writev()  argument
480 int left = totalLen; in lsapi_writev()
484 return totalLen; in lsapi_writev()
493 return totalLen - left; in lsapi_writev()
513 if ( totalLen - left > 0 ) in lsapi_writev()
514 return totalLen - left; in lsapi_writev()
522 return totalLen - left; in lsapi_writev()
735 int totalLen = pReq->m_pHeader->m_httpHeaderLen; in validateHeaders() local
741 if (pReq->m_pHeaderIndex->m_headerOff[i] > totalLen in validateHeaders()
743 + pReq->m_pHeaderIndex->m_headerOff[i] > totalLen) in validateHeaders()
754 if (pCur->nameOff > totalLen in validateHeaders()
755 || pCur->nameOff + pCur->nameLen > totalLen in validateHeaders()
756 || pCur->valueOff > totalLen in validateHeaders()
757 || pCur->valueOff + pCur->valueLen > totalLen) in validateHeaders()
1200 static int parseRequest( LSAPI_Request * pReq, int totalLen ) in parseRequest() argument
1204 char * pEnd = pReq->m_pReqBuf + totalLen; in parseRequest()
1229 || pReq->m_pHeader->m_scriptFileOff >= totalLen in parseRequest()
1231 || pReq->m_pHeader->m_scriptNameOff >= totalLen in parseRequest()
1233 || pReq->m_pHeader->m_queryStringOff >= totalLen in parseRequest()
1235 || pReq->m_pHeader->m_requestMethodOff >= totalLen) in parseRequest()
1258 "real: %ld\n", totalLen, pBegin - pReq->m_pReqBuf ); in parseRequest()
2116 ssize_t totalLen; in LSAPI_Write_Stderr_r() local
2142 totalLen = packetLen + LSAPI_PACKET_HEADER_LEN; in LSAPI_Write_Stderr_r()
2152 2, totalLen ); in LSAPI_Write_Stderr_r()
2153 if ( ret < totalLen ) in LSAPI_Write_Stderr_r()