Lines Matching refs:slen
497 slen = sizeof(**ma) * mentrycount;
498 - if ((*ma = CAST(struct magic *, malloc(slen))) == NULL) {
499 + if ((*ma = CAST(struct magic *, emalloc(slen))) == NULL) {
500 file_oomem(ms, slen);
1578 slen = 2;
4170 - size_t slen = ms->search.s_len;
4172 - if (slen != 0) {
4173 - copy = CAST(char *, malloc(slen));
4178 - slen);
4181 - memcpy(copy, ms->search.s, slen);
4182 - copy[--slen] = '\0';