Searched defs:mlen (Results 1 - 7 of 7) sorted by relevance

/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dascmagic.c106 size_t mlen, i; local
141 mlen = ulen * 6;
142 if ((utf8_buf = CAST(unsigned char *, emalloc(mlen))) == NULL) {
143 file_oomem(ms, mlen);
146 if ((utf8_end = encode_utf8(utf8_buf, mlen, ubuf, ulen))
H A Dencoding.c70 size_t mlen; local
79 mlen = (nbytes + 1) * sizeof((*ubuf)[0]);
80 if ((*ubuf = CAST(unichar *, calloc((size_t)1, mlen))) == NULL) {
81 file_oomem(ms, mlen);
84 mlen = (nbytes + 1) * sizeof(nbuf[0]);
85 if ((nbuf = CAST(unsigned char *, calloc((size_t)1, mlen))) == NULL) {
86 file_oomem(ms, mlen);
H A Dapprentice.c1194 size_t mlen; local
1196 mlen = maxfiles * sizeof(*filearr);
1198 erealloc(filearr, mlen))) == NULL) {
1199 file_oomem(ms, mlen);
/PHP_TRUNK/ext/ereg/regex/
H A Dregex2.h130 int mlen; /* length of must */ member in struct:re_guts
/PHP_TRUNK/main/streams/
H A Dmemory.c620 size_t mlen, dlen, plen, vlen; local
646 mlen = comma - path;
647 dlen -= mlen;
648 semi = memchr(path, ';', mlen);
649 sep = memchr(path, '/', mlen);
658 add_assoc_stringl(&meta, "mediatype", (char *) path, mlen);
659 mlen = 0;
663 mlen -= plen;
665 } else if (semi != path || mlen != sizeof(";base64")-1 || memcmp(path, ";base64", sizeof(";base64")-1)) { /* must be error since parameters are only allowed after mediatype */
673 mlen
[all...]
/PHP_TRUNK/Zend/
H A Dzend_API.c2892 size_t clen, mlen; local
2945 mlen = Z_STRLEN_P(callable) - clen - 2;
2973 mname = zend_string_init(Z_STRVAL_P(callable) + clen + 2, mlen, 0);
2976 mlen = Z_STRLEN_P(callable);
2989 lmname = zend_string_alloc(mlen, 0);
2990 zend_str_tolower_copy(lmname->val, mname->val, mlen);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg.c331 size_t clen = 0, mlen = 0; local
333 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &class, &clen, &method, &mlen) == FAILURE) {

Completed in 20 milliseconds