Home
last modified time | relevance | path

Searched refs:ulen (Results 1 – 15 of 15) sorted by relevance

/PHP-7.2/ext/fileinfo/libmagic/
H A Dencoding.c76 *ulen = 0; in file_encoding()
135 *ulen)); in file_encoding()
232 size_t *ulen) in looks_ascii() argument
236 *ulen = 0; in looks_ascii()
255 *ulen = 0; in looks_latin1()
271 size_t *ulen) in looks_extended() argument
275 *ulen = 0; in looks_extended()
309 *ulen = 0; in file_looks_utf8()
373 size_t *ulen) in looks_utf8_with_BOM() argument
391 *ulen = 0; in looks_utf7()
[all …]
H A Dascmagic.c75 size_t ulen = 0; in file_ascmagic() local
85 if (file_encoding(ms, buf, nbytes, &ubuf, &ulen, &code, &code_mime, in file_ascmagic()
89 rv = file_ascmagic_with_encoding(ms, buf, nbytes, ubuf, ulen, code, in file_ascmagic()
99 size_t nbytes, unichar *ubuf, size_t ulen, const char *code, in file_ascmagic_with_encoding() argument
131 if (ulen > 0 && (ms->flags & MAGIC_NO_CHECK_SOFT) == 0) { in file_ascmagic_with_encoding()
135 mlen = ulen * 6; in file_ascmagic_with_encoding()
140 if ((utf8_end = encode_utf8(utf8_buf, mlen, ubuf, ulen)) in file_ascmagic_with_encoding()
156 for (i = 0; i < ulen; i++) { in file_ascmagic_with_encoding()
312 encode_utf8(unsigned char *buf, size_t len, unichar *ubuf, size_t ulen) in encode_utf8() argument
317 for (i = 0; i < ulen; i++) { in encode_utf8()
H A Dfuncs.c180 size_t ulen; in file_buffer() local
197 looks_text = file_encoding(ms, ubuf, nb, &u8buf, &ulen, in file_buffer()
/PHP-7.2/ext/zip/lib/
H A Dzip_utf-8.c121 zip_uint32_t i, j, ulen; in _zip_guess_encoding() local
138 ulen = 1; in _zip_guess_encoding()
140 ulen = 2; in _zip_guess_encoding()
142 ulen = 3; in _zip_guess_encoding()
148 if (i + ulen >= str->length) { in _zip_guess_encoding()
153 for (j=1; j<=ulen; j++) { in _zip_guess_encoding()
159 i += ulen; in _zip_guess_encoding()
/PHP-7.2/ext/bcmath/libbcmath/src/
H A Drecmul.c173 _bc_rec_mul (bc_num u, int ulen, bc_num v, int vlen, bc_num *prod, in _bc_rec_mul() argument
182 if ((ulen+vlen) < mul_base_digits in _bc_rec_mul()
183 || ulen < MUL_SMALL_DIGITS in _bc_rec_mul()
185 _bc_simp_mul (u, ulen, v, vlen, prod, full_scale); in _bc_rec_mul()
190 n = (MAX(ulen, vlen)+1) / 2; in _bc_rec_mul()
193 if (ulen < n) { in _bc_rec_mul()
195 u0 = new_sub_num (ulen,0, u->n_value); in _bc_rec_mul()
197 u1 = new_sub_num (ulen-n, 0, u->n_value); in _bc_rec_mul()
198 u0 = new_sub_num (n, 0, u->n_value+ulen-n); in _bc_rec_mul()
241 prodlen = ulen+vlen+1; in _bc_rec_mul()
/PHP-7.2/ext/phar/tests/cache_list/files/
H A Dphar_test.inc17 $ulen = NULL;
26 foreach(array('comp','crc32','clen','ulen','time','flags','perm','meta','cont') as $what)
37 if (empty($ulen)) $ulen = strlen($cont);
44 …$manifest .= pack('VVVVVV', $ulen, $time, $clen, $crc32, $flags|$perm, strlen($meta)) . (binary)$m…
/PHP-7.2/ext/phar/tests/files/
H A Dphar_test.inc17 $ulen = NULL;
26 foreach(array('comp','crc32','clen','ulen','time','flags','perm','meta','cont') as $what)
37 if (empty($ulen)) $ulen = strlen($cont);
44 …$manifest .= pack('VVVVVV', $ulen, $time, $clen, $crc32, $flags|$perm, strlen($meta)) . (binary)$m…
/PHP-7.2/ext/pdo_odbc/
H A Dodbc_stmt.c193 zend_ulong ulen; in odbc_stmt_execute() local
199 &ulen)) { in odbc_stmt_execute()
461 zend_ulong ulen; in odbc_stmt_param_hook() local
465 &ulen)) { in odbc_stmt_param_hook()
472 P->len = ulen; in odbc_stmt_param_hook()
486 zend_ulong ulen; in odbc_stmt_param_hook() local
511 srclen = ulen; in odbc_stmt_param_hook()
652 zend_ulong ulen; in odbc_stmt_get_col() local
766 *ptr = emalloc(ulen + 1); in odbc_stmt_get_col()
767 *len = ulen; in odbc_stmt_get_col()
[all …]
/PHP-7.2/ext/intl/
H A Dintl_data.h95 #define INTL_METHOD_RETVAL_UTF8(obj, ustring, ulen, free_it) \ argument
98 u8str = intl_convert_utf16_to_utf8(ustring, ulen, &INTL_DATA_ERROR_CODE((obj))); \
/PHP-7.2/ext/phar/tests/
H A D013.phpt15 $files['a'] = array('cont'=>'a', 'ulen'=>2, 'clen'=>2);
H A D011.phpt18 $files['a'] = array('cont'=>'a','ulen'=>1,'clen'=>2);
H A Dpharfileinfo_getcrc32.phpt19 $files['a/subdir/here'] = array('cont'=>'a','ulen'=>1,'clen'=>1);
H A D016.phpt17 $files['a'] = array('cont'=>'a','comp'=> pack('H*', 'cbc80400'),'flags'=>0x00001000, 'ulen' => 1, '…
/PHP-7.2/ext/interbase/
H A Dibase_service.c210 size_t hlen, ulen, plen, spb_len; in PHP_FUNCTION() local
218 &host, &hlen, &user, &ulen, &pass, &plen)) { in PHP_FUNCTION()
225 isc_spb_version, isc_spb_current_version, isc_spb_user_name, (char)ulen, in PHP_FUNCTION()
/PHP-7.2/ext/fileinfo/
H A Dlibmagic.patch936 mlen = ulen * 6;

Completed in 27 milliseconds