Lines Matching refs:asprintf
114 if (asprintf(&hmagicpath, "%s/.magic.mgc", home) < 0)
118 if (asprintf(&hmagicpath, "%s/.magic", home) < 0)
124 if (asprintf(&hmagicpath, "%s/%s", home, hmagic) < 0)
131 if (asprintf(&default_magic, "%s:%s", hmagicpath, MAGIC) < 0)
150 if (asprintf(&hmagicp, "%s%c%s", hmagicpath, \
169 if (asprintf(&tmppath,
174 if (asprintf(&tmppath, "%s%s", home, hmagic) < 0)
182 if (asprintf(&tmppath, "%s%s", home, hmagic) >= 0)
193 if (asprintf(&tmppath,
197 if (asprintf(&tmppath,
200 else if (asprintf(&tmppath,