Lines Matching refs:pCur

688         struct lsapi_header_offset * pCur, *pEnd;  in fixHeaderIndexEndian()  local
689 pCur = pReq->m_pUnknownHeader; in fixHeaderIndexEndian()
690 pEnd = pCur + pReq->m_pHeader->m_cntUnknownHeaders; in fixHeaderIndexEndian()
691 while( pCur < pEnd ) in fixHeaderIndexEndian()
693 swapIntEndian( &pCur->nameOff ); in fixHeaderIndexEndian()
694 swapIntEndian( &pCur->nameLen ); in fixHeaderIndexEndian()
695 swapIntEndian( &pCur->valueOff ); in fixHeaderIndexEndian()
696 swapIntEndian( &pCur->valueLen ); in fixHeaderIndexEndian()
697 ++pCur; in fixHeaderIndexEndian()
719 struct lsapi_header_offset * pCur, *pEnd; in validateHeaders() local
720 pCur = pReq->m_pUnknownHeader; in validateHeaders()
721 pEnd = pCur + pReq->m_pHeader->m_cntUnknownHeaders; in validateHeaders()
722 while( pCur < pEnd ) in validateHeaders()
724 if (pCur->nameOff > totalLen in validateHeaders()
725 || pCur->nameOff + pCur->nameLen > totalLen in validateHeaders()
726 || pCur->valueOff > totalLen in validateHeaders()
727 || pCur->valueOff + pCur->valueLen > totalLen) in validateHeaders()
729 ++pCur; in validateHeaders()
1694 char * pCur; in LSAPI_ReqBodyGetLine_r() local
1713 pCur = pReq->m_pReqBuf + pReq->m_bufProcessed; in LSAPI_ReqBodyGetLine_r()
1714 p = memchr( pCur, '\n', len ); in LSAPI_ReqBodyGetLine_r()
1716 len = p - pCur + 1; in LSAPI_ReqBodyGetLine_r()
1717 memmove( pBufCur, pCur, len ); in LSAPI_ReqBodyGetLine_r()
2111 struct lsapi_header_offset * pCur, *pEnd; in GetHeaderVar() local
2112 pCur = pReq->m_pUnknownHeader; in GetHeaderVar()
2113 pEnd = pCur + pReq->m_pHeader->m_cntUnknownHeaders; in GetHeaderVar()
2114 while( pCur < pEnd ) in GetHeaderVar()
2116 pKey = pReq->m_pHttpHeader + pCur->nameOff; in GetHeaderVar()
2117 keyLen = pCur->nameLen; in GetHeaderVar()
2130 pValue = pReq->m_pHttpHeader + pCur->valueOff; in GetHeaderVar()
2132 if ( *(pValue + pCur->valueLen) != '\0') in GetHeaderVar()
2134 *(pValue + pCur->valueLen) = '\0'; in GetHeaderVar()
2138 ++pCur; in GetHeaderVar()
2220 struct lsapi_header_offset * pCur, *pEnd; in LSAPI_ForeachOrgHeader_r() local
2221 pCur = pReq->m_pUnknownHeader; in LSAPI_ForeachOrgHeader_r()
2222 pEnd = pCur + pReq->m_pHeader->m_cntUnknownHeaders; in LSAPI_ForeachOrgHeader_r()
2223 while( pCur < pEnd ) in LSAPI_ForeachOrgHeader_r()
2225 pKey = pReq->m_pHttpHeader + pCur->nameOff; in LSAPI_ForeachOrgHeader_r()
2226 keyLen = pCur->nameLen; in LSAPI_ForeachOrgHeader_r()
2229 pValue = pReq->m_pHttpHeader + pCur->valueOff; in LSAPI_ForeachOrgHeader_r()
2230 *(pValue + pCur->valueLen ) = 0; in LSAPI_ForeachOrgHeader_r()
2234 headers[count]._valueLen = pCur->valueLen; in LSAPI_ForeachOrgHeader_r()
2242 ++pCur; in LSAPI_ForeachOrgHeader_r()
2288 struct lsapi_header_offset * pCur, *pEnd; in LSAPI_ForeachHeader_r() local
2289 pCur = pReq->m_pUnknownHeader; in LSAPI_ForeachHeader_r()
2290 pEnd = pCur + pReq->m_pHeader->m_cntUnknownHeaders; in LSAPI_ForeachHeader_r()
2291 while( pCur < pEnd ) in LSAPI_ForeachHeader_r()
2293 pKey = pReq->m_pHttpHeader + pCur->nameOff; in LSAPI_ForeachHeader_r()
2294 keyLen = pCur->nameLen; in LSAPI_ForeachHeader_r()
2312 pValue = pReq->m_pHttpHeader + pCur->valueOff; in LSAPI_ForeachHeader_r()
2313 *(pValue + pCur->valueLen ) = 0; in LSAPI_ForeachHeader_r()
2315 pValue, pCur->valueLen, arg ); in LSAPI_ForeachHeader_r()
2318 ++pCur; in LSAPI_ForeachHeader_r()