| /lighttpd1.4/src/ |
| H A D | algo_md5.c | 90 #define F(x, y, z) (((x) & (y)) | ((~x) & (z))) argument 91 #define G(x, y, z) (((x) & (z)) | ((y) & (~z))) argument 92 #define H(x, y, z) ((x) ^ (y) ^ (z)) argument 93 #define I(x, y, z) ((y) ^ ((x) | (~z))) argument 97 #define ROTATE_LEFT(x, n) (((x) << (n)) | ((x) >> (32-(n)))) argument 102 #define FF(a, b, c, d, x, s, ac) { \ argument 107 #define GG(a, b, c, d, x, s, ac) { \ argument 112 #define HH(a, b, c, d, x, s, ac) { \ argument 117 #define II(a, b, c, d, x, s, ac) { \ argument 212 Decode (x, block, 64); in li_MD5Transform() [all …]
|
| H A D | mod_ajp13.c | 161 return (x[0] << 8) | x[1]; in ajp13_dec_uint16() 169 x[0] = 0xFF & (v >> 8); in ajp13_enc_uint16_nc() 170 x[1] = 0xFF & (v); in ajp13_enc_uint16_nc() 187 x[n] = v; in ajp13_enc_byte() 202 memcpy(x+n, s, len); in ajp13_enc_string() 204 x[n] = '\0'; in ajp13_enc_string() 576 x[0] = 0x12; in ajp13_create_env() 577 x[1] = 0x34; in ajp13_create_env() 578 x[2] = 0; in ajp13_create_env() 579 x[3] = 0; in ajp13_create_env() [all …]
|
| H A D | burl.c | 74 if (burl_is_unreserved(x)) { in burl_normalize_basic_unreserved_fix() 75 p[j] = x; in burl_normalize_basic_unreserved_fix() 102 unsigned int n1, n2, x; in burl_normalize_basic_unreserved() local 149 ? (x != '/' && x != '?') in burl_normalize_basic_required_fix() 150 : (x != '&' && x != '=' && x != ';' && x != '+'))) { in burl_normalize_basic_required_fix() 151 p[j] = x; in burl_normalize_basic_required_fix() 178 unsigned int n1, n2, x; in burl_normalize_basic_required() local 189 ? (x == '/' || x == '?') in burl_normalize_basic_required() 190 : (x == '&' || x == '=' || x == ';' || x == '+')))) { in burl_normalize_basic_required() 397 p[j] = (char)x; in burl_append_encode_nde() [all …]
|
| H A D | buffer.h | 67 char* buffer_extend(buffer * const restrict b, size_t x); 256 #define BUFFER_INTLEN_PTR(x) (int)buffer_clen(x), (x)->ptr argument 257 #define BUF_PTR_LEN(x) (x)->ptr, buffer_clen(x) argument 259 #define CONST_LEN_STR(x) (uint32_t)sizeof(x)-1, x argument 260 #define CONST_STR_LEN(x) x, (uint32_t)sizeof(x) - 1 argument 360 #define BUFFER_APPEND_STRING_CONST(x, y) \ argument 361 buffer_append_string_len(x, y, sizeof(y) - 1) 363 #define BUFFER_COPY_STRING_CONST(x, y) \ argument 364 buffer_copy_string_len(x, y, sizeof(y) - 1) 366 #define CONST_BUF_LEN(x) ((x) ? (x)->ptr : NULL), buffer_string_length(x) argument [all …]
|
| H A D | plugin.h | 9 #define SERVER_FUNC(x) \ argument 10 static handler_t x(server *srv, void *p_d) 12 #define CONNECTION_FUNC(x) \ argument 13 static handler_t x(connection *con, void *p_d) 15 #define REQUEST_FUNC(x) \ argument 16 static handler_t x(request_st *r, void *p_d) 18 #define INIT_FUNC(x) \ argument 20 static void *x(void) 22 #define FREE_FUNC(x) \ argument 24 static void x(void *p_d)
|
| H A D | http_etag.c | 73 uint64_t x[4]; in http_etag_create() local 77 x[len++] = (uint64_t)st->st_ino; in http_etag_create() 80 x[len++] = (uint64_t)st->st_size; in http_etag_create() 83 x[len++] = (uint64_t)st->st_mtime; in http_etag_create() 86 x[len++] = (uint64_t)st->st_mtimespec.tv_nsec; in http_etag_create() 88 x[len++] = (uint64_t)st->st_mtim.tv_nsec; in http_etag_create() 94 http_etag_remix(etag, (char *)x, len << 3); in http_etag_create()
|
| H A D | first.h | 148 #define UNUSED(x) ( (void)(x) ) argument 152 #define __has_attribute(x) 0 argument 156 #define __has_builtin(x) 0 argument 177 #define __builtin_expect(x,y) (x) argument 229 #define __attribute_format__(x) __attribute__((__format__ x)) argument 231 #define __attribute_format__(x) argument
|
| H A D | lemon.c | 982 for(x=bp, y=stp->bp; x && y; x=x->bp, y=y->bp){ in getstate() 985 x->fplp = x->bplp = 0; in getstate() 1596 memset(x, 0, sizeof(x)); in Rule_sort() 1600 for(i=0; i<sizeof(x)/sizeof(x[0])-1 && x[i]; i++){ in Rule_sort() 2336 if( x[0]==':' && x[1]==':' && x[2]=='=' ){ in parseonetoken() 2371 if( x[0]==':' && x[1]==':' && x[2]=='=' ){ in parseonetoken() 2628 if( x[0]=='{' || x[0]=='\"' || ISALNUM(x[0]) ){ in parseonetoken() 2767 }else if( ISUPPER(x[0]) || ((x[0]=='|' || x[0]=='/') && ISUPPER(x[1])) ){ in parseonetoken() 2772 if( !ISUPPER(x[0]) ) x++; in parseonetoken() 5095 ap->x = ap2->x; in CompressTables() [all …]
|
| H A D | algo_splaytree.c | 141 splay_tree * x; in splaytree_delete() local 146 x = t->right; in splaytree_delete() 148 x = splaytree_splay(t->left, i); in splaytree_delete() 149 x->right = t->right; in splaytree_delete() 152 return x; in splaytree_delete()
|
| H A D | algo_sha1.c | 57 #define R0(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk0(i)+0x5A827999+rol(v,5);w=rol(w,30); argument 58 #define R1(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk(i)+0x5A827999+rol(v,5);w=rol(w,30); argument 59 #define R2(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0x6ED9EBA1+rol(v,5);w=rol(w,30); argument 60 #define R3(v,w,x,y,z,i) z+=(((w|x)&y)|(w&x))+blk(i)+0x8F1BBCDC+rol(v,5);w=rol(w,30); argument 61 #define R4(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0xCA62C1D6+rol(v,5);w=rol(w,30); argument
|
| H A D | ck.c | 343 ck_realloc_u32 (void **list, size_t n, size_t x, size_t elt_sz) in ck_realloc_u32() argument 346 ck_assert(x <= UINT32_MAX && n <= UINT32_MAX - x); in ck_realloc_u32() 347 void *ptr = reallocarray(*list, n + x, elt_sz); in ck_realloc_u32() 349 ck_assert(x <= UINT32_MAX && n <= UINT32_MAX - x && n+x <= SIZE_MAX/elt_sz); in ck_realloc_u32() 350 void *ptr = realloc(*list, (n + x) * elt_sz); in ck_realloc_u32()
|
| H A D | ck.h | 86 void * ck_realloc_u32 (void **list, size_t n, size_t x, size_t elt_sz); 111 #define ck_assert(x) \ argument 112 do { if (!(x)) ck_assert_failed(__FILE__, __LINE__, #x); } while (0)
|
| H A D | mod_openssl.c | 235 #define RAND_priv_bytes(x,sz) RAND_bytes((x),(sz)) in mod_openssl_session_ticket_key_generate() argument 1332 x = NULL; in mod_openssl_load_pem_file() 1342 return x; in mod_openssl_load_pem_file() 1370 return x; in mod_openssl_evp_pkey_load_pem_file() 1461 struct tm x; in mod_openssl_asn1_time_to_posix() local 1463 x.tm_yday = 0; in mod_openssl_asn1_time_to_posix() 1464 x.tm_wday = 0; in mod_openssl_asn1_time_to_posix() 1470 x.tm_year += (x.tm_year < 50 ? 2000 : 1900); in mod_openssl_asn1_time_to_posix() 1485 x.tm_min = 0; in mod_openssl_asn1_time_to_posix() 1512 if (x.tm_year == 9999 && x.tm_mon == 12 && x.tm_mday == 31 in mod_openssl_asn1_time_to_posix() [all …]
|
| H A D | algo_xxhash.h | 620 # define XXH_HAS_ATTRIBUTE(x) __has_attribute(x) argument 627 # define XXH_HAS_C_ATTRIBUTE(x) __has_c_attribute(x) argument 1776 # define XXH_HAS_BUILTIN(x) __has_builtin(x) argument 1800 # define XXH_rotl32(x,r) _rotl(x,r) argument 1801 # define XXH_rotl64(x,r) _rotl64(x,r) argument 1803 # define XXH_rotl32(x,r) (((x) << (r)) | ((x) >> (32 - (r)))) argument 1804 # define XXH_rotl64(x,r) (((x) << (r)) | ((x) >> (64 - (r)))) argument 2723 # define XXH_likely(x) __builtin_expect(x, 1) argument 2726 # define XXH_likely(x) (x) argument 2727 # define XXH_unlikely(x) (x) argument [all …]
|
| H A D | base_decls.h | 40 #define BV(x) (1 << x) argument
|
| H A D | plugin.c | 101 #define PLUGIN_INIT(x)\ argument 102 int x ## _plugin_init(plugin *p); 116 #define PLUGIN_INIT(x) \ argument 117 { #x, &x ## _plugin_init }, 336 #define PLUGIN_CALL_FN_REQ_DATA(x, y) \ argument 338 return plugins_call_fn_req_data(r, x); \ 357 #define PLUGIN_CALL_FN_CON_DATA(x, y) \ in PLUGIN_CALL_FN_REQ_DATA() argument 359 return plugins_call_fn_con_data(con, x); \ in PLUGIN_CALL_FN_REQ_DATA()
|
| H A D | mod_deflate.c | 297 #define mkdir(x,y) mkdir(x) argument 646 x[i] = 0; /* end of list */ in mod_deflate_encodings_to_flags() 647 return x; in mod_deflate_encodings_to_flags() 654 x[i++] = HTTP_ACCEPT_ENCODING_ZSTD; in mod_deflate_encodings_to_flags() 657 x[i++] = HTTP_ACCEPT_ENCODING_BR; in mod_deflate_encodings_to_flags() 664 x[i++] = HTTP_ACCEPT_ENCODING_GZIP in mod_deflate_encodings_to_flags() 668 x[i] = 0; /* end of list */ in mod_deflate_encodings_to_flags() 669 return x; in mod_deflate_encodings_to_flags() 1830 if (NULL == x) return 0; in mod_deflate_choose_encoding() 1831 while (*x && !(*x & accept_encoding)) ++x; in mod_deflate_choose_encoding() [all …]
|
| H A D | buffer.c | 126 buffer_extend (buffer * const b, const size_t x) in buffer_extend() argument 133 char * const s = buffer_string_prepare_append(b, x); in buffer_extend() 134 b->used += x + (0 == b->used); in buffer_extend() 137 char * const s = (b->size - len >= x + 1) in buffer_extend() 139 : buffer_string_prepare_append_resize(b, x); in buffer_extend() 140 b->used = len+x+1; in buffer_extend() 142 s[x] = '\0'; in buffer_extend() 299 uintmax_t x; in __attribute_nonnull__() local 301 *(--cur) = (char) ('0' + (int)(val - (x = val/10) * 10)); in __attribute_nonnull__() 302 } while (0 != (val = x)); /* val % 10 */ in __attribute_nonnull__()
|
| H A D | request.c | 620 const char * const x = (http_parseopts & HTTP_PARSEOPT_HEADER_STRICT) in http_request_validate_pseudohdrs() local 625 return (NULL == x) in http_request_validate_pseudohdrs() 627 : http_request_header_char_invalid(r, *x, in http_request_validate_pseudohdrs() 779 const char * const x = (http_header_strict) in http_request_parse_header() local 782 if (x) in http_request_parse_header() 783 return http_request_header_char_invalid(r, *x, in http_request_parse_header() 936 const char * const x = (http_parseopts & HTTP_PARSEOPT_HEADER_STRICT) in http_request_parse_reqline() local 941 if (x) in http_request_parse_reqline() 1198 const char * const x = http_request_check_line_strict(v, vlen); in http_request_parse_headers() local 1199 if (x) in http_request_parse_headers() [all …]
|
| H A D | sock_addr.c | 146 in_addr_t x = b->ipv6.sin6_addr.s6_addr32[3]; in sock_addr_is_addr_eq_bits() local 148 in_addr_t x; in sock_addr_is_addr_eq_bits() 149 memcpy(&x, b->ipv6.sin6_addr.s6_addr+12, sizeof(in_addr_t)); in sock_addr_is_addr_eq_bits() 151 return ((a->ipv4.sin_addr.s_addr & nm) == (x & nm)); in sock_addr_is_addr_eq_bits() 176 in_addr_t x = a->ipv6.sin6_addr.s6_addr32[3]; in sock_addr_is_addr_eq_bits() local 178 in_addr_t x; in sock_addr_is_addr_eq_bits() local 179 memcpy(&x, a->ipv6.sin6_addr.s6_addr+12, sizeof(in_addr_t)); in sock_addr_is_addr_eq_bits() 181 return ((x & nm) == (b->ipv4.sin_addr.s_addr & nm)); in sock_addr_is_addr_eq_bits()
|
| /lighttpd1.4/src/t/ |
| H A D | test_http_header.c | 22 enum http_header_e x = (enum http_header_e)i; in test_http_header_tables() local 23 switch (x) { in test_http_header_tables() 86 assert(x == http_header_hkey_get(http_headers[u].value, in test_http_header_tables() 88 assert(x == http_header_hkey_get_lc(http_headers[u].value, in test_http_header_tables() 101 int8_t x = http_headers_off[http_headers[u].vlen]; in test_http_header_tables() local 102 assert((unsigned int)x <= u); in test_http_header_tables() 103 assert(http_headers[x].vlen == http_headers[u].vlen); in test_http_header_tables()
|
| /lighttpd1.4/tests/ |
| H A D | cleanup.sh | 3 if test x$srcdir = x; then 7 if test x$top_builddir = x; then
|
| H A D | scgi-responder.c | 154 char x[8192]; in scgi_process() local 156 rd = recv(fd, x, (cl>(long long)sizeof(x)?sizeof(x):(size_t)cl), 0); in scgi_process()
|
| /lighttpd1.4/doc/scripts/ |
| H A D | spawn-php.sh | 31 if test x$PHP_FCGI_CHILDREN = x; then 40 if test x$UID = x0; then
|
| H A D | create-mime.conf.pl | 108 my $x = ($type =~ /^x-/ || $subtype =~ /^x-/); 111 if ($have_x && !$x) { 113 } elsif ($x && !$have_x) {
|