Lines Matching refs:pCur
719 struct lsapi_header_offset * pCur, *pEnd; in fixHeaderIndexEndian() local
720 pCur = pReq->m_pUnknownHeader; in fixHeaderIndexEndian()
721 pEnd = pCur + pReq->m_pHeader->m_cntUnknownHeaders; in fixHeaderIndexEndian()
722 while( pCur < pEnd ) in fixHeaderIndexEndian()
724 swapIntEndian( &pCur->nameOff ); in fixHeaderIndexEndian()
725 swapIntEndian( &pCur->nameLen ); in fixHeaderIndexEndian()
726 swapIntEndian( &pCur->valueOff ); in fixHeaderIndexEndian()
727 swapIntEndian( &pCur->valueLen ); in fixHeaderIndexEndian()
728 ++pCur; in fixHeaderIndexEndian()
750 struct lsapi_header_offset * pCur, *pEnd; in validateHeaders() local
751 pCur = pReq->m_pUnknownHeader; in validateHeaders()
752 pEnd = pCur + pReq->m_pHeader->m_cntUnknownHeaders; in validateHeaders()
753 while( pCur < pEnd ) in validateHeaders()
755 if (pCur->nameOff > totalLen in validateHeaders()
756 || pCur->nameOff + pCur->nameLen > totalLen in validateHeaders()
757 || pCur->valueOff > totalLen in validateHeaders()
758 || pCur->valueOff + pCur->valueLen > totalLen) in validateHeaders()
760 ++pCur; in validateHeaders()
1769 char * pCur; in LSAPI_ReqBodyGetLine_r() local
1788 pCur = pReq->m_pReqBuf + pReq->m_bufProcessed; in LSAPI_ReqBodyGetLine_r()
1789 p = memchr( pCur, '\n', len ); in LSAPI_ReqBodyGetLine_r()
1791 len = p - pCur + 1; in LSAPI_ReqBodyGetLine_r()
1792 memmove( pBufCur, pCur, len ); in LSAPI_ReqBodyGetLine_r()
2190 struct lsapi_header_offset * pCur, *pEnd; in GetHeaderVar() local
2191 pCur = pReq->m_pUnknownHeader; in GetHeaderVar()
2192 pEnd = pCur + pReq->m_pHeader->m_cntUnknownHeaders; in GetHeaderVar()
2193 while( pCur < pEnd ) in GetHeaderVar()
2195 pKey = pReq->m_pHttpHeader + pCur->nameOff; in GetHeaderVar()
2196 keyLen = pCur->nameLen; in GetHeaderVar()
2209 pValue = pReq->m_pHttpHeader + pCur->valueOff; in GetHeaderVar()
2211 if ( *(pValue + pCur->valueLen) != '\0') in GetHeaderVar()
2213 *(pValue + pCur->valueLen) = '\0'; in GetHeaderVar()
2217 ++pCur; in GetHeaderVar()
2299 struct lsapi_header_offset * pCur, *pEnd; in LSAPI_ForeachOrgHeader_r() local
2300 pCur = pReq->m_pUnknownHeader; in LSAPI_ForeachOrgHeader_r()
2301 pEnd = pCur + pReq->m_pHeader->m_cntUnknownHeaders; in LSAPI_ForeachOrgHeader_r()
2302 while( pCur < pEnd ) in LSAPI_ForeachOrgHeader_r()
2304 pKey = pReq->m_pHttpHeader + pCur->nameOff; in LSAPI_ForeachOrgHeader_r()
2305 keyLen = pCur->nameLen; in LSAPI_ForeachOrgHeader_r()
2308 pValue = pReq->m_pHttpHeader + pCur->valueOff; in LSAPI_ForeachOrgHeader_r()
2309 *(pValue + pCur->valueLen ) = 0; in LSAPI_ForeachOrgHeader_r()
2313 headers[count]._valueLen = pCur->valueLen; in LSAPI_ForeachOrgHeader_r()
2321 ++pCur; in LSAPI_ForeachOrgHeader_r()
2367 struct lsapi_header_offset * pCur, *pEnd; in LSAPI_ForeachHeader_r() local
2368 pCur = pReq->m_pUnknownHeader; in LSAPI_ForeachHeader_r()
2369 pEnd = pCur + pReq->m_pHeader->m_cntUnknownHeaders; in LSAPI_ForeachHeader_r()
2370 while( pCur < pEnd ) in LSAPI_ForeachHeader_r()
2372 pKey = pReq->m_pHttpHeader + pCur->nameOff; in LSAPI_ForeachHeader_r()
2373 keyLen = pCur->nameLen; in LSAPI_ForeachHeader_r()
2391 pValue = pReq->m_pHttpHeader + pCur->valueOff; in LSAPI_ForeachHeader_r()
2392 *(pValue + pCur->valueLen ) = 0; in LSAPI_ForeachHeader_r()
2394 pValue, pCur->valueLen, arg ); in LSAPI_ForeachHeader_r()
2397 ++pCur; in LSAPI_ForeachHeader_r()