Lines Matching refs:size
343 static void http_server_sent(void *arg, struct net_socket *socket, void *buffer, size_t size)
352 // debug_printf("%s: %zd %zd:%zd %zd:%zd\n", __func__, size, conn->header_pos, conn->header_sent, conn->reply_pos, conn->reply_sent);
354 conn->header_sent += size;
356 conn->reply_sent += size;
369 // debug_printf("%s.%d: %zd\n", __func__, __LINE__, size);
419 DEBUGPRINT ("%d: BIGERROR Sending the response back of size %lu\n",
430 DEBUGPRINT ("%d: Sending the response back of size %lu\n",
472 static void http_server_recv(void *arg, struct net_socket *socket, void *data, size_t size, struct in_addr ip_address, uint16_t port)
477 // debug_printf_to_log("%s(%d): %ld %d\n", __func__, socket->descriptor, size, conn->state);
481 if (size == 0) {
499 conn->request_length += size;
501 char *d = conn->request + conn->request_length - size;
502 memcpy(d, data, size);
503 d += size;