Home
last modified time | relevance | path

Searched refs:result (Results 1 – 25 of 26) sorted by relevance

12

/lighttpd1.4/src/
H A Dsys-time.h25 #define localtime_r(timep,result) ((*(result) = *(localtime(timep))), (result)) argument
28 #define gmtime_r(timep,result) ((*(result) = *(gmtime(timep))), (result)) argument
80 #define gmtime64_r(timep,result) gmtime_r((timep),(result)) argument
81 #define localtime64_r(timep,result) localtime_r((timep),(result)) argument
85 #define gmtime64_r(timep,result) gmtime_y2038_kludge32(*(timep),(result)) argument
86 #define localtime64_r(timep,result) localtime_y2038_kludge32(*(timep),(result)) argument
104 return result; in gmtime_y2038_kludge32()
111 return result; in gmtime_y2038_kludge32()
120 return result; in gmtime_y2038_kludge32()
140 return result; in localtime_y2038_kludge32()
[all …]
H A Dbase64.c62 result[out_pos] = (out4 >> 16) & 0xFF; in li_base64_dec()
63 result[out_pos+1] = (out4 >> 8) & 0xFF; in li_base64_dec()
64 result[out_pos+2] = (out4 ) & 0xFF; in li_base64_dec()
75 result[out_pos++] = (out4 >> 10); in li_base64_dec()
79 result[out_pos++] = (out4 >> 4) & 0xFF; in li_base64_dec()
155 char * const result = buffer_string_prepare_append(out, reserve); in buffer_append_base64_enc() local
157 li_base64_enc(result, reserve, in, in_length, charset, pad); in buffer_append_base64_enc()
161 return result; in buffer_append_base64_enc()
167 unsigned char * const result = (unsigned char *) in buffer_append_base64_decode() local
170 li_base64_dec(result, reserve, in, in_length, charset); in buffer_append_base64_decode()
[all …]
H A Dmod_vhostdb_dbi.c172 dbi_result result; in mod_vhostdb_dbi_query() local
204 result = dbi_conn_query(dbconf->dbconn, sqlquery->ptr); in mod_vhostdb_dbi_query()
205 } while (!result && ++retry_count < 2); in mod_vhostdb_dbi_query()
209 if (!result) { in mod_vhostdb_dbi_query()
216 nrows = dbi_result_get_numrows(result); in mod_vhostdb_dbi_query()
217 if (nrows && nrows != DBI_ROW_ERROR && dbi_result_next_row(result)) { in mod_vhostdb_dbi_query()
218 buffer_copy_string(docroot, dbi_result_get_string_idx(result, 1)); in mod_vhostdb_dbi_query()
221 dbi_result_free(result); in mod_vhostdb_dbi_query()
H A Dmod_authn_dbi.c510 dbi_result result; in mod_authn_dbi_query() local
513 result = dbi_conn_query(dbconf->dbconn, sqlquery->ptr); in mod_authn_dbi_query()
514 } while (!result && ++retry_count < 2); in mod_authn_dbi_query()
516 if (!result) { in mod_authn_dbi_query()
524 unsigned long long nrows = dbi_result_get_numrows(result); in mod_authn_dbi_query()
525 if (nrows && nrows != DBI_ROW_ERROR && dbi_result_next_row(result)) { in mod_authn_dbi_query()
526 size_t len = dbi_result_get_field_length_idx(result, 1); in mod_authn_dbi_query()
527 const char *rpw = dbi_result_get_string_idx(result, 1); in mod_authn_dbi_query()
543 len = dbi_result_get_field_length_idx(result, 2); in mod_authn_dbi_query()
544 rpw = dbi_result_get_string_idx(result, 2); in mod_authn_dbi_query()
[all …]
H A Dmod_authn_file.c501 memcpy(result, APR1_ID, sizeof(APR1_ID)-1); in apr_md5_encode()
502 memcpy(result+sizeof(APR1_ID)-1, salt, sl); in apr_md5_encode()
503 result[sizeof(APR1_ID)-1+sl] = '$'; in apr_md5_encode()
535 MD5_Update(&ctx, result, sizeof(APR1_ID)-1 + sl); in apr_md5_encode()
596 result += sizeof(APR1_ID)-1 + sl + 1; in apr_md5_encode()
597 to64(result, (final[ 0]<<16) | (final[ 6]<<8) | final[12], 4); in apr_md5_encode()
598 to64(result+4, (final[ 1]<<16) | (final[ 7]<<8) | final[13], 4); in apr_md5_encode()
599 to64(result+8, (final[ 2]<<16) | (final[ 8]<<8) | final[14], 4); in apr_md5_encode()
600 to64(result+12, (final[ 3]<<16) | (final[ 9]<<8) | final[15], 4); in apr_md5_encode()
601 to64(result+16, (final[ 4]<<16) | (final[10]<<8) | final[ 5], 4); in apr_md5_encode()
[all …]
H A Dmod_vhostdb_mysql.c136 MYSQL_RES *result; in mod_vhostdb_mysql_query() local
174 result = mysql_store_result(dbconf->dbconn); in mod_vhostdb_mysql_query()
175 cols = mysql_num_fields(result); in mod_vhostdb_mysql_query()
176 row = mysql_fetch_row(result); in mod_vhostdb_mysql_query()
181 mysql_free_result(result); in mod_vhostdb_mysql_query()
H A Dconfigfile-glue.c377 switch (cache->result) { in config_cond_result_trace()
391 cache->result = config_check_cond_nocache(r, dc, debug_cond, cache); in config_check_cond_nocache_calc()
393 return cache->result; in config_check_cond_nocache_calc()
398 if (COND_RESULT_UNSET != cache->result) { in config_check_cond_cached()
400 return cache->result; in config_check_cond_cached()
606 == (COND_RESULT_UNSET != cache->result in config_check_cond()
607 ? (cond_result_t)cache->result in config_check_cond()
615 if (cond_cache[dc->context_ndx].result != COND_RESULT_UNSET) { in config_cond_clear_node()
616 cond_cache[dc->context_ndx].result = COND_RESULT_UNSET; in config_cond_clear_node()
H A Dsock_addr.c619 int result; in sock_addr_from_str_numeric() local
635 result = getaddrinfo(str, NULL, &hints, &addrlist); in sock_addr_from_str_numeric()
637 if (result != 0) { in sock_addr_from_str_numeric()
640 str, gai_strerror(result)); in sock_addr_from_str_numeric()
641 return result; in sock_addr_from_str_numeric()
660 result = -1; in sock_addr_from_str_numeric()
665 return (0 == result); in sock_addr_from_str_numeric()
H A Dmod_vhostdb_api.h19 int(*query)(request_st *r, void *p_d, buffer *result);
H A Dkeyvalue.h41 …cess(const pcre_keyvalue_buffer *kvb, pcre_keyvalue_ctx *ctx, const buffer *input, buffer *result);
H A Dbase64.h12 size_t li_base64_dec(unsigned char *result, size_t out_length, const char *in, size_t in_length, ba…
H A Dplugin_config.h166 int8_t result; /*(cond_result_t)*/ member
H A Dkeyvalue.c397 …ess(const pcre_keyvalue_buffer *kvb, pcre_keyvalue_ctx *ctx, const buffer *input, buffer *result) { in pcre_keyvalue_buffer_process() argument
441 pcre_keyvalue_buffer_subst(result, &kv->value, ctx); in pcre_keyvalue_buffer_process()
H A Dmod_magnet.c3233 handler_t result = HANDLER_GO_ON; in magnet_attract() local
3243 result = HANDLER_FINISHED; in magnet_attract()
3278 result = HANDLER_FINISHED; in magnet_attract()
3284 result = http_response_send_1xx(r) in magnet_attract()
3300 result = HANDLER_COMEBACK; in magnet_attract()
3305 result = HANDLER_ERROR; in magnet_attract()
3313 return result; in magnet_attract()
H A Dmod_extforward.c462 static void extract_forward_array(array * const result, const buffer *pbuffer) in extract_forward_array() argument
473 array_insert_value(result, base, curr - base); in extract_forward_array()
487 array_insert_value(result, base, curr - base); in extract_forward_array()
H A Dalgo_xxhash.h3178 xxh_u64x2 result; in XXH_vec_mulo() local
3179 __asm__("vmulouw %0, %1, %2" : "=v" (result) : "v" (a), "v" (b)); in XXH_vec_mulo()
3180 return result; in XXH_vec_mulo()
3184 xxh_u64x2 result; in XXH_vec_mule() local
3185 __asm__("vmuleuw %0, %1, %2" : "=v" (result) : "v" (a), "v" (b)); in XXH_vec_mule()
3186 return result; in XXH_vec_mule()
H A Dmod_ssi.c437 int result = ssi_val_tobool(v); in ssi_eval_expr_step() local
439 v->bo = result; in ssi_eval_expr_step()
H A Dlemon.c3359 int result = 1; in PrintAction() local
3398 result = 0; in PrintAction()
3406 result = 0; in PrintAction()
3410 result = 0; in PrintAction()
3413 if( result && ap->spOpt ){ in PrintAction()
3416 return result; in PrintAction()
/lighttpd1.4/src/t/
H A Dtest_keyvalue.c45 buffer *result = buffer_init(); in test_keyvalue_pcre_keyvalue_buffer_process() local
86 rc = pcre_keyvalue_buffer_process(kvb, &ctx, url, result); in test_keyvalue_pcre_keyvalue_buffer_process()
88 assert(buffer_eq_slen(result, CONST_STR_LEN("/foo/"))); in test_keyvalue_pcre_keyvalue_buffer_process()
93 rc = pcre_keyvalue_buffer_process(kvb, &ctx, url, result); in test_keyvalue_pcre_keyvalue_buffer_process()
95 assert(buffer_eq_slen(result, CONST_STR_LEN("/foo/?a=b"))); in test_keyvalue_pcre_keyvalue_buffer_process()
100 rc = pcre_keyvalue_buffer_process(kvb, &ctx, url, result); in test_keyvalue_pcre_keyvalue_buffer_process()
102 assert(buffer_eq_slen(result, CONST_STR_LEN("/?bar&a=b"))); in test_keyvalue_pcre_keyvalue_buffer_process()
107 rc = pcre_keyvalue_buffer_process(kvb, &ctx, url, result); in test_keyvalue_pcre_keyvalue_buffer_process()
114 rc = pcre_keyvalue_buffer_process(kvb, &ctx, url, result); in test_keyvalue_pcre_keyvalue_buffer_process()
116 assert(buffer_eq_slen(result, CONST_STR_LEN("/?seg=www&a=b"))); in test_keyvalue_pcre_keyvalue_buffer_process()
[all …]
H A Dtest_mod_simple_vhost.c14 buffer *result= buffer_init(); in test_mod_simple_vhost_build_doc_root_path() local
19 build_doc_root_path(result, sroot, host, droot); in test_mod_simple_vhost_build_doc_root_path()
20 assert(buffer_eq_slen(result, CONST_STR_LEN("/sroot/a/www.example.org/droot/b/"))); in test_mod_simple_vhost_build_doc_root_path()
23 build_doc_root_path(result, sroot, host, droot); in test_mod_simple_vhost_build_doc_root_path()
24 assert(buffer_eq_slen(result, CONST_STR_LEN("/sroot/a/www.example.org/droot/b/"))); in test_mod_simple_vhost_build_doc_root_path()
27 build_doc_root_path(result, sroot, host, droot); in test_mod_simple_vhost_build_doc_root_path()
28 assert(buffer_eq_slen(result, CONST_STR_LEN("/sroot/a/www.example.org/"))); in test_mod_simple_vhost_build_doc_root_path()
33 buffer_free(result); in test_mod_simple_vhost_build_doc_root_path()
/lighttpd1.4/
H A DSConstruct168 result = context.TryLink(source, '.c')
169 context.Result(result)
171 return result
186 result = context.TryLink(source, '.c')
187 context.Result(result)
189 return result
201 result = context.TryLink(source, '.c')
202 context.Result(result)
204 return result
/lighttpd1.4/doc/outdated/
H A Dextforward.txt28 extended it. Here is the result.
H A Dauthentication.txt39 cleartext over the network (base64 encoded) and might result
H A Dstate.txt44 handle the request internally (might result in sub-requests)
H A Dcompress.txt97 browsers. Not setting any filetypes will result in no files being compressed.

12