Lines Matching refs:size

378 static inline int allocateBuf( LSAPI_Request * pReq, int size )  in allocateBuf()  argument
380 char * pBuf = (char *)realloc( pReq->m_pReqBuf, size ); in allocateBuf()
384 pReq->m_reqBufSize = size; in allocateBuf()
405 static int allocateRespHeaderBuf( LSAPI_Request * pReq, int size ) in allocateRespHeaderBuf() argument
407 char * p = (char *)realloc( pReq->m_pRespHeaderBuf, size ); in allocateRespHeaderBuf()
412 pReq->m_pRespHeaderBufEnd = p + size; in allocateRespHeaderBuf()
1621 ssize_t gsendfile( int fdOut, int fdIn, off_t* off, size_t size ) in gsendfile() argument
1625 ret = sendfile( fdIn, fdOut, *off, size, NULL, &written, 0 ); in gsendfile()
1636 ssize_t gsendfile( int fdOut, int fdIn, off_t* off, size_t size ) in gsendfile() argument
1639 off_t len = size; in gsendfile()
1652 ssize_t gsendfile( int fdOut, int fdIn, off_t *off, size_t size ) in gsendfile() argument
1660 vec[n].sfv_len = size; in gsendfile()
1679 ssize_t gsendfile( int fdOut, int fdIn, off_t * off, size_t size ) in gsendfile() argument
1681 return sendfile( fdOut, fdIn, off, size, NULL, 0 ); in gsendfile()
1685 ssize_t LSAPI_sendfile_r( LSAPI_Request * pReq, int fdIn, off_t* off, size_t size ) in LSAPI_sendfile_r() argument
1699 size + LSAPI_PACKET_HEADER_LEN ); in LSAPI_sendfile_r()
1705 return gsendfile( pReq->m_fd, fdIn, off, size ); in LSAPI_sendfile_r()
2575 int size = 4096; in lsapi_init_children_status() local
2578size = (g_prefork_server->m_iMaxChildren + g_prefork_server->m_iExtraChildren ) * sizeof( lsapi_ch… in lsapi_init_children_status()
2579 size = (size + 4095 ) / 4096 * 4096; in lsapi_init_children_status()
2580 pBuf =( char*) mmap( NULL, size, PROT_READ | PROT_WRITE, in lsapi_init_children_status()
2587 memset( pBuf, 0, size ); in lsapi_init_children_status()
2590 …g_prefork_server->m_pChildrenStatusEnd = (lsapi_child_status *)pBuf + size / sizeof( lsapi_child_s… in lsapi_init_children_status()