Home
last modified time | relevance | path

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

/PHP-5.5/ext/fileinfo/libmagic/
H A Dencoding.c125 *ulen)); in file_encoding()
222 size_t *ulen) in looks_ascii() argument
226 *ulen = 0; in looks_ascii()
245 *ulen = 0; in looks_latin1()
261 size_t *ulen) in looks_extended() argument
265 *ulen = 0; in looks_extended()
299 *ulen = 0; in file_looks_utf8()
348 ubuf[(*ulen)++] = c; in file_looks_utf8()
363 size_t *ulen) in looks_utf8_with_BOM() argument
373 size_t *ulen) in looks_ucs16() argument
[all …]
H A Dascmagic.c75 size_t ulen; 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()
155 for (i = 0; i < ulen; i++) { in file_ascmagic_with_encoding()
311 encode_utf8(unsigned char *buf, size_t len, unichar *ubuf, size_t ulen) in encode_utf8() argument
316 for (i = 0; i < ulen; i++) { in encode_utf8()
H A Dfuncs.c168 size_t ulen; in file_buffer() local
190 looks_text = file_encoding(ms, ubuf, nb, &u8buf, &ulen, in file_buffer()
276 nb, u8buf, ulen, code, type, looks_text)) in file_buffer()
/PHP-5.5/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-5.5/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-5.5/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-5.5/ext/pdo_odbc/
H A Dodbc_stmt.c187 unsigned long ulen; in odbc_stmt_execute() local
193 &ulen)) { in odbc_stmt_execute()
448 unsigned long ulen; in odbc_stmt_param_hook() local
452 &ulen)) { in odbc_stmt_param_hook()
459 P->len = ulen; in odbc_stmt_param_hook()
473 unsigned long ulen; in odbc_stmt_param_hook() local
493 srclen = ulen; in odbc_stmt_param_hook()
619 unsigned long ulen; in odbc_stmt_get_col() local
733 *ptr = emalloc(ulen + 1); in odbc_stmt_get_col()
734 *len = ulen; in odbc_stmt_get_col()
[all …]
/PHP-5.5/ext/intl/
H A Dintl_data.h76 #define INTL_METHOD_RETVAL_UTF8(obj, ustring, ulen, free_it) \ argument
80 intl_convert_utf16_to_utf8(&u8value, &u8len, ustring, ulen, &INTL_DATA_ERROR_CODE((obj))); \
/PHP-5.5/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-5.5/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-5.5/ext/json/
H A Djson.c403 int pos = 0, ulen = 0; in json_escape_string() local
434 ulen = json_utf8_to_utf16(utf16, s, len); in json_escape_string()
435 if (ulen <= 0) { in json_escape_string()
439 if (ulen < 0) { in json_escape_string()
448 len = ulen; in json_escape_string()
/PHP-5.5/ext/interbase/
H A Dibase_service.c211 int hlen, ulen, plen, spb_len; in PHP_FUNCTION() local
219 &host, &hlen, &user, &ulen, &pass, &plen)) { in PHP_FUNCTION()
226 isc_spb_version, isc_spb_current_version, isc_spb_user_name, (char)ulen, in PHP_FUNCTION()
/PHP-5.5/ext/fileinfo/
H A Dlibmagic.patch849 mlen = ulen * 6;

Completed in 46 milliseconds