Lines Matching defs:signature
205 BAppFileInfo::GetSignature(char* signature) const
208 status_t error = (signature ? B_OK : B_BAD_VALUE);
215 B_MIME_STRING_TYPE, signature, B_MIME_TYPE_LENGTH, read);
218 if (error == B_OK && signature[read - 1] != '\0') {
222 signature[read] = '\0';
229 BAppFileInfo::SetSignature(const char* signature)
236 if (signature) {
238 size_t signatureLen = strlen(signature);
244 B_MIME_STRING_TYPE, signature, signatureLen + 1);
425 // update the MIME database, if the app signature is installed
862 // set the attribute on the MIME type, if the file has a signature
912 // set the attribute on the MIME type, if the file has a signature
977 /*! Initializes a BMimeType to the signature of the associated file.
982 initialized to the signature of the associated file.
987 \retval B_ENTRY_NOT_FOUND The file has not signature or the signature is
993 char signature[B_MIME_TYPE_LENGTH];
994 status_t error = GetSignature(signature);
996 error = meta->SetTo(signature);