Lines Matching refs:file
20 "Usage: %s <options> <file> ...\n"
129 // file
142 fprintf(stderr, "Error: No file specified.\n");
155 // check, whether the file exists
159 fprintf(stderr, "Error: Can't access file \"%s\": %s\n",
166 fprintf(stderr, "Error: \"%s\": No such file or directory.\n",
174 fprintf(stderr, "Error: \"%s\" is not a file. Signatures can only "
180 // open the file
181 BFile file;
183 BNode &node = (signature ? file : _node);
184 error = (signature ? file.SetTo(fileName, B_READ_WRITE)
187 fprintf(stderr, "Error: Failed to open file \"%s\": %s\n",
197 error = (signature ? appInfo.SetTo(&file) : nodeInfo.SetTo(&node));
199 fprintf(stderr, "Error: Failed to open file \"%s\": %s\n",
210 "application of file \"%s\": %s\n", fileName,
221 fprintf(stderr, "Error: Failed to set the MIME type of file "
232 fprintf(stderr, "Error: Failed to set the signature of file "