Lines Matching refs:i
533 int i; in fixHeaderIndexEndian() local
534 for( i = 0; i < H_TRANSFER_ENCODING; ++i ) in fixHeaderIndexEndian()
536 if ( pReq->m_pHeaderIndex->m_headerOff[i] ) in fixHeaderIndexEndian()
539 char * p = (char *)(&pReq->m_pHeaderIndex->m_headerLen[i]); in fixHeaderIndexEndian()
543 swapIntEndian( &pReq->m_pHeaderIndex->m_headerOff[i] ); in fixHeaderIndexEndian()
898 int i; in lsapi_changeUGid() local
906 i = pReq->m_pHeader->m_cntSpecialEnv - 1; in lsapi_changeUGid()
907 if ( i >= 0 ) in lsapi_changeUGid()
909 pEnv = pReq->m_pSpecialEnvList + i; in lsapi_changeUGid()
1102 int i; in init_conn_key() local
1105 for( i = 8; i < 16; ++i ) in init_conn_key()
1107 s_conn_key_packet[i]=(int) (256.0*rand()/(RAND_MAX+1.0)); in init_conn_key()
1834 int i; in GetHeaderVar() local
1836 for( i = 0; i < H_TRANSFER_ENCODING; ++i ) in GetHeaderVar()
1838 if ( pReq->m_pHeaderIndex->m_headerOff[i] ) in GetHeaderVar()
1840 if ( strcmp( name, CGI_HEADERS[i] ) == 0 ) in GetHeaderVar()
1843 + pReq->m_pHeaderIndex->m_headerOff[i]; in GetHeaderVar()
1844 if ( *(pValue + pReq->m_pHeaderIndex->m_headerLen[i]) != '\0') in GetHeaderVar()
1846 *(pValue + pReq->m_pHeaderIndex->m_headerLen[i]) = '\0'; in GetHeaderVar()
1928 int i; in LSAPI_ForeachOrgHeader_r() local
1941 for( i = 0; i < H_TRANSFER_ENCODING; ++i ) in LSAPI_ForeachOrgHeader_r()
1943 if ( pReq->m_pHeaderIndex->m_headerOff[i] ) in LSAPI_ForeachOrgHeader_r()
1945 len = pReq->m_pHeaderIndex->m_headerLen[i]; in LSAPI_ForeachOrgHeader_r()
1946 pValue = pReq->m_pHttpHeader + pReq->m_pHeaderIndex->m_headerOff[i]; in LSAPI_ForeachOrgHeader_r()
1948 headers[count]._name = HTTP_HEADERS[i]; in LSAPI_ForeachOrgHeader_r()
1949 headers[count]._nameLen = HTTP_HEADER_LEN[i]; in LSAPI_ForeachOrgHeader_r()
1990 for( i = 0; i < count; ++i ) in LSAPI_ForeachOrgHeader_r()
1992 ret = (*fn)( headers[i]._name, headers[i]._nameLen, in LSAPI_ForeachOrgHeader_r()
1993 headers[i]._value, headers[i]._valueLen, arg ); in LSAPI_ForeachOrgHeader_r()
2005 int i; in LSAPI_ForeachHeader_r() local
2012 for( i = 0; i < H_TRANSFER_ENCODING; ++i ) in LSAPI_ForeachHeader_r()
2014 if ( pReq->m_pHeaderIndex->m_headerOff[i] ) in LSAPI_ForeachHeader_r()
2016 len = pReq->m_pHeaderIndex->m_headerLen[i]; in LSAPI_ForeachHeader_r()
2017 pValue = pReq->m_pHttpHeader + pReq->m_pHeaderIndex->m_headerOff[i]; in LSAPI_ForeachHeader_r()
2019 ret = (*fn)( CGI_HEADERS[i], CGI_HEADER_LEN[i], in LSAPI_ForeachHeader_r()
3100 int i; in lsapi_initSuEXEC() local
3109 i = atoi( p ); in lsapi_initSuEXEC()
3110 if ( i > 0 ) in lsapi_initSuEXEC()
3111 s_defaultUid = i; in lsapi_initSuEXEC()
3116 i = atoi( p ); in lsapi_initSuEXEC()
3117 if ( i > 0 ) in lsapi_initSuEXEC()
3118 s_defaultGid = i; in lsapi_initSuEXEC()