Lines Matching defs:ext
167 DECLARE_FIELD(ext),
2339 CAST(off_t, offsetof(struct magic, ext)),
2340 sizeof(m->ext), "EXTENSION", ",!+-/@", 0);
3198 private const char ext[] = ".mgc";
3216 for (p = ext + sizeof(ext) - 1; p >= ext && q >= fn; p--, q--)
3221 if (p >= ext)
3228 if (asprintf(&buf, "%.*s.mime%s", (int)(q - fn), fn, ext) < 0)
3236 if (asprintf(&buf, "%.*s%s", (int)(q - fn), fn, ext) < 0)