Lines Matching refs:totalLen
320 static int lsapi_writev( int fd, struct iovec ** pVec, int count, int totalLen ) in lsapi_writev() argument
323 int left = totalLen; in lsapi_writev()
332 return totalLen - left; in lsapi_writev()
352 if ( totalLen - left > 0 ) in lsapi_writev()
353 return totalLen - left; in lsapi_writev()
361 return totalLen - left; in lsapi_writev()
565 int totalLen = pReq->m_pHeader->m_httpHeaderLen; in validateHeaders() local
571 if (pReq->m_pHeaderIndex->m_headerOff[i] > totalLen in validateHeaders()
573 + pReq->m_pHeaderIndex->m_headerOff[i] > totalLen) in validateHeaders()
584 if (pCur->nameOff > totalLen in validateHeaders()
585 || pCur->nameOff + pCur->nameLen > totalLen in validateHeaders()
586 || pCur->valueOff > totalLen in validateHeaders()
587 || pCur->valueOff + pCur->valueLen > totalLen) in validateHeaders()
1008 static int parseRequest( LSAPI_Request * pReq, int totalLen ) in parseRequest() argument
1012 char * pEnd = pReq->m_pReqBuf + totalLen; in parseRequest()
1037 || pReq->m_pHeader->m_scriptFileOff >= totalLen in parseRequest()
1039 || pReq->m_pHeader->m_scriptNameOff >= totalLen in parseRequest()
1041 || pReq->m_pHeader->m_queryStringOff >= totalLen in parseRequest()
1043 || pReq->m_pHeader->m_requestMethodOff >= totalLen) in parseRequest()
1065 …tf( stderr, "%d: request header does match total size, total: %d, real: %ld\n", getpid(), totalLen, in parseRequest()
1840 ssize_t totalLen; in LSAPI_Write_Stderr_r() local
1866 totalLen = packetLen + LSAPI_PACKET_HEADER_LEN; in LSAPI_Write_Stderr_r()
1876 2, totalLen ); in LSAPI_Write_Stderr_r()
1877 if ( ret < totalLen ) in LSAPI_Write_Stderr_r()