Searched refs:mlen (Results 1 - 9 of 9) sorted by relevance

/PHP_TRUNK/ext/ereg/regex/
H A Ddebug.c41 fprintf(d, ", must(%ld) `%*s'", (long)g->mlen, (int)g->mlen,
H A Dengine.c99 if (*dp == g->must[0] && stop - dp >= g->mlen &&
100 memcmp(dp, g->must, (size_t)g->mlen) == 0)
H A Dregcomp.c147 g->mlen = 0;
1488 - findmust - fill in must and mlen with longest mandatory literal string
1495 * Note that must and mlen got initialized during setup.
1544 if (newlen > g->mlen) { /* ends one */
1546 g->mlen = newlen;
1553 if (g->mlen == 0) /* there isn't one */
1557 g->mlen = 0;
1562 g->must = malloc((size_t)g->mlen + 1);
1564 g->mlen = 0;
1569 for (i = g->mlen;
[all...]
H A Dregex2.h130 int mlen; /* length of must */ member in struct:re_guts
/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/Zend/
H A Dzend_API.c2761 int clen, mlen; local
2776 mlen = Z_STRLEN_P(callable) - 1;
2777 lmname = zend_str_tolower_dup(Z_STRVAL_P(callable) + 1, mlen);
2779 mlen = Z_STRLEN_P(callable);
2780 lmname = zend_str_tolower_dup(Z_STRVAL_P(callable), mlen);
2784 if (zend_hash_find(EG(function_table), lmname, mlen+1, (void**)&fcc->function_handler) == SUCCESS) {
2798 mlen = Z_STRLEN_P(callable) - clen - 2;
2826 mlen = Z_STRLEN_P(callable);
2838 lmname = zend_str_tolower_dup(mname, mlen);
2841 mlen
[all...]
/PHP_TRUNK/main/streams/
H A Dmemory.c621 size_t mlen, dlen, plen, vlen; local
645 mlen = comma - path;
646 dlen -= mlen;
647 semi = memchr(path, ';', mlen);
648 sep = memchr(path, '/', mlen);
658 add_assoc_stringl(meta, "mediatype", (char *) path, mlen, 1);
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...]

Completed in 37 milliseconds