Searched refs:mlen (Results 1 – 10 of 10) sorted by relevance
/PHP-5.3/main/streams/ |
H A D | memory.c | 610 size_t mlen, dlen, plen, vlen; in php_stream_url_wrap_rfc2397() local 634 mlen = comma - path; in php_stream_url_wrap_rfc2397() 635 dlen -= mlen; in php_stream_url_wrap_rfc2397() 636 semi = memchr(path, ';', mlen); in php_stream_url_wrap_rfc2397() 637 sep = memchr(path, '/', mlen); in php_stream_url_wrap_rfc2397() 648 mlen = 0; in php_stream_url_wrap_rfc2397() 652 mlen -= plen; in php_stream_url_wrap_rfc2397() 662 mlen--; in php_stream_url_wrap_rfc2397() 663 sep = memchr(path, '=', mlen); in php_stream_url_wrap_rfc2397() 684 mlen -= plen; in php_stream_url_wrap_rfc2397() [all …]
|
/PHP-5.3/ext/fileinfo/libmagic/ |
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 | ascmagic.c | 106 size_t mlen, i; in file_ascmagic_with_encoding() local 141 mlen = ulen * 6; in file_ascmagic_with_encoding() 142 utf8_buf = emalloc(mlen); in file_ascmagic_with_encoding() 144 if ((utf8_end = encode_utf8(utf8_buf, mlen, ubuf, ulen)) in file_ascmagic_with_encoding()
|
H A D | apprentice.c | 797 size_t mlen; local 799 mlen = maxfiles * sizeof(*filearr); 801 realloc(filearr, mlen))) == NULL) { 802 file_oomem(ms, mlen);
|
/PHP-5.3/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 | 147 g->mlen = 0; 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; i > 0; i--) { 1572 assert(cp < g->must + g->mlen); 1575 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.3/Zend/ |
H A D | zend_API.c | 2434 int clen, mlen; in zend_is_callable_check_func() local 2449 mlen = Z_STRLEN_P(callable) - 1; in zend_is_callable_check_func() 2450 lmname = zend_str_tolower_dup(Z_STRVAL_P(callable) + 1, mlen); in zend_is_callable_check_func() 2452 mlen = Z_STRLEN_P(callable); in zend_is_callable_check_func() 2453 lmname = zend_str_tolower_dup(Z_STRVAL_P(callable), mlen); in zend_is_callable_check_func() 2471 mlen = Z_STRLEN_P(callable) - clen - 2; in zend_is_callable_check_func() 2499 mlen = Z_STRLEN_P(callable); in zend_is_callable_check_func() 2511 lmname = zend_str_tolower_dup(mname, mlen); in zend_is_callable_check_func() 2514 mlen == sizeof(ZEND_CONSTRUCTOR_FUNC_NAME)-1 && in zend_is_callable_check_func() 2527 if (zend_hash_find(&EG(scope)->function_table, lmname, mlen+1, (void **) &priv_fbc)==SUCCESS in zend_is_callable_check_func() [all …]
|
/PHP-5.3/ext/fileinfo/ |
H A D | libmagic.patch | 382 realloc(filearr, mlen))) == NULL) { 383 file_oomem(ms, mlen); 806 mlen = ulen * 6; 807 - if ((utf8_buf = CAST(unsigned char *, malloc(mlen))) == NULL) { 808 - file_oomem(ms, mlen); 811 + utf8_buf = emalloc(mlen); 813 if ((utf8_end = encode_utf8(utf8_buf, mlen, ubuf, ulen))
|
Completed in 40 milliseconds