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

12345

/freebsd-11-stable/contrib/diff/lib/
H A Dhard-locale.c35 hard_locale (int category) argument
42 char const *p = setlocale (category, 0);
58 if (((p = setlocale (category, "C"))
60 || ((p = setlocale (category, "POSIX"))
65 setlocale (category, locale);
/freebsd-11-stable/gnu/usr.bin/grep/
H A Dhard-locale.c54 hard_locale (int category) argument
61 char const *p = setlocale (category, 0);
75 if (((p = setlocale (category, "C")) && strcmp (p, locale) == 0)
76 || ((p = setlocale (category, "POSIX")) && strcmp (p, locale) == 0))
80 setlocale (category, locale);
/freebsd-11-stable/contrib/llvm-project/lldb/source/DataFormatters/
H A DDataVisualization.cpp77 bool DataVisualization::Categories::GetCategory(ConstString category, argument
80 entry = GetFormatManager().GetCategory(category, allow_create);
92 void DataVisualization::Categories::Add(ConstString category) { argument
93 GetFormatManager().GetCategory(category);
96 bool DataVisualization::Categories::Delete(ConstString category) { argument
97 GetFormatManager().DisableCategory(category);
98 return GetFormatManager().DeleteCategory(category);
105 void DataVisualization::Categories::Clear(ConstString category) { argument
106 GetFormatManager().GetCategory(category)->Clear(
110 void DataVisualization::Categories::Enable(ConstString category, argument
123 Disable(ConstString category) argument
134 Enable( const lldb::TypeCategoryImplSP &category, TypeCategoryMap::Position pos) argument
143 Disable( const lldb::TypeCategoryImplSP &category) argument
[all...]
H A DTypeCategoryMap.cpp49 ValueSP category; local
50 if (!Get(category_name, category))
52 return Enable(category, pos);
57 ValueSP category; local
58 if (!Get(category_name, category))
60 return Disable(category);
63 bool TypeCategoryMap::Enable(ValueSP category, Position pos) { argument
65 if (category.get()) {
68 m_active_categories.push_front(category);
70 m_active_categories.push_back(category);
85 Disable(ValueSP category) argument
231 lldb::TypeCategoryImplSP category = *begin; local
[all...]
/freebsd-11-stable/lib/libc/locale/
H A Dsetlocale.c71 * Current locales for each category
101 setlocale(int category, const char *locale) argument
106 if (category < LC_ALL || category >= _LC_LAST) {
111 return (category != LC_ALL ?
112 current_categories[category] : currentlocale());
124 if (category == LC_ALL) {
134 env = __get_locale_env(category);
139 (void)strcpy(new_categories[category], env);
141 } else if (category !
228 loadlocale(int category) argument
284 __get_locale_env(int category) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/DataFormatters/
H A DDataVisualization.h82 static bool GetCategory(ConstString category,
89 static void Add(ConstString category);
91 static bool Delete(ConstString category);
95 static void Clear(ConstString category);
97 static void Enable(ConstString category,
102 static void Disable(ConstString category);
106 static void Enable(const lldb::TypeCategoryImplSP &category,
109 static void Disable(const lldb::TypeCategoryImplSP &category);
H A DTypeCategoryMap.h53 bool Enable(ValueSP category, Position pos = Default);
55 bool Disable(ValueSP category);
/freebsd-11-stable/tools/tools/locale/tools/
H A Dutf8-rollup.pl251 my $category = '';
273 $category = $1;
274 if ($category eq 'merge') {
278 if ($category ne 'print') {
282 next if ($category eq 'print');
283 if ($category eq 'toupper' || $category eq 'tolower') {
290 if ($cat_loaded) { print FOUT $category; }
311 if ($cat_loaded) { print FOUT $category; }
335 if ($cat_loaded) { print FOUT $category; }
[all...]
/freebsd-11-stable/contrib/libstdc++/include/bits/
H A Dlocale_classes.h70 /// Definition of locale::category.
71 typedef int category; typedef in class:locale
96 * The standard category values are none, ctype, numeric, collate, time,
98 * intersection. The category all is the union of these values.
104 static const category none = 0;
105 static const category ctype = 1L << 0;
106 static const category numeric = 1L << 1;
107 static const category collate = 1L << 2;
108 static const category time = 1L << 3;
109 static const category monetar
[all...]
/freebsd-11-stable/contrib/ntp/lib/isc/include/isc/
H A Dlog.h92 * structures names each category, and the id value is initialized by calling
158 * Do not log directly to DEFAULT. Use another category. When in doubt,
205 * the category/module specification of isc_log_[v]write[1] that is compiled
328 *\li A category should only be registered once, but no mechanism enforces
356 * \li There are references to each category in the logging context,
422 * the default logging category can be changed by redefining
424 * logging category can be changed with only one additional function
469 const isc_logcategory_t *category,
472 * Associate a named logging channel with a category and module that
481 *\li Specifying a very large number of channels for a category wil
[all...]
/freebsd-11-stable/usr.sbin/bluetooth/bthidcontrol/
H A Dbthidcontrol.c49 static struct bthid_command * find_bthid_command(char const *command, struct bthid_command *category);
50 static void print_bthid_command(struct bthid_command *category);
172 /* Try to find command in specified category */
174 find_bthid_command(char const *command, struct bthid_command *category) argument
178 for (c = category; c->command != NULL; c++) {
193 /* Print commands in specified category */
195 print_bthid_command(struct bthid_command *category) argument
199 for (c = category; c->command != NULL; c++)
/freebsd-11-stable/contrib/gcc/
H A Dintl.h27 # define setlocale(category, locale) (locale)
/freebsd-11-stable/cddl/usr.sbin/dtrace/tests/tools/
H A Dgentest.sh8 usage: sh $(basename $0) [-e <excludes>] <category> [<testfiles>]
12 category: The test category, in the form of <arch>/<feature>. For example,
13 "common/aggs" is the test category for D aggregations.
14 testfiles: The test files for the tests in the specified category.
/freebsd-11-stable/contrib/ntp/sntp/libopts/
H A Dgettext.h150 int category)
152 const char *translation = dcgettext (domain, msg_ctxt_id, category);
170 int category)
173 dcngettext (domain, msg_ctxt_id, msgid_plural, n, category);
212 int category)
231 translation = dcgettext (domain, msg_ctxt_id, category);
258 int category)
277 translation = dcngettext (domain, msg_ctxt_id, msgid_plural, n, category);
148 pgettext_aux(const char *domain, const char *msg_ctxt_id, const char *msgid, int category) argument
167 npgettext_aux(const char *domain, const char *msg_ctxt_id, const char *msgid, const char *msgid_plural, unsigned long int n, int category) argument
210 dcpgettext_expr(const char *domain, const char *msgctxt, const char *msgid, int category) argument
255 dcnpgettext_expr(const char *domain, const char *msgctxt, const char *msgid, const char *msgid_plural, unsigned long int n, int category) argument
/freebsd-11-stable/contrib/libstdc++/src/
H A Dlocale.cc60 const locale::category locale::none;
61 const locale::category locale::ctype;
62 const locale::category locale::numeric;
63 const locale::category locale::collate;
64 const locale::category locale::time;
65 const locale::category locale::monetary;
66 const locale::category locale::messages;
67 const locale::category locale::all;
145 locale::category
146 locale::_S_normalize_category(category __ca
[all...]
H A Dlocalename.cc146 locale::locale(const locale& __base, const char* __s, category __cat)
150 // this. Building up locales on a per-category way is tedious, so
156 locale::locale(const locale& __base, const locale& __add, category __cat)
162 category __cat)
265 _M_replace_categories(const _Impl* __imp, category __cat)
267 category __mask = 1;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DAPFloat.cpp724 category = rhs.category;
726 if (isFiniteNonZero() || category == fcNaN)
731 assert(isFiniteNonZero() || category == fcNaN);
742 category = fcNaN;
805 category = rhs.category;
889 category != rhs.category ||
892 if (category
[all...]
/freebsd-11-stable/contrib/gdb/gdb/
H A Dobjc-lang.h51 char **class, char **category,
/freebsd-11-stable/usr.sbin/bluetooth/l2control/
H A Dl2control.c178 /* Try to find command in specified category */
180 find_l2cap_command(char const *command, struct l2cap_command *category) argument
184 for (c = category; c->command != NULL; c++) {
199 /* Print commands in specified category */
201 print_l2cap_command(struct l2cap_command *category) argument
205 for (c = category; c->command != NULL; c++)
/freebsd-11-stable/usr.sbin/bluetooth/sdpcontrol/
H A Dsdpcontrol.c177 /* Try to find command in specified category */
179 find_sdp_command(char const *command, struct sdp_command *category) argument
183 for (c = category; c->command != NULL; c++) {
198 /* Print commands in specified category */
200 print_sdp_command(struct sdp_command *category) argument
204 for (c = category; c->command != NULL; c++)
/freebsd-11-stable/contrib/ntp/lib/isc/
H A Dlog.c84 * category, and then each structure in the linked list is checked for
86 * associated with any given category will be very short, no more than
113 * the category/module specification of isc_log_[v]write[1] that is compiled
140 * Note that the category and module information is not locked.
142 * in a program, and the category/module registration happens only once.
190 * The default category is provided so that the internal default can
241 isc_log_doit(isc_log_t *lctx, isc_logcategory_t *category,
389 * Set the default category's channel to default_stderr,
577 * in one category array to point to the next array exists because
606 * Update the id number of the category wit
788 isc_log_usechannel(isc_logconfig_t *lcfg, const char *name, const isc_logcategory_t *category, const isc_logmodule_t *module) argument
831 isc_log_write(isc_log_t *lctx, isc_logcategory_t *category, isc_logmodule_t *module, int level, const char *format, ...) argument
847 isc_log_vwrite(isc_log_t *lctx, isc_logcategory_t *category, isc_logmodule_t *module, int level, const char *format, va_list args) argument
859 isc_log_write1(isc_log_t *lctx, isc_logcategory_t *category, isc_logmodule_t *module, int level, const char *format, ...) argument
875 isc_log_vwrite1(isc_log_t *lctx, isc_logcategory_t *category, isc_logmodule_t *module, int level, const char *format, va_list args) argument
887 isc_log_iwrite(isc_log_t *lctx, isc_logcategory_t *category, isc_logmodule_t *module, int level, isc_msgcat_t *msgcat, int msgset, int msg, const char *format, ...) argument
905 isc_log_ivwrite(isc_log_t *lctx, isc_logcategory_t *category, isc_logmodule_t *module, int level, isc_msgcat_t *msgcat, int msgset, int msg, const char *format, va_list args) argument
918 isc_log_iwrite1(isc_log_t *lctx, isc_logcategory_t *category, isc_logmodule_t *module, int level, isc_msgcat_t *msgcat, int msgset, int msg, const char *format, ...) argument
936 isc_log_ivwrite1(isc_log_t *lctx, isc_logcategory_t *category, isc_logmodule_t *module, int level, isc_msgcat_t *msgcat, int msgset, int msg, const char *format, va_list args) argument
1405 isc_log_doit(isc_log_t *lctx, isc_logcategory_t *category, isc_logmodule_t *module, int level, isc_boolean_t write_once, isc_msgcat_t *msgcat, int msgset, int msg, const char *format, va_list args) argument
[all...]
/freebsd-11-stable/usr.bin/localedef/
H A Dscanner.c83 static int category = T_END; variable
497 if ((category != T_CHARMAP) && (category != T_WIDTH)) {
547 if (category == T_END) {
562 if ((category != T_CHARMAP) &&
590 return (category);
620 /* clear the top level category if we're done with it */
622 category = T_END;
625 /* set the top level category if we're changing */
629 category
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Utility/
H A DLog.cpp45 for (const auto &category : entry.second.m_channel.categories)
46 lambda(category.name, category.description);
62 for (const char *category : categories) {
63 if (llvm::StringRef("all").equals_lower(category)) {
67 if (llvm::StringRef("default").equals_lower(category)) {
73 [&](const Log::Category &c) { return c.name.equals_lower(category); });
78 stream << llvm::formatv("error: unrecognized log category '{0}'\n",
79 category);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectType.cpp260 SummaryFormatType type, std::string category,
427 lldb::TypeCategoryImplSP category; variable
429 ConstString(options->m_category.c_str()), category);
815 lldb::TypeCategoryImplSP category; variable
817 category);
818 if (category)
819 delete_category = category->Delete(typeCS, m_formatter_kind_mask);
822 lldb::TypeCategoryImplSP category; variable
824 ConstString(m_options.m_category.c_str()), category); variable
825 if (category)
905 lldb::TypeCategoryImplSP category; variable
912 category); variable
1604 lldb::TypeCategoryImplSP category; local
1606 category); local
2279 lldb::TypeCategoryImplSP category; local
2281 ConstString(m_options.m_category.c_str()), category); local
2327 lldb::TypeCategoryImplSP category; local
2329 category); local
2452 lldb::TypeCategoryImplSP category; local
2454 ConstString(category_name.c_str()), category); local
2578 lldb::TypeCategoryImplSP category; variable
2580 ConstString(m_options.m_category.c_str()), category); variable
[all...]
/freebsd-11-stable/contrib/groff/src/include/
H A Dlib.h41 #define setlocale(category, locale) do {} while(0)

Completed in 432 milliseconds

12345