Home
last modified time | relevance | path

Searched refs:num (Results 1 – 10 of 10) sorted by relevance

/lighttpd1.4/src/
H A Drand.c141 int num = getrandom(buf, buflen, 0); in li_getentropy()
147 if (num == (int)buflen) return 0; in li_getentropy()
148 if (num < 0) return num; /* -1 */ in li_getentropy()
184 && entropy >= num*8) in li_rand_device_bytes()
186 rd = read(fd, buf, (size_t)num); in li_rand_device_bytes()
188 if (rd == num) { in li_rand_device_bytes()
456 for (int i = 0; i < num; ++i) in li_rand_pseudo_bytes()
485 int rc = RAND_bytes(buf, num); in li_rand_bytes()
498 if (num <= MBEDTLS_ENTROPY_BLOCK_SIZE in li_rand_bytes()
504 if (1 == li_rand_device_bytes(buf, num)) { in li_rand_bytes()
[all …]
H A Dkeyvalue.c186 if (num < (unsigned int)ctx->n) { /* n is always > 0 */ in pcre_keyvalue_buffer_append_match()
193 const size_t len = (size_t)ovec[num+1] - off; in pcre_keyvalue_buffer_append_match()
201 if (num < (unsigned int)cache->captures) { in pcre_keyvalue_buffer_append_ctxmatch()
208 const size_t len = (size_t)ovec[num+1] - off; in pcre_keyvalue_buffer_append_ctxmatch()
342 unsigned int num = *p - '0'; in pcre_keyvalue_buffer_subst_ext() local
344 if (light_isdigit(*p)) num = num * 10 + (*p++ - '0'); in pcre_keyvalue_buffer_subst_ext()
375 if (num < 0) return; /* error; truncate result */ in pcre_keyvalue_buffer_subst()
376 k += (size_t)num; in pcre_keyvalue_buffer_subst()
379 unsigned int num = (unsigned int)pattern[k + 1] - '0'; in pcre_keyvalue_buffer_subst() local
381 ? pcre_keyvalue_buffer_append_match(b, ctx, num, 0) in pcre_keyvalue_buffer_subst()
[all …]
H A Dmod_expire.c86 int num; in mod_expire_get_offset() local
94 num = strtol(ts, &err, 10); in mod_expire_get_offset()
114 num *= 60 * 60 * 24 * 30 * 12; in mod_expire_get_offset()
116 num *= 60 * 60 * 24 * 30; in mod_expire_get_offset()
118 num *= 60 * 60 * 24 * 7; in mod_expire_get_offset()
120 num *= 60 * 60 * 24; in mod_expire_get_offset()
122 num *= 60 * 60; in mod_expire_get_offset()
124 num *= 60; in mod_expire_get_offset()
126 num *= 1; in mod_expire_get_offset()
132 retts += num; in mod_expire_get_offset()
H A Drand.h6 void li_rand_pseudo_bytes (unsigned char *buf, int num);
8 int li_rand_bytes (unsigned char *buf, int num);
H A Dmod_dirlisting.c513 static void http_dirls_sort(dirls_entry_t **ent, int num) { in http_dirls_sort() argument
514 int gap = num; in http_dirls_sort()
527 for (i = 0; i < num - gap; i++) { in http_dirls_sort()
H A Dmod_ajp13.c379 for (uint32_t i = 0, num = rqst_headers->used; i < num; ++i) { in ajp13_enc_request_headers() local
H A Dmod_nss.c2810 PRInt32 num; /* The cipher id */ member
3138 if (ciphers_def[index].num == ciphers_not_in_openssl[i]) { in set_cipher_value()
3212 SSL_CipherPrefGetDefault(ciphers_def[i].num, in parse_openssl_ciphers()
3407 if (SSL_GetCipherSuiteInfo(ciphers_def[i].num, in parse_openssl_ciphers()
3567 SSL_CipherPrefSet(s->model, ciphers_def[i].num, in mod_nss_ssl_conf_ciphersuites()
H A Dmod_webdav.c4761 const char *num = h->ptr; in mod_webdav_put_range() local
4764 if (0 != strncmp(num, "bytes ", sizeof("bytes ")-1)) { in mod_webdav_put_range()
4768 num += sizeof("bytes ")-1; /* +6 for "bytes " */ in mod_webdav_put_range()
4769 offset = strtoll(num, &err, 10); /*(strtoll() ignores leading whitespace)*/ in mod_webdav_put_range()
4770 if (num == err || *err != '-' || offset < 0) { in mod_webdav_put_range()
/lighttpd1.4/tests/
H A Dvar-include-sub.conf17 num = 1
/lighttpd1.4/
H A DNEWS494 * [core] better asm for binary num to ascii string
543 * [core] accept up to 5 digit port num in host cond
1641 * [core] limit num ranges in Range requests
2056 * [core] use chunk_buf_sz instead of hard-coded num