Lines Matching refs:pCur
729 struct lsapi_header_offset * pCur, *pEnd; in fixHeaderIndexEndian() local
730 pCur = pReq->m_pUnknownHeader; in fixHeaderIndexEndian()
731 pEnd = pCur + pReq->m_pHeader->m_cntUnknownHeaders; in fixHeaderIndexEndian()
732 while( pCur < pEnd ) in fixHeaderIndexEndian()
734 swapIntEndian( &pCur->nameOff ); in fixHeaderIndexEndian()
735 swapIntEndian( &pCur->nameLen ); in fixHeaderIndexEndian()
736 swapIntEndian( &pCur->valueOff ); in fixHeaderIndexEndian()
737 swapIntEndian( &pCur->valueLen ); in fixHeaderIndexEndian()
738 ++pCur; in fixHeaderIndexEndian()
760 struct lsapi_header_offset * pCur, *pEnd; in validateHeaders() local
761 pCur = pReq->m_pUnknownHeader; in validateHeaders()
762 pEnd = pCur + pReq->m_pHeader->m_cntUnknownHeaders; in validateHeaders()
763 while( pCur < pEnd ) in validateHeaders()
765 if (pCur->nameOff > totalLen in validateHeaders()
766 || pCur->nameOff + pCur->nameLen > totalLen in validateHeaders()
767 || pCur->valueOff > totalLen in validateHeaders()
768 || pCur->valueOff + pCur->valueLen > totalLen) in validateHeaders()
770 ++pCur; in validateHeaders()
1749 char * pCur; in LSAPI_ReqBodyGetLine_r() local
1768 pCur = pReq->m_pReqBuf + pReq->m_bufProcessed; in LSAPI_ReqBodyGetLine_r()
1769 p = memchr( pCur, '\n', len ); in LSAPI_ReqBodyGetLine_r()
1771 len = p - pCur + 1; in LSAPI_ReqBodyGetLine_r()
1772 memmove( pBufCur, pCur, len ); in LSAPI_ReqBodyGetLine_r()
2204 struct lsapi_header_offset * pCur, *pEnd; in GetHeaderVar() local
2205 pCur = pReq->m_pUnknownHeader; in GetHeaderVar()
2206 pEnd = pCur + pReq->m_pHeader->m_cntUnknownHeaders; in GetHeaderVar()
2207 while( pCur < pEnd ) in GetHeaderVar()
2209 pKey = pReq->m_pHttpHeader + pCur->nameOff; in GetHeaderVar()
2210 keyLen = pCur->nameLen; in GetHeaderVar()
2223 pValue = pReq->m_pHttpHeader + pCur->valueOff; in GetHeaderVar()
2225 if ( *(pValue + pCur->valueLen) != '\0') in GetHeaderVar()
2227 *(pValue + pCur->valueLen) = '\0'; in GetHeaderVar()
2231 ++pCur; in GetHeaderVar()
2313 struct lsapi_header_offset * pCur, *pEnd; in LSAPI_ForeachOrgHeader_r() local
2314 pCur = pReq->m_pUnknownHeader; in LSAPI_ForeachOrgHeader_r()
2315 pEnd = pCur + pReq->m_pHeader->m_cntUnknownHeaders; in LSAPI_ForeachOrgHeader_r()
2316 while( pCur < pEnd ) in LSAPI_ForeachOrgHeader_r()
2318 pKey = pReq->m_pHttpHeader + pCur->nameOff; in LSAPI_ForeachOrgHeader_r()
2319 keyLen = pCur->nameLen; in LSAPI_ForeachOrgHeader_r()
2322 pValue = pReq->m_pHttpHeader + pCur->valueOff; in LSAPI_ForeachOrgHeader_r()
2323 *(pValue + pCur->valueLen ) = 0; in LSAPI_ForeachOrgHeader_r()
2327 headers[count]._valueLen = pCur->valueLen; in LSAPI_ForeachOrgHeader_r()
2335 ++pCur; in LSAPI_ForeachOrgHeader_r()
2381 struct lsapi_header_offset * pCur, *pEnd; in LSAPI_ForeachHeader_r() local
2382 pCur = pReq->m_pUnknownHeader; in LSAPI_ForeachHeader_r()
2383 pEnd = pCur + pReq->m_pHeader->m_cntUnknownHeaders; in LSAPI_ForeachHeader_r()
2384 while( pCur < pEnd ) in LSAPI_ForeachHeader_r()
2386 pKey = pReq->m_pHttpHeader + pCur->nameOff; in LSAPI_ForeachHeader_r()
2387 keyLen = pCur->nameLen; in LSAPI_ForeachHeader_r()
2405 pValue = pReq->m_pHttpHeader + pCur->valueOff; in LSAPI_ForeachHeader_r()
2406 *(pValue + pCur->valueLen ) = 0; in LSAPI_ForeachHeader_r()
2408 pValue, pCur->valueLen, arg ); in LSAPI_ForeachHeader_r()
2411 ++pCur; in LSAPI_ForeachHeader_r()