Lines Matching refs:at
175 static int on_url(struct http_parser *parser, const char *at, size_t length) in on_url() argument
180 print_header_field(length, at); in on_url()
184 req->internal.response.http_cb->on_url(parser, at, length); in on_url()
190 static int on_status(struct http_parser *parser, const char *at, size_t length) in on_status() argument
198 memcpy(req->internal.response.http_status, at, len); in on_status()
208 req->internal.response.http_cb->on_status(parser, at, length); in on_status()
214 static int on_header_field(struct http_parser *parser, const char *at, in on_header_field() argument
224 if (length >= len && strncasecmp(at, content_len, len) == 0) { in on_header_field()
228 print_header_field(length, at); in on_header_field()
232 req->internal.response.http_cb->on_header_field(parser, at, in on_header_field()
241 static int on_header_value(struct http_parser *parser, const char *at, in on_header_value() argument
253 memcpy(str, at, length); in on_header_value()
269 req->internal.response.http_cb->on_header_value(parser, at, in on_header_value()
273 print_header_field(length, at); in on_header_value()
278 static int on_body(struct http_parser *parser, const char *at, size_t length) in on_body() argument
292 req->internal.response.http_cb->on_body(parser, at, length); in on_body()
297 req->internal.response.body_frag_start = (uint8_t *)at; in on_body()