Searched refs:translator (Results 1 - 25 of 29) sorted by relevance

12

/haiku/src/kits/translation/
H A DTranslatorRoster.cpp80 The purpose of this class is to put a translator entry_ref into - and remove
84 This is used in Private::CreateTranslators() in case a translator hides a
85 previous one (ie. if you install a translator in the user's translators
128 BHandler("translator roster"),
129 BLocker("translator list"),
156 // subdirectories of the translator directories.
195 BTranslator* translator = iterator->second.translator; local
198 translator->Release();
222 printf("translator roste
473 AddTranslator(BTranslator* translator, image_id image, const entry_ref* ref, ino_t node) argument
599 BTranslator* translator = NULL; local
631 BPrivate::BFuncTranslator* translator = NULL; local
733 BTranslator& translator = *iterator->second.translator; local
788 BTranslator& translator = *iterator->second.translator; local
1169 BTranslatorReleaseDelegate(BTranslator* translator) argument
1322 AddTranslator(BTranslator* translator) argument
1465 BTranslator* translator = fPrivate->FindTranslator(id); local
1502 BTranslator* translator = fPrivate->FindTranslator(id); local
1533 BTranslator* translator = fPrivate->FindTranslator(id); local
[all...]
H A DTranslatorRosterPrivate.h26 BTranslator* translator; member in struct:translator_item
50 status_t AddTranslator(BTranslator* translator,
H A DTranslationUtils.cpp749 Each translator can have default settings, set by the
751 pass on to a translator using one of these functions.
753 \param forTranslator, the translator the settings are for
790 // Attempts to find the translator settings for
791 // the translator named kTranslatorName with a version of
796 // Parameters: kTranslatorName, the name of the translator
798 // translatorVersion, the version of the translator
818 // looking for a translator that matches the name and version
847 // The translator ID and format constant chosen will be added to the message
863 // if NULL, be:translator i
[all...]
/haiku/src/add-ons/translators/shared/
H A DTranslatorWindow.cpp85 LaunchTranslatorWindow(BTranslator *translator, const char *title, BRect rect) argument
88 if (translator->MakeConfigurationView(NULL, &view, &rect)) {
95 // release the translator even though I never really used it anyway
96 translator->Release();
97 translator = NULL;
H A DTranslatorWindow.h55 LaunchTranslatorWindow(BTranslator *translator, const char *title,
/haiku/src/tests/servers/app/shape_test/
H A Dmain.cpp104 } translator; local
127 translator.SetOffset(10, 10);
128 translator.Iterate(&shape);
140 translator.SetOffset(20, 20);
141 translator.Iterate(&shape);
153 translator.SetOffset(30, 30);
154 translator.Iterate(&shape);
/haiku/headers/os/translation/
H A DTranslationDefs.h38 translator_id translator; member in struct:translator_info
H A DTranslatorRoster.h28 BTranslatorReleaseDelegate(BTranslator* translator);
49 status_t AddTranslator(BTranslator* translator);
H A DTranslationUtils.h67 static BMessage* GetDefaultSettings(translator_id translator,
/haiku/src/add-ons/translators/raw/
H A Dmain.cpp111 RAWTranslator translator; local
115 status_t status = translator.DerivedTranslate(&file, NULL,
/haiku/src/bin/
H A Dtranslate.cpp90 status_t Translate(BFile &input, translator_info &translator, BFile &output, uint32 type);
229 // find a direct translator
231 translator_info translator; local
232 status = fRoster->Identify(&input, NULL, &translator, 0, NULL, fOutputFormat);
234 // no direct translator found - let's try with something else
235 status = fRoster->Identify(&input, NULL, &translator);
254 status = Directly(input, translator, output);
270 // translator
284 * specified translator.
393 int32 id = ids ? ids[i] : infos[i].translator;
[all...]
/haiku/src/libs/udis86/
H A Dudis86.c69 if (u->translator != NULL) {
71 u->translator(u);
129 u->translator = t;
296 * also return NULL, in which case the translator only prints the target
/haiku/src/tests/add-ons/translators/pngtranslator/
H A DPNGTranslatorTest.cpp166 CPPUNIT_ASSERT(ti.type == 0 && ti.translator == 0);
173 CPPUNIT_ASSERT(ti.type == 0 && ti.translator == 0);
182 CPPUNIT_ASSERT(ti.type == 0 && ti.translator == 0);
191 CPPUNIT_ASSERT(ti.type == 0 && ti.translator == 0);
406 // The input formats that this translator supports.
434 // The output formats that this translator supports.
/haiku/src/tests/add-ons/translators/tifftranslator/
H A DTIFFTranslatorTest.cpp147 CPPUNIT_ASSERT(ti.type == 0 && ti.translator == 0);
154 CPPUNIT_ASSERT(ti.type == 0 && ti.translator == 0);
424 // The input formats that this translator is supposed to support
444 // The output formats that this translator is supposed to support
/haiku/src/tools/translation/inspector/
H A DImageView.cpp422 sprintf(str2, "%ld", tinfo.translator);
472 if (proster->GetTranslatorInfo(tinfo.translator, &tranname,
489 if (proster->GetInputFormats(tinfo.translator, &pins, &nins) == B_OK) {
494 if (proster->GetOutputFormats(tinfo.translator, &pouts, &nouts) == B_OK) {
/haiku/src/apps/codycam/
H A DVideoConsumer.cpp46 static status_t SetFileType(BFile* file, int32 translator, uint32 type);
224 fTranslator = info->translator;
794 SetFileType(BFile* file, int32 translator, uint32 type) argument
799 status_t err = BTranslatorRoster::Default()->GetOutputFormats(translator,
H A DVideoConsumer.h24 int32 translator; member in struct:__anon63
/haiku/src/tests/add-ons/translators/tgatranslator/
H A DTGATranslatorTest.cpp180 CPPUNIT_ASSERT(ti.type == 0 && ti.translator == 0);
187 CPPUNIT_ASSERT(ti.type == 0 && ti.translator == 0);
568 // The input formats that this translator is supposed to support
588 // The output formats that this translator is supposed to support
/haiku/src/tests/add-ons/translators/
H A DTranslatorTestAddOn.cpp77 CPPUNIT_ASSERT(pti->translator != 0);
128 // The translator should only have one reference
/haiku/headers/libs/udis86/libudis86/
H A Dtypes.h189 void (*translator)(struct ud*); member in struct:ud
/haiku/src/apps/people/
H A DPictureView.cpp463 roster->GetOutputFormats(info[i].translator, &formats, &count);
524 roster->GetOutputFormats(outInfo[i].translator, &formats,
/haiku/src/add-ons/translators/jpeg2000/
H A DJPEG2000Translator.cpp1226 info->translator = id;
1305 JP2Translator* translator = new JP2Translator(); local
1306 if (LaunchTranslatorWindow(translator, sTranslatorName) == B_OK)
/haiku/src/apps/screenshot/
H A DScreenshotWindow.cpp696 // Find a translator
697 translator_id translator;
698 if (fUtility.FindTranslator(fImageFileType, translator) != B_OK)
706 translator, NULL, &view, &rect);
/haiku/src/add-ons/translators/jpeg/
H A DJPEGTranslator.cpp1262 info->translator = id;
1329 JPEGTranslator* translator = new JPEGTranslator(); local
1330 if (LaunchTranslatorWindow(translator, sTranslatorName) == B_OK)
/haiku/src/tests/add-ons/translators/stxttranslator/
H A DSTXTTranslatorTest.cpp143 CPPUNIT_ASSERT(ti.type == 0 && ti.translator == 0);
431 // The input formats that this translator is supposed to support
451 // The output formats that this translator is supposed to support

Completed in 372 milliseconds

12