Lines Matching defs:length
178 if (host.length() >= 4 && host.front() == '[' && host.back() == ']') {
179 // INET6_ADDRSTRLEN is the maximum length of the dual format (including the
182 if (host.length() - 2 >= INET6_ADDRSTRLEN) return false;
191 ipv6_str[host.length()] = '\0';
271 // Fill the length into extended_payload_length in the network byte order.
351 // WebSocket frame length too large.
393 // 2. Fix the data size & length
578 static int OnHeaderValue(llhttp_t* parser, const char* at, size_t length) {
581 handler->headers_[handler->current_header_].append(at, length);
585 static int OnHeaderField(llhttp_t* parser, const char* at, size_t length) {
591 handler->current_header_.append(at, length);
595 static int OnPath(llhttp_t* parser, const char* at, size_t length) {
597 handler->path_.append(at, length);
625 header.length())) {