Lines Matching refs:mlen
516 mlen = maxfiles * sizeof(*filearr);
518 - realloc(filearr, mlen))) == NULL) {
519 + erealloc(filearr, mlen))) == NULL) {
520 file_oomem(ms, mlen);
990 mlen = ulen * 6;
991 - if ((utf8_buf = CAST(unsigned char *, malloc(mlen))) == NULL) {
992 + if ((utf8_buf = CAST(unsigned char *, emalloc(mlen))) == NULL) {
993 file_oomem(ms, mlen);
1615 size_t mlen;
1621 mlen = (nbytes + 1) * sizeof((*ubuf)[0]);
1622 - if ((*ubuf = CAST(unichar *, calloc(CAST(size_t, 1), mlen))) == NULL) {
1623 + if ((*ubuf = CAST(unichar *, ecalloc(CAST(size_t, 1), mlen))) == NULL) {
1624 file_oomem(ms, mlen);
1627 mlen = (nbytes + 1) * sizeof(nbuf[0]);
1629 - calloc(CAST(size_t, 1), mlen))) == NULL) {
1630 + ecalloc(CAST(size_t, 1), mlen))) == NULL) {
1631 file_oomem(ms, mlen);