Searched refs:category (Results 1 - 25 of 44) sorted by relevance

12

/haiku/src/add-ons/print/drivers/gutenprint/
H A DGPCapabilities.cpp32 GPCapabilities::CountCap(CapID category) const
36 switch (category) {
49 capabilities = DriverSpecificCapabilities(category);
58 GPCapabilities::GetCaps(CapID category) const
63 switch (category) {
76 capabilities = DriverSpecificCapabilities(category);
85 GPCapabilities::Supports(CapID category) const
87 switch (category) {
95 return CountCap(category) > 0;
116 GPCapabilities::DriverSpecificCapabilities(int32 category) cons
[all...]
H A DGPDriver.h28 void SetParameter(BString& parameter, PrinterCap::CapID category,
31 void AddDriverSpecificSetting(PrinterCap::CapID category,
33 void AddDriverSpecificBooleanSetting(PrinterCap::CapID category,
35 void AddDriverSpecificIntSetting(PrinterCap::CapID category,
37 void AddDriverSpecificDimensionSetting(PrinterCap::CapID category,
39 void AddDriverSpecificDoubleSetting(PrinterCap::CapID category,
H A DGPDriver.cpp85 GPDriver::SetParameter(BString& parameter, PrinterCap::CapID category, argument
89 capability = GetPrinterCap()->FindCap(category, value);
98 PrinterCap::CapID category = PrinterCap::kDriverSpecificCapabilities; local
99 int count = GetPrinterCap()->CountCap(category);
100 const BaseCap** capabilities = GetPrinterCap()->GetCaps(category);
134 GPDriver::AddDriverSpecificSetting(PrinterCap::CapID category, const char* key) { argument
139 capability = GetPrinterCap()->FindCapWithKey(category, value.c_str());
145 capability = GetPrinterCap()->GetDefaultCap(category);
158 GPDriver::AddDriverSpecificBooleanSetting(PrinterCap::CapID category, argument
167 GPDriver::AddDriverSpecificIntSetting(PrinterCap::CapID category, argument
176 AddDriverSpecificDimensionSetting(PrinterCap::CapID category, const char* key) argument
185 AddDriverSpecificDoubleSetting(PrinterCap::CapID category, const char* key) argument
[all...]
H A DGPCapabilities.h35 DriverSpecificCapabilities(int32 category) const;
/haiku/src/system/libroot/posix/glibc/locale/
H A Dlocaleinfo.h36 #define LIMAGIC(category) ((unsigned int) (0x20000828 ^ (category)))
46 /* Structure describing locale data in core for a category. */
144 /* For each category declare the variable for the current locale data. */
145 #define DEFINE_CATEGORY(category, category_name, items, a) \
146 extern struct locale_data *_nl_current_##category;
162 #define _NL_CURRENT(category, item) \
163 (_nl_current_##category->values[_NL_ITEM_INDEX (item)].string)
166 #define _NL_CURRENT_WSTR(category, item) \
167 ((wchar_t *) (_nl_current_##category
[all...]
H A Dxlocale.c24 #define DEFINE_CATEGORY(category, category_name, items, a) \
25 extern struct locale_data _nl_C_##category;
/haiku/src/system/libroot/posix/locale/
H A Dsetlocale.cpp23 GetLocalesFromEnvironment(int category, const char** locales) argument
27 locales[category] = locale;
40 if (category == LC_ALL) {
41 // we need to check each real category if all of them should be set
45 from = to = category;
70 setlocale(int category, const char* locale) argument
74 if (category < 0 || category > LC_LAST)
78 // query the locale of the given category
80 return const_cast<char*>(gLocaleBackend->SetLocale(category, NUL
[all...]
/haiku/src/libs/print/libprint/
H A DPrinterCap.cpp175 DriverSpecificCap::DriverSpecificCap(const string& label, int32 category, argument
179 fCategory(category),
299 PrinterCap::GetDefaultCap(CapID category) const
301 int count = CountCap(category);
305 const BaseCap **base_cap = GetCaps(category);
318 return static_cast<const EnumCap*>(GetCaps(category)[0]);
324 PrinterCap::FindCap(CapID category, Predicate& predicate) const argument
326 int count = CountCap(category);
330 const BaseCap **base_cap = GetCaps(category);
342 PrinterCap::FindCap(CapID category, in argument
350 FindCap(CapID category, const char* label) const argument
358 FindCapWithKey(CapID category, const char* key) const argument
[all...]
H A DJobSetupDlg.cpp550 PrinterCap::CapID category = static_cast<PrinterCap::CapID>( local
553 const BaseCap** categoryCapabilities = fPrinterCap->GetCaps(category);
555 int categoryCount = fPrinterCap->CountCap(category);
557 string value = GetDriverSpecificValue(category, capability->Key());
575 fDriverSpecificPopUpMenus[category] = popUpMenu;
583 PrinterCap::CapID category = static_cast<PrinterCap::CapID>( local
585 const BooleanCap* booleanCap = fPrinterCap->FindBooleanCap(category);
615 PrinterCap::CapID category = static_cast<PrinterCap::CapID>( local
617 const IntRangeCap* range = fPrinterCap->FindIntRangeCap(category);
629 message->AddInt32(kCategoryID, category);
655 PrinterCap::CapID category = static_cast<PrinterCap::CapID>( local
692 GetDriverSpecificValue(PrinterCap::CapID category, const char* key) argument
749 FillCapabilityMenu(BPopUpMenu* menu, uint32 message, PrinterCap::CapID category, int id) argument
968 PrinterCap::CapID category = it->first; local
[all...]
/haiku/src/bin/pkgman/
H A DCommand.h23 const BString& category);
63 void GetCommandsForCategory(const char* category,
83 #define DEFINE_COMMAND(className, name, shortUsage, longUsage, category) \
87 Command(name, shortUsage, longUsage, category) \
H A DCommand.cpp27 const BString& longUsage, const BString& category)
33 fCategory(category)
107 CommandManager::GetCommandsForCategory(const char* category, argument
111 if (command->Category() == category)
26 Command(const BString& name, const BString& shortUsage, const BString& longUsage, const BString& category) argument
H A Dpkgman.cpp42 get_commands_usage_for_category(const char* category) argument
46 CommandManager::Default()->GetCommandsForCategory(category, commands);
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/
H A Dif_rtwn_fw.h37 uint8_t category; member in struct:r92c_fw_hdr
/haiku/headers/libs/print/libprint/
H A DPrinterCap.h130 int32 category, Type type);
268 virtual int CountCap(CapID category) const = 0;
269 virtual bool Supports(CapID category) const = 0;
270 virtual const BaseCap** GetCaps(CapID category) const = 0;
272 const EnumCap* GetDefaultCap(CapID category) const;
273 const EnumCap* FindCap(CapID category, int id) const;
274 const BaseCap* FindCap(CapID category, const char* label) const;
275 const EnumCap* FindCapWithKey(CapID category, const char* key)
278 const BooleanCap* FindBooleanCap(CapID category) const;
279 const IntRangeCap* FindIntRangeCap(CapID category) cons
[all...]
/haiku/src/system/libnetwork/netresolv/isc/
H A Dlogging.c240 log_check(log_context lc, int category, int level) { argument
254 if (category < 0 || category > lc->num_categories)
255 category = 0; /*%< use default */
256 lcl = lc->categories[category];
258 category = 0;
270 log_vwrite(log_context lc, int category, int level, const char *format, argument
298 if (category < 0 || category > lc->num_categories)
299 category
430 log_write(log_context lc, int category, int level, const char *format, ...) argument
488 log_add_channel(log_context lc, int category, log_channel chan) argument
509 log_remove_channel(log_context lc, int category, log_channel chan) argument
568 log_category_is_active(log_context lc, int category) argument
[all...]
/haiku/headers/posix/
H A Dlocale.h56 extern char *setlocale(int category, const char *locale);
/haiku/src/bin/cddb_lookup/
H A Dcddb_server.h30 BString category; member in struct:QueryResponseData
66 status_t Read(const BString& category,
H A Dcddb_lookup.cpp40 status_t Dump(CDDBServer& server, const char* category,
172 CDDBLookup::Dump(CDDBServer& server, const char* category, const char* cddbID, argument
176 status_t status = server.Read(category, cddbID, "", readResponse, verbose);
241 data->category.String());
347 "Usage: %s [-vdh] [-s <server>] [-i <category> <cddb-id>|<device>]\n"
355 " -i\t\tDump info for the specified category/cddb ID pair.\n",
365 const char* category = NULL; local
375 category = optarg;
399 if (category != NULL) {
406 cddb.Dump(server, category, cddbI
[all...]
/haiku/src/apps/devices/
H A DDevicesView.cpp148 Category category = fDevices[i]->GetCategory(); local
149 if (category < 0 || category >= kCategoryStringLength) {
151 << " returned an unknown category index (" << category << "). "
156 const char* categoryName = kCategoryString[category];
158 iter = fCategoryMap.find(category);
160 // This category has not yet been added, add it.
161 fCategoryMap[category] = new Device(NULL, BUS_NONE, CAT_NONE,
217 Category category local
[all...]
H A DDevice.cpp54 Device::Device(Device* physicalParent, BusType busType, Category category, argument
60 fCategory(category),
/haiku/headers/private/libroot/locale/
H A DICULocaleBackend.h35 virtual const char* SetLocale(int category,
77 const char* _QueryLocale(int category);
78 const char* _SetPosixLocale(int category);
83 // buffer for locale names (up to one per category)
/haiku/src/system/libroot/add-ons/icu/
H A DICULocaleBackend.cpp69 ICULocaleBackend::SetLocale(int category, const char* posixLocaleName) argument
74 return _QueryLocale(category);
78 return _SetPosixLocale(category);
81 switch (category) {
116 // unsupported category
354 ICULocaleBackend::_QueryLocale(int category) argument
356 switch (category) {
391 // unsupported category
398 ICULocaleBackend::_SetPosixLocale(int category) argument
400 switch (category) {
[all...]
/haiku/src/apps/haikudepot/ui/
H A DFilterView.cpp34 const CategoryRef& category = categories.ItemAtFast(i); local
36 message->AddString("code", category->Code());
37 BMenuItem* item = new BMenuItem(category->Name(), message);
47 // Construct category popup
49 fShowField = new BMenuField("category", B_TRANSLATE("Category:"), showMenu);
142 category code. If the supplied code was found and the item marked
/haiku/src/apps/diskusage/
H A DPieView.cpp51 AppMenuItem(const char* appSig, int category);
72 AppMenuItem::AppMenuItem(const char* appSig, int category) argument
75 fCategory(category),
606 int category)
612 AppMenuItem* item = new AppMenuItem(appSig, category);
683 int category = (*i)->Category(); local
685 if (category != (*i)->Category()) {
687 category = (*i)->Category();
605 _AddAppToList(vector<AppMenuItem*>& list, const char* appSig, int category) argument
/haiku/src/apps/haikudepot/model/
H A DModel.h99 void SetCategory(const BString& category);
157 void _AddCategory(const CategoryRef& category);

Completed in 271 milliseconds

12