Identify
virtual status_t Identify(BPositionIO* source,
extern status_t Identify(BPositionIO* source, const translation_format* format,
virtual status_t Identify(BPositionIO* source,
virtual float Identify(KPartition* partition, void** cookie);
virtual float Identify(KPartition* partition, void** cookie);
virtual float Identify(KPartition* partition, void** cookie);
if (BTranslatorRoster::Default()->Identify(&file, NULL, &translatorInfo, 0,
if (device->Identify() != B_OK) {
status_t Identify();
if (Identify(fDevice, &fSuperBlock) != B_OK) {
static status_t Identify(int fd, disk_super_block* superBlock);
status_t status = Volume::Identify(fd, &superBlock);
status_t status = Identify(fDevice, &fSuperBlock);
static status_t Identify(int fd, btrfs_super_block* superBlock);
status_t status = Volume::Identify(fd, &superBlock);
status_t status = Identify(fDevice, &fSuperBlock);
static status_t Identify(int fd, exfat_super_block* superBlock);
status_t status = Volume::Identify(fd, &superBlock);
status_t status = Identify(fDevice, &fSuperBlock);
static status_t Identify(int fd, ext2_super_block* superBlock);
status_t status = Volume::Identify(fd, &superBlock);
status_t Identify(int fd, partition_data *partition);
status_t status = volume->Identify(fd, partition);
status_t status = Identify(fDevice, &fSuperBlock);
static status_t Identify(int fd, ufs2_super_block* superBlock);
status_t status = Volume::Identify(fd, &superBlock);
status_t status = Identify(fDevice, &fSuperBlock);
static status_t Identify(int fd, XfsSuperBlock *superBlock);
status_t status = Volume::Identify(fd, &superBlock);
if (proster->Identify(&file, &ioExtension, &info, 0, NULL,
if (proster->Identify(&file, &ioExtension, &info, 0, NULL,
status_t Identify();
status_t Identify();
status = raw.Identify();
status = raw.Identify();
status = raw.Identify();
if (!fIdentified && Identify() != B_OK)
status_t Identify();
status_t status = parser.Identify();
virtual status_t Identify(BPositionIO *inSource,
virtual status_t Identify(BPositionIO *inSource,
virtual status_t Identify(BPositionIO *inSource,
static status_t Identify(
status = roster->Identify(&file, &ioExtension, &info, 0, NULL,
if (roster->Identify(&file, NULL, &info, 0, mime.String()) == B_OK)
status = roster->Identify(&file, &ioExtension, &info, 0, NULL,
return roster->Identify(&file, NULL, &info, 0, NULL,
status = fRoster->Identify(&input, NULL, &translator, 0, NULL, fOutputFormat);
status = fRoster->Identify(&input, NULL, &translator);
virtual status_t Identify(BPositionIO *inSource,
return fPrivate->Identify(source, ioExtension, hintType, hintMIME, wantType,
status_t status = fPrivate->Identify(source, ioExtension, hintType,
status = translator->Identify(source, NULL, ioExtension, &info,
if (translator.Identify(source, format, &extension, &info, wantType)
if (translator.Identify(source, format, ioExtension, &info, wantType)
status_t Identify(BPositionIO* source,
float priority = diskSystem->Identify(partition, &cookie);
CPPUNIT_ASSERT(proster->Identify(&file, NULL, &ti) == B_OK);
CPPUNIT_ASSERT(proster->Identify(&file, NULL, &ti, 0, NULL,
CPPUNIT_ASSERT(proster->Identify(&file, NULL, &ti, 0, NULL,
result = proster->Identify(&wronginput, NULL, &ti, 0,
result = proster->Identify(&wronginput, NULL, &ti);
CPPUNIT_ASSERT(proster->Identify(&mallempty, NULL, &ti) == B_NO_TRANSLATOR);
CPPUNIT_ASSERT(proster->Identify(&memmonkey, NULL, &ti) == B_NO_TRANSLATOR);
CPPUNIT_ASSERT(proster->Identify(&mallabrev, NULL, &ti) == B_NO_TRANSLATOR);
CPPUNIT_ASSERT(proster->Identify(&mallbadfs, NULL, &ti) == B_OK);
CPPUNIT_ASSERT(proster->Identify(&mallbadr, NULL, &ti) == B_NO_TRANSLATOR);
CPPUNIT_ASSERT(proster->Identify(&mallbaddo1, NULL, &ti) == B_NO_TRANSLATOR);
CPPUNIT_ASSERT(proster->Identify(&mallbaddo2, NULL, &ti) == B_NO_TRANSLATOR);
CPPUNIT_ASSERT(proster->Identify(&mallbaddo3, NULL, &ti) == B_OK);
CPPUNIT_ASSERT(proster->Identify(&mallos2abrev, NULL, &ti) == B_NO_TRANSLATOR);
CPPUNIT_ASSERT(proster->Identify(&mallos2abrev2, NULL, &ti) == B_NO_TRANSLATOR);
CPPUNIT_ASSERT(proster->Identify(&mallmsabrev1, NULL, &ti) == B_NO_TRANSLATOR);
CPPUNIT_ASSERT(proster->Identify(&mallmsabrev2, NULL, &ti) == B_NO_TRANSLATOR);
CPPUNIT_ASSERT(proster->Identify(&mallmssize, NULL, &ti) == B_NO_TRANSLATOR);
CPPUNIT_ASSERT(proster->Identify(&mallmssize2, NULL, &ti) == B_NO_TRANSLATOR);
CPPUNIT_ASSERT(proster->Identify(&mallos2size, NULL, &ti) == B_NO_TRANSLATOR);
CPPUNIT_ASSERT(proster->Identify(&mallos2size2, NULL, &ti) == B_NO_TRANSLATOR);
CPPUNIT_ASSERT(proster->Identify(&mallmswidth, NULL, &ti) == B_NO_TRANSLATOR);
CPPUNIT_ASSERT(proster->Identify(&mallos2width, NULL, &ti) == B_NO_TRANSLATOR);
CPPUNIT_ASSERT(proster->Identify(&mallmsheight, NULL, &ti) == B_NO_TRANSLATOR);
CPPUNIT_ASSERT(proster->Identify(&mallos2height, NULL, &ti) == B_NO_TRANSLATOR);
CPPUNIT_ASSERT(proster->Identify(&mallmsplanes, NULL, &ti) == B_NO_TRANSLATOR);
CPPUNIT_ASSERT(proster->Identify(&mallmsplanes2, NULL, &ti) == B_NO_TRANSLATOR);
CPPUNIT_ASSERT(proster->Identify(&mallos2planes, NULL, &ti) == B_NO_TRANSLATOR);
CPPUNIT_ASSERT(proster->Identify(&mallos2planes2, NULL, &ti) == B_NO_TRANSLATOR);
CPPUNIT_ASSERT(proster->Identify(&mallmsbitdepth, NULL, &ti) == B_NO_TRANSLATOR);
CPPUNIT_ASSERT(proster->Identify(&mallos2bitdepth, NULL, &ti) == B_NO_TRANSLATOR);
CPPUNIT_ASSERT(proster->Identify(&mallmscomp, NULL, &ti)
CPPUNIT_ASSERT(proster->Identify(&mallmscolors, NULL, &ti) == B_NO_TRANSLATOR);
CPPUNIT_ASSERT(proster->Identify(&file, NULL, &ti) == B_OK);
CPPUNIT_ASSERT(proster->Identify(&file, NULL, &ti, 0, NULL,
CPPUNIT_ASSERT(proster->Identify(&file, NULL, &ti, 0, NULL,
result = proster->Identify(&wronginput, NULL, &ti, 0,
result = proster->Identify(&wronginput, NULL, &ti);
result = proster->Identify(&badsig1, NULL, &ti);
result = proster->Identify(&badsig2, NULL, &ti);
CPPUNIT_ASSERT(proster->Identify(&file, NULL, &ti, 0, NULL,
CPPUNIT_ASSERT(proster->Identify(&file, NULL, &ti, 0, NULL,
result = proster->Identify(&wronginput, NULL, &ti, 0,
result = proster->Identify(&wronginput, NULL, &ti);
result = proster->Identify(&wrongmagic, NULL, &ti);
result = proster->Identify(&wrongversion, NULL, &ti);
CPPUNIT_ASSERT(proster->Identify(&file, NULL, &ti) == B_OK);
CPPUNIT_ASSERT(proster->Identify(&file, NULL, &ti) == B_OK);
CPPUNIT_ASSERT(proster->Identify(&file, NULL, &ti, 0, NULL,
CPPUNIT_ASSERT(proster->Identify(&file, NULL, &ti, 0, NULL,
result = proster->Identify(&wronginput, NULL, &ti, 0,
result = proster->Identify(&wronginput, NULL, &ti);
CPPUNIT_ASSERT(proster->Identify(&file, NULL, &ti, 0, NULL,
CPPUNIT_ASSERT(proster->Identify(&file, NULL, &ti, 0, NULL,
result = proster->Identify(&wronginput, NULL, &ti, 0,
result = proster->Identify(&wronginput, NULL, &ti);
CPPUNIT_ASSERT(proster->Identify(&file, NULL, &ti) == B_OK);
CPPUNIT_ASSERT(pDefRoster->Identify(&garbled, NULL, NULL) == B_BAD_VALUE);
CPPUNIT_ASSERT(pDefRoster->Identify(&image, NULL, &info) == B_OK);
CPPUNIT_ASSERT(pDefRoster->Identify(&image, NULL, &info,
chk = proster->Identify(&file, &ioExtension, &tinfo, 0, NULL,