Lines Matching refs:mlen
578 mlen = maxfiles * sizeof(*filearr);
580 - realloc(filearr, mlen))) == NULL) {
581 + erealloc(filearr, mlen))) == NULL) {
582 file_oomem(ms, mlen);
1296 mlen = ulen * 6;
1297 - if ((utf8_buf = CAST(unsigned char *, malloc(mlen))) == NULL) {
1298 + if ((utf8_buf = CAST(unsigned char *, emalloc(mlen))) == NULL) {
1299 file_oomem(ms, mlen);
2135 mlen = (nbytes + 1) * sizeof((*ubuf)[0]);
2136 - if ((*ubuf = CAST(unichar *, calloc((size_t)1, mlen))) == NULL) {
2137 + if ((*ubuf = CAST(unichar *, ecalloc((size_t)1, mlen))) == NULL) {
2138 file_oomem(ms, mlen);
2141 mlen = (nbytes + 1) * sizeof(nbuf[0]);
2142 - if ((nbuf = CAST(unsigned char *, calloc((size_t)1, mlen))) == NULL) {
2143 + if ((nbuf = CAST(unsigned char *, ecalloc((size_t)1, mlen))) == NULL) {
2144 file_oomem(ms, mlen);