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

/PHP_5_3/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_5_3/ext/fileinfo/libmagic/
H A Dapprentice.c797 size_t mlen; local
799 mlen = maxfiles * sizeof(*filearr);
801 realloc(filearr, mlen))) == NULL) {
802 file_oomem(ms, mlen);
H A Dascmagic.c106 size_t mlen, i; local
141 mlen = ulen * 6;
142 utf8_buf = emalloc(mlen);
144 if ((utf8_end = encode_utf8(utf8_buf, mlen, ubuf, ulen))
H A Dencoding.c70 size_t mlen; local
75 mlen = (nbytes + 1) * sizeof(nbuf[0]);
76 if ((nbuf = CAST(unsigned char *, calloc((size_t)1, mlen))) == NULL) {
77 file_oomem(ms, mlen);
80 mlen = (nbytes + 1) * sizeof((*ubuf)[0]);
81 if ((*ubuf = CAST(unichar *, calloc((size_t)1, mlen))) == NULL) {
82 file_oomem(ms, mlen);
/PHP_5_3/main/streams/
H A Dmemory.c610 size_t mlen, dlen, plen, vlen; local
634 mlen = comma - path;
635 dlen -= mlen;
636 semi = memchr(path, ';', mlen);
637 sep = memchr(path, '/', mlen);
647 add_assoc_stringl(meta, "mediatype", path, mlen, 1);
648 mlen = 0;
652 mlen -= plen;
654 } else if (semi != path || mlen != sizeof(";base64")-1 || memcmp(path, ";base64", sizeof(";base64")-1)) { /* must be error since parameters are only allowed after mediatype */
662 mlen
[all...]
/PHP_5_3/Zend/
H A Dzend_API.c2434 int clen, mlen; local
2449 mlen = Z_STRLEN_P(callable) - 1;
2450 lmname = zend_str_tolower_dup(Z_STRVAL_P(callable) + 1, mlen);
2452 mlen = Z_STRLEN_P(callable);
2453 lmname = zend_str_tolower_dup(Z_STRVAL_P(callable), mlen);
2457 if (zend_hash_find(EG(function_table), lmname, mlen+1, (void**)&fcc->function_handler) == SUCCESS) {
2471 mlen = Z_STRLEN_P(callable) - clen - 2;
2499 mlen = Z_STRLEN_P(callable);
2511 lmname = zend_str_tolower_dup(mname, mlen);
2514 mlen
[all...]

Completed in 28 milliseconds