Searched refs:maxsizeP (Results 1 – 2 of 2) sorted by relevance
286 extern void httpd_realloc_str( char** strP, size_t* maxsizeP, size_t size );
719 httpd_realloc_str( char** strP, size_t* maxsizeP, size_t size ) in httpd_realloc_str() argument721 if ( *maxsizeP == 0 ) in httpd_realloc_str()723 *maxsizeP = MAX( 200, size + 100 ); in httpd_realloc_str()724 *strP = NEW( char, *maxsizeP + 1 ); in httpd_realloc_str()726 str_alloc_size += *maxsizeP; in httpd_realloc_str()728 else if ( size > *maxsizeP ) in httpd_realloc_str()730 str_alloc_size -= *maxsizeP; in httpd_realloc_str()731 *maxsizeP = MAX( *maxsizeP * 2, size * 5 / 4 ); in httpd_realloc_str()732 *strP = RENEW( *strP, char, *maxsizeP + 1 ); in httpd_realloc_str()733 str_alloc_size += *maxsizeP; in httpd_realloc_str()