Lines Matching refs:file_printf
81 if (file_printf(ms, "inode/%s", str) == -1) in handle_mime()
83 if ((mime & MAGIC_MIME_ENCODING) && file_printf(ms, in handle_mime()
87 if ((mime & MAGIC_MIME_ENCODING) && file_printf(ms, "binary") == -1) in handle_mime()
132 if (file_printf(ms, "%ssetuid", COMMA) == -1) in file_fsmagic()
137 if (file_printf(ms, "%ssetgid", COMMA) == -1) in file_fsmagic()
142 if (file_printf(ms, "%ssticky", COMMA) == -1) in file_fsmagic()
166 if (file_printf(ms, "%scharacter special (%d/%d/%d)", in file_fsmagic()
171 if (file_printf(ms, "%scharacter special (%ld/%ld)", in file_fsmagic()
177 if (file_printf(ms, "%scharacter special", COMMA) == -1) in file_fsmagic()
192 } else if (file_printf(ms, "%sfifo (named pipe)", COMMA) == -1) in file_fsmagic()
201 } else if (file_printf(ms, "%sdoor", COMMA) == -1) in file_fsmagic()
221 } else if (file_printf(ms, "%ssocket", COMMA) == -1) in file_fsmagic()
243 } else if (file_printf(ms, "%sempty", COMMA) == -1) in file_fsmagic()