Home
last modified time | relevance | path

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

/php-src/main/streams/
H A Dmemory.c642 mlen = comma - path; in php_stream_url_wrap_rfc2397()
643 dlen -= mlen; in php_stream_url_wrap_rfc2397()
644 semi = memchr(path, ';', mlen); in php_stream_url_wrap_rfc2397()
645 sep = memchr(path, '/', mlen); in php_stream_url_wrap_rfc2397()
655 mlen = 0; in php_stream_url_wrap_rfc2397()
659 mlen -= plen; in php_stream_url_wrap_rfc2397()
669 mlen--; in php_stream_url_wrap_rfc2397()
670 sep = memchr(path, '=', mlen); in php_stream_url_wrap_rfc2397()
680 mlen -= sizeof("base64") - 1; in php_stream_url_wrap_rfc2397()
691 mlen -= plen; in php_stream_url_wrap_rfc2397()
[all …]
/php-src/ext/fileinfo/libmagic/
H A Dascmagic.c113 size_t mlen, i, len; in file_ascmagic_with_encoding() local
145 mlen = ulen * 6; in file_ascmagic_with_encoding()
146 if ((utf8_buf = CAST(unsigned char *, emalloc(mlen))) == NULL) { in file_ascmagic_with_encoding()
147 file_oomem(ms, mlen); in file_ascmagic_with_encoding()
150 if ((utf8_end = encode_utf8(utf8_buf, mlen, ubuf, ulen)) in file_ascmagic_with_encoding()
H A Dencoding.c81 size_t mlen; in file_encoding() local
99 mlen = (nbytes + 1) * sizeof((*ubuf)[0]); in file_encoding()
100 *ubuf = CAST(file_unichar_t *, ecalloc(CAST(size_t, 1), mlen)); in file_encoding()
102 file_oomem(ms, mlen); in file_encoding()
152 mlen = (nbytes + 1) * sizeof(nbuf[0]); in file_encoding()
153 if ((nbuf = CAST(unsigned char *, emalloc(mlen))) == NULL) { in file_encoding()
154 file_oomem(ms, mlen); in file_encoding()
H A Dfuncs.c75 file_checkfield(char *msg, size_t mlen, const char *what, const char **pp) in file_checkfield() argument
88 snprintf(msg, mlen, "field %s too large: %d", what, fw); in file_checkfield()
94 file_checkfmt(char *msg, size_t mlen, const char *fmt) in file_checkfmt() argument
107 snprintf(msg, mlen, "* not allowed in format"); in file_checkfmt()
111 if (!file_checkfield(msg, mlen, "width", &p)) in file_checkfmt()
116 if (!file_checkfield(msg, mlen, "precision", &p)) in file_checkfmt()
122 snprintf(msg, mlen, "bad format char: %c", *p); in file_checkfmt()
H A Dapprentice.c1506 size_t mlen; in apprentice_load() local
1508 mlen = maxfiles * sizeof(*filearr); in apprentice_load()
1510 erealloc(filearr, mlen))) == NULL) { in apprentice_load()
1511 file_oomem(ms, mlen); in apprentice_load()
/php-src/ext/fileinfo/
H A Dlibmagic.patch421 size_t mlen;
424 mlen = maxfiles * sizeof(*filearr);
426 - realloc(filearr, mlen))) == NULL) {
428 + erealloc(filearr, mlen))) == NULL) {
429 file_oomem(ms, mlen);
886 mlen = ulen * 6;
889 file_oomem(ms, mlen);
1353 mlen = (nbytes + 1) * sizeof((*ubuf)[0]);
1357 file_oomem(ms, mlen);
1362 mlen = (nbytes + 1) * sizeof(nbuf[0]);
[all …]
/php-src/sapi/phpdbg/
H A Dphpdbg.c336 size_t clen, mlen; in PHP_FUNCTION() local
338 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss", &class, &clen, &method, &mlen) == FAILURE) { in PHP_FUNCTION()
/php-src/Zend/
H A Dzend_API.c3897 size_t mlen; in zend_is_callable_check_func() local
3901 mlen = Z_STRLEN_P(callable) - clen - 2; in zend_is_callable_check_func()
3950 mname = zend_string_init(Z_STRVAL_P(callable) + clen + 2, mlen, 0); in zend_is_callable_check_func()

Completed in 47 milliseconds