Home
last modified time | relevance | path

Searched refs:state (Results 1 – 25 of 31) sorted by relevance

12

/lighttpd1.4/src/
H A Dalgo_xxhash.h2181 memset(&state, 0, sizeof(state)); in XXH32_reset()
2187 XXH_memcpy(statePtr, &state, sizeof(state) - sizeof(state.reserved)); in XXH32_reset()
2214 XXH_memcpy((xxh_u8*)(state->mem32) + state->memsize, input, 16-state->memsize); in XXH32_update()
2597 memset(&state, 0, sizeof(state)); in XXH64_reset()
2603 XXH_memcpy(statePtr, &state, sizeof(state) - sizeof(state.reserved64)); in XXH64_reset()
2629 state->v[0] = XXH64_round(state->v[0], XXH_readLE64(state->mem64+0)); in XXH64_update()
2630 state->v[1] = XXH64_round(state->v[1], XXH_readLE64(state->mem64+1)); in XXH64_update()
2631 state->v[2] = XXH64_round(state->v[2], XXH_readLE64(state->mem64+2)); in XXH64_update()
2632 state->v[3] = XXH64_round(state->v[3], XXH_readLE64(state->mem64+3)); in XXH64_update()
2665 …h64 = XXH_rotl64(state->v[0], 1) + XXH_rotl64(state->v[1], 7) + XXH_rotl64(state->v[2], 12) + XXH_… in XXH64_digest()
[all …]
H A Dalgo_sha1.c79 a = state[0]; in SHA1_Transform()
80 b = state[1]; in SHA1_Transform()
81 c = state[2]; in SHA1_Transform()
82 d = state[3]; in SHA1_Transform()
83 e = state[4]; in SHA1_Transform()
106 state[0] += a; in SHA1_Transform()
107 state[1] += b; in SHA1_Transform()
108 state[2] += c; in SHA1_Transform()
109 state[3] += d; in SHA1_Transform()
110 state[4] += e; in SHA1_Transform()
[all …]
H A Dalgo_md5.c130 context->state[0] = 0x67452301; in li_MD5_Init()
131 context->state[1] = 0xefcdab89; in li_MD5_Init()
132 context->state[2] = 0x98badcfe; in li_MD5_Init()
133 context->state[3] = 0x10325476; in li_MD5_Init()
165 li_MD5Transform (context->state, &input[i]); in li_MD5_Update()
199 Encode (digest, context->state, 16); in li_MD5_Final()
210 UINT4 a = state[0], b = state[1], c = state[2], d = state[3], x[16]; in li_MD5Transform()
287 state[0] += a; in li_MD5Transform()
288 state[1] += b; in li_MD5Transform()
289 state[2] += c; in li_MD5Transform()
[all …]
H A Drequest.h123 request_state_t state; /*(modules should not modify request state)*/ member
235 (CON_STATE_READ == (r)->state && !buffer_is_blank(&(r)->target_orig))
245 : http_request_state_append((b), (con)->request.state))
250 : http_request_state_short((con)->request.state))
259 const char * http_request_state_short (request_state_t state);
261 void http_request_state_append (buffer *b, request_state_t state);
H A Dlemon.c359 struct state { struct
968 struct state *stp; in getstate()
1082 struct state *stp; in FindLinks()
1155 struct state *stp; in FindActions()
2264 x,psp->state); in parseonetoken()
3423 struct state *stp; in ReportOutput()
4295 struct state *stp; in ReportTable()
5108 const struct state *pA = *(const struct state**)a; in stateResortCompare()
5109 const struct state *pB = *(const struct state**)b; in stateResortCompare()
5621 newstate = (struct state *)calloc(1, sizeof(struct state) ); in State_new()
[all …]
H A Dmod_wstunnel.c163 mod_wstunnel_frame_state_t state; member
471 if (hctx->gw.state == GW_STATE_WRITE || hctx->gw.state == GW_STATE_READ) { in wstunnel_backend_error()
508 hctx->frame.state = MOD_WEBSOCKET_FRAME_STATE_INIT; in wstunnel_handler_setup()
610 if (hctx->gw.state != GW_STATE_WRITE && hctx->gw.state != GW_STATE_READ) in TRIGGER_FUNC()
947 switch (hctx->frame.state) { in recv_ietf_00()
987 hctx->frame.state = MOD_WEBSOCKET_FRAME_STATE_INIT; in recv_ietf_00()
1134 switch (hctx->frame.state) { in recv_rfc_6455()
1187 hctx->frame.state = in recv_rfc_6455()
1193 hctx->frame.state = in recv_rfc_6455()
1235 hctx->frame.state = in recv_rfc_6455()
[all …]
H A Dconnections.c39 connection_set_state(r, state); in connection_set_state_error()
193 || r->state == CON_STATE_ERROR) { in connection_handle_response_end_state()
621 if (h2r->state != CON_STATE_ERROR) in connection_transition_h2()
972 switch ((ostate = r->state)) { in connection_state_machine_loop()
1061 if (r->state == CON_STATE_CLOSE) in connection_revents_err()
1121 switch(r->state) { in connection_set_fdevent_interest()
1238 if (r->state < CON_STATE_WRITE) in connection_state_machine_h2()
1306 if (h2r->state == CON_STATE_WRITE) { in connection_state_machine_h2()
1316 if (h2r->state == CON_STATE_WRITE) { in connection_state_machine_h2()
1366 if (r->state == CON_STATE_CLOSE) { in connection_check_timeout()
[all …]
H A Dgw_backend.c126 if ((int)proc->state == state) return; in gw_proc_set_state()
127 if (proc->state == PROC_STATE_RUNNING) { in gw_proc_set_state()
132 proc->state = state; in gw_proc_set_state()
168 proc->state = PROC_STATE_DIED; in gw_proc_init()
399 if (proc->state != PROC_STATE_KILLED) in gw_proc_waitpid()
998 switch (proc->state) { in gw_restart_dead_proc()
1090 hctx->state = GW_STATE_INIT; in handler_ctx_init()
1125 hctx->state = GW_STATE_INIT; in handler_ctx_clear()
1756 hctx->state = state; in gw_set_state()
1906 switch(hctx->state) { in gw_write_request()
[all …]
H A Dgw_backend.h25 } state; member
307 gw_connection_state_t state; member
H A Dalgo_md5.h35 uint32_t state[4]; /* state (ABCD) */ member
H A Dalgo_sha1.h57 sha1_quadbyte state[5]; member
H A Drequest.c26 http_request_state_append (buffer * const b, request_state_t state) in http_request_state_append() argument
43 states +((uint32_t)state <= CON_STATE_CLOSE ? state : CON_STATE_CLOSE+1); in http_request_state_append()
51 http_request_state_short (request_state_t state) in http_request_state_short() argument
56 sstates+((uint32_t)state <= CON_STATE_CLOSE ? state : CON_STATE_CLOSE+1); in http_request_state_short()
H A Dmod_status.c199 http_request_state_append(b, r->state); in mod_status_html_rtable_r()
491 *s++ = *(http_request_state_short(cr->state)); in mod_status_handle_server_status_html()
492 ++cstates[(cr->state <= CON_STATE_CLOSE ? cr->state : CON_STATE_CLOSE+1)]; in mod_status_handle_server_status_html()
H A Dh2.c330 r->state = CON_STATE_ERROR; in h2_send_rst_stream_state()
519 r->state = CON_STATE_ERROR; in h2_recv_rst_stream()
1477 r->state = CON_STATE_ERROR; in h2_parse_headers_frame()
1544 r->state = CON_STATE_REQUEST_END; in h2_recv_headers()
1579 r->state = CON_STATE_ERROR; in h2_recv_headers()
2755 if (r->state != CON_STATE_ERROR && r->resp_body_finished) { in h2_send_end_stream()
2870 if (h2r->state != CON_STATE_ERROR) { /*(CON_STATE_RESPONSE_END)*/ in h2_retire_con()
2948 r->state = CON_STATE_REQUEST_END; in h2_con_upgrade_h2c()
H A Dreqpool.c283 r->state = CON_STATE_CONNECT; in request_release()
H A Dmod_magnet.c1986 http_request_state_append(dest, r->state); in magnet_env_get_buffer_by_id()
3373 if (r->state == CON_STATE_READ_POST) { in SUBREQUEST_FUNC()
3377 if (r->state == CON_STATE_READ_POST) in SUBREQUEST_FUNC()
/lighttpd1.4/doc/outdated/
H A Dstate.txt14 This is a short summary of the state-engine which is driving the lighttpd
19 :keywords: lighttpd, state-engine
29 The state-engine is currently made of 11 states which are walk-through on
56 .. image:: state.png
61 The connection is idling in the 'connect' state waiting for a connection.
71 is set back to the 'connect' state again.
90 the 'read' state.
95 For really hard errors we use the 'error' state which resets the
102 the error condition the 'close' state is used the init a half-close and
115 Important functions used by the state-engine
[all …]
H A DMakefile.am7 fastcgi-state.txt \
20 state.txt \
41 fastcgi-state.html \
54 state.html \
70 state.dot fastcgi-state.dot \
H A Dfastcgi-state.txt14 This is a short summary of the state-engine which is driving the FastCGI
19 :keywords: lighttpd, state-engine, fastcgi
29 The state-engine is currently made of 6 states which are walk-through on
45 .. image:: fastcgi-state.png
51 for the loop in the state-diagram.
H A Dstate.dot1 digraph state {
H A Dstatus.txt30 - active connections and their state
H A Dplugins.txt253 called if the state of the connection has changed
/lighttpd1.4/src/ls-hpack/
H A Dhuff-tables.h271 uint8_t state; member
H A Dlshpack.c1268 uint8_t state; member
1395 decode_tables[status->state][src_4bits]; in hdec_huff_dec4bits()
1405 status->state = cur_dec_code.state; in hdec_huff_dec4bits()
/lighttpd1.4/
H A DNEWS29 * [core] add missed h2 state transition (fixes #3186)
270 * [core] consolidate trace for log-state-handling
308 * [mod_status] reusable code for r->state strings
309 * [core] reusable code for r->state strings
310 * [mod_magnet] expose r->state to lua scripts
676 * [mod_dirlisting] restructure and keep state
1351 * [core] move request state into (request_st *)
1583 * [core] set r->state in h2.c
1620 * [core] propagate state after writing
2332 * [core] permit connection-level state in modules
[all …]

12