Home
last modified time | relevance | path

Searched refs:mlen (Results 1 – 11 of 11) sorted by relevance

/PHP-5.6/main/streams/
H A Dmemory.c629 size_t mlen, dlen, plen, vlen; in php_stream_url_wrap_rfc2397() local
653 mlen = comma - path; in php_stream_url_wrap_rfc2397()
654 dlen -= mlen; in php_stream_url_wrap_rfc2397()
655 semi = memchr(path, ';', mlen); in php_stream_url_wrap_rfc2397()
656 sep = memchr(path, '/', mlen); in php_stream_url_wrap_rfc2397()
667 mlen = 0; in php_stream_url_wrap_rfc2397()
671 mlen -= plen; in php_stream_url_wrap_rfc2397()
681 mlen--; in php_stream_url_wrap_rfc2397()
682 sep = memchr(path, '=', mlen); in php_stream_url_wrap_rfc2397()
705 mlen -= plen; in php_stream_url_wrap_rfc2397()
[all …]
/PHP-5.6/ext/fileinfo/libmagic/
H A Dascmagic.c106 size_t mlen, i; in file_ascmagic_with_encoding() local
141 mlen = ulen * 6; in file_ascmagic_with_encoding()
142 if ((utf8_buf = CAST(unsigned char *, emalloc(mlen))) == NULL) { in file_ascmagic_with_encoding()
143 file_oomem(ms, mlen); in file_ascmagic_with_encoding()
146 if ((utf8_end = encode_utf8(utf8_buf, mlen, ubuf, ulen)) in file_ascmagic_with_encoding()
H A Dencoding.c70 size_t mlen; in file_encoding() local
79 mlen = (nbytes + 1) * sizeof((*ubuf)[0]); in file_encoding()
80 if ((*ubuf = CAST(unichar *, calloc((size_t)1, mlen))) == NULL) { in file_encoding()
81 file_oomem(ms, mlen); in file_encoding()
84 mlen = (nbytes + 1) * sizeof(nbuf[0]); in file_encoding()
85 if ((nbuf = CAST(unsigned char *, calloc((size_t)1, mlen))) == NULL) { in file_encoding()
86 file_oomem(ms, mlen); in file_encoding()
H A Dapprentice.c1194 size_t mlen; in apprentice_load() local
1196 mlen = maxfiles * sizeof(*filearr); in apprentice_load()
1198 erealloc(filearr, mlen))) == NULL) { in apprentice_load()
1199 file_oomem(ms, mlen); in apprentice_load()
/PHP-5.6/ext/ereg/regex/
H A Ddebug.c41 fprintf(d, ", must(%ld) `%*s'", (long)g->mlen, (int)g->mlen,
H A Dregcomp.c155 g->mlen = 0;
1556 if (newlen > g->mlen) { /* ends one */
1558 g->mlen = newlen;
1565 if (g->mlen == 0) /* there isn't one */
1569 g->mlen = 0;
1574 g->must = malloc((size_t)g->mlen + 1);
1576 g->mlen = 0;
1581 for (i = g->mlen; i > 0; i--) {
1584 assert(cp < g->must + g->mlen);
1587 assert(cp == g->must + g->mlen);
H A Dregex2.h130 int mlen; /* length of must */ member
H A Dengine.c99 if (*dp == g->must[0] && stop - dp >= g->mlen &&
100 memcmp(dp, g->must, (size_t)g->mlen) == 0)
/PHP-5.6/Zend/
H A Dzend_API.c2805 int clen, mlen; in zend_is_callable_check_func() local
2820 mlen = Z_STRLEN_P(callable) - 1; in zend_is_callable_check_func()
2821 lmname = zend_str_tolower_dup(Z_STRVAL_P(callable) + 1, mlen); in zend_is_callable_check_func()
2823 mlen = Z_STRLEN_P(callable); in zend_is_callable_check_func()
2824 lmname = zend_str_tolower_dup(Z_STRVAL_P(callable), mlen); in zend_is_callable_check_func()
2842 mlen = Z_STRLEN_P(callable) - clen - 2; in zend_is_callable_check_func()
2870 mlen = Z_STRLEN_P(callable); in zend_is_callable_check_func()
2882 lmname = zend_str_tolower_dup(mname, mlen); in zend_is_callable_check_func()
2885 mlen == sizeof(ZEND_CONSTRUCTOR_FUNC_NAME)-1 && in zend_is_callable_check_func()
2898 if (zend_hash_find(&EG(scope)->function_table, lmname, mlen+1, (void **) &priv_fbc)==SUCCESS in zend_is_callable_check_func()
[all …]
/PHP-5.6/sapi/phpdbg/
H A Dphpdbg.c304 mlen = 0; in PHP_FUNCTION() local
306 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &class, &clen, &method, &mlen) == FAILU… in PHP_FUNCTION()
/PHP-5.6/ext/fileinfo/
H A Dlibmagic.patch416 mlen = maxfiles * sizeof(*filearr);
418 - realloc(filearr, mlen))) == NULL) {
419 + erealloc(filearr, mlen))) == NULL) {
420 file_oomem(ms, mlen);
815 mlen = ulen * 6;
816 - if ((utf8_buf = CAST(unsigned char *, malloc(mlen))) == NULL) {
817 + if ((utf8_buf = CAST(unsigned char *, emalloc(mlen))) == NULL) {
818 file_oomem(ms, mlen);

Completed in 93 milliseconds