Home
last modified time | relevance | path

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

/PHP-7.0/ext/fileinfo/libmagic/
H A Dencoding.c75 *ulen = 0; in file_encoding()
128 *ulen)); in file_encoding()
225 size_t *ulen) in looks_ascii() argument
229 *ulen = 0; in looks_ascii()
248 *ulen = 0; in looks_latin1()
264 size_t *ulen) in looks_extended() argument
268 *ulen = 0; in looks_extended()
302 *ulen = 0; in file_looks_utf8()
366 size_t *ulen) in looks_utf8_with_BOM() argument
376 size_t *ulen) in looks_ucs16() argument
[all …]
H A Dascmagic.c75 size_t ulen = 0; in file_ascmagic() local
88 if (file_encoding(ms, buf, nbytes, &ubuf, &ulen, &code, &code_mime, in file_ascmagic()
92 rv = file_ascmagic_with_encoding(ms, buf, nbytes, ubuf, ulen, code, in file_ascmagic()
102 size_t nbytes, unichar *ubuf, size_t ulen, const char *code, in file_ascmagic_with_encoding() argument
137 if (ulen > 0 && (ms->flags & MAGIC_NO_CHECK_SOFT) == 0) { in file_ascmagic_with_encoding()
141 mlen = ulen * 6; in file_ascmagic_with_encoding()
146 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.c171 size_t ulen; in file_buffer() local
188 looks_text = file_encoding(ms, ubuf, nb, &u8buf, &ulen, in file_buffer()
/PHP-7.0/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.0/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()
192 || ulen < 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()
202 if (ulen < n) { in _bc_rec_mul()
204 u0 = new_sub_num (ulen,0, u->n_value); in _bc_rec_mul()
206 u1 = new_sub_num (ulen-n, 0, u->n_value); in _bc_rec_mul()
207 u0 = new_sub_num (n, 0, u->n_value+ulen-n); in _bc_rec_mul()
250 prodlen = ulen+vlen+1; in _bc_rec_mul()
/PHP-7.0/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.0/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.0/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.0/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.0/ext/mbstring/oniguruma/
H A Dtestu.c23 #define ulen(p) onigenc_str_bytelen_null(ENC, (UChar* )p) macro
68 uconv(pattern, cpat, ulen(pattern)); in xx()
69 uconv(str, cstr, ulen(str)); in xx()
121 uconv(pattern, cpat, ulen(pattern)); in xx()
122 uconv(str, cstr, ulen(str)); in xx()
125 r = onig_new(&reg, (UChar* )pattern, (UChar* )(pattern + ulen(pattern)), in xx()
136 (UChar* )(pattern + ulen(pattern)), in xx()
148 r = onig_search(reg, (UChar* )str, (UChar* )(str + ulen(str)), in xx()
149 (UChar* )str, (UChar* )(str + ulen(str)), in xx()
/PHP-7.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'=>b'a','comp'=> (binary)pack('H*', 'cbc80400'),'flags'=>0x00001000, 'ulen
/PHP-7.0/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.0/ext/fileinfo/
H A Dlibmagic.patch931 mlen = ulen * 6;

Completed in 71 milliseconds