Lines Matching refs:buf
222 char buf[128]; in litespeed_php_import_environment_variables() local
223 char **env, *p, *t = buf; in litespeed_php_import_environment_variables()
224 size_t alloc_size = sizeof(buf); in litespeed_php_import_environment_variables()
252 t = (t == buf ? emalloc(alloc_size): erealloc(t, alloc_size)); in litespeed_php_import_environment_variables()
259 if (t != buf && t != NULL) { in litespeed_php_import_environment_variables()
375 char buf[SAPI_LSAPI_MAX_HEADER_LENGTH]; in sapi_lsapi_send_headers_like_cgi() local
398 len = slprintf(buf, sizeof(buf), "Status:%s", s); in sapi_lsapi_send_headers_like_cgi()
421 … len = slprintf(buf, sizeof(buf), "Status: %d %s", SG(sapi_headers).http_response_code, err->msg); in sapi_lsapi_send_headers_like_cgi()
423 … len = slprintf(buf, sizeof(buf), "Status: %d", SG(sapi_headers).http_response_code); in sapi_lsapi_send_headers_like_cgi()
429 LSAPI_AppendRespHeader( buf, len ); in sapi_lsapi_send_headers_like_cgi()
515 char buf[8192]; in sapi_lsapi_log_message() local
519 snprintf( buf, 8191, "%s\n", message ); in sapi_lsapi_log_message()
520 message = buf; in sapi_lsapi_log_message()
536 char buf[0x100];
537 vsnprintf(buf, sizeof(buf), fmt, ap);
539 sapi_lsapi_log_message(buf