Home
last modified time | relevance | path

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

/PHP-8.0/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()
155 *ulen)); in file_encoding()
258 *ulen = 0; in looks_ascii()
277 *ulen = 0; in looks_latin1()
297 *ulen = 0; in looks_extended()
331 *ulen = 0; in file_looks_utf8()
413 *ulen = 0; in looks_utf7()
439 *ulen = 0; in looks_ucs16()
[all …]
H A Dascmagic.c73 size_t ulen = 0; in file_ascmagic() local
91 if (file_encoding(ms, &bb, &ubuf, &ulen, &code, &code_mime, in file_ascmagic()
96 ubuf, ulen, code, type, text); in file_ascmagic()
105 const struct buffer *b, unicodechar *ubuf, size_t ulen, const char *code, in file_ascmagic_with_encoding() argument
140 if (ulen > 0 && (ms->flags & MAGIC_NO_CHECK_SOFT) == 0) { in file_ascmagic_with_encoding()
144 mlen = ulen * 6; in file_ascmagic_with_encoding()
149 if ((utf8_end = encode_utf8(utf8_buf, mlen, ubuf, ulen)) in file_ascmagic_with_encoding()
173 for (i = 0; i < ulen; i++) { in file_ascmagic_with_encoding()
338 encode_utf8(unsigned char *buf, size_t len, unicodechar *ubuf, size_t ulen) in encode_utf8() argument
343 for (i = 0; i < ulen; i++) { in encode_utf8()
/PHP-8.0/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-8.0/ext/phar/tests/cache_list/files/
H A Dphar_test.inc15 $ulen = NULL;
24 foreach(array('comp','crc32','clen','ulen','time','flags','perm','meta','cont') as $what)
35 if (empty($ulen)) $ulen = strlen($cont);
42 …$manifest .= pack('VVVVVV', $ulen, $time, $clen, $crc32, $flags|$perm, strlen($meta)) . (binary)$m…
/PHP-8.0/ext/phar/tests/files/
H A Dphar_test.inc15 $ulen = NULL;
24 foreach(array('comp','crc32','clen','ulen','time','flags','perm','meta','cont') as $what)
35 if (empty($ulen)) $ulen = strlen($cont);
42 …$manifest .= pack('VVVVVV', $ulen, $time, $clen, $crc32, $flags|$perm, strlen($meta)) . (binary)$m…
/PHP-8.0/ext/pdo_odbc/
H A Dodbc_stmt.c190 zend_ulong ulen; in odbc_stmt_execute() local
196 &ulen)) { in odbc_stmt_execute()
465 zend_ulong ulen; in odbc_stmt_param_hook() local
469 &ulen)) { in odbc_stmt_param_hook()
476 P->len = ulen; in odbc_stmt_param_hook()
490 zend_ulong ulen; in odbc_stmt_param_hook() local
512 srclen = ulen; in odbc_stmt_param_hook()
653 zend_ulong ulen; in odbc_stmt_get_col() local
777 *ptr = emalloc(ulen + 1); in odbc_stmt_get_col()
778 *len = ulen; in odbc_stmt_get_col()
[all …]
/PHP-8.0/ext/intl/
H A Dintl_data.h103 #define INTL_METHOD_RETVAL_UTF8(obj, ustring, ulen, free_it) \ argument
106 u8str = intl_convert_utf16_to_utf8(ustring, ulen, &INTL_DATA_ERROR_CODE((obj))); \
/PHP-8.0/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-8.0/ext/fileinfo/
H A Dlibmagic.patch948 size_t ulen = 0;
971 mlen = ulen * 6;
1596 size_t *ulen)
1614 size_t *ulen)
1637 size_t *ulen)
1655 size_t *ulen)
1661 ubf[(*ulen)++] = bf[i + 1]
1665 ubf[(*ulen)++] = bf[i]
1669 if (ubf[*ulen - 1] == 0xfffe)
1677 size_t *ulen)
[all …]

Completed in 27 milliseconds