Lines Matching refs:pCur
548 struct lsapi_header_offset * pCur, *pEnd; in fixHeaderIndexEndian() local
549 pCur = pReq->m_pUnknownHeader; in fixHeaderIndexEndian()
550 pEnd = pCur + pReq->m_pHeader->m_cntUnknownHeaders; in fixHeaderIndexEndian()
551 while( pCur < pEnd ) in fixHeaderIndexEndian()
553 swapIntEndian( &pCur->nameOff ); in fixHeaderIndexEndian()
554 swapIntEndian( &pCur->nameLen ); in fixHeaderIndexEndian()
555 swapIntEndian( &pCur->valueOff ); in fixHeaderIndexEndian()
556 swapIntEndian( &pCur->valueLen ); in fixHeaderIndexEndian()
557 ++pCur; in fixHeaderIndexEndian()
579 struct lsapi_header_offset * pCur, *pEnd; in validateHeaders() local
580 pCur = pReq->m_pUnknownHeader; in validateHeaders()
581 pEnd = pCur + pReq->m_pHeader->m_cntUnknownHeaders; in validateHeaders()
582 while( pCur < pEnd ) 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()
589 ++pCur; in validateHeaders()
1500 char * pCur; in LSAPI_ReqBodyGetLine_r() local
1519 pCur = pReq->m_pReqBuf + pReq->m_bufProcessed; in LSAPI_ReqBodyGetLine_r()
1520 p = memchr( pCur, '\n', len ); in LSAPI_ReqBodyGetLine_r()
1522 len = p - pCur + 1; in LSAPI_ReqBodyGetLine_r()
1523 memmove( pBufCur, pCur, len ); in LSAPI_ReqBodyGetLine_r()
1913 struct lsapi_header_offset * pCur, *pEnd; in GetHeaderVar() local
1914 pCur = pReq->m_pUnknownHeader; in GetHeaderVar()
1915 pEnd = pCur + pReq->m_pHeader->m_cntUnknownHeaders; in GetHeaderVar()
1916 while( pCur < pEnd ) in GetHeaderVar()
1918 pKey = pReq->m_pHttpHeader + pCur->nameOff; in GetHeaderVar()
1919 keyLen = pCur->nameLen; in GetHeaderVar()
1932 pValue = pReq->m_pHttpHeader + pCur->valueOff; in GetHeaderVar()
1934 if ( *(pValue + pCur->valueLen) != '\0') in GetHeaderVar()
1936 *(pValue + pCur->valueLen) = '\0'; in GetHeaderVar()
1940 ++pCur; in GetHeaderVar()
2019 struct lsapi_header_offset * pCur, *pEnd; in LSAPI_ForeachOrgHeader_r() local
2020 pCur = pReq->m_pUnknownHeader; in LSAPI_ForeachOrgHeader_r()
2021 pEnd = pCur + pReq->m_pHeader->m_cntUnknownHeaders; in LSAPI_ForeachOrgHeader_r()
2022 while( pCur < pEnd ) in LSAPI_ForeachOrgHeader_r()
2024 pKey = pReq->m_pHttpHeader + pCur->nameOff; in LSAPI_ForeachOrgHeader_r()
2025 keyLen = pCur->nameLen; in LSAPI_ForeachOrgHeader_r()
2028 pValue = pReq->m_pHttpHeader + pCur->valueOff; in LSAPI_ForeachOrgHeader_r()
2029 *(pValue + pCur->valueLen ) = 0; in LSAPI_ForeachOrgHeader_r()
2033 headers[count]._valueLen = pCur->valueLen; in LSAPI_ForeachOrgHeader_r()
2041 ++pCur; in LSAPI_ForeachOrgHeader_r()
2088 struct lsapi_header_offset * pCur, *pEnd; in LSAPI_ForeachHeader_r() local
2089 pCur = pReq->m_pUnknownHeader; in LSAPI_ForeachHeader_r()
2090 pEnd = pCur + pReq->m_pHeader->m_cntUnknownHeaders; in LSAPI_ForeachHeader_r()
2091 while( pCur < pEnd ) in LSAPI_ForeachHeader_r()
2093 pKey = pReq->m_pHttpHeader + pCur->nameOff; in LSAPI_ForeachHeader_r()
2094 keyLen = pCur->nameLen; in LSAPI_ForeachHeader_r()
2112 pValue = pReq->m_pHttpHeader + pCur->valueOff; in LSAPI_ForeachHeader_r()
2113 *(pValue + pCur->valueLen ) = 0; in LSAPI_ForeachHeader_r()
2115 pValue, pCur->valueLen, arg ); in LSAPI_ForeachHeader_r()
2118 ++pCur; in LSAPI_ForeachHeader_r()