Searched refs:mlen (Results 1 – 10 of 10) sorted by relevance
/PHP-5.4/main/streams/ |
H A D | memory.c | 606 size_t mlen, dlen, plen, vlen; in php_stream_url_wrap_rfc2397() local 630 mlen = comma - path; in php_stream_url_wrap_rfc2397() 631 dlen -= mlen; in php_stream_url_wrap_rfc2397() 632 semi = memchr(path, ';', mlen); in php_stream_url_wrap_rfc2397() 633 sep = memchr(path, '/', mlen); in php_stream_url_wrap_rfc2397() 644 mlen = 0; in php_stream_url_wrap_rfc2397() 648 mlen -= plen; in php_stream_url_wrap_rfc2397() 658 mlen--; in php_stream_url_wrap_rfc2397() 659 sep = memchr(path, '=', mlen); in php_stream_url_wrap_rfc2397() 680 mlen -= plen; in php_stream_url_wrap_rfc2397() [all …]
|
/PHP-5.4/ext/fileinfo/libmagic/ |
H A D | ascmagic.c | 106 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 D | encoding.c | 70 size_t mlen; in file_encoding() local 75 mlen = (nbytes + 1) * sizeof(nbuf[0]); in file_encoding() 76 if ((nbuf = CAST(unsigned char *, calloc((size_t)1, mlen))) == NULL) { in file_encoding() 77 file_oomem(ms, mlen); in file_encoding() 80 mlen = (nbytes + 1) * sizeof((*ubuf)[0]); in file_encoding() 81 if ((*ubuf = CAST(unichar *, calloc((size_t)1, mlen))) == NULL) { in file_encoding() 82 file_oomem(ms, mlen); in file_encoding()
|
H A D | apprentice.c | 1191 size_t mlen; in apprentice_load() local 1193 mlen = maxfiles * sizeof(*filearr); in apprentice_load() 1195 erealloc(filearr, mlen))) == NULL) { in apprentice_load() 1196 file_oomem(ms, mlen); in apprentice_load()
|
/PHP-5.4/ext/ereg/regex/ |
H A D | debug.c | 41 fprintf(d, ", must(%ld) `%*s'", (long)g->mlen, (int)g->mlen,
|
H A D | regcomp.c | 155 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 D | regex2.h | 130 int mlen; /* length of must */ member
|
H A D | engine.c | 99 if (*dp == g->must[0] && stop - dp >= g->mlen && 100 memcmp(dp, g->must, (size_t)g->mlen) == 0)
|
/PHP-5.4/Zend/ |
H A D | zend_API.c | 2686 int clen, mlen; in zend_is_callable_check_func() local 2701 mlen = Z_STRLEN_P(callable) - 1; in zend_is_callable_check_func() 2702 lmname = zend_str_tolower_dup(Z_STRVAL_P(callable) + 1, mlen); in zend_is_callable_check_func() 2704 mlen = Z_STRLEN_P(callable); in zend_is_callable_check_func() 2705 lmname = zend_str_tolower_dup(Z_STRVAL_P(callable), mlen); in zend_is_callable_check_func() 2723 mlen = Z_STRLEN_P(callable) - clen - 2; in zend_is_callable_check_func() 2751 mlen = Z_STRLEN_P(callable); in zend_is_callable_check_func() 2763 lmname = zend_str_tolower_dup(mname, mlen); in zend_is_callable_check_func() 2766 mlen == sizeof(ZEND_CONSTRUCTOR_FUNC_NAME)-1 && in zend_is_callable_check_func() 2779 if (zend_hash_find(&EG(scope)->function_table, lmname, mlen+1, (void **) &priv_fbc)==SUCCESS in zend_is_callable_check_func() [all …]
|
/PHP-5.4/ext/fileinfo/ |
H A D | libmagic.patch | 441 mlen = maxfiles * sizeof(*filearr); 443 - realloc(filearr, mlen))) == NULL) { 444 + erealloc(filearr, mlen))) == NULL) { 445 file_oomem(ms, mlen); 849 mlen = ulen * 6; 850 - if ((utf8_buf = CAST(unsigned char *, malloc(mlen))) == NULL) { 851 + if ((utf8_buf = CAST(unsigned char *, emalloc(mlen))) == NULL) { 852 file_oomem(ms, mlen);
|
Completed in 102 milliseconds