Home
last modified time | relevance | path

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

/PHP-7.3/ext/fileinfo/libmagic/
H A Dencoding.c82 if (ulen == NULL) in file_encoding()
83 ulen = &udeflen; in file_encoding()
86 *ulen = 0; in file_encoding()
145 *ulen)); in file_encoding()
244 size_t *ulen) in looks_ascii() argument
248 *ulen = 0; in looks_ascii()
267 *ulen = 0; in looks_latin1()
287 *ulen = 0; in looks_extended()
321 *ulen = 0; in file_looks_utf8()
403 *ulen = 0; in looks_utf7()
[all …]
H A Dascmagic.c74 size_t ulen = 0; in file_ascmagic() local
86 if (file_encoding(ms, &bb, &ubuf, &ulen, &code, &code_mime, in file_ascmagic()
91 ubuf, ulen, code, type, text); in file_ascmagic()
100 const struct buffer *b, unichar *ubuf, size_t ulen, const char *code, in file_ascmagic_with_encoding() argument
135 if (ulen > 0 && (ms->flags & MAGIC_NO_CHECK_SOFT) == 0) { in file_ascmagic_with_encoding()
139 mlen = ulen * 6; in file_ascmagic_with_encoding()
144 if ((utf8_end = encode_utf8(utf8_buf, mlen, ubuf, ulen)) in file_ascmagic_with_encoding()
163 for (i = 0; i < ulen; i++) { in file_ascmagic_with_encoding()
319 encode_utf8(unsigned char *buf, size_t len, unichar *ubuf, size_t ulen) in encode_utf8() argument
324 for (i = 0; i < ulen; i++) { in encode_utf8()
/PHP-7.3/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.3/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.3/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.3/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.3/ext/pdo_odbc/
H A Dodbc_stmt.c192 zend_ulong ulen; in odbc_stmt_execute() local
198 &ulen)) { in odbc_stmt_execute()
460 zend_ulong ulen; in odbc_stmt_param_hook() local
464 &ulen)) { in odbc_stmt_param_hook()
471 P->len = ulen; in odbc_stmt_param_hook()
485 zend_ulong ulen; in odbc_stmt_param_hook() local
510 srclen = ulen; in odbc_stmt_param_hook()
651 zend_ulong ulen; in odbc_stmt_get_col() local
765 *ptr = emalloc(ulen + 1); in odbc_stmt_get_col()
766 *len = ulen; in odbc_stmt_get_col()
[all …]
/PHP-7.3/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.3/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.3/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.3/ext/fileinfo/
H A Dlibmagic.patch1286 ubuf, ulen, code, type, text);
1296 mlen = ulen * 6;

Completed in 34 milliseconds