Lines Matching refs:buf
279 char buf[sizeof("Sat, 23 Jul 2005 21:20:01 GMT")]; in http_response_handle_cachable() local
284 if (used_len >= sizeof(buf)) { in http_response_handle_cachable()
287 con->request.http_if_modified_since, used_len, sizeof(buf) - 1); in http_response_handle_cachable()
295 strncpy(buf, con->request.http_if_modified_since, used_len); in http_response_handle_cachable()
296 buf[used_len] = '\0'; in http_response_handle_cachable()
298 if (NULL == strptime(buf, "%a, %d %b %Y %H:%M:%S GMT", &tm)) { in http_response_handle_cachable()
339 char buf[sizeof("Sat, 23 Jul 2005 21:20:01 GMT")]; in http_response_handle_cachable() local
344 if (used_len >= sizeof(buf)) return HANDLER_GO_ON; in http_response_handle_cachable()
346 strncpy(buf, con->request.http_if_modified_since, used_len); in http_response_handle_cachable()
347 buf[used_len] = '\0'; in http_response_handle_cachable()
349 if (NULL == strptime(buf, "%a, %d %b %Y %H:%M:%S GMT", &tm)) { in http_response_handle_cachable()