Lines Matching refs:__builtin_expect
65 if (__builtin_expect( (s[i] <= 32), 0)) return (const char *)s+i; in __attribute_nonnull__()
66 if (__builtin_expect( (s[i] == 127), 0)) return (const char *)s+i; in __attribute_nonnull__()
67 if (__builtin_expect( (s[i] == 255), 0)) return (const char *)s+i; in __attribute_nonnull__()
76 if (__builtin_expect( (((const uint8_t *)s)[i]<32), 0) && s[i] != '\t') in __attribute_nonnull__()
78 if (__builtin_expect( (s[i] == 127), 0)) in __attribute_nonnull__()
88 if (__builtin_expect( (s[i] == '\0'), 0)) return s+i; in __attribute_nonnull__()
89 if (__builtin_expect( (s[i] == '\r'), 0)) return s+i; in __attribute_nonnull__()
90 if (__builtin_expect( (s[i] == '\n'), 0)) return s+i; in __attribute_nonnull__()
115 if (__builtin_expect( (0 == hlen), 0)) return -1; in request_check_hostname()
116 if (__builtin_expect( (h[hlen-1] == '.'), 0)) { in request_check_hostname()
164 if (__builtin_expect( (h[1] == '\0'), 0)) /*(remove trailing colon)*/ in request_check_hostname()
433 && __builtin_expect( buffer_eq_slen(r->http_host,v,vlen), 1)) { in http_request_parse_single_header()
580 if (__builtin_expect( (HTTP_METHOD_CONNECT != r->http_method), 1) in http_request_validate_pseudohdrs()
581 || __builtin_expect( (r->h2_connect_ext != 0), 0)) { in http_request_validate_pseudohdrs()
674 if (__builtin_expect( (hpctx->id == HTTP_HEADER_H2_UNKNOWN), 0)) { in http_request_parse_header()
704 if (__builtin_expect( (r->http_host != NULL), 0)) in http_request_parse_header()
714 if (__builtin_expect( (HTTP_METHOD_UNSET != r->http_method), 0)) in http_request_parse_header()
723 if (__builtin_expect( (!buffer_is_blank(&r->target)), 0)) in http_request_parse_header()
729 if (__builtin_expect( (hpctx->scheme), 0)) in http_request_parse_header()
787 if (__builtin_expect( (*v <= 0x20), 0)) { in http_request_parse_header()
792 if (__builtin_expect( (v[vlen-1] <= 0x20), 0)) { in http_request_parse_header()
796 if (__builtin_expect( (hpctx->id == HTTP_HEADER_H2_UNKNOWN), 0)) { in http_request_parse_header()
801 if (__builtin_expect( (j != klen), 0)) { in http_request_parse_header()
814 if (__builtin_expect( (id == HTTP_HEADER_TE), 0) in http_request_parse_header()
1223 if (__builtin_expect( (r->http_host != NULL), 1)) { in http_request_parse()
1340 if (__builtin_expect( (0 != r->http_status), 0)) { in http_request_headers_process()
1366 if (__builtin_expect( (0 != r->http_status), 0)) { in http_request_headers_process_h2()