Searched refs:ulen (Results 1 - 11 of 11) sorted by relevance

/PHP_TRUNK/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)$meta;
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dtestu.c23 #define ulen(p) onigenc_str_bytelen_null(ENC, (UChar* )p) macro
68 uconv(pattern, cpat, ulen(pattern));
69 uconv(str, cstr, ulen(str));
121 uconv(pattern, cpat, ulen(pattern));
122 uconv(str, cstr, ulen(str));
125 r = onig_new(&reg, (UChar* )pattern, (UChar* )(pattern + ulen(pattern)),
136 (UChar* )(pattern + ulen(pattern)),
148 r = onig_search(reg, (UChar* )str, (UChar* )(str + ulen(str)),
149 (UChar* )str, (UChar* )(str + ulen(str)),
/PHP_TRUNK/ext/zip/lib/
H A Dzip_utf-8.c127 zip_uint32_t i, j, ulen;
144 ulen = 1;
146 ulen = 2;
148 ulen = 3;
154 if (i + ulen >= str->length) {
159 for (j=1; j<=ulen; j++) {
165 i += ulen;
124 zip_uint32_t i, j, ulen; local
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dascmagic.c75 size_t ulen = 0; local
88 if (file_encoding(ms, buf, nbytes, &ubuf, &ulen, &code, &code_mime,
92 rv = file_ascmagic_with_encoding(ms, buf, nbytes, ubuf, ulen, code,
102 size_t nbytes, unichar *ubuf, size_t ulen, const char *code,
137 if (ulen > 0 && (ms->flags & MAGIC_NO_CHECK_SOFT) == 0) {
141 mlen = ulen * 6;
146 if ((utf8_end = encode_utf8(utf8_buf, mlen, ubuf, ulen))
155 for (i = 0; i < ulen; i++) {
311 encode_utf8(unsigned char *buf, size_t len, unichar *ubuf, size_t ulen) argument
316 for (i = 0; i < ulen;
101 file_ascmagic_with_encoding(struct magic_set *ms, const unsigned char *buf, size_t nbytes, unichar *ubuf, size_t ulen, const char *code, const char *type, int text) argument
[all...]
H A Dencoding.c65 * ubuf, and the number of characters converted in ulen.
68 file_encoding(struct magic_set *ms, const unsigned char *buf, size_t nbytes, unichar **ubuf, size_t *ulen, const char **code, const char **code_mime, const char **type) argument
75 *ulen = 0;
90 if (looks_ascii(buf, nbytes, *ubuf, ulen)) {
91 DPRINTF(("ascii %" SIZE_T_FORMAT "u\n", *ulen));
94 } else if (looks_utf8_with_BOM(buf, nbytes, *ubuf, ulen) > 0) {
95 DPRINTF(("utf8/bom %" SIZE_T_FORMAT "u\n", *ulen));
98 } else if (file_looks_utf8(buf, nbytes, *ubuf, ulen) > 1) {
99 DPRINTF(("utf8 %" SIZE_T_FORMAT "u\n", *ulen));
103 } else if ((ucs_type = looks_ucs16(buf, nbytes, *ubuf, ulen)) !
225 looks_ascii(const unsigned char *buf, size_t nbytes, unichar *ubuf, size_t *ulen) argument
245 looks_latin1(const unsigned char *buf, size_t nbytes, unichar *ubuf, size_t *ulen) argument
264 looks_extended(const unsigned char *buf, size_t nbytes, unichar *ubuf, size_t *ulen) argument
295 file_looks_utf8(const unsigned char *buf, size_t nbytes, unichar *ubuf, size_t *ulen) argument
366 looks_utf8_with_BOM(const unsigned char *buf, size_t nbytes, unichar *ubuf, size_t *ulen) argument
376 looks_ucs16(const unsigned char *buf, size_t nbytes, unichar *ubuf, size_t *ulen) argument
[all...]
H A Dfuncs.c171 size_t ulen; local
188 looks_text = file_encoding(ms, ubuf, nb, &u8buf, &ulen,
273 nb, u8buf, ulen, code, ftype, looks_text))
/PHP_TRUNK/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)$meta;
/PHP_TRUNK/ext/bcmath/libbcmath/src/
H A Drecmul.c182 _bc_rec_mul (bc_num u, int ulen, bc_num v, int vlen, bc_num *prod, argument
191 if ((ulen+vlen) < mul_base_digits
192 || ulen < MUL_SMALL_DIGITS
194 _bc_simp_mul (u, ulen, v, vlen, prod, full_scale);
199 n = (MAX(ulen, vlen)+1) / 2;
202 if (ulen < n) {
204 u0 = new_sub_num (ulen,0, u->n_value);
206 u1 = new_sub_num (ulen-n, 0, u->n_value);
207 u0 = new_sub_num (n, 0, u->n_value+ulen-n);
250 prodlen = ulen
[all...]
/PHP_TRUNK/ext/interbase/
H A Dibase_service.c211 size_t hlen, ulen, plen, spb_len; local
219 &host, &hlen, &user, &ulen, &pass, &plen)) {
226 isc_spb_version, isc_spb_current_version, isc_spb_user_name, (char)ulen,
/PHP_TRUNK/ext/intl/
H A Dintl_data.h81 #define INTL_METHOD_RETVAL_UTF8(obj, ustring, ulen, free_it) \
85 intl_convert_utf16_to_utf8(&u8value, &u8len, ustring, ulen, &INTL_DATA_ERROR_CODE((obj))); \
/PHP_TRUNK/ext/pdo_odbc/
H A Dodbc_stmt.c193 zend_ulong ulen; local
199 &ulen)) {
205 SQLPutData(S->stmt, S->convbuf, ulen);
461 zend_ulong ulen; local
465 &ulen)) {
472 P->len = ulen;
486 zend_ulong ulen; local
502 switch (pdo_odbc_ucs22utf8(stmt, P->is_unicode, P->outbuf, P->len, &ulen)) {
511 srclen = ulen;
635 zend_ulong ulen; local
[all...]

Completed in 11 milliseconds