Home
last modified time | relevance | path

Searched refs:vlen (Results 1 – 5 of 5) sorted by relevance

/PHP-7.1/ext/bcmath/libbcmath/src/
H A Drecmul.c182 _bc_rec_mul (bc_num u, int ulen, bc_num v, int vlen, bc_num *prod, in _bc_rec_mul() argument
191 if ((ulen+vlen) < mul_base_digits in _bc_rec_mul()
193 || vlen < MUL_SMALL_DIGITS ) { in _bc_rec_mul()
194 _bc_simp_mul (u, ulen, v, vlen, prod, full_scale); in _bc_rec_mul()
199 n = (MAX(ulen, vlen)+1) / 2; in _bc_rec_mul()
209 if (vlen < n) { in _bc_rec_mul()
211 v0 = new_sub_num (vlen,0, v->n_value); in _bc_rec_mul()
213 v1 = new_sub_num (vlen-n, 0, v->n_value); in _bc_rec_mul()
214 v0 = new_sub_num (n, 0, v->n_value+vlen-n); in _bc_rec_mul()
250 prodlen = ulen+vlen+1; in _bc_rec_mul()
/PHP-7.1/ext/pdo/
H A Dpdo.c254 int vlen = semi - valstart; in php_pdo_parse_data_source() local
256 char *new_val = (char *) emalloc(vlen - n_semicolumns + 1); in php_pdo_parse_data_source()
260 while (vlen && *orig_val) { in php_pdo_parse_data_source()
266 vlen-=2; in php_pdo_parse_data_source()
269 vlen--; in php_pdo_parse_data_source()
/PHP-7.1/sapi/fpm/tests/
H A Dfcgi.inc326 $vlen = strlen($value);
335 if ($vlen < 128) {
337 $nvpair .= chr($vlen);
340 $nvpair .= chr(($vlen >> 24) | 0x80) . chr(($vlen >> 16) & 0xFF)
341 . chr(($vlen >> 8) & 0xFF) . chr($vlen & 0xFF);
372 $vlen = ord($data{$p++});
373 if ($vlen >= 128) {
374 $vlen = ($nlen & 0x7F << 24);
376 $vlen |= (ord($data{$p++}) << 8);
377 $vlen |= (ord($data{$p++}));
[all …]
/PHP-7.1/main/streams/
H A Dmemory.c633 size_t mlen, dlen, plen, vlen; in php_stream_url_wrap_rfc2397() local
703 vlen = (semi ? (size_t)(semi - sep) : (mlen - plen)) - 1 /* '=' */; in php_stream_url_wrap_rfc2397()
706 add_assoc_stringl_ex(&meta, key, plen, sep + 1, vlen); in php_stream_url_wrap_rfc2397()
709 plen += vlen + 1; in php_stream_url_wrap_rfc2397()
747 vlen = strlen(mode); in php_stream_url_wrap_rfc2397()
748 if (vlen >= sizeof(stream->mode)) { in php_stream_url_wrap_rfc2397()
749 vlen = sizeof(stream->mode) - 1; in php_stream_url_wrap_rfc2397()
751 memcpy(stream->mode, mode, vlen); in php_stream_url_wrap_rfc2397()
752 stream->mode[vlen] = '\0'; in php_stream_url_wrap_rfc2397()
/PHP-7.1/main/
H A Dphp_variables.c270 size_t klen, vlen; in add_post_var() local
293 vlen = vsep - ++ksep; in add_post_var()
298 vlen = 0; in add_post_var()
303 val = estrndup(ksep, vlen); in add_post_var()
304 if (vlen) { in add_post_var()
305 vlen = php_url_decode(val, vlen); in add_post_var()
308 if (sapi_module.input_filter(PARSE_POST, var->ptr, &val, vlen, &new_vlen)) { in add_post_var()

Completed in 24 milliseconds