Lines Matching refs:mlen
471 size_t mlen;
474 mlen = maxfiles * sizeof(*filearr);
476 - realloc(filearr, mlen))) == NULL) {
478 + erealloc(filearr, mlen))) == NULL) {
479 file_oomem(ms, mlen);
971 mlen = ulen * 6;
972 - if ((utf8_buf = CAST(unsigned char *, malloc(mlen))) == NULL) {
973 + if ((utf8_buf = CAST(unsigned char *, emalloc(mlen))) == NULL) {
974 file_oomem(ms, mlen);
1554 size_t mlen;
1565 mlen = (nbytes + 1) * sizeof((*ubuf)[0]);
1566 - if ((*ubuf = CAST(unichar *, calloc(CAST(size_t, 1), mlen))) == NULL) {
1567 + if ((*ubuf = CAST(unicodechar *, ecalloc(CAST(size_t, 1), mlen))) == NULL) {
1568 file_oomem(ms, mlen);
1571 mlen = (nbytes + 1) * sizeof(nbuf[0]);
1573 - calloc(CAST(size_t, 1), mlen))) == NULL) {
1574 + ecalloc(CAST(size_t, 1), mlen))) == NULL) {
1575 file_oomem(ms, mlen);